@font-face {
    font-family: 'Didact Gothic';
    src: url('/static/fonts/DidactGothic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Didact Gothic', Arial;
    overscroll-behavior-y: none;

}

/* --- GLOBAL --- */
.content-section {
    padding: 100px 20px;
    background: #000;
    color: #fff;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.content-section h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    margin: 0;
    text-align: center;
    line-height: 1.1;
}

/* --- NAVBAR --- */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-inner {
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    box-sizing: border-box;
    height: 80px;
    min-height: 80px;
}

.logo {
    max-height: 30px;
    width: auto;
}

/* Toggle button */
.menu-toggle {
    background: none;
    border: none;
    padding: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 28px;
    height: 28px;
    position: absolute;
    transition: opacity 0.25s ease;
}

.hamburger {
    opacity: 1;
}

.close {
    opacity: 0;
}

.dropdown-menu.active .hamburger {
    opacity: 0;
}

.dropdown-menu.active .close {
    opacity: 1;
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: black;
    margin: 0;
    padding: 10px 0;
    z-index: 999;
}

.dropdown-menu.active {
    display: block;
    border-bottom: 2px solid var(--border);
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-items a {
    display: block;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.menu-items a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Τα states του toggle */
.menu-toggle .hamburger {
    opacity: 1;
}

.menu-toggle .close {
    opacity: 0;
}

.menu-toggle.open .hamburger {
    opacity: 0;
}

.menu-toggle.open .close {
    opacity: 1;
}

/* Desktop menu – κρυφό σε mobile */
.desktop-menu {
    display: none;
    /* κρυφό από default (mobile) */
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    /* απόσταση μεταξύ links */
}

.desktop-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 0;
    transition: color 0.3s;
}

.desktop-menu li a:hover {
    color: #ccc;
    /* ή όποιο χρώμα θες */
}

/* Κρύβουμε το hamburger toggle σε desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
        /* κρύβει hamburger σε PC */
    }

    .dropdown-menu {
        display: none !important;
        /* κρύβει dropdown εντελώς */
    }

    .desktop-menu {
        display: flex !important;
        /* εμφανίζει τα links πάνω δεξιά */
    }

    .nav-inner {
        justify-content: space-between;
        /* logo αριστερά, menu δεξιά */
    }
}

/* Σε mobile (< 768px) – κρύβουμε desktop menu */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
}

/* --- HERO SECTION --- */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* full screen */
    overflow: hidden;
    background: #000;
    /* fallback */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    /* δεν ανοίγει player */
}

/* Default: δείχνουμε desktop video */
.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

/* Mobile portrait: δείχνουμε mobile video */
@media (orientation: portrait) and (max-width: 768px) {
    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }

    /* Προαιρετικά: κλείσε το height για να γεμίσει καλύτερα */
    .hero-section {
        height: 100dvh;
        /* dynamic viewport height – καλύτερο σε mobile */
    }
}

/* Κρύβουμε controls (για safety) */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

/* --- ABOUT --- */

.about-video-wrapper {
    margin: 4rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16/9;

}

.about-video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;

}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.about-block {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}


@media (max-width: 768px) {
    .about-block {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text {
        order: 1;
    }

    .about-image {
        order: 2;
    }
}

/* --- SERVICES --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: white;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    background: #111;
}

.service-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.service-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

/* Mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --- CTA --- */

.cta-section {
    padding: 100px 20px;
    background: #000;
    /* ή βάλε εικόνα/video background αργότερα */
    color: white;
    text-align: center;
}

.cta-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.2rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #ddd;
    transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 16px;
    }

    .cta-content h2 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 1.1rem;
    }
}

/* Footer – βασικά */
.footer {
    background: #000;
    color: #fff;
    padding: 50px 40px 30px;
    border-top: 1px solid #333;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo – αριστερά σε desktop */
.footer-logo {
    flex: 1;
    text-align: left;
}

.footer-logo .logo {
    max-height: 80px;
    /* ← άλλαξε σε 90px / 100px αν θες μεγαλύτερο */
    width: auto;
}

/* Social icons – δεξιά σε desktop */
.social-icons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: block;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    border: 1px solid #444;
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    /* λευκά */
    transition: filter 0.3s ease;
}

.social-link:hover .icon-circle {
    background: #444;
}

.social-link:hover .social-icon {
    filter: brightness(0) invert(0.8);
    /* γκρι στο hover */
}

/* Copyright – πάντα κεντραρισμένο από κάτω */
.footer-copyright {
    font-size: 14px;
    color: #888;
    width: 100%;
    text-align: center;
}

/* ────────────────────────────────
   Mobile – stack & κεντραρισμένα
───────────────────────────────── */
@media (max-width: 768px) {
    .footer {
        padding: 30px 20px 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

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

    .footer-logo .logo {
        max-height: 60px;
    }

    .social-icons {
        justify-content: center;
        gap: 18px;
    }

    .icon-circle {
        width: 42px;
        height: 42px;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }

    .footer-copyright {
        font-size: 13px;
    }
}

/* --- CONTACT SECTION --- */

.contact-section {
    min-height: 100vh;
    padding: 120px 20px 80px;
    background: #000;
    color: #fff;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-inner h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    text-align: center;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 700px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-block h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.info-block p,
.info-block a {
    font-size: 1.15rem;
    color: #ddd;
    line-height: 1.6;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Viber row – icon + αριθμός */
.viber-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.viber-row .social-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1) !important;
    /* λευκό, δυνατό override */
}

/* Χάρτης – γεμίζει όλο το ύψος του αριστερού container */
.contact-map {
    height: 100%;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Socials στο contact – αριστερά, λευκά */
.social {
    margin-top: 2rem;
}

.contact-social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    /* αριστερά, όπως ζήτησες */
    margin-top: 1rem;
}

.contact-social-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-map {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 100px 15px 60px;
    }

    .contact-inner h1 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .contact-social-icons {
        justify-content: flex-start;
    }
}

/* --- COLLECTION --- */

.content-section#gallery {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    background: #000;
}

.gallery-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-category {
    margin-bottom: 6rem;
}

.gallery-category h2 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 2.5rem;
    text-align: center;
    color: #fff;
    font-weight: 400;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.gallery-item {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .thumbnail {
    transform: scale(1.08);
}

.item-info {
    padding: 1.6rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.75);
    color: black;

}

.item-info h3 {
    margin: 0 0 0.8rem;
    font-size: 1.4rem;
    color: white;

}

.item-info p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: gray;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    #gallery {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .gallery-category {
        margin-bottom: 4rem;
    }

    .gallery-category h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .gallery-item:hover {
        transform: translateY(-8px);
    }
}

/* --- MODAL --- */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    pointer-events: auto;
}

.modal-body {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 για βίντεο */
}

#modalVideo,
#modalImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#modalVideo {
    pointer-events: auto !important;
}

#modalImage {
    object-fit: contain;
    pointer-events: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        border-radius: 0;
    }
}