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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FEFCF8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    line-height: 1.2;
    font-weight: 600;
}

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

/* Header */
.header {
    background-color: #FEFCF8;
    padding: 16px 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 24px;
    color: #2D5016;
    font-weight: 600;
}

.header-contact .phone {
    color: #1E3A8A;
    font-weight: 500;
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #FEFCF8 0%, #F7F8F0 100%);
}

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

.hero-content {
    max-width: 100%;
}

.hero-title {
    font-size: 48px;
    color: #2D5016;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: #4B5563;
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-photo {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #2D5016;
    color: #FEFCF8;
}

.btn-primary:hover {
    background-color: #1F3A0F;
}

.btn-secondary {
    background-color: transparent;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
}

.btn-secondary:hover {
    background-color: #1E3A8A;
    color: #FEFCF8;
}

/* Sections */
.section {
    padding: 80px 0;
}

.centered-section {
    text-align: center;
}

.centered-section .two-column {
    text-align: left;
}

.section-alt {
    background-color: #F9FAFB;
}

.section-title {
    font-size: 36px;
    color: #2D5016;
    margin-bottom: 24px;
}

.section-intro {
    font-size: 18px;
    color: #4B5563;
    max-width: 600px;
    margin: 0 auto 48px;
}

.centered-section .section-title {
    text-align: center;
}

.centered-section .section-intro {
    text-align: center;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: #FEFCF8;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.step-icon {
    width: 64px;
    height: 64px;
    background-color: #F0F9E8;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    font-size: 20px;
    color: #2D5016;
    margin-bottom: 12px;
}

.step-card p {
    color: #4B5563;
}

/* Two Column Layouts */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.two-column.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-column h2 {
    margin-bottom: 24px;
}

.content-column p {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #4B5563;
}

.feature-list li:before {
    content: "●";
    color: #2D5016;
    position: absolute;
    left: 0;
}

/* Image Placeholders */
.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.product-card {
    background: #FEFCF8;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

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

.product-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 20px;
    color: #2D5016;
    margin-bottom: 12px;
}

.product-content p {
    color: #4B5563;
    margin-bottom: 12px;
}

.product-price {
    font-weight: 600;
    color: #1E3A8A;
    font-size: 18px;
    margin-bottom: 16px !important;
}

/* Traceability Features */
.traceability-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.trace-card {
    text-align: center;
    padding: 24px;
}

.trace-icon {
    width: 48px;
    height: 48px;
    background-color: #F0F9E8;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trace-card h3 {
    font-size: 18px;
    color: #2D5016;
    margin-bottom: 8px;
}

.trace-card p {
    color: #4B5563;
}

/* Sustainability Grid */
.sustainability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.sustainability-card {
    background: #FEFCF8;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: center;
}

.sustainability-card h3 {
    font-size: 20px;
    color: #2D5016;
    margin-bottom: 16px;
}

.sustainability-card p {
    color: #4B5563;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1F2937;
    color: #FEFCF8;
    padding: 16px 24px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-link {
    color: #9CA3AF;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 8px;
}

.cookie-link:hover {
    color: #FEFCF8;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-accept {
    background-color: #2D5016;
    color: #FEFCF8;
}

.cookie-accept:hover {
    background-color: #1F3A0F;
}

.cookie-settings {
    background-color: transparent;
    color: #FEFCF8;
    border: 1px solid #4B5563;
}

.cookie-settings:hover {
    background-color: #374151;
}

.cookie-decline {
    background-color: transparent;
    color: #9CA3AF;
    border: 1px solid #4B5563;
}

.cookie-decline:hover {
    background-color: #374151;
    color: #FEFCF8;
}

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

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

.cookie-modal-content {
    background-color: #FEFCF8;
    padding: 32px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: #2D5016;
    margin-bottom: 24px;
    font-size: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 8px;
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2D5016;
}

.cookie-label input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category p {
    color: #4B5563;
    font-size: 14px;
    margin: 0;
    margin-left: 30px;
}

.cookie-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #F9FAFB;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item h3 {
    font-size: 18px;
    color: #2D5016;
    margin-bottom: 8px;
}

.contact-item p {
    color: #4B5563;
}

.contact-item a {
    color: #1E3A8A;
    text-decoration: none;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    background-color: #FEFCF8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2D5016;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: #D1D5DB;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 32px;
}

.footer-brand .logo-section {
    margin-bottom: 16px;
}

.footer-brand .brand-name {
    color: #FEFCF8;
    font-size: 18px;
}

.footer-brand p {
    color: #9CA3AF;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer-column h4 {
    color: #FEFCF8;
    font-size: 16px;
    margin-bottom: 16px;
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #9CA3AF;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #FEFCF8;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .brand-name {
        font-size: 20px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-image {
        order: -1;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .two-column.reverse {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .sustainability-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cookie-modal-content {
        padding: 24px;
        margin: 16px;
    }

    .cookie-modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .section {
        padding: 40px 0;
    }

    .contact-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        width: 100%;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}