/* --- Γενικά και Reset Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

a {
    text-decoration: none;
    color: #149dcc;
    transition: color 0.3s;
}

a:hover {
    color: #0d6786;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

/* --- Typography --- */
.landmap-title {
    font-family: 'Leelawadee UI', 'Leelawadee', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title {
    font-size: 4.25rem;
    font-weight: 300;
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #fff;
}

.hero-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 100px;
    margin-top: 15px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: #149dcc;
    color: #fff;
}


.btn-primary:hover {
    background-color: #0d6786;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* --- Backgrounds - Διορθώθηκε για εναλλαγή --- */
.bg-light {
    background-color: #ffffff; /* Λευκό */
}

/* Νέο background για εναλλαγή */
.bg-alternate {
    background-color: #f8f9fa; /* Πολύ απαλό γκρι */
}

/* Αφαιρέθηκε το bg-blue. Χρησιμοποίησε bg-light ή bg-alternate */

/* --- Video Hero Section --- */
.hero-video-section {
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('mbr-1920x1441.jpg'); /* Fallback image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Video Background - Fixed responsive */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
    /* Brave browser specific fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-overlay {
    background: rgba(35, 35, 35, 0.2); /* Πιο σκούρο overlay για καλύτερο contrast */
    width: 100%;
    height: 100%;
    display: flex;
    /* ΔΙΟΡΘΩΣΗ DESKTOP: Αλλάζουμε την κάθετη ευθυγράμμιση στο κάτω μέρος για να μη κρύβει το drone */
    align-items: flex-end; /* ΝΕΟ: Στο κάτω μέρος της οθόνης για να φαίνεται το drone */
    justify-content: center;
    position: relative;
    z-index: 1;
    /* ΔΙΟΡΘΩΣΗ DESKTOP: Χρησιμοποιούμε padding-bottom για να μην κολλάει στον πάτο */
    padding-top: 0; /* Μηδενίζεται το πάνω padding */
    padding-bottom: 10vh; /* Δίνουμε αέρα από τον πάτο για να φαίνεται καλύτερα */
}

.hero-layout-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* ΔΙΟΡΘΩΣΗ: Μειώνουμε το μέγιστο πλάτος του wrapper για να μη πιάνει όλη την οθόνη */
    max-width: 700px; /* Μειώθηκε από 900px */
}

.hero-content-block {
    flex: 1;
    text-align: center;
    color: #fff;
    background: rgba(50, 50, 50, 0.65);
    /* ΔΙΟΡΘΩΣΗ ΠΑΝΤΟΥ: Μειώνουμε το padding για να μικρύνει το κουτάκι */
    padding: 2rem 2rem; /* Μειώθηκε από 3rem 2.5rem */
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-content-block h1,
.hero-content-block h2 {
    margin-top: 0;
}

.hero-content-block .btn-primary {
    color: #fff;
}

/* --- Content Sections --- */
.content-section {
    padding: 80px 0;
}

/* --- Second Parallax Section --- */
.parallax-section-2 {
    background-image: url('2plots.jpg');
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
}

.parallax-overlay {
    background: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.parallax-content {
    text-align: center;
    color: #fff;
}

.parallax-title {
    font-size: 3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
}

.parallax-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* --- Features Grid (Γιατί να μας επιλέξετε) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #149dcc;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #149dcc;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* --- Detailed Services Grid --- */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card-detailed {
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: #149dcc;
    margin-bottom: 20px;
}

.service-card-detailed h3 {
    color: #149dcc;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #149dcc;
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    background: linear-gradient(135deg, #149dcc 0%, #0d6786 100%);
    padding: 50px;
    text-align: center;
    color: #fff;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    color: #149dcc;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: #666;
    line-height: 1.7;
}

/* --- Testimonials Grid --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-avatar {
    color: #149dcc;
}

.author-info h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: #888;
    font-size: 0.9rem;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
}

.faq-item {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa; /* Ελαφριά αλλαγή και στο hover */
}

.faq-question h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #149dcc;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* --- Footer Section --- */
.footer-section {
    background-color: #2e2e2e;
    color: #fff;
    padding: 60px 0 20px 0;
}

.footer-contact-section {
    margin-bottom: 50px;
}

.footer-contact-section h2 {
    color: #fff;
}

.footer-contact-section .section-subtitle {
    color: #ccc;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 2rem;
    color: #149dcc;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-details p, .contact-details a {
    color: #ccc;
    font-size: 0.95rem;
}

.contact-details a:hover {
    color: #149dcc;
}

/* --- Map Container --- */
.map-container {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Footer Grid --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col .col-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #149dcc;
}

.logo-small {
    height: 50px;
    width: auto;
}

.footer-lower {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* --- Social Icons --- */
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #149dcc;
    transform: translateY(-3px);
}

/* --- Scroll to Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #149dcc;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

/* --- Responsiveness --- */

/* Tablets και μικρότερα (992px και κάτω) */
@media (max-width: 992px) {
    .landmap-title {
        font-size: 4rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .hero-name {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-layout-wrapper {
        padding-top: 50px; 
        padding-bottom: 50px;
        /* Μειώνουμε το πλάτος και εδώ */
        max-width: 600px; 
    }
    
    .hero-content-block {
        /* Μειώθηκε padding και εδώ */
        padding: 2rem 2rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .features-grid,
    .services-grid-detailed,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile (768px και κάτω) */
@media (max-width: 768px) {
    .landmap-title {
        font-size: 3rem;
        letter-spacing: 1px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-name {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    /* Keep video on mobile but ensure it fits properly */
    .hero-video-section {
        min-height: 600px;
    }
    
    /* ΑΛΛΑΓΗ: Μετακινούμε το περιεχόμενο στο κάτω μέρος της οθόνης για να μη κρύβει το drone */
    .hero-overlay {
        align-items: flex-end; /* Κάνουμε align στο κάτω μέρος */
        padding-bottom: 5vh; /* Δίνουμε λίγο αέρα από κάτω */
        padding-top: 0; /* Μηδενίζουμε το padding-top στο κινητό */
    }

    .hero-video-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Additional mobile fixes for Brave */
        display: block;
        max-width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
    
    .hero-content-block {
        /* Μειώθηκε padding και εδώ */
        padding: 1.5rem 1.5rem; 
    }
    
    .parallax-section-2 {
        background-attachment: scroll;
        min-height: 400px;
        margin: 0;
    }
    
    .parallax-title {
        font-size: 2rem;
    }
    
    .parallax-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid,
    .services-grid-detailed,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links,
    .social-icons {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* ΔΙΟΡΘΩΣΗ: Ευθυγράμμιση contact items στο κινητό */
    .contact-item {
        display: flex; /* Ensure it's using flexbox for alignment */
        align-items: flex-start; /* Aligns content from the top */
        justify-content: flex-start; /* Aligns content to the left */
        text-align: left;
        padding-left: 10px; /* Πρόσθετο padding για να μη κολλάει αριστερά */
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Πολύ μικρές οθόνες (480px και κάτω) */
@media (max-width: 480px) {
    .landmap-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
        margin-bottom: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-name {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
    
    /* ΔΙΟΡΘΩΣΗ: Μειωμένο padding για να μικρύνει το κουτάκι */
    .hero-content-block {
        padding: 1.5rem 1rem; /* Μειώθηκε από 3rem 1rem */
    }
    
    .feature-card,
    .service-card-detailed,
    .testimonial-card {
        padding: 20px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}
