/* --- RESETARE GLOBALĂ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333; /* Gri închis pentru text, mai ușor de citit decât negru pur */
    background-color: #ffffff;
}

/* --- TIPOGRAFIE --- */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- CLASE UTILITARE --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-block;
    background-color: #d4af37; /* Auriu mat elegant */
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #b5952f;
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGARE --- */
/* --- HEADER & NAVIGARE (Design Nou) --- */
.main-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Umbră mai fină și mai modernă */
    padding: 15px 0; /* Mai puțin spațiu pe verticală, arată mai compact */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Folosim o clasă nouă 'header-content' pentru a alinia elementele */
.header-content {
    display: flex;
    justify-content: space-between; /* Împarte spațiul: Stânga, Mijloc, Dreapta */
    align-items: center;
}

/* LOGO & HEADER ACTUALIZAT */
.logo {
    display: flex;          
    align-items: center;    
    gap: 15px;              
    text-decoration: none; 
}

/* Stil pentru imaginea logo-ului */
.logo img {
    height: 60px;           
    width: auto;            
    transition: transform 0.3s;
}

.logo:hover img {
    transform: rotate(5deg); 
}

/* Stil pentru textul de lângă logo */
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;     
    font-weight: 700;
    color: #222;
    line-height: 1.2;       
    display: flex;
    flex-direction: column; 
}

.logo-text span {
    font-weight: 400;       
    color: #d4af37;        
    font-size: 0.9em;       
    letter-spacing: 2px;    
}

/* Ajustare pentru mobil */
@media (max-width: 768px) {
    .logo img {
        height: 50px; 
    }
    .logo-text {
        font-size: 1rem;
    }
}

/* NAVIGARE */
.main-nav ul {
    display: flex;
    gap: 40px; /* Spațiu mai mare între butoanele de meniu */
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

/* Linie fină aurie când pui mouse-ul pe meniu */
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #d4af37;
}

/* BUTON SUNĂ ACUM (Stilizare specială pentru header) */
.btn-programare-header {
    background-color: #d4af37; /* Auriu plin */
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px; /* Rotund complet */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); /* Umbră aurie strălucitoare */
    transition: all 0.3s ease;
}

.btn-programare-header:hover {
    background-color: #222; /* Se face negru la hover - efect luxos */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* RESPONSIVE (Pentru telefon) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 10px;
    }
    
    .main-nav ul {
        gap: 20px;
        font-size: 0.8rem;
    }
}

/* --- HERO SECTION (Zona Principală) --- */
.hero {
    /* Imagine de fundal (temporar de pe Unsplash - o vom schimba cu una reală) */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('imagini/salon-remodelare-zalau-interior.jpg');
    background-size: cover;
    background-position: center;
    height: 85vh; /* 85% din înălțimea ecranului */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SERVICII --- */
.services {
    padding: 80px 0;
    background-color: #f9f9f9; /* Gri foarte deschis pentru contrast */
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsiv automat */
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px); /* Se ridică ușor la hover */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* --- FOOTER --- */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* --- RESPONSIVE (Pentru Mobil) --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .main-header nav ul {
        gap: 15px;
        font-size: 0.8rem;
    }
}
/* --- Stiluri pentru Imaginile din Servicii --- */
.service-card img {
    width: 100%;         /* Ocupă toată lățimea cardului */
    height: 200px;       /* Înălțime fixă ca să fie toate egale */
    object-fit: cover;   /* Taie poza elegant dacă nu se potrivește, fără să o deformeze */
    border-radius: 5px;  /* Colțuri ușor rotunjite */
    margin-bottom: 15px; /* Spațiu sub poză */
}
/* --- SECȚIUNEA CONTACT --- */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Două coloane egale */
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.1rem;
    color: #d4af37; /* Auriu */
    margin-bottom: 5px;
    margin-top: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info a {
    color: #333;
    font-weight: 700;
}

.contact-info a:hover {
    color: #d4af37;
}

.btn-instagram {
    display: inline-block;
    background: #E1306C; /* Culoarea oficială Instagram */
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 25px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.btn-instagram:hover {
    background: #C13584;
    transform: translateY(-2px);
}

/* Stiluri pentru Hartă */
.map-container {
    height: 400px; /* Înălțimea hărții */
    background: #eee;
    border-radius: 10px;
    overflow: hidden; /* Asigură că harta nu iese din colțurile rotunjite */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer simplu jos de tot */
.main-footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}

/* Adaptare pentru telefon (Contact) */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* O singură coloană pe mobil */
        gap: 30px;
    }
    
    .map-container {
        height: 300px;
    }
}
/* --- STILURI MODALE - VARIANTA "POZA ÎNTREAGĂ & ÎNRĂMATĂ" --- */

.service-card {
    cursor: pointer;
}

/* Fundalul întunecat */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 20px; 
}

