/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #F7F9F3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #2D5016;
    color: white;
    padding: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
    z-index: 1001;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    background: none;
    border: none;
    color: white;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation */
nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav li {
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1rem;
    display: block;
    border-radius: 4px;
    position: relative;
}

nav a:hover {
    color: #C8E6C9;
    background-color: rgba(255,255,255,0.1);
}

nav a:focus {
    outline: 2px solid #C8E6C9;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: #2D5016;
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.hero .description {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-family: Georgia, serif;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 1rem 2rem;
    background-color: #2D5016;
    color: white;
    border: none;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #4A7C59;
}

/* Categories Section */
.categories {
    background-color: #F7F9F3;
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #2D5016;
    margin-bottom: 1rem;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #C8E6C9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2D5016, #4A7C59);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(45,80,22,0.15);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #2D5016;
}

.category-card h3 {
    color: #2D5016;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-card .recipe-count {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.category-card a {
    color: #2D5016;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.category-card a:hover {
    color: #4A7C59;
}

.category-card a::after {
    content: '→';
    transition: transform 0.3s ease;
}

.category-card:hover a::after {
    transform: translateX(5px);
}

/* Featured Recipes Section */
.featured-recipes {
    padding: 5rem 0;
    background: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.recipe-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.recipe-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(45,80,22,0.1);
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    box-shadow: 0 12px 40px rgba(45,80,22,0.15);
}

.recipe-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4A7C59, #C8E6C9);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: bold;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.recipe-image::before {
    content: '📸';
    font-size: 2rem;
    margin-right: 0.5rem;
}

