/* --- VARIABILE --- */
:root {
    --color-teal: #F4BE33;
    --color-yellow: #FFE66D;
    --color-orange: #FF8F5D;
    --font-title: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}
.text-teal { color: var(--color-teal) !important; }
.bg-teal { background-color: var(--color-teal) !important; }
.btn-custom { background-color: var(--color-orange) !important; color: white; }

body {
    font-family: var(--font-body);
    padding-top: 85px; /* Spațiu pentru meniu */
}

/* Forțează eliminarea fundalului blocant dacă rămâne activ din greșeală */
.modal-backdrop {
    display: none !important;
}

/* Asigură-te că body-ul nu rămâne blocat fără scroll */
body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

#fb-plugin-container {
    width: 500px !important;
    min-height: 600px;
}

/* Tipografie */
.font-title { font-family: var(--font-title); }
.text-teal { color: var(--color-teal); }
.text-orange { color: var(--color-orange); }
.fw-extra-bold { font-weight: 800; }

/* --- NAVIGARE --- */
.nav-link {
    color: #333;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0 15px !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-teal);
}
.btn-custom {
    background-color: var(--color-orange);
    color: white;
    font-weight: 700;
    border: none;
    padding: 10px 25px;
}
.btn-custom:hover {
    background-color: #e07b4d;
    color: white;
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 500px; /* Înălțime fixă pentru consistență */
    padding: 2rem 0 4rem;
    background-color: #fff;
}

/* FORMA TURCOAZ - REPARATĂ PENTRU CURBĂ MARE */
.shape-teal {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%; /* E mai lată */
    height: 100%;
    background-color: var(--color-teal);
    /* Aceasta este linia magică pentru curbă: */
    border-bottom-right-radius: 100% 90%; 
    z-index: 1;
}

/* Bulina Galbenă */
.shape-yellow {
    position: absolute;
    top: -40px;
    left: 55%;
    width: 200px;
    height: 200px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    z-index: 0; /* În spatele formei turcoaz parțial */
}

/* Bulina Portocalie Dreapta */
.shape-orange-right {
    position: absolute;
    bottom: 50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--color-orange);
    border-radius: 50%;
    z-index: 1;
}

/* Bulina Portocalie Stânga Jos */
.shape-orange-left {
    position: absolute;
    bottom: 20px;
    left: -60px;
    width: 180px;
    height: 180px;
    background-color: #ffccbc; /* Mai deschis */
    border-radius: 50%;
    z-index: 2;
}

.text-white-on-teal {
    color: white;
    position: relative;
    z-index: 2;
}

/* --- IMAGINEA --- */
.image-wrapper {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 20px; /* Colțuri mai puțin rotunde, ca în poză */
    /* Fără bordură albă groasă, ca să pară mai natural */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
}

/* --- ICONITELE JOS --- */
.feature-icon {
    height: 80px; /* Le-am făcut puțin mai mari să se vadă bine detaliile */
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s;
}

/* Responsive */
@media (max-width: 991px) {
    .shape-teal {
        width: 100%;
        height: 60%;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 50% 100px;
    }
    .hero-section {
        text-align: center;
        min-height: auto;
    }
    .text-white-on-teal {
        margin-top: 20px;
    }
    .shape-yellow {
        left: 70%;
        width: 120px;
        height: 120px;
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1); /* Efect de mărire când pui mouse-ul */
}

/* --- PAGINA SERVICII --- */

.pricing-section {
    padding: 120px 0 80px; /* Padding sus mai mare ca să nu intre sub meniu */
    background-color: #f9fbfd; /* Un fundal foarte deschis, gri-albăstrui */
    min-height: 100vh;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px; /* Colțuri rotunjite ca în poză */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent; /* Pregătim bordura pentru hover */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.15);
    border-color: var(--color-teal); /* Bordură turcoaz la hover */
}

/* Iconița mare de sus */
.card-icon-wrapper img {
    height: 90px;
    width: auto;
    margin-bottom: 25px;
}

/* Lista de prețuri */
.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Textul aliniat la stânga, chiar dacă titlul e centrat */
}

.price-list li {
    display: flex;
    justify-content: space-between; /* Aruncă prețul în dreapta și serviciul în stânga */
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee; /* Linie punctată fină între elemente */
    font-weight: 600;
    color: #444;
}

.price-list li:last-child {
    border-bottom: none; /* Fără linie la ultimul element */
}

