/* 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: #ffffff;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d5a27;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #2d5a27;
}

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

.nav a:hover::after {
    width: 100%;
}

.contact-info a {
    color: #2d5a27;
    text-decoration: none;
    font-weight: 600;
}

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

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2d5a27;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

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

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background: white;
    color: #2d5a27;
    border: 2px solid #2d5a27;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

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

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #2d5a27;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: white;
}

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

.about-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #f8ffef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8ffef 0%, #e8f5e8 100%);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

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

/* Recipes Section */
.recipes {
    background: white;
}

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

.recipe-card {
    background: #f8ffef;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

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

.recipe-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.recipe-card h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
}

.calories {
    background: #2d5a27;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8ffef 0%, #e8f5e8 100%);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-card cite {
    color: #2d5a27;
    font-weight: 600;
}

/* Subscription Section */
.subscription {
    background: #2d5a27;
    color: white;
    text-align: center;
}

.subscription h2 {
    color: white;
}

.subscription p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: white;
    color: #2d5a27;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.privacy-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.privacy-note a {
    color: white;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
}

.contact-item a {
    color: #2d5a27;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    background: #f8ffef;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #2d5a27;
    color: white;
}

/* Footer */
.footer {
    background: #1a3818;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 90, 39, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background: white;
    color: #2d5a27;
}

.btn-necessary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-settings {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.cookie-buttons button:hover {
    transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

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

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-save, .btn-close {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.btn-save {
    background: #2d5a27;
    color: white;
}

.btn-close {
    background: #ccc;
    color: #333;
}

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

.legal-content h1 {
    font-size: 3rem;
    color: #2d5a27;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
}

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

.legal-text h2 {
    color: #2d5a27;
    margin: 2rem 0 1rem 0;
    text-align: left;
    font-size: 1.8rem;
}

.legal-text h3 {
    color: #2d5a27;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
}

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

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

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

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

.cookie-table th {
    background: #f8ffef;
    color: #2d5a27;
    font-weight: 600;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8ffef 0%, #e8f5e8 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-image {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.thank-you h1 {
    font-size: 3rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.confirmation-details {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.next-steps {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.thank-you-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .services-grid,
    .recipes-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .thank-you h1 {
        font-size: 2rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card,
.service-card,
.recipe-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}
