/*
Theme Name: Butter Baby Premium
Author: Onkaya Family Holdings
Description: Vibrant, editorial-style single-product theme for artisanal gourmet butter.
Version: 4.0
Text Domain: butter-baby-premium
*/

:root {
    --bg-main: #FBCB0A; /* Butter Baby Yellow */
    --text-dark: #000000;
    --text-light: #FFFFFF;
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.1;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* UI Elements */
.btn-solid {
    display: inline-block;
    padding: 16px 40px;
    background: var(--text-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 2px solid var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.btn-solid:hover {
    background: transparent;
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5%;
    position: relative;
}

/* Header */
.site-header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo-badge {
    width: 120px;
    height: auto;
    transition: transform 0.5s ease;
}

.logo-badge:hover {
    transform: rotate(15deg);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 50px;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-image-wrap {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.hero-main-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0px 20px 30px rgba(0,0,0,0.15));
    transform: scale(1.1) rotate(-5deg);
}

/* Floating Ingredients */
.float-item {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.2));
}

.f-tomato { top: 10%; right: 10%; width: 140px; }
.f-origanum { bottom: -5%; left: 15%; width: 160px; transform: rotate(15deg); }
.f-garlic { top: 40%; left: -5%; width: 100px; transform: rotate(-25deg); }
.f-parmesan { top: 60%; right: -5%; width: 130px; transform: rotate(10deg); }

/* Infinite Marquee Banner (Buzzwords) */
.marquee-container {
    width: 100%;
    background: var(--text-dark);
    color: var(--bg-main);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media(min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-card {
    background: var(--text-light);
    border: 3px solid var(--text-dark);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 8px 8px 0px var(--text-dark);
}

.story-card h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 10px;
    display: inline-block;
}

/* Footer */
.site-footer {
    border-top: 3px solid var(--text-dark);
    padding: 60px 5%;
    text-align: center;
}