:root {
    --accent: rgb(0, 102, 255);
    --border: rgb(34, 34, 34);
}

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

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

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    background: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    box-sizing: border-box;
    border-bottom: 2px solid var(--border);
    height: 80px;
    /* ← προσθέτουμε σταθερό ύψος */
    min-height: 80px;
    /* για safety */
}

.logo {
    max-height: 44px;
    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 – full width, κολλητά από κάτω */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: black;
    margin: 0;
    padding: 20px 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);
}

.menu-toggle .hamburger {
    opacity: 1;
}

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

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

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

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

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.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;
    object-position: center;
}

/* Πολύ σημαντικό για iOS Safari & Android – αποτρέπει μαύρα bars */
@supports (object-fit: cover) {
    .hero-video {
        height: 100%;
        object-fit: cover;
    }
}

/* Mobile portrait – εξασφαλίζει ότι το κέντρο φαίνεται καλά */
@media (orientation: portrait) and (max-width: 768px) {
    .hero-video {
        object-position: center 10%;
        /*π.χ. λίγο πιο πάνω αν το κείμενο είναι χαμηλά στο video ή center bottom αν το text είναι πάνω*/
    }
}


/* --- 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;
}

/* Mobile – λίγο πιο compact */
@media (max-width: 768px) {
    .content-section {
        padding: 80px 16px;
    }

    .content-section h1 {
        font-size: clamp(2.2rem, 9vw, 3.8rem);
    }
}

/* --- ABOUT --- */

.about-video-wrapper {
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* προαιρετικό */
    display: block;
}

/* Content blocks */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    /* χώρος ανάμεσα στα blocks */
}

.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;
}

/* ────────────────────────────────
   Mobile – αντιστρέφουμε σειρά (text → image → text → image)
───────────────────────────────── */
@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 {
    border-top: 2px solid var(--border);
    background: #000;
    color: #ccc;
    padding: 60px 20px 30px;
}

.footer a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.2s ease;
}

.footer a:hover,
.footer a:focus {
    color: color-mix(in srgb, var(--accent) 80%, white 20%);
    /* ή: opacity: 0.85; */
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo img.logo-img {
    max-width: 280px;
    height: auto;
    display: block;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.footer-column p,
.footer-column ul li {
    margin-bottom: 0.9rem;
    font-size: 1rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a img {
    width: 28px;
    height: 28px;
    transition: opacity 0.2s;
}

.social-icons a:hover img {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: #888;
}

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

/* ────────────────────────────────
   Mobile
───────────────────────────────── */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1.5rem auto;
    }

    .footer-logo img.logo-img {
        margin: 0 auto;
    }

    .footer-column.brand p,
    .social-icons {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        gap: 1.5rem;
    }

    .social-icons a img {
        width: 32px;
        height: 32px;
    }

    .contact-icon {
        margin-right: 8px;
    }
}

.lang-switcher {
    padding: 12px 20px;
    /* ίδιο με τα menu items */
    /* ελαφριά διαχωριστική γραμμή */
}

.lang-btn {
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
}

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

.arrow {
    width: 14px;
    height: 14px;
    margin-left: auto;
    transition: transform 0.25s;
}

.lang-btn[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.lang-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    overflow: hidden;
}

.lang-list li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.lang-list li a:hover,
.lang-list li a.active {
    background: rgba(255, 255, 255, 0.12);
}

.lang-list {
    display: none;
    /* ή visibility: hidden; opacity: 0; */
}

.lang-list:not(.hidden) {
    display: block;
}

/* --------- CONTACT.HTML --------- */

.contact-section {
    padding: 100px 20px;
    background-color: #000;

}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    color: white;
}

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


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form .form-group {
    margin-bottom: 1.8rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: black;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    color: white;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-icons img {
    width: 32px;
    height: 32px;
}

/* Mobile – stack vertical */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-section {
        padding: 80px 16px;
    }
}

.cta-btn[type="submit"] {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto 0;
    display: block;
}

.cta-btn[type="submit"]:hover {
    background: #ddd;
    transform: translateY(-3px);
}

/* --------- PORTFOLIO.HTML --------- */

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

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

.portfolio-category h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2.5rem;
    text-align: center;
    color: white;
}

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

.portfolio-item {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

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

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

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    opacity: 0.85;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s, transform 0.3s;
}

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

.portfolio-item:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
}

/* Όταν παίζει το video */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.item-info {
    padding: 1.5rem;
    text-align: center;
}

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

.item-info p {
    margin: 0;
    color: #bbb;
    font-size: 0.98rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .portfolio-category h2 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .play-overlay {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .item-info {
        padding: 1.2rem;
    }

    .item-info h3 {
        font-size: 1.2rem;
    }
}