/* css/style.css */

:root {
    --primary-color: #f26822;
    --primary-hover: #d35517;
    --bg-cream: #fffaf5;
    --white: #ffffff;
    --text-main: #3a2b24;
    --text-muted: #6e5b52;
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-cream);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Logo */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: clamp(15px, 3vh, 30px) 0;
}

.header-wrapper {
    display: flex;
    justify-content: center;
}

.logo {
    width: clamp(80px, 15vw, 120px);
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-3deg);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: clamp(100px, 15vh, 150px) 20px clamp(40px, 8vh, 80px);
    background: radial-gradient(circle at center, var(--white) 0%, var(--bg-cream) 80%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.burger-wrapper {
    position: relative;
    width: 100%;
    max-width: clamp(280px, 60vw, 700px);
    margin: 0 auto clamp(30px, 5vh, 50px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.burger-wrapper::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(242, 104, 34, 0.3) 0%, rgba(242, 104, 34, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(25px);
    animation: soft-glow 3s infinite alternate ease-in-out;
}

.main-burger {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 20px rgba(0, 0, 0, 0.25));
    animation: floating-burger 4s infinite ease-in-out;
    will-change: transform;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    padding: clamp(16px, 3vw, 22px) clamp(35px, 6vw, 60px);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(242, 104, 34, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: clamp(20px, 4vh, 30px);
    letter-spacing: 1px;
}

.cta-button:hover, .cta-button:focus-visible {
    background-color: var(--primary-hover);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(242, 104, 34, 0.5);
    outline: none;
}

.cta-button:focus-visible {
    box-shadow: 0 0 0 4px var(--bg-cream), 0 0 0 8px var(--primary-color);
}

.hero-copy {
    color: var(--text-main);
}

.tagline {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.sub-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    color: var(--text-muted);
}

/* Ingredients Section */
#ingredients {
    padding: clamp(60px, 10vh, 100px) 0;
    background-color: var(--white);
    border-top: 2px dashed rgba(242, 104, 34, 0.2);
}

#ingredients h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: clamp(40px, 8vh, 60px);
    font-family: 'Georgia', serif; 
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.ingredient-card {
    background-color: var(--bg-cream);
    padding: clamp(25px, 4vw, 40px);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(242, 104, 34, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ingredient-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(242, 104, 34, 0.12);
    border-color: rgba(242, 104, 34, 0.4);
}

.ingredient-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.ingredient-card h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.ingredient-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--text-main);
    color: var(--bg-cream);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Animations Keyframes */
@keyframes floating-burger {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-12px) rotate(1.5deg) scale(1.02); }
}

@keyframes soft-glow {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* Scroll Reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }