/* ==========================================
   RESET ȘI SETĂRI GENERALE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #111C38;
    line-height: 1.6;
    overflow-x: hidden; /* Previne scroll-ul orizontal pe mobil */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER ȘI NAVIGARE (DESKTOP)
   ========================================== */
header {
    background: #111C38;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.phone-link {
    color: #ff0000; /* Sau alb, depinde de fundalul headerului tău */
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 1 !important; /* Ne asigurăm că nu e semi-transparent */
    visibility: visible !important;
}

.phone-link i {
    color: #ff0000; /* Iconița telefonului roșie pentru a atrage atenția */
    font-size: 0.9rem;
}

.phone-link:hover {
    color: #ff0000;
}


/* Stil pentru logo-ul imagine */
.logo-img {
    height: 60px; /* Ajustează înălțimea dacă ți se pare prea mare sau mic */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Efect de mărire la trecerea mouse-ului */
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-list li a:hover {
    color: #007bff;
}
nav {
    display: flex;
    align-items: center; /* Le aliniază la același nivel pe verticală */
    gap: 20px; /* Spațiu între meniu și butoanele de limbă */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Stil pentru butonul roșu din meniu */
.nav-list li a.nav-highlight {
    color: #ff4d4d !important; /* Roșu aprins */
    font-weight: 800; /* Mai îngroșat decât restul meniului */
    text-transform: uppercase; /* Litere mari pentru impact */
    border: 1px solid #ff4d4d; /* O bordură fină roșie */
    padding: 5px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-list li a.nav-highlight:hover {
    background-color: #ff4d4d; /* Se umple cu roșu la hover */
    color: #ffffff !important; /* Textul devine alb la hover */
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

.language-switcher {
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.2); /* O linie fină separatoare între meniu și limbi */
    padding-left: 15px;
    margin-left: 10px;
}

/* Butonul Hamburger (ascuns pe desktop) */
/* Ascunde hamburgerul pe ecrane mari (Desktop) */
.menu-toggle {
    display: none; 
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff; /* Liniile vor fi albe */
    transition: 0.3s;
}


/* ==========================================
   SECȚIUNEA HERO
   ========================================== */
/* Noua Secțiune Hero cu Gradient */
#hero-section {
    width: 100%;
    min-height: 450px;
    /* Un gradient profesional care inspiră siguranță */
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    color: #ffffff;
}

.hero-text-block {
    max-width: 900px;
    margin: 0 auto;
}

.hero-text-block h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-text-block h1 span {
    color: #60a5fa; /* O nuanță de albastru mai deschis pentru accent */
}

.hero-slogan {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #25d366; /* Gri-albăstrui deschis */
    margin-bottom: 15px !important;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

/* Ajustare Buton */
.btn-main {
    background-color: #25d366;
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.lang-btn {
    text-decoration: none;
    color: #ffffff; /* Alb pentru header-ul tău albastru */
    opacity: 0.6;
    transition: opacity 0.3s;
}

.lang-btn.active {
    opacity: 1;
    border-bottom: 2px solid #60a5fa;
}

.lang-btn:hover {
    opacity: 1;
}

.separator {
    color: #ffffff;
    margin: 0 5px;
    opacity: 0.3;
}

#top-models-preview {
    padding: 80px 0;
    background-color: #ffffff;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.preview-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
}

.preview-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.preview-card h4 {
    font-size: 1.3rem;
    color: #111c38;
    margin-bottom: 10px;
}

.preview-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1e3a8a;
    color: white;
    font-size: 0.7rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.link-simple {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-catalog-main {
    display: inline-block;
    padding: 15px 40px;
    background-color: #111c38;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-catalog-main:hover {
    background-color: #1e3a8a;
}



/* ==========================================
   SERVICII ȘI GALERIE
   ========================================== */
#servicii, #galerie {
    padding: 60px 0;
}

/* Secțiune Titluri */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #111C38;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

/* Grid și Carduri */
.grid-servicii {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid #007bff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: #111C38;
}

.card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.card-list {
    list-style: none;
    padding: 0;
}

.card-list li {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25d366;
    font-weight: bold;
}

.lista-imagini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.lista-imagini img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

#contact form {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact input, #contact textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact button {
    background: #007bff;
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* ==========================================
   REGULI PENTRU MOBIL (MAX-WIDTH 768px)
   ========================================== */
@media (max-width: 768px) {

    .logo-img {
        height: 45px; /* Mai mic pe telefon ca să nu ocupe tot ecranul */
    }

    .menu-toggle {
        display: flex; 
    }

    .nav-list {
        display: none; /* Rămâne ascuns până la click */
        flex-direction: column; /* ACEASTA este linia magică: pune cuvintele unul sub altul */
        position: absolute;
        top: 70px; /* Ajustează în funcție de înălțimea header-ului tău */
        left: 0;
        width: 100%;
        background-color: #111C38; /* Aceeași culoare ca header-ul */
        padding: 20px 0;
        z-index: 1000;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .nav-list.active {
        display: flex; /* Arată meniul când dai click */
    }

    .nav-list li {
        margin: 15px 0; /* Oferă spațiu între butoane să poți apăsa cu degetul */
    }

    .nav-list li a {
        margin-left: 0; /* Scoatem marginea din stânga de pe desktop */
        font-size: 1.3rem;
        display: block; /* Face tot rândul interactiv */
    }
    #hero-section {
        min-height: 350px;
        padding: 60px 20px;
    }
    .hero-text-block h1 {
        font-size: 1.8rem;
    }
    .hero-slogan {
        font-size: 1.2rem !important;
    }


    .hero-text-block h1 {
        font-size: 1.8rem;
    }

    .hero-image-container {
        height: 250px;
    }
    .language-switcher {
        margin: 10px 0;
        justify-content: center;
    }
    nav {
        flex-direction: column; /* Pe mobil rămân unul sub altul dacă meniul e deschis */
        gap: 10px;
    }
    
    .language-switcher {
        border-left: none;
        padding-left: 0;
        margin-top: 15px;
    }
    .nav-links li {
        margin: 10px 0;
    }
    .nav-links li a.nav-highlight {
        display: inline-block;
        margin-top: 5px;
    }
    .header-right {
        flex-direction: column;
        gap: 10px;
        margin-left: 0;
        margin-top: 15px;
    }
}
/* Stil Buton WhatsApp Plutitor */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    z-index: 2000;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.whatsapp-float span {
    font-weight: bold;
    font-size: 14px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

/* Pe ecrane foarte mici, ascundem textul și lăsăm doar iconița ca să nu ocupe loc */
@media (max-width: 480px) {
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
    }
    .whatsapp-float img {
        margin-right: 0;
    }
    
}