/* ═══════════════════════════════════════════════════════════
   AGENCE MONDE DES NEIGES - Main Stylesheet
   Luxury Real Estate Agency - Alpine Properties
   ═══════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. RESET & BASE STYLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #2B2520;
    --primary-beige: #F5F1ED;
    --accent-gold: #B8956A;
    --text-dark: #3D352F;
    --white: #FFFFFF;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: var(--primary-beige);
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

html {
    scroll-behavior: smooth;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. LANGUAGE SELECTOR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.language-selector {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    gap: 0.8rem;
    background: rgba(43, 37, 32, 0.95);
    padding: 0.8rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.lang-flag {
    width: 28px;
    height: 21px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 3px;
}

.lang-flag:hover,
.lang-flag.active {
    opacity: 1;
    transform: scale(1.2);
    border-color: var(--accent-gold);
    box-shadow: 0 2px 8px rgba(184, 149, 106, 0.5);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. HEADER & NAVIGATION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(184, 149, 106, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1800px;
    margin: 0 auto;
}

.logo-section {
    text-align: center;
    text-decoration: none;
}

.logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.cta-button {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-dark);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-dark);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 5%;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1800px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. TYPOGRAPHY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    color: var(--primary-dark);
}

h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 2.5rem 0 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. ANIMATIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. MOBILE MENU
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--accent-gold);
}

.mobile-nav .mobile-cta {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--primary-dark);
    transition: all 0.3s ease;
}

.mobile-nav .mobile-cta:hover {
    background: transparent;
    color: var(--primary-dark);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. RESPONSIVE DESIGN
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }

    nav {
        padding: 1.2rem 4%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .logo-main {
        font-size: 0.9rem;
    }

    .logo-sub {
        font-size: 0.6rem;
    }

    .nav-links {
        display: none;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }

    .language-selector {
        bottom: 20px;
        right: 20px;
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
    }

    .lang-flag {
        width: 24px;
        height: 18px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 3%;
    }

    .logo-main {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .logo-sub {
        font-size: 0.5rem;
    }

    .language-selector {
        bottom: 15px;
        right: 15px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. UTILITIES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

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

.mt-4 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5%;
}

.content-wrapper {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 5%;
}
