:root {
    --primary: #c5a059;
    --primary-hover: #e0be77;
    --background: #132320; /* Dark Forest Green */
    --foreground: #f9f8f4;
    --cream: #f4f1ea;
    --charcoal: #1a2b27;
    --vintage-black: #1a1a1a;
    --gold: #c5a059;
    --forest-green: #132320;
    
    --font-heading: 'Fraunces', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    overscroll-behavior-y: none;
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--foreground);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Utilities */
.bg-cream { background-color: var(--charcoal); color: var(--foreground); border-top: 1px solid rgba(255,255,255,0.1); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-black { background-color: var(--vintage-black); }
.bg-green { background-color: var(--background); }
.text-cream { color: var(--cream); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    cursor: pointer;
    font-family: var(--font-body);
}

.nav-btn-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 48px;
    padding: 0;
}

.nav-btn-icon svg {
    width: 22px;
    height: 22px;
}

.nav-btn-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--charcoal);
    color: var(--gold);
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--gold);
    pointer-events: none;
    z-index: 100;
}

.nav-btn-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--charcoal);
    border-color: var(--gold);
}

.btn-primary:hover {
    background-color: var(--foreground);
    border-color: var(--foreground);
    color: var(--charcoal);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Promotional Launch Banner */
.online-promo-bar {
    background: linear-gradient(90deg, #b48312 0%, #e5bd68 50%, #b48312 100%);
    color: #0f1d1a;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.4;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.online-promo-bar:hover {
    opacity: 0.95;
}

/* Navbar */
.navbar {
    background-color: rgba(19, 35, 32, 0.95);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: top 0.2s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 80px;
    width: auto;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--foreground);
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1005;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--foreground);
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Sections */
.section {
    padding: 100px 0;
    scroll-margin-top: 100px;
}

.rule-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Hero */
.hero {
    height: 102vh; /* Slightly more than 100vh to push the next section completely out of view */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('assets/butter/hero-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: left;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(19, 35, 32, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--foreground);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* About */
.about-section {
    border-top: 1px solid #e2dfd5;
    border-bottom: 1px solid #e2dfd5;
}

.about-text {
    /* Inherit container width for clean left alignment */
}

.tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.body-text {
    font-size: 0.95rem;
}

/* Editorial Grid */
.editorial-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 100px;
}

@media (min-width: 768px) {
    .editorial-row {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }
    .editorial-row:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.editorial-img-wrapper {
    flex: 1;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 1.2s ease-out;
}

.editorial-row:hover .editorial-img {
    transform: scale(1.05);
}

.editorial-text {
    flex: 1;
}

.editorial-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.editorial-desc {
    font-size: 1.1rem;
    color: var(--foreground);
    opacity: 0.85;
    line-height: 1.8;
}

/* Global Grid */
.grid {
    display: grid;
    gap: 30px;
}

/* Flagship Grid */
.flagship-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.coming-soon-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.flagship-card {
    background: var(--cream);
    border: 1px solid #e2dfd5;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border-radius: 12px;
}

.flagship-card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.flagship-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 35px 25px;
    text-align: center;
    background: var(--cream);
    position: relative;
    z-index: 2;
}

.availability-badge {
    display: inline-block;
    background-color: var(--gold);
    color: var(--vintage-black);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.card-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.coming-soon-teaser {
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid #e2dfd5;
}

.teaser-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: #888;
}

.blurred-card {
    position: relative;
    cursor: default;
    pointer-events: none;
}

.blurred-card .card-img {
    filter: blur(5px) grayscale(40%);
    transform: scale(1.1); /* Prevents blurred edges from showing background */
}

.blurred-card:hover .card-img {
    transform: scale(1.1); /* Override default hover */
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    z-index: 3;
}

.card-overlay h3 {
    top: calc(100% + 5px);
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

/* Advantage (Sourcing) */
.advantage-grid {
    grid-template-columns: 1fr;
    gap: 1px;
    background-color: rgba(255,255,255,0.1); /* The 1px borders */
    border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.advantage-item {
    padding: 60px 40px;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.advantage-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(255,255,255,0.03);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.advantage-item h4 {
    color: var(--foreground);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.advantage-item p {
    font-size: 1rem;
    color: rgba(249, 248, 244, 0.7);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    color: var(--gold);
    margin-bottom: 20px;
}



.advantage-item h4 {
    color: var(--cream);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.advantage-item p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: var(--foreground);
    padding: 80px 0 40px;
    text-align: center;
}

.footer-title {
    color: var(--foreground);
    font-size: 2rem;
}

.footer .btn-primary {
    background-color: var(--cream);
    color: var(--vintage-black);
    border-color: var(--cream);
}

.footer .btn-primary:hover {
    background-color: var(--gold);
    color: var(--vintage-black);
    border-color: var(--gold);
}

.footer-info a {
    color: var(--gold);
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--gold-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-content {
        height: 70px;
    }
    
    .logo img {
        height: 55px;
    }

    .cta-nav {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(14, 26, 24, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 24px 28px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.6);
        border-bottom: 1px solid rgba(197, 160, 89, 0.25);
        flex-direction: column;
        gap: 16px;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 6px 0;
    }

    .nav-dropdown-content {
        position: static !important;
        display: block !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(197, 160, 89, 0.15) !important;
        border-radius: 8px !important;
        margin: 8px 0 6px 12px !important;
        padding: 6px 0 !important;
        box-shadow: none !important;
    }

    .nav-dropdown-item {
        padding: 8px 14px !important;
        font-size: 0.88rem !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    
    .nav-btn-icon {
        width: 44px;
        height: 36px;
    }
    
    .nav-btn-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .flagship-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-actions {
        display: none;
    }
    
    .mobile-nav-actions {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-title {
        font-size: 1.8rem;
    }
    
    .hero-actions, .footer-content > div {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-actions .btn, .footer-content .btn-primary, .footer-content .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(179, 155, 89, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(179, 155, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(179, 155, 89, 0);
    }
}

/* Brand Roster Grid */
.brand-roster-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .brand-roster-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.brand-roster-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.brand-img-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 25px;
}

.season-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(26, 43, 39, 0.85); /* Charcoal */
    color: var(--gold);
    padding: 6px 12px;
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(197, 160, 89, 0.3); /* faint gold */
}

.brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 1.2s ease-out;
}

.brand-roster-card:hover .brand-img {
    transform: scale(1.05);
}

.brand-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-text .editorial-desc {
    margin-bottom: auto;
    font-size: 0.95rem;
}

/* Improvements inspired by Shoyu Bros */
.main-overlap {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    background-color: var(--cream, #f9f8f4);
    padding-top: 40px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--vintage-black, #1a1a1a);
    color: var(--cream, #f9f8f4);
    padding: 12px 0;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.value-prop-card {
    background-color: #fff;
    color: var(--charcoal);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.value-prop-card:hover {
    transform: translateY(-5px);
}
.value-prop-icon {
    width: 60px;
    height: 60px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--vintage-black);
}

.portfolio-section {
    background-color: var(--charcoal);
    color: var(--foreground);
}

/* Infinite Carousel */
.infinite-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin: 40px 0;
}
.infinite-carousel {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: carousel-scroll 60s linear infinite;
}
.infinite-carousel:hover {
    animation-play-state: paused;
}
.infinite-carousel img {
    height: 250px;
    width: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
@keyframes carousel-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

.nav-actions {
    display: flex;
    gap: 10px;
}


.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--charcoal);
    min-width: 280px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 100;
    border-radius: 8px;
    padding: 10px 0;
    top: calc(100% + 5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}
.nav-dropdown-item {
    padding: 12px 20px;
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: var(--foreground) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    font-family: var(--font-body) !important;
    white-space: nowrap;
    transition: background-color 0.2s !important;
}
.nav-dropdown-item::after {
    display: none !important;
}
.nav-dropdown-item:hover {
    background-color: var(--background);
}
.nav-dropdown-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    background-color: white;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}
.btn-group-standard {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.btn-group-center {
    justify-content: center;
}
.btn-std {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.btn-std-wholesale {
    background-color: #25D366;
    color: white;
    border: 1px solid #25D366;
}
.btn-std-wholesale:hover {
    background-color: #20BA5A;
    color: white;
}
.btn-std-retail {
    background-color: var(--charcoal);
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-std-retail:hover {
    background-color: var(--gold);
    color: var(--charcoal);
}
.btn-std-fb {
    background-color: #1877F2;
    color: white;
    border: 1px solid #1877F2;
}
.btn-std-fb:hover {
    background-color: #166FE5;
}


.nav-actions.nav-actions-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.nav-actions {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

