/* Flavor Unscripted - Option B: Photo-Right Layout */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Hide footer on launch event page */
body.page-id-232 footer,
body.page-id-232 .site-footer,
body.page-id-232 #colophon,
body.page-id-232 .entry-footer,
body.page-id-232 [role="contentinfo"] {
    display: none !important;
}

body.page-id-232 {
    padding-bottom: 0 !important;
}

:root {
    --teal: #D4735E;
    --teal-dark: #B85A45;
    --teal-light: #FFF5F2;
    --cream: #FFF8F5;
    --charcoal: #2A2A2A;
    --gray: #6B6B6B;
    --white: #FFFFFF;
    --accent: #E89580;
    --terracotta: #D4735E;
    --terracotta-dark: #B85A45;
    --terracotta-light: #F4D5CC;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 115, 94, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--terracotta-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-cta {
    background: var(--terracotta);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 115, 94, 0.3);
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 90, 69, 0.4);
}

/* Hero Section - Option B: Photo-Right Layout */
.hero-optionb {
    margin-top: 80px;
    min-height: 85vh;
    background: var(--white);
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
    min-height: 85vh;
    gap: 80px;
}

.hero-content {
    flex: 0 0 58%;
    max-width: 650px;
    padding: 60px 0;
}

.hero-content h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
}

.cta-container {
    margin-bottom: 24px;
}

.cta-primary {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white);
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(212, 115, 94, 0.3);
    border: none;
}

.cta-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(184, 90, 69, 0.4);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

/* Hero Photo - Right Side */
.hero-photo {
    flex: 0 0 42%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
}

.hero-photo img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.5s ease;
    background: transparent;
    mix-blend-mode: multiply;
}

.hero-photo img:hover {
    transform: scale(1.02);
}

/* Features Grid */
.features {
    padding: 100px 80px;
    background: var(--teal-light);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(36px, 6vw, 52px);
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

h3.limited-copies {
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 600;
    color: var(--terracotta);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    color: var(--terracotta-dark);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.feature-item p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 16px;
}

/* Gallery Section */
.gallery {
    padding: 100px 80px;
    background: var(--cream);
    overflow-x: hidden;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.gallery-item:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 36px;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Footer */
footer {
    background: var(--terracotta-dark);
    color: var(--white);
    padding: 60px 80px 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-social a {
    color: var(--white);
    font-size: 24px;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .nav-content,
    .hero-container,
    .features,
    .gallery,
    footer {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero-container {
        gap: 60px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-photo img {
        max-width: 500px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 20px;
    }

    /* Hero - Stack Vertically */
    .hero-optionb {
        min-height: auto;
    }

    .hero-container {
        flex-direction: column-reverse;
        padding: 40px 20px;
        gap: 40px;
        min-height: auto;
    }

    .hero-photo {
        flex: none;
        width: 100%;
        margin-bottom: 0;
    }

    .hero-photo img {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: 600px;
        object-fit: contain;
        object-position: center center;
    }

    .hero-content {
        flex: none;
        width: 100%;
        padding: 40px 0 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
    }

    .cta-primary {
        width: 100%;
        text-align: center;
        padding: 18px 32px;
    }

    .trust-badge {
        justify-content: center;
    }

    /* Other Sections */
    .features,
    .gallery {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        padding: 12px;
        font-size: 24px;
    }

    footer {
        padding: 60px 20px 40px;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    .gallery-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
    }
    
    .gallery-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* WordPress Admin Bar Security Fix */
#wp-admin-bar-bp-login,
#wp-admin-bar-bp-register,
#wp-admin-bar-get-started,
.wpcom-site .widget_eu_cookie_law_widget,
#actionbar,
#actionbar-placeholder,
.wpcom-footer,
.wpcom-branded-footer,
#wpcom-footer,
.admin-bar-showing,
.jetpack-memberships-modal,
body.admin-bar #wpadminbar,
#wpadminbar,
.wp-admin-bar,
.wpcom-admin-bar,
#wpadminbar *,
.widget_blog_subscription,
.widget_jetpack_subscriptions,
#subscribe-blog,
#subscribe-email,
.wp-block-jetpack-subscriptions,
div[class*="subscribe"],
div[id*="subscribe"],
.wpcom-follow-button,
.wpcom-follow,
.wpcom-site-footer,
.wpcom-site-footer-links,
a[href*="wordpress.com/log-in"],
a[href*="wordpress.com/start"],
a[href*="wordpress.com/abuse"],
a[href*="wordpress.com/reader"],
a[href*="wp.com"],
a[href*="subscribe.wordpress.com"],
.wpcom-link,
.powered-by-wpcom,
.wpcom-report-abuse,
.report-abuse,
a[href*="abuse"],
.wpcom-reblog-button,
.sharing-hidden,
.sharedaddy,
.sd-content,
#sharing_email,
.wpcom-site-badge,
.wpcom-button,
a[class*="wpcom"],
button[class*="wpcom"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

body.admin-bar,
body,
body.wp-admin,
body.logged-in,
html,
html.wp-toolbar {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

nav {
    top: 0 !important;
}