/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: #D32F2F;
}

h2 {
    font-size: 2rem;
    color: #D32F2F;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: #D32F2F;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #B71C1C;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #D32F2F;
    color: white;
}

.btn-primary:hover {
    background-color: #B71C1C;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #666;
    color: white;
}

.btn-secondary:hover {
    background-color: #555;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #D32F2F;
    border: 2px solid #D32F2F;
}

.btn-outline:hover {
    background-color: #D32F2F;
    color: white;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #D32F2F;
    text-decoration: none;
}

.nav-logo svg {
    margin-right: 10px;
}

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

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #D32F2F;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D32F2F;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner:not(.hidden) {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 10px;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 5px;
}

.cookie-option span {
    font-weight: 600;
    margin-bottom: 5px;
}

.cookie-option p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #D32F2F;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual svg {
    width: 100%;
    height: auto;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.about {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #D32F2F;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    margin: 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin: 0;
}

/* Recipes */
.recipes {
    background-color: #f8f9fa;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recipe-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.recipe-image {
    height: 200px;
    overflow: hidden;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-content h3 {
    margin-bottom: 0.5rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.recipe-meta span {
    font-size: 0.9rem;
    color: #666;
}

.recipes-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Reviews */
.reviews {
    background-color: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-rating {
    margin-bottom: 1rem;
}

.review-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.review-author strong {
    display: block;
    color: #333;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: white;
    color: #D32F2F;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #f5f5f5;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background-color: #D32F2F;
    padding: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    fill: white;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #D32F2F;
}

.contact-item p {
    margin: 0;
    color: #666;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

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

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

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Blog Styles */
.blog-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    color: white;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.blog-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    gap: 3rem;
}

.article-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.article-image {
    height: 250px;
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-date,
.article-category,
.article-reading-time {
    font-size: 0.9rem;
    color: #666;
}

.article-category {
    background-color: #D32F2F;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

.article-content h2 {
    margin-bottom: 1rem;
}

.article-content h2 a {
    color: #333;
    text-decoration: none;
}

.article-content h2 a:hover {
    color: #D32F2F;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tag {
    background-color: #f5f5f5;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.read-more {
    color: #D32F2F;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

/* Full Article Styles */
.article-full {
    padding: 120px 0 80px;
}

.article-header {
    margin-bottom: 3rem;
}

.article-breadcrumb {
    color: #666;
    margin-bottom: 1rem;
}

.article-breadcrumb a {
    color: #666;
}

.article-breadcrumb a:hover {
    color: #D32F2F;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.article-featured-image {
    margin: 3rem 0;
    text-align: center;
}

.image-caption {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid #D32F2F;
    border-radius: 0 5px 5px 0;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D32F2F;
}

.article-content h3 {
    margin-top: 2rem;
    color: #D32F2F;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1rem 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.article-share {
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    padding: 8px 16px;
    border-radius: 5px;
    color: white;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.share-button:hover {
    opacity: 0.8;
    color: white;
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Related Articles */
.related-articles {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-card h3 {
    margin-bottom: 0.5rem;
}

.related-card h3 a {
    color: #333;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: #D32F2F;
}

.related-card p {
    color: #666;
    margin: 0;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.what-to-expect {
    margin: 3rem 0;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expectation-item {
    text-align: center;
}

.expectation-icon {
    margin-bottom: 1rem;
}

.next-steps {
    margin: 3rem 0;
}

.next-steps-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.featured-recipes {
    margin-top: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-recipe {
    text-align: center;
}

.featured-image {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.featured-recipe h3 {
    margin-bottom: 0.5rem;
    color: #D32F2F;
}

.featured-recipe p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-date {
    color: #666;
    font-style: italic;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #D32F2F;
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Cookie Table */
.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background-color: #D32F2F;
    color: white;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-preferences-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 200px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .article-navigation {
        flex-direction: column;
        text-align: center;
    }
    
    .next-steps-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card,
    .recipe-card,
    .review-card {
        margin: 0 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .article-full {
        padding: 100px 0 60px;
    }
    
    .article-content {
        padding: 0 15px;
    }
    
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .thank-you {
        padding: 100px 0 60px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .newsletter,
    .article-share,
    .related-articles {
        display: none !important;
    }
    
    .article-full {
        padding-top: 20px;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    p, li {
        page-break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .nav-link::after {
        height: 3px;
    }
    
    .article-content {
        border: 1px solid #333;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
input:focus,
button:focus {
    outline: 2px solid #D32F2F;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #D32F2F;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1003;
}

.skip-link:focus {
    top: 0;
}
