/* General Styles */
:root {
    --primary-color: #5CA125;
    --primary-dark: #005D31;
    --secondary-color: #E17303;
    --secondary-hover: #c46200;
    /* Slightly darker orange for hover */
    --highlight-color: #F4B300;
    --accent-red: #A90E08;
    --accent-plum: #531028;
    --dark-text: #062D2D;
    --light-text: #ecf0f1;
    --light-bg: #fdfdfd;
    --section-bg: #f4f6f7;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --radius: 8px;
    --transition: all 0.3s ease;
    --font-heading: Georgia, serif;
    --font-body: Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Helpers */
.highlight {
    color: var(--primary-color);
}

.title-center {
    text-align: center;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-family: var(--font-body);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-secondary {
    background-color: transparent;
    /* Changed to transparent for hero usage */
    color: white;
    /* Changed for hero usage */
    border: 2px solid white;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.big-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    /* Base height for header logo */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-text);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links .btn-primary {
    margin-left: 10px;
    padding: 10px 25px;
    /* Smaller padding for nav button */
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    /* Add flex to center content properly */
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* Slight zoom for effect attached only to background */
    animation: zoomEffect 20s infinite alternate;
    z-index: 0;
}

.slide.active {
    opacity: 1;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(20, 50, 30, 0.7), rgba(39, 174, 96, 0.4));*/
    z-index: 1;
}

.hero-content {
    color: white;
    max-width: 900px;
    z-index: 2;
    text-align: center;
    /* Ensure content is centered */
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    background-color: rgba(6, 45, 45, 0.25);
    /* Semi-transparent dark teal */
    padding: 40px 30px;
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    /* Frosted glass effect */
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero h1 .highlight {
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Slider Controls */
.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background: rgba(39, 174, 96, 0.8);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Features Band */
.features {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
}

.feature-list {
    text-align: left;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: #777;
    font-weight: 600;
    background-image: url('https://images.unsplash.com/photo-1542838132-92c53300491e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1334&q=80');
    background-size: cover;
    background-position: center;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #777;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 200px;
    background-color: #ecf0f1;
    background-size: cover;
    background-position: center;
}

.fruit-bg {
    background-image: url('../imagini/struguri.jpg');
}

.veg-bg {
    background-image: url('../imagini/piata.jpg');
}

.exotic-bg {
    background-image: url('../imagini/fruit_roz.jpg');
}

.greens-bg {
    background-image: url('../imagini/salata_verde.jpg');
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: var(--dark-text);
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
}

.subcategory {
    text-align: left;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.subcategory:first-of-type {
    border-top: none;
    margin-top: 10px;
    padding-top: 0;
}

.subcategory h4 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subcategory h4::before {
    content: '\f105';
    /* FontAwesome angle-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.subcategory p {
    margin-bottom: 0;
    line-height: 1.4;
}

/* Target Audience Section */
.target-audience {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.audience-item {
    background: white;
    padding: 40px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.audience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.audience-item i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.audience-footer {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-text);
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Banner Section */
.cta-banner {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: white;
    overflow: hidden;
}

.cta-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cta-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.cta-text h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 5px;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.4;
}

.cta-banner .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.cta-banner .btn-primary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    box-shadow: 0 6px 20px rgba(225, 115, 3, 0.4);
}

@media (max-width: 768px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

/* CTA Section */
.cta-section {
    /* Renamed from .cta to .cta-section to avoid confusion with button class */
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), #d35400);
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--secondary-color);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info-box {
    padding-right: 30px;
    border-right: 1px solid #eee;
}

.contact-info-box h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-info-box p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
}

.contact-info-box i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: var(--dark-text);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group:nth-child(3),
.contact-form .form-group:nth-child(4),
.contact-form button {
    grid-column: span 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

/* Mobile adjustments for contact form */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact-info-box {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 30px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .form-group:nth-child(3),
    .contact-form .form-group:nth-child(4),
    .contact-form button {
        grid-column: span 1;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: #bbb;
    padding: 70px 0 20px;
}

.footer h3,
.footer h4 {
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-bottom: 1px solid var(--secondary-color);
    border-image: linear-gradient(to right, transparent, var(--secondary-color), transparent) 1;
    padding-bottom: 50px;
}

.footer-logo {
    width: 200px;
    max-width: 100%;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a {
    color: #bbb;
    display: block;
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 40px 0;
        gap: 20px;
        height: calc(100vh - 80px);
        /* Height full screen under nav */
    }

    .navbar .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .audience-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Legal Pages (Termeni si Conditii) */
.legal-content {
    padding: 120px 20px 60px;
    /* Top padding accounts for fixed navbar */
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-text);
    line-height: 1.6;
}

.legal-content h1.legal-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.legal-content .last-updated {
    font-style: italic;
    color: #777;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-separator {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 60px 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 15px 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--highlight-color);
    text-decoration: underline;
    font-weight: bold;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}