.price {
    font-weight: 800;
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

/* Culori specifice pentru accent */
.price.text-teal { color: var(--color-teal) !important; }
.price.text-orange { color: var(--color-orange) !important; }

/* --- PAGINA DESPRE NOI --- */

/* 1. Header Image & Blobs */
.about-header {
    margin-top: 80px; /* Să nu intre sub meniu */
    height: 450px; /* Înălțimea secțiunii de sus */
    background-color: #f0f0f0;
}

.header-img {
    height: 100%;
    object-position: center 20%; /* Centrează imaginea frumos */
}

/* Forme decorative (Blobs) peste imagine */
.shape-blob-left {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-orange);
    border-radius: 50%;
    opacity: 0.9;
    z-index: 2;
}

.shape-blob-right {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--color-teal);
    border-radius: 50%;
    opacity: 0.8;
    z-index: 2;
}

/* 2. Text Section */
.btn-outline-teal {
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
    transition: all 0.3s;
}
.btn-outline-teal:hover {
    background-color: var(--color-teal);
    color: white;
}

/* 3. Colaj Foto */
.collage-img-top {
    height: 250px;
    object-fit: cover;
}

.collage-img-small {
    height: 180px;
    object-fit: cover;
}

/* 4. Imaginea de Jos */
.bottom-image-section {
    height: 400px;
    overflow: hidden;
}

.bottom-img {
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .about-header { height: 300px; }
    .bottom-image-section { height: 250px; }
    .display-5 { font-size: 2rem; } /* Titlu mai mic pe mobil */
}

/* --- PAGINA GALERIE --- */

.gallery-section {
    padding: 120px 0 80px; /* Padding sus generos */
    background-color: #fff;
    min-height: 100vh;
}

/* 1. Formele din fundal (Waves & Blobs) */

/* Stânga Sus - Val Turcoaz */
.shape-wave-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 150px;
    background-color: var(--color-teal);
    border-bottom-right-radius: 100%; /* Curbă amplă */
    opacity: 0.8;
    z-index: 1;
}

/* Dreapta Sus - Bulină Portocalie */
.shape-blob-top-right {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-orange);
    border-radius: 50%;
    opacity: 0.7;
    z-index: 1;
}

/* Stânga Jos - Bulină Portocalie */
.shape-blob-bottom-left {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--color-orange);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

/* 2. Imaginile */
.gallery-item {
    overflow: hidden;
    border-radius: 20px; /* Colțuri rotunjite */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px); /* Efect de ridicare la hover */
}

.gallery-img {
    width: 100%;
    height: 280px; /* Înălțime fixă ca să fie toate egale */
    object-fit: cover; /* Taie excesul ca să nu deformeze poza */
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .shape-wave-top-left { width: 150px; height: 100px; }
    .gallery-img { height: 220px; }
}

/* --- PAGINA LOCAȚII --- */

.locations-section {
    padding: 120px 0 80px;
    background-color: #f8f9fa; /* Gri foarte deschis */
    min-height: 100vh;
}

/* Forma din dreapta jos */
.shape-blob-bottom-right {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--color-teal);
    border-radius: 50%;
    opacity: 0.2; /* Transparent, discret */
    z-index: 1;
}

/* Cardul de Locație */
.location-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

/* Imaginea Hărții */
.map-wrapper {
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.location-card:hover .map-img {
    transform: scale(1.05); /* Zoom ușor pe hartă la hover */
}

/* Informațiile (Adresă, Tel, Program) */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item i {
    margin-top: 3px; /* Aliniere fină cu textul */
}

/* Butonul de Maps din card */
.btn-outline-teal {
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-teal:hover {
    background: var(--color-teal);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .location-card { padding: 25px; }
}

.map-frame {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- PAGINA ANUNȚURI --- */

.page-header {
    background-color: #ffff;
    padding-top: 100px; /* Spațiu pentru meniu */
}

/* Forme decorative (refolosite sau noi) */
.shape-wave-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23f8f9fa" fill-opacity="1" d="M0,224L80,213.3C160,203,320,181,480,181.3C640,181,800,203,960,202.7C1120,203,1280,181,1360,170.7L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.news-section {
    background-color: #f8f9fa; /* Continuăm culoarea valului */
    min-height: 80vh;
}

/* Stil Card Anunț */
.news-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Cardul "Featured" (Primul) iese în evidență */
.news-card.featured {
    border-left-color: var(--color-orange);
    background-color: #fffaf6; /* Tentă ușoară de portocaliu */
}

/* Iconița rotundă din stânga */
.news-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.bg-orange { background-color: var(--color-orange); }
.bg-teal { background-color: var(--color-teal); }
.bg-yellow { background-color: var(--color-yellow); }

/* Conținut Text */
.news-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .news-icon { margin-bottom: 15px; }
}
/* --- PAGINA ANUNȚURI (STIL NOU - LISTĂ) --- */

.news-page-header {
    padding-top: 100px;
    background-color: #fff;
    padding-bottom: 20px;
}

/* Forma din dreapta mijloc (Portocalie în poză) */
.shape-blob-right-middle {
    position: absolute;
    top: 50%;
    right: -50px;
    width: 200px;
    height: 300px;
    background-color: var(--color-orange);
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px;
    opacity: 0.8;
    z-index: 1;
    transform: translateY(-50%);
}

/* Stilul fiecărui rând de anunț */
.news-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee; /* Linie despărțitoare fină */
    padding: 30px 0;
    gap: 30px;
}

.news-item:last-child {
    border-bottom: none;
}

/* Imaginea din stânga */
.news-img-wrapper {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px; /* Colțuri rotunjite ca în poză */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Textul din mijloc */
.news-body {
    flex-grow: 1;
}

.news-body h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.news-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
}

.news-date i {
    margin-right: 5px;
}

/* Butonul din dreapta */
.news-action {
    flex-shrink: 0;
}

/* Responsive (Mobil) */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 40px 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Pe mobil le facem carduri */
        border-radius: 20px;
        margin-bottom: 20px;
        border: none;
    }
    
    .news-img-wrapper {
        width: 100%;
        height: 200px;
    }
    
    .news-action {
        width: 100%;
    }
    .news-action .btn {
        width: 100%;
    }
}

