/* Design System & Base Styling */
:root {
    --color-primary-dark: #111827;
    --color-secondary-dark: #1f2937;
    --color-accent-gold: #C5A26B;
    --color-text-gray: #4B5563;
    --color-bg-beige: #E8E3DC;
    --color-bg-offwhite: #F9FAFB;
    --color-bg-white: #FFFFFF;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', Helvetica, Arial, sans-serif;
    
    --header-height: 60px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-white);
    color: var(--color-primary-dark);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sticky Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.elle-logo {
    height: 22px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.elle-logo:hover {
    transform: scale(1.05);
}


/* Hero Section */
.hero-section {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    background-color: #111827;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 900px;
    padding: 0 20px;
    margin-top: -30px;
}

.hero-subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    opacity: 0.85;
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

.scroll-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.scroll-arrow {
    display: block;
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.scroll-arrow::after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-color: #FFFFFF;
    position: absolute;
    top: -100%;
    left: 0;
    animation: scrollLine 2s infinite cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

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

/* Intro Section */
.intro-section {
    padding: 120px 20px;
    background-color: var(--color-bg-offwhite);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-secondary-dark);
}

@media (max-width: 768px) {
    .intro-section {
        padding: 80px 20px;
    }
    .intro-text {
        font-size: 1.1rem;
    }
}

/* Showcase Section - Alternating Columns Grid */
.showcase-section {
    padding: 100px 0;
    position: relative;
}

.showcase-section.white-bg {
    background-color: var(--color-bg-white);
}

.showcase-section.beige-bg {
    background-color: var(--color-bg-beige);
}

.container-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 991px) {
    .container-grid {
        gap: 40px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 60px 0;
    }
    .container-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* On mobile, keep text on top or standard flow */
    .showcase-section.image-right .container-grid {
        display: flex;
        flex-direction: column-reverse;
    }
}

.grid-col {
    width: 100%;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.img-wrapper:hover img {
    transform: scale(1.03);
}

.text-content {
    padding: 20px 0;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--color-primary-dark);
}

.section-paragraph {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text-gray);
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.8rem;
    }
}

/* #ELLEDato Box */
.elle-dato-box {
    margin-top: 35px;
    padding-left: 25px;
    border-left: 2px solid var(--color-accent-gold);
    display: flex;
    flex-direction: column;
}

.elle-dato-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-accent-gold);
    margin-bottom: 8px;
}

.elle-dato-quote {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    color: var(--color-primary-dark);
}

/* Ticker Bar */
.ticker-bar {
    background-color: var(--color-bg-beige);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 25px 0;
    overflow: hidden;
    width: 100%;
}

.ticker-wrapper {
    display: flex;
    width: 100%;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerLoop 25s linear infinite;
    padding-left: 100%; /* Start off-screen */
}

.ticker-content span {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--color-accent-gold);
    display: inline-block;
    align-self: center;
}

.ticker-content .star {
    margin: 0 30px;
    font-size: 0.75rem;
}

@keyframes tickerLoop {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* CTA Section */
.cta-section {
    padding: 60px 20px;
    background-color: var(--color-bg-white);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.cta-intro-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--color-primary-dark);
    margin-bottom: 45px;
}

.cta-button-container {
    margin-top: 20px;
}

.ghost-btn {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: var(--color-primary-dark);
    text-decoration: none;
    text-transform: uppercase;
    padding: 18px 45px;
    border: 1px solid var(--color-primary-dark);
    background-color: transparent;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
}

.ghost-btn:hover {
    background-color: var(--color-primary-dark);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
    }
    .cta-intro-text {
        font-size: 1.4rem;
    }
}

/* Reveal-on-scroll animations style */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

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