/* TABLE OF CONTENTS
   1. Reset & Variables
   2. Typography & Base Styles
   3. Hero Section
   4. Layout Grid (Mobile 2 columns)
   5. Card Styling
   6. Gallery (Swipe Slider)
   7. Contact CTA
   8. Feedback Section
   9. Modal (Popup)
   10. Responsive - Desktop
   11. Footer 
*/

/* --- 1. Reset & Variables --- */
:root {
    --primary-blue: #0077b6; /* Έντονο μπλε θάλασσας */
    --accent-blue: #90e0ef;
    --text-dark: #333333;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --card-radius: 12px;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- 2. Typography & Base Styles --- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
}

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

/* --- 3. Hero Section --- */
.hero {
    height: 40vh; /* Αρκετό ύψος αλλά όχι όλη η οθόνη */
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
} 


.hero-overlay {
    background: rgba(0, 0, 0, 0.4); /* Σκούρο φίλτρο για να φαίνονται τα γράμματα */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.hero h1 {
    font-family: 'Montserrat';
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    color: #eee;
    font-size: 1rem;
}

/* --- 4. Layout Grid --- */
.services-grid {
    display: grid;
    /* Εντολή: 2 κάρτες ανά σειρά στο κινητό */
    grid-template-columns: 1fr 1fr; 
    gap: 12px; /* Μικρό κενό για να χωράνε */
    margin-bottom: 30px;
}

/* Στο PC το κάνουμε 4 στήλες για να μην είναι τεράστιες */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* --- 5. Card Styling --- */
.card {
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    overflow: hidden; /* Για να κόβονται οι γωνίες της εικόνας */
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: all 0.3s ease; /* Καλύπτει border, shadow και μετακίνηση */
}

.card:hover{ 
    border: #0077b6 1px solid;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px); 

}

.card-content {
    padding: 10px;
    text-align: center;
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.promo {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.price {
    display: block;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1rem;
}

/* --- 6. Gallery (Swipe Slider) --- */
.gallery {
    display: flex;
    overflow-x: auto; /* Επιτρέπει το scroll οριζόντια */
    scroll-snap-type: x mandatory; /* Το μαγικό CSS για το "κούμπωμα" */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Απόκρυψη scrollbar Firefox */
}

.gallery::-webkit-scrollbar {
    display: none; /* Απόκρυψη scrollbar Chrome/Safari */
}

.gallery img {
    min-width: 100%; /* Κάθε εικόνα πιάνει όλο το πλάτος της κάρτας */
    height: 120px; /* Σταθερό ύψος */
    object-fit: cover;
    scroll-snap-align: start; /* Κουμπώνει στην αρχή */
}

/* --- 7. Contact CTA --- */
.contact-card {
    background-color: var(--primary-blue);
    padding: 20px;
    border-radius: var(--card-radius);
    text-align: center;
    border: 1px solid #ddd;
    margin-bottom: 30px;
    
}

.contact-card p {
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffffff;
}

.btn-call {
    display: inline-block;
    background-color: #004b741f;
    border: 1px solid #ffffff;
    transition: all 0.3s ease; /* Καλύπτει border, shadow και μετακίνηση */    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-call:hover {
    background-color: rgb(255, 255, 255);
    color: #000000;
}

/* --- 8. Feedback Section --- */
.feedback-section {
    text-align: center;
    padding: 20px;
    border: var(--primary-blue) 1px solid;
    border-radius: var(--card-radius);
}

.feedback-section h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-yes, .btn-no {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-yes {
    background-color: #2ecc71;
    color: white;
    transition: all 0.3s ease;}

.btn-yes:hover {
    background-color: #08e910;
    transform: scale(1.1);
}

.btn-no {
    background-color: #e74c3c;
    color: white;
    transition: all 0.3s ease;
}

.btn-no:hover {
    background-color: #f5230c;
    transform: scale(1.1);
}

/* --- 9. Modal (Popup) --- */
.modal {
    display: none; /* Κρυφό αρχικά */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Ημιδιαφανές μαύρο */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: var(--card-radius);
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
}

.modal-content textarea {
    width: 100%;
    height: 100px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}

.btn-submit {
    margin-top: 10px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit.sent {
    background-color: #28a745 !important; /* Πράσινο */
    color: white;
    border-color: #28a745;
    pointer-events: none; /* Να μην ξαναπατηθεί */
}

/* --- 10. Responsive --- */

@media (min-width: 768px) {
    .hero{
        height: 60vh;
        background-size: cover;
        background-position: top;
    }
    
}

@media (min-width: 768px) {
    .card{margin: 30px;}
}

/* ---11. FOOTER --- */
.main-footer {
    text-align: center;
    padding: 10px;
    color: #000000;
    font-size: 0.8rem;
}

.main-footer h4{
    padding: 10px;
    font-size: 18px;
    font-weight: 300;
}