/* ==========================================================================
   1. RESET & GLOBALE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 90px;
    /* exact cât are header-ul tău */
    font-family: 'Ledger', serif;
    line-height: 1.7;
    color: #2c3e50;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* REPARARE LINK-URI MOV */
.nav-links li a,
.footer-box ul li a {
    color: #2c3e50 !important;
    text-decoration: none;
}

.nav-links li a:hover {
    color: #ff6a00 !important;
}

/* ==========================================================================
   2. HEADER  + MENU 
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 90px;
    display: flex;
    align-items: center;
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 70px;
}

.logo-text {
    font-family: 'Arizonia', cursive;
    font-size: 30px;
}

.logo-text span {
    color: #ff6a00;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    /* z-index:9999 !important;  */
}

.nav-links a {
    font-weight: 600;
    padding: 10px;
    transition: 0.3s;
}


/* pentru HAMBURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10000 !important;

}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    display: block;
    border-radius: 2px;
}


/* ==========================================================================
   3.Bara cu contacte de sub menu
   ========================================================================== */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    font-size: 19px;
    /* Marimea textului cu telefon */
}

.social-links a {
    margin-left: 25px;
    /* spațiu între iconițe */
    font-size: 22px;
    /* opțional: le poți face puțin mai mari */
}

.social-links a:first-child {
    margin-left: 0;
    /* primul link nu are nevoie de margine la stânga */
}


/* ==========================================================================
   4. HERO SECTIONS & THEMES (Fix Software/Hardware/Preturi/Contact)
   ========================================================================== */
.service-hero {
    text-align: center;
    padding: 80px 20px;
    border-radius: 15px;
    margin: 20px 0 50px 0;
    color: white;
}

.hardware-theme {
    background: linear-gradient(135deg, #2c3e50, #3498db);
}

.software-theme {
    background: linear-gradient(135deg, #1d2b38, #2ecc71);
}

.preturi-theme {
    background: linear-gradient(135deg, #2c3e50, #ff0000);
}

.contact-theme {
    background: linear-gradient(135deg, #2c3e50, #7f8c8d);
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   5. INDEX - SLIDER & CARDS
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 75vh;
    overflow: hidden;
    background: #000;
    /* z-index: 1 !important; */

}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide.active {
    opacity: 1 !important;
}


.section-title {
    text-align: center;
    padding-top: 40px;
}

/* ==========================================================================
   6.  Sectiunea despre din INDEX HTML
   ========================================================================== */
/* ====== SECTIUNEA DESPRE ====== */

.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ====== IMAGINEA ====== */

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    display: block;
}

/* Badge Experiență */
.experience-badge {
    position: absolute;
    top: 16px;
    right: 9px;
    background: #ff6a00;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ====== TEXT ====== */

.about-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #2c3e50;
}

.about-content p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #555;
}

.benefits-list {
    list-style: none;
    margin-bottom: 20px;
}

.benefits-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #2c3e50;
}

.benefits-list i {
    color: #3498db;
    margin-right: 8px;
}








/* ==========================================================================
   6.  CARD-uri Copilot pentru toate paginile care contin card-uri
   ========================================================================== */
/* GRID pentru carduri */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* CARD individual */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Efect hover */
.card:hover {
    transform: translateY(-10px);
    border-color: #ff6a00;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon / imagine */
.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #3498db;
}

/* Titlu */
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

/* Text */
.card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* iconite patrate  */
.card-icon-patrat img {
    width: 250px;
    /* height: 150px; */
    /* object-fit: contain; */
    margin-bottom: 0px;
    margin-bottom: 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;

    border-radius: 5%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
} 

/* iconite rotunde  */
.card-icon img {
    width: 150px;
    height: 150px;

    /* max-width: 100%; 
    object-fit: contain;*/
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;

    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* ==========================================================================
   7. Preturi
   ========================================================================== */

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 1.1rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.price-table thead {
    background: #a81a22;
    color: #fff;
}

.price-table th,
.price-table td {
    padding: 18px 20px;
    text-align: left;
}

.price-table tbody tr:nth-child(even) {
    background: #f7f9fc;
}

.price-table tbody tr:hover {
    background: #eaf4ff;
    transition: 0.3s ease;
}

.preturi-descriere {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 600px) {

    .price-table th,
    .price-table td {
        padding: 14px;
        font-size: 1rem;
    }
}



/* ==========================================================================
   8. CONTACT - GRID, FORM & MAP (Fix Map Wrapper)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

/* INFO SECTION */

/* .info-section {} */


.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 25px;

    margin: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.info-card i {
    color: #ff6a00;
    font-size: 1.8rem;
}


/* FORM SECTION */

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    max-width: 650px;
    margin: 25px;
}

.contact-form h3 {
    text-align: center;
}

.contact-form .input-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #f9fafc;
    transition: all 0.25s ease;
}

/* Hover & Focus */
.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #bfc7d1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    outline: none;
}

/* Textarea */
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}










/* .input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
} */


.btn-primary {
    font-family: 'Ledger', serif;
    font-weight: 400;
    letter-spacing: 1px;
    /* restul stilurilor rămân la fel */
    display: inline-block;
    background: #637279;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #ff6a00;
}

/* Map SECTION */

.map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 2px solid #eee;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}



