/* =======================================================
   GLOBAL
======================================================= */

body {
    background: #f5f7fa;
}

.container {
    max-width: 1400px;
}

/* =======================================================
   HOMEPAGE ONLY
======================================================= */

/* zona albă care urcă peste hero */
body.home .home-content {
    background: #ffffff;
    padding: 70px 50px;
    margin-top: -60px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
}

/* =======================================================
   NAVBAR
======================================================= */

.navbar {
    margin-bottom: 0;
    padding: 8px 0;
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: relative;
}

.navbar:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2f6fa3, #3ea76a);
}

.navbar-brand img {
    height: 52px;
}

/* =======================================================
   HERO INDEX (DOAR HOMEPAGE)
======================================================= */

body.home .hero-modern {
    padding: 110px 0 120px 0;
    color: #fff;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.55)
        ),
        url('/static/img/carousel07.jpg') center/cover no-repeat;
}

body.home .hero-modern h1,
body.home .hero-modern .hero-sub,
body.home .hero-modern .hero-note {
    text-align: center;
}

body.home .hero-modern h1 {
    background: rgba(255,255,255,0.93);
    color: #1f2d3d;
    padding: 18px 35px;
    border-radius: 12px;
    display: inline-block;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 22px;
}

body.home .hero-modern .hero-sub {
    font-size: 17px;
    margin-bottom: 28px;
}

body.home .hero-modern .hero-buttons .btn {
    margin: 0 8px;
}

body.home .hero-modern .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
}

/* =======================================================
   CARDURI SERVICII (HOMEPAGE)
======================================================= */

body.home .modern-cards {
    margin-bottom: 20px;
}

body.home .service-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}

body.home .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.12);
}

body.home .service-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

body.home .service-card p {
    color: #555;
    margin-bottom: 15px;
}

body.home .service-card a {
    color: #2f6fa3;
    font-weight: 500;
}

/* =======================================================
   SIDEBAR
======================================================= */

.sidebar-modern {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.sidebar-modern li a {
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: 0.2s;
}

.sidebar-modern li a:hover {
    background: #f4f8fc;
    padding-left: 22px;
}

.sidebar-modern li.active > a {
    background: linear-gradient(135deg, #2f6fa3, #255b86);
    color: #fff !important;
}

/* =======================================================
   DESPRE SPITAL (HOMEPAGE)
======================================================= */

body.home .about-section {
    background: #ffffff;
    padding: 45px 60px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    margin-top: 20px;
}

body.home .about-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2d3d;
}

body.home .about-section h2:after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #2f6fa3, #3ea76a);
    border-radius: 2px;
}

body.home .about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 20px auto 35px auto;
}

body.home .about-section .btn {
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 500;
}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 768px) {

    body.home .home-content {
        padding: 50px 40px 60px 40px;
        margin-top: -40px;
    }

    body.home .hero-modern {
        padding: 100px 20px;
    }

    body.home .hero-modern h1 {
        font-size: 22px;
    }

    body.home .about-section {
        padding: 35px 25px;
    }
}

/* =========================
   GALERIE ORL
========================= */

.orl-galerie .col-md-6 {
    margin-bottom: 25px;
}

.orl-galerie img {
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.orl-galerie img:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}
