/* Font Definitions */
@font-face {
    font-family: 'Codec Pro';
    src: url('../fonts/Codec-Pro-Regular.otf') format('opentype');
    font-weight: 400;
    /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Codec Pro';
    src: url('../fonts/Codec-Pro-Extrabold.otf') format('opentype');
    font-weight: 800;
    /* ExtraBold */
    font-style: normal;
}

@font-face {
    font-family: 'Codec Pro';
    src: url('../fonts/Codec-Pro-Extralight.otf') format('opentype');
    font-weight: 200;
    /* ExtraLight */
    font-style: normal;
}

@font-face {
    font-family: 'Mikea';
    src: url('../fonts/Mikea-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Global Styles */
:root {
    --bg-color: #bfaea6;
    /* Beige/Taupe base - adjusted from quick glance, might need tuning */
    --text-white: #ffffff;
    --text-dark: #000000;
    --font-main: 'Codec Pro', sans-serif;
    --font-alt: 'Mikea', serif;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Adjust based on image aspect ratio, maybe set max-height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to make text pop? Or maybe just relies on the image being dark/light enough */
}

.main-title {
    font-weight: 200;
    /* ExtraLight to match "NAKED" thin look or maybe ExtraBold? Image shows thick text. */
    font-size: 8rem;
    /* Huge */
    line-height: 0.8;
    margin-bottom: 0;
    font-weight: 400;
    /* Try regular first, maybe bold */
    letter-spacing: -2px;
}

/* Wait, image has "NAKED" in outline or white? It's white. */
.main-title {
    font-family: 'Mikea', serif;
    font-weight: 800;
    /* Extrabold */
    font-size: 18vw;
    /* Even bigger */
    line-height: 0.75;
    color: transparent;
    -webkit-text-stroke: 1px white;
    /* Thin outline */
    color: white;
    /* Filled white based on image usually, but let's check */
    mix-blend-mode: normal;
    margin-top: -10vw;
    /* Pull it up into the image */
    position: relative;
    z-index: 2;
}

.subtitle {
    font-family: 'Codec Pro', sans-serif;
    /* Trying Mikea here */
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-top: 1rem;
    position: relative;
    z-index: 3;
}

/* Intro Section */
.intro-text {
    font-family: 'Codec Pro', sans-serif;
    font-weight: 200;
    font-size: 3rem;
}

.event-details p {
    font-family: 'Codec Pro', sans-serif;
    font-weight: 200;
    font-size: 2rem;
}

/* Bio Section */
.bio-section {
    overflow: hidden;
    /* To crop the giant text */
}

.bio-image-wrapper img {
    border-radius: 20px;
}

.background-text-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 999;
    white-space: nowrap;
    opacity: 0.6;
    /* Faded bg text */
}

.giant-text {
    display: block;
    font-size: 10rem;
    line-height: 0.8;
    font-weight: 200;
    color: white;
}

.bio-img {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    /* shape? */
}

/* Philosophy */
.philosophy-text {
    font-weight: 200;
    font-size: 2rem;
}

/* Gallery */
.gallery-section {
    position: relative;
    overflow: hidden;
    background: url('../images/dalila-rush-naked-la-masterclass-texture-bg.png') no-repeat center center;
}

.gallery-item-wrapper {
    position: relative;
    display: inline-block;
}

.gallery-img {
    border-radius: 20px;
    margin-bottom: 0;
    width: 100%;
    height: 700px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Geometric Decorations */
.geo-decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 0;
    pointer-events: none;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.geo-arc-left {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border-right: none;
    border-bottom: none;
    top: 50%;
    left: -100px;
    transform: rotate(45deg);
}

.geo-arc-right {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border-left: none;
    border-top: none;
    bottom: -50px;
    right: -50px;
}

/* Program Cards */
.program-section .section-title {
    font-weight: 200;
    font-size: 3rem;
    margin-top: 6rem
}

.program-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.small-text-block p {
    font-size: 1.2rem;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    /* Darken for text readability */
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.day-badge {
    border: 1px solid white;
    padding: 5px 15px;
    border-radius: 20px;
    align-self: flex-start;
    font-size: 0.8rem;
}

/* Footer / Meet Me */
.footer-section {
    background: url('../images/dalila-rush-naked-la-masterclass-texture-bg.png') no-repeat center center;
}

.footer-section h3 {
    font-family: 'Codec Pro', sans-serif;
    font-size: 3rem;
}

.meet-me-container {
    max-width: 600px;
    height: auto;
    /* overflow: hidden; Removed to allow marquee breakout */
    border-radius: 20px;
    margin: 0 auto;
    background-color: black;
    position: relative;
    /* Ensure it is a positioning context */
}

/* Ensure image keeps the radiused look */
.meet-me-img {
    border-radius: 20px;
}

.meet-me-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.meet-me-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 20px;
}

.meet-me-overlay p {
    font-family: 'Codec Pro', sans-serif;
    font-size: 2rem;
}

.big-footer-text {
    font-size: 8rem;
    font-weight: 200;
    white-space: nowrap;
    overflow: hidden;
    margin-top: -50px;
    /* Overlap? */
    position: relative;
    z-index: 0;
    opacity: 0.5;
}

/* Marquee Animation */
.background-text-layer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 100vw;
    /* Ensure it takes full viewport width */
    left: 50%;
    transform: translate(-50%, -50%);
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-wrapper .giant-text {
    font-family: 'Mikea', serif;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    /* Space between text repetitions */
    width: max-content;
}

/* Specific to Left Scroll */
.marquee-wrapper.left .marquee-track {
    animation: scroll-left 20s linear infinite;
}

/* Specific to Right Scroll */
.marquee-wrapper.right .marquee-track {
    animation: scroll-right 20s linear infinite;
}

.giant-text {
    flex-shrink: 0;
    font-size: 10rem;
    line-height: 1;
    font-weight: 200;
    color: white;
    /* Optional: opacity handled on parent or here, but 0.3 was on parent before.
       If parent is flex container now, check opacities. */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Adjust based on duplication count.
           If we have 4 repetitions, and we want to loop seamlessly, we usually move by -25% or -50% depending on setup.
           Let's assume 2 sets of text cover the screen + extra. 
           If I duplicated the text 4 times: A A A A.
           To loop A A, I need to move by the width of (A A). 
           So if the track contains 4 items, moving 50% shifts 2 items out.
        */
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Staggered Gallery Styles */
@media (min-width: 768px) {
    .gallery-item-low {
        margin-top: 12rem;
        /* Stagger effect */
    }
}

.gallery-item-wrapper {
    opacity: 0;
    transition: all 1s ease-out;
}

/* High items slide down */
.gallery-item-high .gallery-item-wrapper {
    transform: translateY(-80px);
}

/* Low items slide up */
.gallery-item-low .gallery-item-wrapper {
    transform: translateY(80px);
}

/* Visible State */
.gallery-item-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Experience Section Banner */
.experience-banner {
    background-image: url('../images/dalila-rush-naked-masterclass-bg-image.jpg');
    background-size: cover;
    background-position: center 30%;
    /* Focus on faces */
    padding: 15rem 1rem;
    margin: 0;
    /* Gray margins above and below */
    position: relative;
    background-attachment: fixed;
}

.experience-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for readability */
    z-index: 0;
}

.experience-banner p {
    font-weight: 200;
    font-size: 1.5rem;
}

/* Meet Me Section Refinements */
.meet-me-overlay {
    z-index: 2;
    /* Ensure 'Roma' text is above marquee */
}

.meet-me-marquee {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    z-index: 1;
    /* Behind Roma text but over image */
    overflow: hidden;
}

.meet-me-text {
    font-size: 6rem;
    /* Adjust if needed to fit nicely */
    font-weight: 800;
    /* Bold as per 'MEET ME' usually is */
}

/* Ensure centering of overlay content works with d-flex */
.meet-me-overlay.justify-content-center {
    justify-content: center !important;
}

/* Meet Me Section Refinements */
.meet-me-overlay {
    z-index: 10;
    /* Ensure 'Roma' text is above marquee */
}

.meet-me-marquee {
    position: absolute;
    bottom: 5%;
    /* Breakout of container to be full viewport width */
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    z-index: 5;
    /* Behind Roma (10) but above Image (default/auto) */
    overflow: hidden;
    pointer-events: none;
    /* Let clicks pass through */
}

.meet-me-text {
    font-family: 'Mikea', serif;
    font-size: 6rem;
    font-weight: 200;
    opacity: 0.6;
}

/* Ensure centering of overlay content works with d-flex */
.meet-me-overlay.justify-content-center {
    justify-content: center !important;
}

/* Hide horizontal scrollbar from full-width breakout */
body {
    overflow-x: hidden;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    /* WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

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

    .subtitle {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 2rem;
    }

    .event-details p {
        font-size: 1.5rem;
    }

    .giant-text {
        font-size: 5rem;
    }

    .philosophy-text {
        font-size: 1.5rem;
    }

    /* Mobile Hero Adjustment */
    .hero-img {
        height: 60vh;
        /* At least half screen, 60vh feels good */
        object-fit: cover;
        object-position: center top;
        /* Focus on top/center of image */
    }

    /* Adjust text position/size if needed */
    .main-title {
        font-size: 5rem;
        /* Slightly smaller to fit */
        margin-top: 0;
        /* reset negative margin if it causes issues, or adjust */
    }

    /* Remove background texture on mobile */
    .gallery-section,
    .footer-section {
        background: none !important;
    }
}
/* WhatsApp CTA Button */
.btn-whatsapp-cta {
    background-color: #25d366;
    color: white !important; /* Force white text */
    border-radius: 50px; /* Fully rounded pill shape */
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp-cta:hover {
    background-color: #1ebe5d; /* Slightly darker green on hover */
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-cta i {
    font-size: 1.2rem;
}