/* ==========================================================================
        Pagina REPARATII DESKTOP
   ========================================================================== */


/* ===== HERO ===== 

 text-align: center;
    padding: 80px 20px;
    border-radius: 15px;
    margin: 20px 0 50px 0;
    color: white;
*/

.hero-diagnosticare {
    background: url('img/hero-diagnosticare.png') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    border-radius: 15px;
}

.hero-diagnosticare::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    
}

.hero-diagnosticare .diagnosticare-hero-content {
    position: relative;
    z-index: 1;
}

.hero-diagnosticare h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-diagnosticare p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== LISTA DIAGNOSTICARE ===== */

.diag-info p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.diag-list {
    list-style: none;
    padding: 0;
}

.diag-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.diag-list i {
    color: #3498db;
    margin-right: 10px;
}

/* ===== PROBLEME ===== */

.probleme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.problem-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.problem-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 10px;
}

/* ===== PASI ===== */

.pasi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pas {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.pas .nr {
    display: inline-block;
    background: #3498db;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    line-height: 45px;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ===== CTA ===== */

.diag-cta {
    text-align: center;
    padding: 60px 20px;
    background: #3498db;
    color: #fff;
}

.diag-cta p {
    margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .probleme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pasi-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .probleme-grid {
        grid-template-columns: 1fr;
    }
}




/* ==========================================================================
     ====== PAGINA 404 ====== 
   ========================================================================== */
.error-404 {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f7fb;
    padding: 40px 20px;
    text-align: center;
}

.error-box {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    max-width: 500px;
}

.error-box h1 {
    font-size: 6rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
}

.error-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.error-box p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.error-btn {
    display: inline-block;
    padding: 14px 25px;
    font-size: 1.1rem;
    border-radius: 10px;
}

.error-btn i {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .error-box h1 {
        font-size: 4.5rem;
    }
}













/* ==========================================================================
    FOOTER
   ========================================================================== */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo-text {
    font-family: 'Arizonia', cursive;
    font-size: 28px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 14px;
}

/* Link-uri utile din footer */
footer .footer-box ul li a {
    color: #ecf0f1 !important;
    /* alb-gri, vizibil pe fundal închis */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-box ul li a:hover {
    color: #ced0d1 !important;
    /* albastru la hover */
}

footer .footer-box ul li {
    margin-bottom: 8px;
}

footer .footer-box ul li a:hover {
    color: #3498db;
    /* albastru consistent cu restul site-ului */
    font-weight: 600;
    /* puțin mai accentuat */
}

footer .footer-box h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid #34495e;
    padding-bottom: 5px;
}




/* ==========================================================================
   7. MOBIL 950
   ========================================================================== */
@media (max-width: 950px) {

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 85%;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 9999;

    }

    .nav-links.active {
        transform: translateX(0);
        /* intră complet în cadru */

    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        color: #333;
        /* text vizibil pe alb */
        font-size: 20px;
        text-decoration: none;
    }

    .nav-links a:hover {
        color: #007bff;
        /* albastru la hover */
    }

    .menu-toggle {
        display: flex;
        z-index: 10000;
        /* peste meniu */

        /* flex-direction: column;
    cursor: pointer;
    gap: 5px; */

    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 2px;
    }

    .social-links a {
        margin-left: 25px;
        /* spațiu între iconițe */
        font-size: 22px;
        /* opțional: le poți face puțin mai mari */
    }

    .social-links a:first-child {
        margin-left: 0;
        /* primul link nu are nevoie de margine la stânga */
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper iframe {
        height: 400px;
    }


    /*  Pentru iconitele cardurilor */
    .card-icon img {
        width: 150px;
        height: 150px;
    }

    /* Sectiunea despre din index */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        margin-top: 20px;
    }


    .about-image {
    position: relative;
}
    .experience-badge {
        position: absolute;
        top: 10px;
        right: -90px;
        padding-top: 10px;
        padding-right: 10px;
        transform: translateX(-70%);
        background: #ff6a00;
    }

    .about-image {
        width: 90%;
        align-items: center;
        margin: 0 auto;
    }

    .info-card {
        display: flex;
        align-items: center;
        gap: 20px;
        background: #fff;
        padding: 15px;

        /* MODIFICĂRILE CHEIE: */
        width: 90%;
        /* Ocupă 90% din lățimea ecranului */
        max-width: 500px;
        /* Dar nu se face mai mare de 500px pe desktop */
        margin: 15px auto;
        /* 15px sus/jos, iar 'auto' îl centrează stânga/dreapta */


        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

        /* Siguranță suplimentară pentru conținut */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }


    .info-card i {
        color: #ff6a00;
        font-size: 1.8rem;
    }

}


/* ==========================================================================
   7. MOBIL 400  Pentru telefoane foarte mici
   ========================================================================== */

/* Opțional: Pentru telefoane foarte mici, punem iconița deasupra textului */
@media (max-width: 400px) {
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }


    .about-image {
    position: relative;
}
    .experience-badge {
       position: absolute;
        top: 10px;
        right: -90px;
        padding-top: 10px;
        padding-right: 10px;
        transform: translateX(-70%);
        background: #ff6a00;
    }
}




/* Corectie la final */


html,
body {
    overflow-x: hidden !important;
}

.hero-slider {
    overflow-x: hidden !important;
}