/* Modern CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #fdfbf7;
    --text-color: #2d2926;
    --primary-color: #4a6741;
    --accent-color: #ce7e00;
    --secondary-color: #8c7b6c;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a1a1a;
}

/* Scroll Progress Bar */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

#progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: var(--shadow);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('cooking_hero_background_1776530511099.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Sections */
section {
    padding: 100px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 15px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* Cards & Tips */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tip-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.tip-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.tip-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    nav .nav-links {
        display: none;
    }
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
