:root {
    --primary-color: #ff6b6b;
    --primary-dark: #ee5253;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1495195134817-a169d32d0c2e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.search-bar i {
    color: var(--text-light);
    padding: 15px 20px;
    font-size: 1.2rem;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.search-bar button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* Section Title */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.recipe-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.recipe-image-link {
    display: block;
    height: 220px;
    overflow: hidden;
}

.recipe-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.recipe-content {
    padding: 25px;
}

.recipe-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.recipe-title a {
    color: var(--text-dark);
}

.recipe-title a:hover {
    color: var(--primary-color);
}

.recipe-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.recipe-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Recipe Single Page */
.recipe-detail-page {
    margin-top: 40px;
    margin-bottom: 60px;
}

.recipe-single {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.breadcrumb {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.recipe-main-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.recipe-main-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
}

.recipe-single-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background: var(--bg-color);
    padding: 20px 30px;
    border-radius: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.meta-item span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.recipe-featured-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.recipe-content-body {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.recipe-content-body h2, .recipe-content-body h3 {
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.recipe-content-body ul, .recipe-content-body ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.recipe-content-body li {
    margin-bottom: 10px;
}

.recipe-content-body p {
    margin-bottom: 20px;
}

.recipe-share {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    color: var(--white);
    opacity: 0.9;
}

.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }

/* Footer */
.site-footer {
    background: var(--white);
    padding: 60px 0 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    .hero {
        height: 400px;
    }

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

    .search-bar form {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
    }

    .search-bar input {
        padding: 10px;
        margin-bottom: 10px;
    }

    .recipe-single-meta {
        flex-direction: column;
        gap: 20px;
    }

    .recipe-featured-image {
        height: 300px;
    }

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