/* CSS Variables - Secrets d'Artiste Theme */
:root {
    /* Color Palette */
    --color-taupe: #AF9F96;
    --color-taupe-dark: #92837A;
    --color-black: #000000;
    --color-black-light: #1A1A1A;
    --color-white: #FFFFFF;
    --color-grey-light: #F7F5F2;
    /* Softer, luxurious alternative to pure grey */
    --color-grey: #D6D6D6;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-black-light);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

p {
    margin-bottom: 1.5rem;
    color: #4A4A4A;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-grey-light);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-taupe {
    background-color: var(--color-taupe);
}

.section-light-text p,
.section-light-text h2,
.section-light-text h3,
.section-light-text li {
    color: var(--color-white);
}

.center-text {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Typography Extras */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

.title-separator {
    width: 60px;
    height: 2px;
    background-color: var(--color-taupe);
    margin: 1.5rem 0 2rem 0;
}

.title-separator.center {
    margin: 1.5rem auto 2rem auto;
}

.title-separator.light {
    background-color: var(--color-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

/* For buttons on light/transparent backgrounds */
.hero .btn-primary {
    border-color: var(--color-white);
}

.hero .btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
    filter: brightness(0) invert(1);
    /* Pure white on dark backgrounds */
}

.navbar.scrolled .logo-img {
    filter: brightness(0);
    /* Pure black on light scroll backgrounds */
}


.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.navbar.scrolled .nav-links li a {
    color: var(--color-black);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-taupe);
    transition: var(--transition-smooth);
}

.nav-links li a:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-links li a:hover {
    color: var(--color-taupe);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.navbar.scrolled .bar {
    background-color: var(--color-black);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.05);
    /* Slight scale for potential parallax/load animation */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.hero-content {
    color: var(--color-white);
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-grey-light);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* Layout Grid */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.layout-grid.reverse .text-content {
    grid-column: 2;
    grid-row: 1;
}

.layout-grid.reverse .image-content {
    grid-column: 1;
    grid-row: 1;
}

.section-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow-heavy);
    transition: transform 0.5s ease;
}

.section-image:hover {
    transform: scale(1.02);
}

/* Lists */
.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.feature-list .check {
    color: var(--color-white);
    /* Adjust if needed based on bg */
    font-weight: bold;
    margin-right: 10px;
}

/* Comptoirs Section */
.comptoirs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comptoir-card {
    background-color: var(--color-grey-light);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    cursor: pointer;
}

.comptoir-card:hover {
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-taupe);
    transform: translateY(-5px);
}

.comptoir-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-taupe-dark);
}

/* Tarifs Section */
.pricing-container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-menu {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-item {
    display: flex;
    align-items: baseline;
    font-size: 1.2rem;
}

.price-name {
    font-family: var(--font-heading);
    color: var(--color-black);
    font-weight: 600;
}

.price-dots {
    flex-grow: 1;
    border-bottom: 1px dotted var(--color-grey);
    margin: 0 1rem;
}

.price-value {
    font-weight: 700;
    color: var(--color-taupe-dark);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-list li:last-child {
    border-bottom: none;
}

address {
    font-style: normal;
    line-height: 1.8;
}

.contact-links a {
    text-decoration: underline;
}

.contact-links a:hover {
    color: var(--color-black);
}

/* Footer */
.footer {
    background-color: var(--color-black);
    color: var(--color-grey);
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .layout-grid.reverse .text-content,
    .layout-grid.reverse .image-content {
        grid-column: 1;
        /* Reset reverse on mobile */
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
        background: rgba(0, 0, 0, 0.8);
    }

    .navbar.scrolled {
        padding: 0.8rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 60px;
        /* Below navbar */
        gap: 0;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        color: var(--color-black);
        font-size: 1.1rem;
    }

    .logo {
        color: var(--color-white) !important;
        font-size: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .price-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .price-dots {
        display: none;
    }

    .price-name {
        margin-bottom: 0.5rem;
    }
}