/* Typography & Colors */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #5b0e2d; /* Deep Maroon */
    --secondary-color: #d4af37; /* Royal Gold */
    --accent-color: #f7f3e8; /* Ivory */
    --accent-dark: #b38b22;
    --text-dark: #1a1a1a;
    --text-light: #f7f3e8;
    --bg-light: #faf9f6;
    --bg-dark: #1a1a1a;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-medium: 0 15px 45px rgba(0,0,0,0.1);
    --shadow-gold: 0 0 20px rgba(212,175,55,0.3);
}

/* Premium Text Selection */
::selection {
    background: rgba(212, 175, 55, 0.4); /* Royal Gold transparent */
    color: var(--primary-color);
}
::-moz-selection {
    background: rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

/* Global Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 70px 0;
}

.section-margin {
    margin: 70px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
    border-color: var(--secondary-color);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    transition: none;
}

.btn-primary:hover::after {
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color) !important;
    transform: scale(1.05);
}

.hero-btn-outline {
    border-color: #fff !important;
    color: #fff !important;
}

.hero-btn-outline:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}

/* Common Inner Page Hero */
.common-hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--primary-color);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    min-height: 450px;
}

.common-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 14, 1, 0.7) 0%, rgba(91, 14, 45, 0.4) 100%);
    z-index: 1;
}

.common-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: block;
}

.hero-breadcrumb {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-breadcrumb a {
    color: rgba(212, 175, 55, 0.8);
    transition: var(--transition);
}

.hero-breadcrumb a:hover {
    color: #fff;
}

.hero-breadcrumb span {
    margin: 0 10px;
    opacity: 0.5;
}

/* Texture Background */
.bg-texture {
    position: relative;
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.bg-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/woven-light.png');
    opacity: 0.1;
    pointer-events: none;
}

.bg-texture h1, .bg-texture h2, .bg-texture h3 {
    color: var(--secondary-color);
}

/* Loader */
/* Master-Class Creative Preloader */
#loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #2d0717 0%, #171717 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* Full screen */
}

#loader.fade-out {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Elegant Curtain Slide Up */
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    color: white;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: clamp(4px, 1.5vw, 15px);
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(90deg, #d4af37, #fff, #d4af37);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logo-shine 3s linear infinite;
    margin-bottom: 25px;
    padding: 0 20px;
}

.silk-line {
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    animation: line-extend 2.5s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

@keyframes logo-shine {
    to { background-position: 200% center; }
}

@keyframes line-extend {
    from { width: 0; }
    to { width: clamp(200px, 35vw, 600px); }
}

/* Back to Top */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 99;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* New Cinematic Animations */
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.animate-zoom {
    animation: kenburns 20s ease infinite alternate;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Layout Utilities */
.flex-alternate > div:nth-child(even) {
    flex-direction: row-reverse;
}

.breathing-space {
    padding: 120px 0;
}

/* Map Section */
.map-section {
    position: relative;
    background: linear-gradient(135deg, #f5f1e8 0%, #ede7da 100%);
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    padding: 70px 0 40px;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 25%),
                radial-gradient(circle at bottom left, rgba(91, 14, 45, 0.06), transparent 18%);
    pointer-events: none;
}

.map-intro {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto 40px;
    text-align: center;
}

.map-intro .section-title {
    font-size: clamp(2.4rem, 3vw, 3.2rem);
    margin-bottom: 18px;
}

.map-intro p {
    color: #533a32;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 760px;
    margin: 0 auto;
}

.map-frame {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(91, 14, 45, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
}

@media (max-width: 768px) {
    .map-section {
        padding: 50px 0 30px;
    }

    .map-intro {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .map-frame {
        min-height: 340px;
    }
}

@media (max-width: 480px) {
    .map-intro .section-title {
        font-size: 2rem;
    }

    .map-intro p {
        font-size: 0.95rem;
    }

    .map-frame {
        min-height: 260px;
    }
}
