/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

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

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

.cookie-banner.hidden {
    transform: translateY(100%);
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

#accept-all {
    background: #4CAF50;
    color: white;
}

#necessary-only {
    background: #FF9800;
    color: white;
}

#customize {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Header and Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2d5a27;
    font-size: 1.5rem;
    font-weight: bold;
}

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

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #2d5a27;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2d5a27;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2d5a27;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #2d5a27;
    margin-bottom: 1rem;
    font-weight: 300;
}

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

.hero-svg {
    margin: 2rem 0;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.cta-button {
    display: inline-block;
    background: #2d5a27;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #1e3f1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

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

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f9f9f9;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card svg {
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Products Preview */
.products-preview {
    padding: 4rem 0;
    background: #f5f5f5;
}

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

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

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

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

.product-card svg {
    margin-bottom: 1rem;
}

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

.product-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #2d5a27;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #8bc34a;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8bc34a;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d5a27;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5a27;
}

.btn-submit {
    background: #2d5a27;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #1e3f1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1rem;
    font-weight: 300;
}

.page-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 3rem 0;
    background: white;
}

.content-section:nth-child(even) {
    background: #f9f9f9;
}

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

.section-content h2 {
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
}

.section-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-content ul {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

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

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

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

.blog-card svg {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
}

.blog-card-content {
    padding: 1.5rem;
}

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

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card .read-more {
    color: #2d5a27;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog-card .read-more:hover {
    color: #1e3f1c;
}

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

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

.testimonial-card svg {
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card cite {
    color: #2d5a27;
    font-weight: bold;
    font-style: normal;
}

/* Thanks page styles */
.thanks-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

.thanks-container svg {
    margin-bottom: 2rem;
}

.thanks-container h1 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.thanks-container p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thanks-container .cta-button {
    margin-top: 2rem;
}

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

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: 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 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: #2d5a27;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.cookie-table td {
    color: #666;
    font-size: 0.9rem;
}

.cookie-table tr:hover {
    background: #f8f9fa;
}

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

@media (max-width: 768px) {
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
    }
}