/* --- Global Styles and Reset --- */
:root {
    --primary-color: #000; /* Deep Black for background */
    --secondary-color: #f7f7f7; /* Off-white for text/background elements */
    --accent-color: #e3c46e; /* Gold/Yellow for CTAs and links */
    --font-family: 'Montserrat', sans-serif;
    --dark-bg: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
}

/* --- Header & Navigation (Transparent) --- */
.header {
    background: transparent; 
    padding: 15px 0;
    border-bottom: none; 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 0;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background-color: #fff;
}

.whatsapp-button {
    background-color: #4dc247;
    color: #fff;
    margin-left: 10px;
}

.whatsapp-button:hover {
    background-color: #3aa636;
}

.whatsapp-button i {
    margin-right: 5px;
}

.menu-toggle {
    display: none; 
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}


/* --- Hero Section: Video Background Implementation (PC/Desktop) --- */
.hero-section {
    background: #000; /* Fallback background color */
    height: 100vh; /* ΔΙΟΡΘΩΣΗ: Πλήρες ύψος οθόνης */
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden; 
}

/* CSS for the Video element (visible only on large screens by default) */
#video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75); /* Default overlay (για PC video) */
    z-index: 1; 
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
    color: #ccc;
}

.hero-ctas .cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* --- Section Styling --- */
.fleet-showcase, .services-info, .booking-form-section, .simple-contact {
    padding: 80px 0;
    text-align: center;
    background-color: var(--dark-bg);
}

.section-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* --- Fleet Showcase --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.fleet-item {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 400px;
    justify-self: center; 
}

.fleet-item.hidden-placeholder {
    visibility: hidden;
    display: none; 
}


.fleet-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(227, 196, 110, 0.2);
}

.fleet-image-placeholder img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.fleet-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--secondary-color);
}

.book-link {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 10px;
}

.fleet-footer-cta {
    margin-top: 50px;
}

/* --- Core Services Section --- */
.services-info {
    background-color: var(--primary-color);
}

.service-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-point {
    padding: 30px;
    background: #111;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-point i {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-point h3 {
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-point p {
    font-size: 0.95rem;
    color: #aaa;
}


/* --- Booking / Quote Form Section --- */
.booking-form-section {
    background-color: var(--dark-bg);
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    color: var(--secondary-color);
    font-size: 1rem;
    font-family: var(--font-family);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.half-width input {
    width: 50%;
}

.date-time-group input {
    flex-grow: 1;
}

.form-group select {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23e3c46e" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    padding-right: 30px; 
}


.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.vat-toggle {
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.vat-toggle input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    accent-color: var(--accent-color);
}

.submit-button {
    padding: 15px 40px;
    font-size: 1.1rem;
}


/* --- Simple Contact Section --- */
.simple-contact {
    padding: 50px 0;
    border-top: 1px solid rgba(227, 196, 110, 0.1);
}

.simple-contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.simple-contact p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-ctas .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
}

.email-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.email-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}


/* --- Footer --- */
.footer {
    padding: 30px 0;
    background: #111;
    text-align: center;
    border-top: 1px solid rgba(227, 196, 110, 0.2);
}

.footer-contact-details {
    margin-bottom: 20px;
    color: #ccc;
}

.footer-contact-details h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.footer-contact-details p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-contact-details a {
    color: #ccc;
}

.footer-contact-details a:hover {
    color: var(--accent-color);
}


.footer-social {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-social a {
    font-size: 1.5rem;
    margin: 0 15px;
    color: var(--accent-color);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 10px;
    color: #aaa;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #555;
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 768px) {
    /* **MOBILE FIX: Use static image instead of video** */
    .hero-section {
        /* Set static image for small screens (using the vertical image) */
        background: url('images/font1.jpg') no-repeat center center/cover;
        height: 100vh; /* Εφαρμόστηκε και στο mobile για full screen */
    }
    
    /* Μείωση του overlay για να φαίνεται πιο φωτεινή η εικόνα font1.jpg */
    .hero-section::before {
        background: rgba(0, 0, 0, 0.45); 
        z-index: 2; 
    }
    
    #video-background {
        /* Hide the video element on mobile */
        display: none;
    }

    /* 2. Responsive Header (Menu & Logo) */
    .nav-container {
        /* Χρησιμοποιούμε flex-start για να δώσουμε προτεραιότητα στο logo */
        justify-content: flex-start; 
        flex-wrap: wrap; /* Επιτρέπει το menu να πάει από κάτω */
    }

    .logo {
        /* Το λογότυπο καταλαμβάνει τον απαραίτητο χώρο */
        flex-grow: 1; 
        text-align: left;
    }

    .logo a {
        /* Μείωση γραμματοσειράς του λογότυπου για να χωρέσει */
        font-size: 1.2rem; 
    }

    .menu-toggle {
        display: block; /* Εμφάνιση του Hamburger Icon */
        order: 2; /* Τοποθετείται μετά το logo */
    }

    .main-nav {
        /* Το μενού αρχικά κρύβεται */
        display: none;
        width: 100%; /* Καταλαμβάνει όλο το πλάτος κάτω από το header */
        order: 3; /* Μπαίνει στην κάτω σειρά */
    }

    /* Όταν το μενού είναι active (θα το χειριστεί το JS) */
    .main-nav.active {
        display: block; 
    }

    .main-nav ul {
        flex-direction: column; /* Τα links γίνονται κάθετα */
        background-color: #0a0a0a; /* Ελαφρύ σκούρο φόντο για το ανοιχτό μενού */
        padding: 10px 0;
    }

    .main-nav li {
        margin: 0;
        padding: 8px 15px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }

    .nav-container .cta-button {
        display: none; 
    }
    
    .hero-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1.5rem;
    }
    .service-points-grid {
        grid-template-columns: 1fr;
    }
    .fleet-item {
        max-width: 100%;
    }
    .fleet-item.hidden-placeholder {
        display: none; 
    }
    .footer-contact-details {
        text-align: center;
    }
}
/* --- Booking Success Modal Styling --- */

.modal {
    display: none; /* Κρύψιμο από προεπιλογή */
    position: fixed; 
    z-index: 2000; /* Πάνω από όλα τα άλλα στοιχεία */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); /* Σκούρο overlay */
}

.modal-content {
    background-color: var(--primary-color);
    margin: 15% auto; /* 15% από πάνω και στο κέντρο */
    padding: 40px 30px;
    border: 3px solid var(--accent-color);
    width: 90%; 
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    animation: fadeIn 0.5s;
}

.close-button {
    color: #fff;
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-button:hover,
.close-button:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.modal-icon {
    font-size: 4rem;
    color: #4dc247; /* Πράσινο για επιτυχία */
    margin-bottom: 20px;
}

.modal-content h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-content p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
}

.modal-note {
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--accent-color);
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 600px) {
    .modal-content {
        margin: 25% auto;
    }
}