/* 1. Resetare și Container */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Top Bar Styles */
.top-bar {
    background-color: #2c3e50; /* Culoare închisă profesională */
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    font-family: 'Ledger', serif;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #3498db;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    font-size: 12px;
    transition: color 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.social-links a:hover {
    color: #3498db;
    border-color: #3498db;
}


body {
    font-family: 'Ledger', serif; /* Aplicăm Ledger peste tot */
    line-height: 1.7; /* Creștem puțin spațiul între rânduri pentru lizibilitate */
    color: #2c3e50;
    overflow-x: hidden; /* Prevenim scroll-ul orizontal pe mobil */
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Header & Navigatie */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0; /* Sticky va ramane la top cand bar-ul dispare prin scroll */
    z-index: 1000;
    height: 90px; /* Înălțime fixă pentru aliniere perfectă */
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 3. Logo ajustat */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px; /* Spațiu între siglă și text */
    height: 100%; /* Ocupă toată înălțimea disponibilă din nav */



    /* font-family: 'Arizonia', cursive;
    font-size: 38px; 
    color: #2c3e50;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center; */
}

.logo-img {
    height: 80px; /* Ajustează înălțimea siglei să se potrivească în header */
    width: auto;
    display: block;
    object-fit: contain; /* Previne deformarea */
}

.logo span {
    color: #3498db;
    margin-left: 8px;
}

.logo-text {
    font-family: 'Arizonia', cursive;
    font-size: 34px;
    color: #2c3e50;
    white-space: nowrap;
    line-height: 1; /* Esențial pentru centrarea textului cursiv */
}

.logo-text span {
    color: #3498db;
}

/* 4. Link-uri Desktop */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 10px; /* Reducem marginea pentru a face loc fundalului ; inainte era:  margin-left: 30px;  */
}

.nav-links a {
    font-family: 'Ledger', serif;
    font-weight: 400;
    font-size: 16px;
    /* restul stilurilor rămân la fel */
    text-decoration: none;
    color: #2c3e50;
    padding: 10px 15px; /* Spațiu în interiorul link-ului pentru fundal */
    border-radius: 5px; /* Colțuri ușor rotunjite pentru un aspect modern */
    transition: all 0.3s ease; /* Animație fină pentru schimbarea culorii */
    display: inline-block;
}

/* Efectul de fundal gri la hover */
.nav-links a:hover {
    background-color: #f0f2f5; /* Gri deschis, profesional */
    color: #3498db; /* Textul devine albastru la hover */
}

/* 5. Buton Hamburger (Menu Toggle) */
.menu-toggle {
   display: none;
    width: 30px;
    height: 24px; /* Am mărit puțin înălțimea */
    cursor: pointer;
    z-index: 1001;
    position: relative; /* Important pentru poziționare */
}

.menu-toggle span {
   display: block;
    position: absolute; /* Forțăm poziția fiecărei linii */
    height: 3px;
    width: 100%;
    background-color: #2c3e50;
    border-radius: 3px;
    transition: .25s ease-in-out;
}

/* Poziționăm manual fiecare din cele 3 linii */
.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }



/* 6. Media Query pentru Mobil */
@media screen and (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .social-links a {
        margin: 0 7px;
    }

     .nav-links {
       position: fixed;
        right: -100%; /* Ascuns în dreapta */
        top: 0;
        flex-direction: column;
        background: #ffffff;
        width: 70%; /* Meniul ocupă 70% din ecran */
        height: 100vh;
        justify-content: center; /* Centrează linkurile pe verticală */
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links a {
        width: 100%; /* Link-ul ocupă mai mult spațiu pe mobil */
        padding: 15px;
        font-size: 18px; /* Text mai mare pentru degete pe mobil */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
        margin-left: 0; /* Scoatem marginea de desktop */
    } 

    .menu-toggle {
        display: block; /* Folosim block în loc de flex pentru siguranță , inainte era display:flex: ;*/
    }

    .slide h1 { font-size: 2rem; }
    .prev, .next { display: none; } /* Ascundem săgețile pe mobil pentru simplitate */


    /* Pentru logo */
    .logo-text {
        display: none; /* Ascundem textul pe mobil */
    }
    
    .logo {
        justify-content: flex-start;
    }
    
    .logo-img {
        height: 65px; /* Putem face sigla o idee mai mică pe mobil */
    }
/* END Pentru logo */
    
}



/* Animația pentru X când clasa is-active este prezentă */
.menu-toggle.is-active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.is-active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}



