/* ==========================================================================
   AGROCOTTON - PREMIUM STATIC TEMPLATE
   Style Sheet (style.css)
   ========================================================================== */

/* --- RESET & ΒΑΣΙΚΑ ΣΤΟΙΧΕΙΑ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* --- ΧΡΗΣΙΜΑ UTILITIES (FLEXBOX & GRID) --- */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

/* --- HEADER & NAVIGATION --- */
.site-header {
    width: 100%;
    position: relative;
    z-index: 100;
}

.top-bar {
    background-color: #4CAF50; /* Το παραδοσιακό πράσινο της Agrocotton */
    color: #ffffff;
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-info span {
    margin-right: 25px;
}

.top-info i {
    margin-right: 6px;
}

.top-social a {
    color: #ffffff;
    margin-left: 18px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.top-social a:hover {
    opacity: 0.7;
}

.main-nav {
    background-color: #ffffff;
    padding: 22px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #222222;
    letter-spacing: 1px;
}

.logo-text span {
    color: #4CAF50;
}

.navigation ul {
    display: flex;
    list-style: none;
}

.navigation ul li {
    margin-left: 28px;
}

.navigation ul li a {
    text-decoration: none;
    color: #444444;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navigation ul li a:hover,
.navigation ul li a.active {
    color: #4CAF50;
}

/* --- HERO SLIDER SECTION (ΔΙΟΡΘΩΜΕΝΟ ΓΙΑ ΠΟΛΛΑΠΛΑ SLIDES) --- */
.hero-section {
    height: 600px;
    position: relative;
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* Κρύβει τις εικόνες που βρίσκονται εκτός κάδρου */
    background-color: #111111; /* Σκούρο φόντο για ομαλό transition */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Κρυφό από προεπιλογή */
    transition: opacity 0.8s ease-in-out; /* Smooth Fade εφέ 0.8 δευτερολέπτων */
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  /*background: rgba(0, 0, 0, 0.45);  Σκούρο overlay για να διαβάζονται τα γράμματα */
    z-index: 2;
}

.slide.active {
    opacity: 1; /* Εμφανίζεται μόνο το slide με την κλάση active */
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4; /* Πάνω από το overlay */
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h3 {
    font-size: 1.4rem;
    letter-spacing: 5px;
    margin-bottom: 15px;
    font-weight: 400;
    color: #e0e0e0;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slider-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Επιτρέπει στα κλικ να περνάνε από κάτω αν χρειαστεί */
    z-index: 10; /* Τα βέλη πάντα πάνω από όλα */
}

.slider-arrows .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    pointer-events: auto; /* Επαναφέρει τα κλικ πάνω στα βέλη */
    border-radius: 4px;
}

.slider-arrows .arrow:hover {
    background-color: #4CAF50;
    color: #ffffff;
}

.slider-arrows .left { left: 20px; }
.slider-arrows .right { right: 20px; }

/* --- GREEN FEATURES ZONE --- */
.features-zone {
    background-color: #4CAF50;
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.feature-box .icon-holder {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.feature-box h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: 700;
}

.feature-box p {
    font-size: 0.95rem;
    opacity: 0.92;
    padding: 0 15px;
    font-weight: 300;
}

/* --- PRODUCT INFO & ACCORDION --- */
.product-info-section {
    padding: 90px 0;
    background-color: #ffffff;
}

.product-image img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
}

.product-details h2 {
    font-size: 2.1rem;
    color: #111111;
    margin-bottom: 22px;
    font-weight: 700;
}

.section-lead {
    font-size: 1.05rem;
    color: #555555;
    margin-bottom: 35px;
}

/* Accordion Styling */
.accordion {
    margin-top: 25px;
}

.accordion-item {
    border-bottom: 1px solid #eeeeee;
    padding: 18px 0;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #333333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.accordion-title i.fa-circle-check,
.accordion-title i.fa-gear,
.accordion-title i.fa-user-gear {
    color: #4CAF50;
    margin-right: 12px;
    font-size: 1.1rem;
}

.accordion-title .toggle-icon {
    font-size: 0.9rem;
    color: #888888;
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-top: 12px;
    color: #666666;
    font-size: 0.95rem;
    padding-left: 28px; /* Ευθυγράμμιση με το κείμενο του τίτλου */
}

/* Active Accordion State */
.accordion-item.active .accordion-content {
    max-height: 250px; /* Επαρκές ύψος για το κείμενο */
}

.accordion-item.active .accordion-title {
    color: #4CAF50;
}

.accordion-item.active .toggle-icon {
    transform: rotate(180deg);
    color: #4CAF50;
}

/* --- MID BANNER (PARALLAX) --- */
.mid-banner {
    padding: 110px 0;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    background-attachment: fixed; /* Εφέ Parallax */
    position: relative;
    text-align: center;
}

.mid-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  /*background: rgba(0, 0, 0, 0.55);*/
    z-index: 1;
}

.mid-banner .container {
    position: relative;
    z-index: 2;
}

.mid-banner h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.mid-banner p {
    font-size: 1.05rem;
    letter-spacing: 2px;
    opacity: 0.85;
    text-transform: uppercase;
}

/* --- WIDGETS / PRE-FOOTER ZONE --- */
.widgets-zone {
    padding: 70px 0;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eeeeee;
}

.widget h4 {
    font-size: 1.05rem;
    color: #222222;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background-color: #4CAF50;
}

.widget-links {
    list-style: none;
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links li a {
    text-decoration: none;
    color: #666666;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.widget-links li a i {
    font-size: 0.7rem;
    margin-right: 6px;
    color: #999999;
    transition: color 0.3s ease;
}

.widget-links li a:hover {
    color: #4CAF50;
    transform: translateX(5px); /* Μικρό smooth κούνημα δεξιά στο hover */
}

.widget-links li a:hover i {
    color: #4CAF50;
}

.contact-p {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 14px;
}

.contact-p i {
    color: #4CAF50;
    margin-right: 10px;
    width: 16px;
    font-size: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 12px;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #4CAF50;
}

.newsletter-form button {
    width: 100%;
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

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

/* --- BRANDS CAROUSEL --- */
.brands-zone {
    padding: 45px 0;
    background-color: #ffffff;
}

.brands-zone img {
    max-height: 42px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    margin: 10px 15px;
}

.brands-zone img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- SITE FOOTER --- */
.site-footer {
    background-color: #388E3C;
    color: #ffffff;
    padding: 28px 0;
    font-size: 0.9rem;
}

.footer-social a {
    color: #ffffff;
    margin-left: 18px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

/* --- RESPONSIVE MEDIA QUERIES (ΓΙΑ ΚΙΝΗΤΑ & TABLETS) --- */
@media (max-width: 992px) {
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .hero-section {
        height: 500px;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .navigation {
        display: none; /* Απόκρυψη κλασικού μενού στα κινητά */
    }
    .mid-banner {
        padding: 80px 0;
        background-attachment: scroll; /* Απενεργοποίηση parallax στα κινητά για καλύτερη απόδοση */
    }
    .mid-banner h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .top-info span {
        margin: 0 10px;
        display: inline-block;
    }
    .main-nav .container {
        flex-direction: column;
        gap: 10px;
    }
    .hero-section {
        height: 420px;
    }
    .hero-content h3 {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .slider-arrows .arrow {
        padding: 12px 15px;
        font-size: 1rem;
    }
    .slider-arrows .left { left: 10px; }
    .slider-arrows .right { right: 10px; }
    
    .product-details h2 {
        font-size: 1.7rem;
    }
/* --- RESPONSIVE HAMBURGER MENU EXTRA --- */
.menu-toggle {
    background: none;
    border: none;
    color: #4CAF50;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
    order: 2; /* Σπρώχνει το κουμπί μετά το λογότυπο */
}

/* Όταν το μενού είναι ανοιχτό στα κινητά */
.navigation.show-menu {
    display: block !important;
    position: absolute;
    top: 100%; /* Πέφτει ακριβώς κάτω από τη λευκή μπάρα */
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.navigation.show-menu ul {
    flex-direction: column;
    padding: 20px;
}

.navigation.show-menu ul li {
    margin: 12px 0;
    text-align: center;
}

/* Στα κινητά και τάμπλετ */
@media (max-width: 992px) {
    .menu-toggle {
        display: block !important; /* Εμφανίζεται δεξιά */
    }
    .navigation {
        display: none; /* Κρύβεται το οριζόντιο μενού */
    }
}