/* Γενικές Ρυθμίσεις & Typography */
:root {
    --primary-color: #7a5230; /* Ζεστό καφέ για links, hover κλπ. */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #fff;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
    line-height: 1.2;
}

p {
    margin-bottom: 10px;
}

.py-3 { padding: 30px 0; }
.py-5 { padding: 50px 0; }
.mb-5 { margin-bottom: 50px; }
.mb-4 { margin-bottom: 40px; } 
.mt-4 { margin-top: 40px; }
.text-center { text-align: center; }

.subtitle {
    font-size: 0.9em;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-color);
}

/* Header */
#main-header {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    position: relative; 
    z-index: 100;
}

#main-header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9); /* Ημιδιαφανές λευκό */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Ρυθμίστε ανάλογα με το logo σας */
    width: auto;
}

#main-nav ul {
    display: flex;
}

#main-nav ul li {
    margin-left: 20px;
    position: relative; 
}

#main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 10px;
    display: block;
    transition: color 0.3s ease;
}

#main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-top: 3px solid var(--primary-color);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    position: relative;
}

#google_translate_element {
    display: none; /* Κρύβουμε το default widget */
}

.language-selector select {
    background: transparent;
    border: none;
    font-size: 0.9em;
    color: var(--text-color);
    cursor: pointer;
    margin-left: 10px;
    appearance: none; 
    padding-right: 20px; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 15px;
}

.language-selector select:focus {
    outline: none;
}

/* Menu Toggle (για mobile) */
.menu-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Slideshow */
#hero-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 60vh; 
    min-height: 400px;
    max-height: 700px;
}

.slides-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #5a3c24; 
}

.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 1.5em;
    transition: background 0.3s ease;
    z-index: 2;
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev-slide { left: 0; border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
.next-slide { right: 0; border-top-left-radius: 5px; border-bottom-left-radius: 5px; }

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--white);
}

/* Product Grid (3 στήλες) */
.product-grid {
    display: grid;
    /* Ορίζουμε 3 στήλες, η κάθε μία με ελάχιστο πλάτος 300px */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
}

.product-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; 
    color: var(--text-color);
    padding-bottom: 20px;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.product-item a {
    display: block; /* Για να καλύπτει όλο τον χώρο της εικόνας (για Lightbox) */
}

.product-item img {
    width: 100%;
    /* Ορισμός συγκεκριμένου ύψους: 167px */
    height: 167px; 
    object-fit: cover;
    margin-bottom: 15px;
    /* Ορισμός max-width για να μην ξεπερνά τις διαστάσεις του grid: 250px */
    max-width: 100%; 
}

.product-item h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.product-item p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0;
}


/* Footer */
#main-footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav ul {
    display: flex;
    margin-bottom: 15px;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--primary-color);
}

/* Styles for General Content Pages (Company, Contact, etc.) */
.page-content {
    min-height: calc(100vh - var(--header-height) - 100px); 
    padding-top: var(--header-height); 
}

/* Contact Page Specific Styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 5px;
}

.contact-card p a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Product Detail Page Specific Styles */
.product-detail {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-description h3 {
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.product-description p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-description ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.product-description ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #555;
    display: flex;
    align-items: center;
}

.product-description ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 992px) {
    /* Δύο στήλες σε tablet */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    #main-nav {
        display: none; 
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    #main-nav.active {
        display: block;
    }

    #main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    #main-nav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    #main-nav ul li:last-child {
        border-bottom: none;
    }

    #main-nav ul li a {
        padding: 15px 20px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        background-color: var(--light-gray);
        padding-left: 20px;
    }

    .dropdown:hover .dropdown-content {
        display: none; 
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .menu-toggle {
        display: block; 
    }

    .header-content {
        justify-content: space-between;
        padding: 0 20px;
    }

    .language-selector {
        margin-left: auto; 
    }

    .logo {
        position: absolute; 
        left: 50%;
        transform: translateX(-50%);
    }

    .slide-content h1 {
        font-size: 2.5em;
    }

    .slide-content p {
        font-size: 1em;
    }

    .prev-slide, .next-slide {
        padding: 10px 5px;
        font-size: 1.2em;
    }

    .product-grid {
        grid-template-columns: 1fr; /* Μία στήλη σε μικρότερες οθόνες */
    }

    .footer-nav ul {
        flex-direction: column;
    }

    .footer-nav ul li {
        margin: 5px 0;
    }

    .product-detail-grid {
        grid-template-columns: 1fr; 
    }

    .product-detail {
        padding: 20px;
    }

    .product-description h3 {
        font-size: 1.5em;
    }
}