     :root {
            --primary-color: #0d47a1; /* Albastru profesional */
            --accent-color: #d32f2f;  /* Roșu pentru detalii/butoane */
            --light-bg: #f8f9fa;
        }

        body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }

        /* Top Bar similar cu Confal */
        .top-bar {
            background-color: var(--light-bg);
            font-size: 0.85rem;
            border-bottom: 1px solid #ddd;
        }

        /* Navbar */
        .navbar-brand img { height: 90px; }
        .nav-link { font-weight: 600; text-transform: uppercase; font-size: 0.9rem; color: #333 !important; }
        .nav-link:hover { color: var(--primary-color) !important; }

        /* Hero Section - Stil Confal (Full Width) */
        .hero {
            position: relative;
            height: 70vh;
            background: url('/fisiere/imagini/index.webp') center/cover no-repeat;
            display: flex;
            align-items: center;
            color: white;
        }
        .hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }
        .hero-content { position: relative; z-index: 2; }

        /* Secțiune Servicii - Carduri curate */
        .service-box {
            border: 1px solid #eee;
            transition: all 0.3s;
            background: #fff;
        }
        .service-box:hover {
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            border-color: var(--primary-color);
        }
        .icon-box {
            width: 60px; height: 60px;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            margin-bottom: 20px;
        }

        /* Since 2004 Badge */
        .since-badge {
            display: inline-block;
            padding: 5px 15px;
            background: var(--accent-color);
            color: white;
            font-weight: bold;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-bottom: 10px;
        }

        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
        }
        .section-title::after {
            content: "";
            position: absolute;
            bottom: 0; left: 0;
            width: 50px; height: 3px;
            background: var(--primary-color);
        }
        .fb-container {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

/* Efect de hover pe butonul de Facebook */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #145dbf;
    transform: scale(1.02);
}

/* Stil pentru Cardurile cu imagine în fundal */
.service-card-new {
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.service-card-new:hover {
    transform: scale(1.03);
}

.service-card-new .card-content {
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* Buton WhatsApp Plutitor */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-5px);
}

@media (max-width: 576px) {
    .floating-whatsapp span { display: none; }
    .floating-whatsapp { padding: 15px; border-radius: 50%; }
}

/* Cardurile cu fundal imagine */
.service-card-new {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
    border-radius: 4px;
}
.service-card-new:hover { transform: translateY(-5px); }

/* Coloanele de contact */
.contact-col {
    transition: all 0.3s ease;
    background: #fff;
}
.contact-col:hover {
    background: #f8f9fa;
}
.hover-primary:hover i { transform: scale(1.1); transition: 0.3s; }
.hover-success:hover i { transform: scale(1.1); transition: 0.3s; }

/* Facebook Widget Container */
.fb-container {
    max-width: 100%;
    overflow: hidden;
    max-height: 420px;
}