/* AICI SUNT MODIFICĂRILE PENTRU ICONIȚE */

/* Imaginea din stânga (Wrapper-ul) */
.news-img-wrapper {
    flex-shrink: 0;
    width: 140px;  /* Puțin mai mic decât la poze */
    height: 140px; /* Pătrat perfect */
    background-color: #f0f9f8; /* Un fundal turcoaz foarte deschis */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Spațiu în jurul iconiței */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Iconița propriu-zisă */
.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* IMPORTANT: Nu deformează iconița */
    border-radius: 0; /* Iconițele nu au nevoie de colțuri rotunjite suplimentare */
    box-shadow: none; /* Scoatem umbra de pe imaginea în sine */
}

/* Pe mobil ajustăm mărimea */
@media (max-width: 768px) {
    .news-img-wrapper {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
}

/* --- DROP-DOWN PROGRAMARE HOVER --- */

/* Pe Desktop: Afișează meniul la hover */
@media (min-width: 992px) {
    .programare-dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
        margin-top: 10px !important; /* Distanță mică față de buton */
    }
}

/* Stiluri extra pentru meniu */
.programare-dropdown .dropdown-item:hover {
    background-color: #f0f9f8; /* Un turcoaz foarte pal la hover pe număr */
    color: var(--color-teal);
}

.programare-dropdown .fa-whatsapp {
    font-size: 1.2rem;
}
.programare-dropdown .fa-phone {
    font-size: 1rem;
    transform: rotate(90deg); /* Telefonul să stea drept */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DROP-DOWN PROGRAMARE & MODAL --- */

/* Pe Desktop: Afișează meniul la hover */
@media (min-width: 992px) {
    .programare-dropdown {
        position: relative; /* Necesar pentru poziționare */
    }

    .programare-dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
        margin-top: 15px !important; /* Distanță vizuală */
    }

    /* TRUCUL MAGIC: O punte invizibilă între buton și meniu */
    /* Asta previne dispariția meniului când muți mouse-ul */
    .programare-dropdown:hover .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -20px; /* Acoperă spațiul dintre buton și meniu */
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }
}

/* Stiluri Meniu */
.programare-dropdown .dropdown-item {
    transition: background 0.2s;
}
.programare-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px); /* Mică animație la dreapta */
}

/* Culori iconițe meniu */
.bg-teal-light { background-color: rgba(78, 205, 196, 0.15); }
.bg-orange-light { background-color: rgba(255, 143, 93, 0.15); }

/* Stil Modal Contact */
.modal-header.bg-teal {
    background-color: var(--color-teal);
}
.btn-outline-dark:hover {
    background-color: #333;
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FOOTER SECTION --- */

.footer-section {
    background-color: #023e4a; /* Un teal foarte închis, aproape negru */
    margin-top: 50px; /* Spațiu față de conținutul de sus */
}

/* Forma ondulată de deasupra footerului */
.footer-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-wave-top svg {
    display: block;
    width: calc(130% + 1.3px);
    height: 60px;
    transform: rotateY(180deg);
}

/* Link-uri din footer */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-left: 5px; /* Mic efect de mișcare la hover */
}

/* Iconițe Social Media */
.social-icons .social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons .social-link:hover {
    background-color: var(--color-orange);
    transform: translateY(-3px);
}

/* Linie separatoare subtilă */
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

