/* Base Styles */
:root {
    --primary-color: #e67e22;
    --secondary-color: #d35400;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
/* Top Bar */
.top-bar {
    background-color: #222;
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-right: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.auth-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-color);
}

.btn-subscribe {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Main Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.logo .subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0.2rem 0 0;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Footer */
.footer-content {
    background-color: #222;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3:after,
.footer-section h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: #fff;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    background-color: #111;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: #bbb;
    font-size: 0.9rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav.active ul {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .main-nav.active li {
        margin: 0;
    }
    
    .main-nav.active a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav.active a:last-child {
        border-bottom: none;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1rem;
    }
    
    .footer-links a {
        margin: 0 0.75rem;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .auth-links a:first-child {
        margin-left: 0;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3:after,
    .footer-section h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }
    
    .newsletter-form button {
        margin-top: 0.5rem;
    }
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Recipe Hero */
.recipe-hero {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.recipe-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.recipe-info {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;
    background: var(--white);
    border-top: 1px solid #eee;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Recipe Content */
.recipe-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.ingredients, .instructions, .notes {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

/* Footer */
footer {
    background: #333;
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .recipe-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .ingredients {
        grid-column: 1;
    }
    
    .instructions {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
    
    .notes {
        grid-column: 1;
    }
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, #f8f4ff 0%, #fff5f5 100%);
    z-index: 0;
    border-radius: 0 0 50% 50% / 0 0 100px 100px;
    transform: scale(1.5);
}

.blog-section .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb span {
    color: #888;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0 3rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.table-of-contents h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.table-of-contents li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.table-of-contents a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.table-of-contents a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.2);
}

.blog-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-featured {
    position: absolute;
    top: 15px;
    left: -5px;
    background: #ff4757;
    color: white;
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
    padding-right: 1.5rem;
}

.blog-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    z-index: 1;
}

/* Author Section */
.blog-author {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info span:first-child {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.author-title {
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

.blog-title {
    font-size: 1.5rem;
    margin: 0 0 1.2rem;
    line-height: 1.4;
    color: #222;
    font-weight: 700;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: #777;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
}

.meta-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-group i {
    color: var(--primary-color);
    font-size: 0.9em;
    width: 16px;
    text-align: center;
}

.blog-date {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    position: relative;
}

.blog-date:after {
    content: '•';
    position: absolute;
    right: -0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
}

.blog-read-time {
    display: flex;
    align-items: center;
}

.blog-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.recipe-highlights {
    background: #f9f9ff;
    border-left: 3px solid var(--primary-color);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.recipe-highlights h4 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1.1rem;
}

.recipe-highlights ul {
    padding-left: 1.2rem;
    margin: 0;
}

.recipe-highlights li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.recipe-highlights li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Blog Actions */
.blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f0f0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 107, 0, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.read-more:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.social-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.social-share span {
    color: #777;
    font-size: 0.85rem;
}

.social-share a {
    color: #666;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.social-share a:hover {
    color: white;
    transform: translateY(-2px);
}

.social-share a:nth-child(2):hover { background: #3b5998; } /* Facebook */
.social-share a:nth-child(3):hover { background: #e60023; } /* Pinterest */
.social-share a:nth-child(4):hover { background: #1DA1F2; } /* Twitter */
.social-share a:nth-child(5):hover { background: #EA4335; } /* Email */

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(3px);
}

.blog-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.blog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form .btn-subscribe {
    padding: 0.8rem 1.8rem;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-form .btn-subscribe:hover {
    background-color: #333;
}

/* Recipe Meta */
.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px dashed #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 0.5rem;
}

.pagination a, 
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination .active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, #fff8f8 0%, #f8f9ff 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.newsletter-cta:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.newsletter-cta .container {
    position: relative;
    z-index: 1;
}

.newsletter-cta h3 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 1rem;
}

.newsletter-cta p {
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

/* Glow Effect on Hover */
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 0 15px 5px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

/* Pulsing Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Add the animation on hover */
.whatsapp-float:hover {
    animation: pulse 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Responsive styles for blog section */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .table-of-contents ul {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .newsletter-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blog-section:before {
        height: 200px;
        transform: scale(2);
    }
    
    .table-of-contents ul {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .blog-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .social-share {
        width: 100%;
        justify-content: space-between;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form .btn-subscribe {
        width: 100%;
        border-radius: 4px;
    }
}

@media (max-width: 576px) {
    .blog-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
    
    .blog-card {
        border-radius: 8px;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.4rem;
    }
    
    .recipe-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-cta {
        padding: 2rem 1.25rem;
        margin: 3rem 0;
    }
    
    .newsletter-cta h3 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .blog-cta {
        padding: 2rem 1.5rem;
    }
    
    .blog-cta h3 {
        font-size: 1.5rem;
    }
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    background-color: #fff9f5;
    margin: 2rem 0;
}

.video-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    display: block;
    width: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.rating {
    color: #ffc107;
    margin-top: 0.3rem;
}

.rating i {
    margin-right: 0.2rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .video-container {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .video-container {
        height: 300px;
    }
    
    .testimonial-card {
        margin: 0 1rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: none;
        font-size: 12pt;
    }
    
    .container {
        width: 100%;
        padding: 0;
    }
    
    .recipe-hero img {
        max-height: 300px;
    }
    
    .recipe-info {
        display: none;
    }
    
    .recipe-content {
        display: block;
    }
    
    .ingredients, .instructions, .notes {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    footer {
        display: none;
    }
}