/* Cutia albă (Fereastra) */
.modal-content {
    background-color: #fff;
    /* AICI E SCHIMBAREA 1: Padding mare ca să nu atingă marginile */
    padding: 40px; 
    border-radius: 12px;
    
    width: 100%;
    max-width: 800px; /* O facem și mai lată ca să încapă poza bine */
    
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: slideUp 0.4s ease-out;
    
    /* Scroll */
    max-height: 95vh; 
    overflow-y: auto; 
}

/* Butonul X */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #999;
    font-size: 35px; /* Mai mare */
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    z-index: 10;
}

.close-btn:hover {
    color: #d4af37;
    transform: rotate(90deg);
}

/* Imaginea din fereastră */
.modal-img {
    width: 100%; 
    /* AICI E SCHIMBAREA 2: height auto = se vede toată poza, nu se taie nimic */
    height: auto; 
    max-height: 500px; /* Limită maximă să nu fie uriașă pe verticală */
    object-fit: contain; /* Se asigură că poza intră toată în ecran */
    
    border-radius: 8px; 
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); /* Umbră fină la poză */
}

/* Titlul Principal (h2) */
.modal-content h2 {
    color: #222;
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

/* Zona de text */
.text-content {
    color: #555;
    font-size: 1.05rem;
}

.text-content h4 {
    color: #d4af37;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
}

.text-content ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.text-content li {
    margin-bottom: 15px;
    padding-left: 0;
    display: flex;
    align-items: start;
    gap: 12px;
}

.recommendation {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 5px solid #d4af37;
    border-radius: 4px;
    font-size: 1rem;
    color: #444;
    margin-top: 35px;
    font-weight: 500;
}

@keyframes slideUp {
    from {opacity: 0; transform: translateY(30px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Adapater Mobil */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px; /* Pe telefon reducem rama albă să avem loc */
        max-width: 95%;
    }
    .close-btn {
        top: 5px;
        right: 10px;
    }
}

/* Clasa care blochează scroll-ul pe fundal */
body.no-scroll {
    overflow: hidden;
}
/* --- SECȚIUNEA DESPRE NOI (Split Layout - Varianta BOLD) --- */
.about-section {
    padding: 100px 0;
    background-color: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; /* Am mărit spațiul dintre ele ca să respire */
}

/* --- LOGO MAI MARE --- */
.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Îl aliniem spre text pentru o conexiune mai bună */
}

.about-image img {
    width: 100%;
    max-width: 480px; /* AICI AM CRESCUT: de la 400px la 480px */
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(212, 175, 55, 0.25)); /* Umbră puțin mai pronunțată */
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* --- TEXT MAI MARE --- */
.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    font-size: 2.5rem; /* AICI AM CRESCUT: de la 2.2rem la 3rem (Mult mai mare) */
    margin-bottom: 30px;
    color: #222;
    line-height: 1.2; /* Mai compact pe verticală */
    font-weight: 800; /* Mai gros */
}

.about-text p {
    font-size: 1.25rem; /* AICI AM CRESCUT: Textul e mai mare și mai lizibil */
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px; /* Ne asigurăm că rândurile nu sunt prea lungi */
}

.signature {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 3px; /* Spațiere mai mare între litere */
    font-size: 1rem; /* Semnătură puțin mai mare */
    border-left: 4px solid #d4af37;
    padding-left: 20px;
}

/* --- ADAPTARE MOBIL --- */
@media (max-width: 900px) { /* Am schimbat punctul de rupere ca să treacă mai repede la mod mobil */
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-image {
        justify-content: center;
    }

    .about-image img {
        max-width: 300px; /* Pe telefon rămâne ok la 300px */
    }

    .about-text {
        text-align: center;
        padding: 0 15px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .signature {
        border-left: none;
        border-bottom: 3px solid #d4af37;
        padding-bottom: 10px;
        padding-left: 0;
    }
}

/* Stilul textului */
.about-content {
    position: relative;
    z-index: 1; /* Textul vine PESTE logo */
    max-width: 700px; /* Textul nu se întinde pe tot ecranul, e compact */
    margin: 0 auto; /* Centrat */
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Semnătura elegantă */
.signature {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #d4af37; /* Auriu */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Pe mobil micșorăm puțin logo-ul din spate */
@media (max-width: 768px) {
    .about-section::before {
        width: 300px;
        height: 300px;
    }
    .about-content h2 {
        font-size: 1.6rem;
    }
}

/* --- BANNER COOKIES (GDPR) --- */
.cookie-banner {
    position: fixed;
    bottom: -100px; /* Ascuns inițial sub ecran */
    left: 0;
    width: 100%;
    background-color: #222; /* Negru elegant */
    color: #fff;
    padding: 20px;
    z-index: 9999; /* Să fie peste tot */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    transition: bottom 0.5s ease-in-out; /* Animație de urcare */
}

.cookie-banner.show {
    bottom: 0; /* Apare pe ecran */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
}

.btn-cookie {
    background-color: #d4af37; /* Auriu */
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap; /* Să nu se rupă textul butonului */
    transition: 0.3s;
}

.btn-cookie:hover {
    background-color: #fff;
    color: #222;
}

/* Pe telefon îl facem să arate bine (una sub alta) */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}