/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
   :root {
    /* Brand Colors */
    --primary-purple: #4A2E6E;
    --deep-teal: #1B5E5E;
    --gold: #D4AF37;
    --cream: #F5F1E8;
    --charcoal: #3A3A3A;
    --light-purple: #6B4C9A;
    --accent-lavender: #C77DFF;
    
    /* Functional Colors */
    --text-main: var(--charcoal);
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-main: var(--cream);
    --bg-alt: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-bg-dark: rgba(74, 46, 110, 0.4);
    --glass-border-dark: rgba(212, 175, 55, 0.2);
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.text-light {
    color: var(--text-light) !important;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.section-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
    position: relative;
}

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

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--deep-teal);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    transition: transform var(--transition-fast);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--primary-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-purple);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-text {
    font-weight: 600;
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-sm);
    font-size: 0.95rem;
}

.btn-text .arrow {
    transition: transform var(--transition-fast);
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-fast);
    padding: 20px 0;
}

#main-header.scrolled {
    background: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 200px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#main-header.scrolled .logo-img {
    height: 60px;
}

.logo-container:hover .logo-img {
    transform: scale(1.02);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

#main-header.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--gold);
    font-weight: 500;
    transition: all var(--transition-fast);
}

#main-header.scrolled .nav-button {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.nav-button:hover {
    background: var(--gold);
    color: var(--primary-purple) !important;
    border-color: var(--gold) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

#main-header.scrolled .mobile-menu-btn span {
    background: var(--primary-purple);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    overflow: hidden;
    padding-top: 80px; /* offset for header */
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-main);
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(74, 46, 110, 0.7) 0%, 
        rgba(27, 94, 94, 0.5) 100%
    );
    transition: background 0.5s ease-in-out;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 100;
    max-width: 600px;
    padding: 0 var(--space-md);
    margin-left: 5%;
    margin-top: -40px; /* Move content higher up towards the logo */
    color: var(--text-light);
}

.hero-map-container {
    position: relative;
    z-index: 100;
    width: 50%;
    height: 80%;
    margin-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#interactive-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.jvm-tooltip {
    font-family: var(--font-body);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
    animation: fadeUp 1s ease 0.2s both;
}

.hero-title {
    font-size: clamp(3.2rem, 6.5vw, 4.8rem); /* Made title slightly bigger as requested */
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    line-height: 1.1;
    animation: fadeUp 1s ease 0.4s both;
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: var(--space-md);
    opacity: 0.9;
    max-width: 600px;
    animation: fadeUp 1s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-start;
    animation: fadeUp 1s ease 0.8s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
    background-color: var(--bg-main);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px; right: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.value-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.value-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   JOURNEYS SECTION
   ========================================================================== */
.journeys {
    background: linear-gradient(180deg, var(--bg-main) 0%, #ffffff 100%);
}

.journeys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.journey-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.journey-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.journey-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.journey-card:hover .journey-image {
    transform: scale(1.08);
}

.cultural-zoomed {
    transform: scale(1.25);
}

.journey-card:hover .cultural-zoomed {
    transform: scale(1.35);
}

.placeholder-img {
    background: var(--deep-teal);
    object-fit: contain;
    padding: 2rem;
}

.journey-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.journey-content {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.journey-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.journey-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.journey-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
    background-color: var(--primary-purple);
    background-image: radial-gradient(circle at top right, rgba(107, 76, 154, 0.4) 0%, transparent 50%),
                      radial-gradient(circle at bottom left, rgba(27, 94, 94, 0.4) 0%, transparent 50%);
    color: var(--text-light);
    position: relative;
}

.glass-panel-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border-dark);
    border-radius: 20px;
    padding: var(--space-md);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.quote-mark {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    background: var(--bg-main);
    overflow: hidden;
}

.cta-bg-elements {
    position: absolute;
    width: 100%; height: 100%; top: 0; left: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(199, 125, 255, 0.1) 0%, transparent 40%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-lg) !important;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--charcoal);
    color: var(--text-light);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 40px;
    margin-bottom: var(--space-sm);
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: #aaaaaa;
    max-width: 300px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: #aaaaaa;
    transition: color var(--transition-fast);
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888888;
}

.legal-links {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 300px;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        padding: var(--space-lg);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right var(--transition-fast);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--charcoal);
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    #main-header.scrolled .mobile-menu-btn span {
        background: var(--primary-purple);
    }

    .mobile-menu-btn.active span {
        background: var(--primary-purple) !important;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
