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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #333;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #d4a574;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    padding: 0.5rem 0;
    margin-top: 10px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0.5rem 1rem;
}

.dropdown a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: color 0.3s;
}

.dropdown a:hover {
    color: #d4a574;
}

.nav-search input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #7f8c8d 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    text-transform: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-subtitle em {
    font-style: normal;
    font-weight: 400;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Recipe Grid */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.recipe-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.recipe-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recipe-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-info {
    padding: 1.5rem;
}

.recipe-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.recipe-tags {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.view-all a {
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.view-all a:hover {
    text-decoration: underline;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.category-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    padding: 1.5rem;
    text-align: center;
    color: #333;
}

/* Recipe Page */
.recipe-header {
    padding: 2rem 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
}

.recipe-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.recipe-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.95rem;
}

.recipe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.recipe-ingredients,
.recipe-instructions {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.recipe-ingredients h2,
.recipe-instructions h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 0.5rem;
}

.ingredient-list {
    list-style: none;
}

.ingredient-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.ingredient-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

.instruction-list {
    list-style: none;
    counter-reset: step-counter;
}

.instruction-list li {
    counter-increment: step-counter;
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    border-bottom: 1px solid #eee;
}

.instruction-list li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    background: #d4a574;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.recipe-image-large {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.recipe-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Recipes Listing Page */
.recipes-header {
    padding: 2rem 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #d4a574;
    border-color: #d4a574;
    color: #fff;
}

/* Footer */
.footer {
    background: #f9f9f9;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #d4a574;
}

.footer-link-img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section ul {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-search {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .recipe-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .filter-buttons {
        justify-content: flex-start;
    }
}