.recipe-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recipe-title {
    font-size: 1.4rem;
    color: #2D5016;
    margin-bottom: 0.8rem;
    font-weight: bold;
    line-height: 1.3;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.recipe-meta .time::before {
    content: '⏱️';
}

.recipe-meta .serves::before {
    content: '👥';
}

/* Additional styles for the recipe cards from JavaScript */
.fade-in {
    opacity: 1;
}

.recipe-card[itemscope] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(45,80,22,0.1);
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recipe-card[itemscope]:hover {
    box-shadow: 0 12px 40px rgba(45,80,22,0.15);
}

/* About section styles */
.about-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2D5016;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #4A7C59, #C8E6C9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D5016;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Section titles */
.section-title {
    font-size: 3rem;
    text-align: center;
    color: #2D5016;
    margin-bottom: 1rem;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

/* About Section */
.about-section {
    background-color: #F7F9F3;
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2D5016;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-image {
    height: 300px;
    background: linear-gradient(135deg, #4A7C59, #C8E6C9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D5016;
    font-size: 1.5rem;
    font-weight: 500;
}

.about-image::before {
    content: '👨‍🍳';
    font-size: 3rem;
    margin-right: 1rem;
}

/* Newsletter Section */
.newsletter {
    background-color: #2D5016;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: Georgia, serif;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background-color: #C8E6C9;
    color: #2D5016;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #E8F5E8;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #2c2c2c;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #C8E6C9;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #C8E6C9;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #C8E6C9;
}

/* Category Icons */
.breakfast::before { content: '🥞'; }
.lunch::before { content: '🥗'; }
.dinner::before { content: '🍽️'; }
.appetizers::before { content: '🥨'; }
.desserts::before { content: '🍰'; }
.beverages::before { content: '☕'; }
.oxtail::before { content: '🥩'; }
.comfort::before { content: '🍲'; }
.healthy::before { content: '🥬'; }

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: #2D5016;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 0;
        width: 100%;
        text-align: left;
    }
    
    nav a:hover {
        background-color: rgba(255,255,255,0.1);
        color: #C8E6C9;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .search-box input {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }
    
    .search-box button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .categories,
    .featured-recipes,
    .about-section {
        padding: 3rem 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: 1.7rem;
        margin-bottom: 0.8rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero .description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .categories,
    .featured-recipes,
    .about-section {
        padding: 2.5rem 0;
    }
    
    .category-card {
        padding: 1.8rem 1.2rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .recipe-card .recipe-content {
        padding: 1.5rem;
    }
    
    .recipe-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .newsletter h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .newsletter p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Better touch targets for mobile */
    nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .search-box button,
    .newsletter-form button {
        min-height: 48px;
        font-size: 1rem;
    }
    
    .menu-toggle {
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        align-items: center;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .recipe-image,
    .about-image {
        background-size: cover;
        background-position: center;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .search-box input {
        background-color: #2c2c2c;
        color: white;
        border: 1px solid #444;
    }
    
    .newsletter-form input {
        background-color: #2c2c2c;
        color: white;
        border: 1px solid #444;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #2D5016;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.privacy-header {
    background-color: #2D5016;
    color: white;
    padding: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-content {
    background: white;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
    max-width: 900px;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
    color: #4a4a4a;
}

ul, ol {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.last-updated {
    background: #E8F5E8;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border-left: 4px solid #2D5016;
    font-style: italic;
    color: #2D5016;
}

.contact-info {
    background: #2D5016;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

.highlight-box {
    background: #F7F9F3;
    border: 1px solid #4A7C59;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .privacy-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.contact-header {
    background-color: #2D5016;
    color: white;
    padding: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    background: white;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
    max-width: 900px;
    text-align: center;
}

h1 {
    color: #2D5016;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 3px solid #4A7C59;
    padding-bottom: 1rem;
}

h2 {
    color: #2D5016;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    text-align: center;
}

p {
    margin-bottom: 1rem;
    color: #757575;
    text-align: center;
}

.intro-text {
    background: #F7F9F3;
    border: 1px solid #4A7C59;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.contact-item {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #2D5016;
}

.contact-item strong {
    color: #2D5016;
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .contact-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.about-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    line-height: 1.6;
    font-family: Arial, sans-serif;
} 

.faq-section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
}

h1 {
    color: #2D5016;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #2D5016;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.faq-question {
    background: linear-gradient(135deg, #2D5016, #4A7C59);
    color: white;
    padding: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #4A7C59, #2D5016);
}

.faq-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    line-height: 1.6;
    color: #333;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    border-top: 1px solid #eee;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.intro-text {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #666;
} 

.terms-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.terms-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.terms-content h1:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #2D5016, #4A7C59);
    border-radius: 2px;
}

.terms-intro {
    margin-bottom: 50px;
    padding: 30px;
    background: #E8F5E8;
    border-radius: 8px;
    border-left: 4px solid #2D5016;
}

.terms-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 15px;
}

.last-updated {
    font-style: italic;
    color: #7f8c8d !important;
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

.terms-articles {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.terms-item {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.terms-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    border-color: #2D5016;
}

.terms-item h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.terms-item h2:before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #2D5016, #4A7C59);
    margin-right: 12px;
    border-radius: 2px;
}

.terms-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .terms-section {
        padding: 40px 0;
    }

    .terms-content {
        margin: 0 20px;
        padding: 40px 30px;
    }

    .terms-content h1 {
        font-size: 2rem;
    }

    .terms-intro {
        padding: 20px;
    }

    .terms-item {
        padding: 20px;
    }

    .terms-item h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .terms-content {
        margin: 0 15px;
        padding: 30px 20px;
    }

    .terms-content h1 {
        font-size: 1.8rem;
    }
}

.recipe-section {
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.recipe-grid13 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.recipe-card13 {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.recipe-card13:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
}

.recipe-image13 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px 16px 0 0;
    display: block;
}

.recipe-content13 {
    padding: 20px;
}

.recipe-title13 {
    font-size: 18px;
    font-weight: 600;
    color: #2D5016;
    line-height: 1.4;
    margin-bottom: 12px;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-meta13 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.recipe-time {
    color: #2D5016;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

.recipe-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star {
    color: #2D5016;
    font-size: 16px;
}

.rating-number {
    color: #2D5016;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .recipe-section13 {
        padding: 20px 12px;
    }

    .recipe-grid13 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 100%;
    }

    .recipe-card13 {
        border-radius: 12px;
    }

    .recipe-image13 {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }

    .recipe-content13 {
        padding: 14px;
    }

    .recipe-title13 {
        font-size: 15px;
        min-height: 40px;
        line-height: 1.3;
    }

    .recipe-meta13 {
        margin-top: 10px;
        padding-top: 10px;
    }

    .recipe-time13 {
        font-size: 13px;
    }

    .rating-number13 {
        font-size: 13px;
    }

    .star {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .recipe-section13 {
        padding: 16px 8px;
    }

    .recipe-grid13 {
        gap: 12px;
    }

    .recipe-image13 {
        height: 140px;
    }

    .recipe-content13 {
        padding: 12px;
    }

    .recipe-title13 {
        font-size: 14px;
        min-height: 36px;
    }

    .recipe-time13 {
        font-size: 12px;
    }

    .rating-number13 {
        font-size: 12px;
    }

    .star {
        font-size: 13px;
    }
}