/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #f2f2f2;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#header .logo img {
    height: 40px;
    object-fit: contain;
}

#header nav a {
    color: #f2f2f2;
    margin-left: 20px;
    font-weight: bold;
    transition: 0.3s;
}

#header nav a:hover {
    color: #00aaff;
}

/* DESKTOP DEFAULTS */
.desktop-nav {
    display: flex;
    gap: 20px;
}

#mobile-menu {
    display: none;
}

.burger {
    display: none;
}

/* HERO */
#hero {
    height: 100vh;
    background: url('images/hero.jpg') center center / cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
    0% { background-size: 100%; }
    100% { background-size: 115%; }
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.0) 25%,
        rgba(0,0,0,0.0) 75%,
        rgba(0,0,0,0.7) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 4;
    animation: fadeIn 1.2s ease-out forwards;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: 26px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #00aaff;
    color: white;
    border-radius: 5px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #0088cc;
}

/* FULL SCREEN SECTIONS */
section {
    min-height: 100vh;
    padding: 120px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #00aaff;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-box {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: #00aaff;
}

/* BRANDS & CLIENTS GRID */
.clients-grid {
    display: grid;
    gap: 25px;
}

#brands .clients-grid,
#clients .clients-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* LOGO BOX */
.client-box {
    padding: 20px;
    border-radius: 12px;
    height: 180px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.35s ease;
}

.client-box img {
    width: 100%;
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* UNIFIED PREMIUM HOVER EFFECT */
.client-box:hover img {
    transform: scale(1.25);
    opacity: 0.9;
}

.client-box:hover {
    transform: translateY(-6px);
    border-color: #00aaff;
}

/* CLIENTS TEXT FIX */
#clients .client-box p {
    color: #000000;
}

/* CONTACT */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
}

.contact-form button {
    background: #00aaff;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #0088cc;
}

/* FOOTER */
footer {
    background: #000;
    padding: 20px;
    text-align: center;
}

/* NEW SCROLL ANIMATION */
.scroll-animate {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: scale(1);
}

/* SUCCESS POPUP */
.popup-success {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00aaff;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    z-index: 9999;
}

.popup-success.show {
    opacity: 1;
    transform: translateY(0);
}

/* NETFLIX CINEMATIC BARS ON HERO */
#hero::before,
#hero::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 140px;
    background: rgba(0,0,0,0.65);
    z-index: 3;
    opacity: 0;
    animation: barsFade 1.6s ease-out forwards;
}

#hero::before {
    top: 0;
    animation-delay: 0.3s;
}

#hero::after {
    bottom: 0;
    animation-delay: 0.5s;
}

@keyframes barsFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* MOBILE FIXES */
@media (max-width: 768px) {

    /* HERO FIX — κατεβάζουμε την εικόνα */
    #hero {
        background-position: center 20%;
        animation: heroZoomMobile 18s ease-out forwards;
    }

    @keyframes heroZoomMobile {
        0% { background-size: 100%; }
        100% { background-size: 108%; }
    }

    section {
        padding: 80px 20px;
    }

    /* Hide desktop nav */
    .desktop-nav {
        display: none;
    }

    /* Show burger */
    .burger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 2000;
    }

    .burger span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: 0.3s;
    }

    /* Mobile menu hidden by default */
    #mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(8px);
        padding: 80px 30px;
        gap: 25px;
        transition: 0.4s ease;
        z-index: 1500;
    }

    #mobile-menu.open {
        right: 0;
    }

    /* Burger animation */
    .burger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    #brands .clients-grid,
    #clients .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .client-box {
        height: 130px;
    }

    .client-box img {
        max-height: 55px;
    }
}

/* EXTRA SMALL */
@media (max-width: 480px) {
    #brands .clients-grid,
    #clients .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-box {
        height: 110px;
    }

    .client-box img {
        max-height: 45px;
    }
}