/* Sectiune Hero = Home*/
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
                url('https://images.unsplash.com/photo-1588702547919-26089e690ecc?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    flex-direction: column; /* Asigură așezarea elementelor unul sub altul */
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    
    font-size: 3rem; /* Monoton are nevoie de o dimensiune mai mare ca să se vadă liniile clar ;   am renuntat la monoton*/
    
    margin-bottom: 20px;
    font-weight: 400;
    /* text-transform: uppercase; */
    color: #ffffff;
}

.btn-primary {
    font-family: 'Ledger', serif;
    font-weight: 400;
    letter-spacing: 1px;
    /* restul stilurilor rămân la fel */
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #2980b9;
}
.hero-slider {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide h1 {
    font-family: 'Ledger', serif;
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Butoane Navigare */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    border-radius: 50%;
    margin: 0 20px;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: #3498db;
}

.next { right: 0; }
.prev { left: 0; }



/* Titlurile de secțiuni (ex: Serviciile Noastre) */
.section-title {
    text-align: center;
    margin: 50px 0;
    font-size: 2rem;
}


/* Secțiunea Servicii */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px); /* Efect de ridicare */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-family: 'Ledger', serif;
    font-weight: 400; /* Ledger arată foarte bine chiar și fără bold */
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
      
}

.service-card p {
    font-family: 'Ledger', serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Ajustare titlu secțiune */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #3498db;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Stiluri pentru Desktop (ecrane mai mari de 768px) */
@media screen and (min-width: 769px) {
    .service-card h3 {
        font-size: 1.8rem; /* Mărește titlul pe PC */
        margin-bottom: 20px;
    }

    .service-card p {
        font-size: 1.15rem; /* Mărește descrierea pe PC */
        line-height: 1.8;   /* Oferă mai mult spațiu între rânduri pentru Ledger */
    }
    
    .services-grid {
        gap: 40px; /* Mărește puțin spațiul între carduri pentru a respira mai bine */
    }
}


/* END Secțiunea Servicii */


/* Secțiunea Despre Noi */
.about-section {
    padding: 80px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px #f0f2f5; /* Un efect de design modern */
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #3498db;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

.section-title-left {
    font-family: 'Ledger', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.benefits-list i {
    color: #3498db;
    font-size: 1.2rem;
}

/* Responsivitate Despre Noi */
@media screen and (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Pe tablete și mobil se pun una sub alta */
        text-align: center;
    }
    
    .about-image img {
        box-shadow: none;
    }
    
    .benefits-list li {
        justify-content: center;
    }

    .experience-badge {
        position: static;
        display: inline-block;
        margin-top: 20px;
    }
}

/* END Secțiunea Despre Noi */



/* Footer  -  Subsolul */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-box h3 {
    font-family: 'Ledger', serif;
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #3498db;
}

.footer-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: #3498db;
    padding-left: 5px;
}

.social-links-footer {
    margin-top: 20px;
}

.social-links-footer a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
}

.social-links-footer a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Stiluri specifice pentru logo-ul din Footer */
.footer-logo {
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: 'Arizonia', cursive;
    font-size: 34px;
    color: #ffffff !important;
    display: block !important; /* Îl facem vizibil indiferent de ce zice codul de header */
}

.footer-logo-text span {
    color: #3498db;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 20px;
}

/* REPARATII PENTRU MOBIL (Adaugă în interiorul @media screen and (max-width: 768px)) */
@media screen and (max-width: 768px) {
    footer {
        text-align: center; /* Centrează textul pentru un look mai ordonat pe mobil */
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Forțează coloanele una sub alta */
        gap: 60px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center; /* Centrează logo-ul în footer pe mobil */
    }

    .footer-logo-text {
       font-size: 32px;
        margin-bottom: 10px;
    }

    .footer-box h3 {
        margin-top: 20px; /* Previne suprapunerea peste textul de sus */
        border-top: 1px solid rgba(255,255,255,0.05); /* Linie fină de separare */
        padding-top: 20px;
    }

    .social-links-footer {
        justify-content: center;
        display: flex;
        gap: 20px;
        margin-top: 20px;
    }
}

/* END  Footer  -  Subsolul */