/* Badge stilat */
.since-badge {
    display: inline-block;
    padding: 4px 12px;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
/* Carduri servicii */
.service-card-new {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    border-radius: 6px;
    transition: transform 0.3s ease;
}
.service-card-new:hover { transform: translateY(-5px); }

/* Hover efecte pentru contact */
.hover-box { transition: background 0.2s; }
.hover-box:hover { background-color: #f8f9fa; }

/* Bară Facebook modernă */
.fb-bar {
    background-color: #1877F2;
    transition: background 0.3s;
}
.fb-bar:hover {
    background-color: #145dbf;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

/* Iconițe mai mici/discrete */
.fs-5 { font-size: 1.25rem !important; }

/* Responsive tweaks */
@media (max-width: 768px) {
    .border-end { border-right: none !important; border-bottom: 1px solid #dee2e6; }
    .fb-bar span { font-size: 0.85rem; }
}
/* --- Culori și Variabile --- */
:root {
    --primary-color: #0d47a1;
    --facebook-color: #1877F2;
    --maps-color: #ea4335;
    --whatsapp-color: #25d366;
    --dark-overlay: rgba(0, 0, 0, 0.5);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: url('/fisiere/imagini/index.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.since-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* --- Carduri Servicii cu Imagine --- */
.service-card-new {
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.service-card-new:hover {
    transform: translateY(-8px);
}

.service-card-new .card-content {
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* --- Bare Sociale (Facebook & Maps) --- */
.social-bar {
    transition: all 0.3s ease;
    font-weight: 500;
}

.fb-color { background-color: var(--facebook-color); }
.maps-color { background-color: var(--maps-color); }

.social-bar:hover {
    opacity: 0.9;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
}

/* --- Contact Box & Hover --- */
.hover-box {
    transition: all 0.2s ease;
    height: 100%;
}

.hover-box:hover {
    background-color: #f8f9fa;
}

.hover-box i {
    transition: transform 0.3s ease;
}

.hover-box:hover i {
    transform: scale(1.1);
}

/* --- Buton WhatsApp Plutitor --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-5px);
}

/* --- Ajustări Mobile (Responsive) --- */
@media (max-width: 768px) {
    .hero { height: 60vh; text-align: center; }
    .hero .d-flex { justify-content: center; }
    
    .border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6 !important;
    }
    
    .floating-whatsapp span {
        display: none; /* Rămâne doar iconița pe mobil */
    }
    
    .floating-whatsapp {
        padding: 15px;
        bottom: 20px;
        right: 20px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

/* --- Helper pentru SEO Text --- */
.text-muted {
    line-height: 1.7;
    font-size: 0.95rem;
}
/* Stiluri Secțiune Parteneri */
.partner-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-card {
    transition: all 0.3s ease;
    background-color: #fff;
}

.partner-card:hover {
    border-color: var(--primary-color) !important;
    background-color: #fcfcfc;
}

@media (max-width: 576px) {
    .partner-card {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .partner-logo {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }
}
@media (min-width: 992px) {
        .dropdown-menu .dropdown-submenu { position: relative; }
        .dropdown-menu .dropdown-submenu .dropdown-menu { 
            top: 0; 
            left: 100%; 
            margin-top: -1px; 
            display: none; 
        }
        .dropdown-submenu:hover > .dropdown-menu { display: block; }
    }

.btn-whatsapp-simple {
    background-color: #25d366;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-simple:hover {
    background-color: #128c7e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-simple i {
    line-height: 1; /* Asigură alinierea verticală perfectă a iconiței */
}
 .seo-links-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .seo-links-bar a {
        font-size: 0.85rem;
        color: #6c757d;
        text-decoration: none;
        padding: 5px 12px;
        transition: all 0.2s;
        border-right: 1px solid #dee2e6; /* Bordura standard */
        line-height: 1;
        margin-bottom: 10px;
    }

    .seo-links-bar a:hover {
        color: #0d6efd !important;
        text-decoration: underline !important;
    }

    .seo-links-bar a.last-link {
        border-right: none;
    }

    .xsmall-text {
        font-size: 0.75rem;
    }

    /* Ajustări pentru Mobil */
    @media (max-width: 768px) {
        .seo-links-bar a {
            border-right: none; /* Scoatem liniile verticale pe mobil */
            background: #f8f9fa; /* Le dăm un fundal discret de buton */
            margin: 4px;
            border-radius: 4px;
            font-size: 0.8rem;
            padding: 8px 12px;
            border: 1px solid #eee; /* Contur subțire în loc de bară laterală */
        }
        
        .seo-links-bar {
            gap: 2px;
        }
    }
  .gallery-img-container {
        height: 250px; /* Înălțime fixă pentru aliniere perfectă */
        background-color: #f8f9fa; /* Fundal gri deschis pentru spațiile goale */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .gallery-img-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* Aceasta oprește zoom-ul și păstrează imaginea întreagă */
        display: block;
    }

    .gallery-item .card {
        transition: transform 0.2s ease-in-out;
    }

    .gallery-item .card:hover {
        transform: translateY(-5px); /* Efect discret de ridicare la hover */
    }
            .gallery-img-container {
            height: 350px;
            overflow: hidden;
            background: #eee;
            border-radius: 4px;
        }
        .gallery-img-container img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.5s ease;
        }
        .gallery-item:hover img { transform: scale(1.03); }
        .text-sincer { font-style: italic; color: #6c757d; }
        #loading-sentinel { min-height: 150px; padding: 40px 0; }
        
        
        /* Stiluri pentru Desktop (Hover) */
@media (min-width: 992px) {
    .dropdown-submenu { position: relative; }
    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
    }
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Stiluri pentru Mobil (Afișare în listă) */
@media (max-width: 991px) {
    .dropdown-submenu .dropdown-menu {
        display: block; /* Pe mobil le lăsăm vizibile în interiorul meniului Produse */
        position: static;
        margin-left: 1rem;
        border-left: 2px solid #0d6efd !important; /* O linie subtilă să arate că e submeniu */
        box-shadow: none !important;
        background: #f8f9fa;
    }
}
/* --- Desktop: Afișare la hover în lateral --- */
@media (min-width: 992px) {
    .dropdown-submenu { position: relative; }
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        top: 0;
        left: 100%; /* Îl împinge la dreapta meniului principal */
        margin-top: -5px;
    }
}

/* --- Mobil: Afișare prin click --- */
@media (max-width: 991px) {
    /* Forțăm afișarea când părintele are clasa 'show' */
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
        position: static;
        margin-left: 15px; /* Indentare pentru a părea ierarhic */
        border-left: 2px solid #007bff !important;
        background-color: #f9f9f9;
    }
}
/* Stil pentru Lightbox (Zoom) */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: zoom-out;
}
.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-overlay.active img {
    transform: scale(1);
}
.gallery-img-container {
    cursor: zoom-in;
}