
/* Reset & bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0a0f1e;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* HERO */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at center, #0f172a, #000);
}
.hero h1 {
    font-size: 3rem;
    color: #42aaff;
    text-shadow: 0 0 20px #42aaff;
}
.hero p {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #b0d4ff;
}
.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 1.1rem;
    border: 2px solid #42aaff;
    color: #42aaff;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px #42aaff;
}
.cta-button:hover {
    background: #42aaff;
    color: #0a0f1e;
    box-shadow: 0 0 20px #42aaff;
}

/* ABOUT PREVIEW */
.about-preview {
    text-align: center;
    padding: 80px 20px;
    background-color: #121826;
}
.about-preview h2 {
    font-size: 2rem;
    color: #42aaff;
    margin-bottom: 20px;
}
.about-preview p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    color: #c0cce5;
}
.link {
    color: #42aaff;
    text-decoration: underline;
}

/* SERVICES PREVIEW */
.services-preview {
    text-align: center;
    padding: 80px 20px;
}
.services-preview h2 {
    font-size: 2rem;
    color: #42aaff;
    margin-bottom: 40px;
}
.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 30px;
    width: 280px;
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 0 20px #42aaff;
}
.card h3 {
    font-size: 1.3rem;
    color: #42aaff;
    margin-bottom: 15px;
}
.card p {
    font-size: 1rem;
    color: #c0cce5;
}

/* CTA FINAL */
.cta-final {
    background: #0f172a;
    text-align: center;
    padding: 100px 20px;
}
.cta-final h2 {
    font-size: 2rem;
    color: #42aaff;
    margin-bottom: 30px;
}

/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 30, 0.8);
    border-bottom: 1px solid #1e2a3a;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.main-header .container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    color: #42aaff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px #42aaff;
}

.main-nav a {
    color: #b0d4ff;
    text-decoration: none;
    margin-left: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.main-nav a:hover {
    color: #42aaff;
    text-shadow: 0 0 8px #42aaff;
}


/* LOADER */
#loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0a0f1e;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-logo {
    font-size: 2.5rem;
    color: #42aaff;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 20px #42aaff, 0 0 40px #42aaff;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 10px #42aaff;
    }
    100% {
        text-shadow: 0 0 30px #42aaff, 0 0 60px #42aaff;
    }
}


/* AVANTAJE MILVAL */
.milval-advantages {
    background: #121826;
    padding: 80px 20px;
    text-align: center;
}
.milval-advantages h2 {
    font-size: 2rem;
    color: #42aaff;
    margin-bottom: 50px;
}
.advantage-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.adv-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 30px;
    width: 220px;
    transition: all 0.3s ease;
}
.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #42aaff;
}
.adv-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #42aaff;
}
.adv-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #42aaff;
}
.adv-card p {
    font-size: 0.95rem;
    color: #c0cce5;
}


/* TESTIMONIALE */
.milval-testimonials {
    background: #0f172a;
    padding: 80px 20px;
    text-align: center;
}
.milval-testimonials h2 {
    font-size: 2rem;
    color: #42aaff;
    margin-bottom: 50px;
}
.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.testimonial {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 30px;
    width: 280px;
    transition: all 0.3s ease;
}
.testimonial:hover {
    box-shadow: 0 0 20px #42aaff;
    transform: translateY(-5px);
}
.testimonial p {
    font-style: italic;
    color: #c0cce5;
    margin-bottom: 15px;
}
.testimonial h4 {
    font-size: 0.95rem;
    color: #42aaff;
}



/* BRANDURI / PARTENERI — stil buton animat */

.milval-partners {
    background: #121826;
    padding: 80px 20px;
    text-align: center;
}
.milval-partners h2 {
    font-size: 1.8rem;
    color: #42aaff;
    margin-bottom: 50px;
}
.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-btn {
    display: inline-block;
    text-decoration: none;
    background: #1e293b;
    color: #b0d4ff;
    padding: 15px 35px;
    border: 1px solid #334155;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 500;
    box-shadow: 0 0 0 transparent;
    position: relative;
    overflow: hidden;
}

.partner-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #42aaff, #ffffff11, #42aaff);
    transition: left 0.5s ease;
    z-index: 0;
}

.partner-btn:hover::before {
    left: 100%;
}

.partner-btn:hover {
    color: #42aaff;
    border-color: #42aaff;
    box-shadow: 0 0 15px #42aaff;
}


/* CITAT MOTIVAȚIONAL CU EFECT DE LUMINĂ */
.milval-quote-section {
    position: relative;
    background: #0a0f1e;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.milval-quote-section blockquote {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.3rem;
    color: #b0d4ff;
    font-style: italic;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.milval-quote-section footer {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #42aaff;
}

.milval-quote-section .quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 200%;
    width: 200%;
    background: radial-gradient(circle, rgba(66,170,255,0.2) 0%, transparent 70%);
    animation: lightRays 10s infinite linear;
    z-index: 1;
    pointer-events: none;
    transform: rotate(30deg);
}

@keyframes lightRays {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}



/* FOOTER FINAL */
.milval-footer {
    background-color: #0a0f1e;
    padding: 50px 20px 30px;
    color: #b0d4ff;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}
.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #42aaff;
    text-shadow: 0 0 10px #42aaff;
}
.footer-links, .footer-social {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a,
.footer-social a {
    color: #b0d4ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.footer-links a:hover,
.footer-social a:hover {
    color: #42aaff;
    text-shadow: 0 0 8px #42aaff;
}
.footer-bottom {
    font-size: 0.85rem;
    color: #667085;
}

/* ========================= */
/* RESPONSIVE: Mobil (max 768px) */
/* ========================= */
@media only screen and (max-width: 768px) {
    
    /* HEADER: centrare meniu și logo */
    .main-header .container {
        flex-direction: column;
        align-items: center;
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    .main-nav a {
        margin: 10px 0;
    }

    /* HERO SECTION */
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* SERVICE CARDS */
    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    /* ABOUT TEXT */
    .about-preview p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* FOOTER */
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links,
    .footer-social {
        flex-direction: column;
        gap: 10px;
    }

    /* PORTOFOLIO GRID */
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .portfolio-item {
        width: 100%;
    }

    .portfolio-cta h2 {
        font-size: 1.5rem;
    }

    /* CTA FINAL */
    .cta-final h2 {
        font-size: 1.4rem;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    /* LOADER */
    .loader-logo {
        font-size: 2rem;
    }
}

/* Meniu hamburger - ascuns pe desktop */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #42aaff;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #0a0f1e;
        width: 100%;
        padding: 20px 0;
        border-top: 1px solid #1e2a3a;
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        padding: 10px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #0a0f1e;
    width: 100%;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease-in-out;
  }

  .main-nav.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: #42aaff;
    padding: 10px;
    transition: transform 0.3s ease;
  }

  .hamburger.active {
    transform: rotate(90deg);
  }
}

/* link-ul curent */
.main-nav a.active {
  color: #42aaff;
  text-shadow: 0 0 8px #42aaff;
}