/* --- PAGINA DE CONTACT --- */
.contact-page {
    padding: 60px 20px;
}

.contact-hero {
    text-align: center;
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-size: 3rem;
    font-family: 'Ledger', serif;
    color: #2c3e50;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Stiluri Formular */
.contact-form-container {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.contact-form-container h3 {
    font-family: 'Ledger', serif;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Ledger', serif;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
}

/* Info Card-uri lateral */
.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.info-card i {
    font-size: 1.5rem;
    color: #3498db;
}

.info-card h4 {
    font-family: 'Ledger', serif;
    margin-bottom: 5px;
}

.map-wrapper {
    margin-top: 30px;
    height: 700px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* RESPONSIVITATE CONTACT */
@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
}

/* Ajustare CSS pentru Buton trimitere email (style.css) */
#submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

#form-status {
    padding: 10px;
    border-radius: 5px;
    background: rgba(39, 174, 96, 0.1);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ------END  Pagina de CONTACT---------- */






/* ------- Stiluri Generale Pagini Servicii  ------------*/

.page-content { padding: 80px 20px; }

.service-hero {
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    margin-bottom: 50px;
    color: white;
}

.hardware-theme { background: linear-gradient(135deg, #2c3e50, #3498db); }
.software-theme { background: linear-gradient(135deg, #1d2b38, #2ecc71); }

.service-hero h1 { font-size: 3rem; margin-bottom: 15px; }

.detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid transparent;
    /* Adaugă aceste 3 linii pentru aliniere egală */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hardware-theme + .detailed-grid .service-detail-card { border-color: #3498db; }
.software-theme + .detailed-grid .service-detail-card { border-color: #2ecc71; }

.service-detail-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.service-detail-card h3 {
    margin-bottom: 15px;
    font-family: 'Ledger', serif;
}

.partner-badge {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f1fcf4; /* Un verde foarte deschis */
    border: 1px solid #2ecc71;
    border-radius: 50px;
    color: #27ae60;
    font-size: 0.9rem;
}

.partner-badge i {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
     color: #b38728 !important; 
}

.partner-badge strong {
    color: #2c3e50;
    margin-left: 4px;
}

.icon-gold {
    /* Creăm gradientul auriu (nuanțe de galben, auriu și maro deschis) */
    background: linear-gradient(
        135deg, 
        #bf953f, 
        #fcf6ba, 
        #b38728, 
        #fbf5b7, 
        #aa771c
    );
}

/* Regula de bază (pentru mobil/tabletă rămâne flexibil) */
.detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
/* Forțăm 4 coloane pe ecrane mai mari de 1200px */
@media screen and (min-width: 1200px) {
    .detailed-grid {
        grid-template-columns: repeat(4, 1fr); /* Fixează exact 4 coloane egale */
        gap: 25px; /* Ajustăm spațiul să încapă confortabil pe un container de 1800px */
    }
}

/* Ajustare opțională pentru tablete (3 coloane între 992px și 1199px) */
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .detailed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Secțiunea Principală */
.banda-cu-detalii-section {
    padding: 60px 0;
    overflow: hidden; /* Taie ce iese din ecran */
    background: #ffffff;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

/* Containerul care limitează vizibilitatea */
.banda-container {
    width: 100%;
    display: flex;
    position: relative;
}

/* Banda care se mișcă efectiv */
.banda-track {
    display: flex;
    width: max-content; /* Se extinde automat în funcție de poze */
    animation: derulare_continua 25s linear infinite;
}

/* Pauză la hover pentru a lăsa clientul să dea click liniștit */
.banda-track:hover {
    animation-play-state: paused;
}

/* Fiecare logo individual */
.banda-item {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.banda-item img {
    max-width: 380px;
    max-height: 300px;
    filter: grayscale(100%); /* Efect alb-negru elegant */
    opacity: 0.6;
    transition: all 0.4s ease;
}

.banda-item:hover img {
    filter: grayscale(0%); /* Revine la culorile originale la hover */
    opacity: 1;
    transform: scale(1.15); /* Crește ușor în dimensiune */
}

/* Animația de derulare */
@keyframes derulare_continua {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Se mișcă exact cu jumătate din lățimea totală a track-ului */
        transform: translateX(calc(-250px * 5));
    }
}




/* ----END ------- Stiluri Generale Pagini Servicii  ------------*/