/* Setari de baza */
:root {
    --primary-color: #1a252c; /* Albastru inchis / Cer de noapte */
    --accent-color: #3498db; /* Albastru curat / Gheata */
    --text-color: #333333;
    --bg-color: #f4f7f6; /* Alb usor racoros */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Navigare */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--primary-color);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-rezerva {
    background-color: var(--accent-color);
    padding: 8px 15px;
    border-radius: 5px;
    color: #fff !important;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section (Aici pui o poza faina cu cabana) */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://cf.bstatic.com/xdata/images/hotel/max1024x768/266581106.jpg?k=011bda931f09aae15afd97c1ee9e0da2aa7b137648923f91a28d534f512536c9&o=') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #b58555;
}

/* Sectiuni Generale */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Facilitati */
.features .cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 250px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Contact */
.contact {
    background-color: white;
}

.contact-info {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 60px;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links li {
        margin: 20px 0;
    }
    .nav-active {
        transform: translateX(0%);
    }
    .burger {
        display: block;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

/* Stiluri Galerie Foto */
.galerie {
    background-color: var(--bg-color);
}

.grid-galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-galerie img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Face pozele sa nu se turteasca */
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.grid-galerie img:hover {
    transform: scale(1.03); /* Se maresc putin cand pui mouse-ul pe ele */
}

/* Stiluri Butoane Booking & Turist Info */
.parteneri-rezervare {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-partener {
    padding: 15px 30px;
    border-radius: 8px;
    
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    font-size: 1.1rem;
}

.btn-booking {
    background-color: #003580; /* Culoarea oficiala Booking.com */
}

.btn-booking:hover {
    background-color: #002255;
}

.btn-turistinfo {
    background-color: #e67e22; /* Portocaliu specific Turist Info */
}

.btn-turistinfo:hover {
    background-color: #d35400;
}

/* Link telefon care nu e albastru si subliniat urat */
.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Stil Harta Google - Corectat */
.harta-google {
    max-width: 1000px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    line-height: 0; /* Asta elimina spatiul ciudat de jos */
    padding: 0; /* Ne asiguram ca nu are padding (spatiu alb intern) */
    background-color: transparent;
}

.harta-google iframe {
    width: 100% !important;
    height: 450px !important;
    display: block;
    border: none;
    margin: 0;
    padding: 0;
}

/* Stiluri Despre Noi */
.despre {
    background-color: white; /* Fundal alb curat ca sa contrasteze cu celelalte */
}

.despre-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.despre-text {
    flex: 1; /* Ocupa jumatate de spatiu pe PC */
}

.despre-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.despre-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.despre-imagine {
    flex: 1; /* Ocupa cealalta jumatate de spatiu pe PC */
}

.despre-imagine img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* O umbra fina sa arate elegant */
}

/* Modificare pentru Telefon (Sa se puna poza sub text) */
@media screen and (max-width: 768px) {
    .despre-container {
        flex-direction: column;
        text-align: center;
    }
    .despre-text h2 {
        text-align: center;
    }
}
/* Buton WhatsApp Plutitor */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Verdele original WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white; /* Culoarea iconitei (alba) */
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Se face putin mai mare la hover */
    background-color: #1ebe57; /* Un verde un pic mai inchis la hover */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

/* Mai mic pe ecranele de telefon ca sa nu acopere mult din text */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}
/* Stiluri Widget Vreme */
.vreme-widget {
    background: rgba(255, 255, 255, 0.85); /* Fundal alb semi-transparent */
    backdrop-filter: blur(10px); /* Efect de sticla sablata */
    max-width: 250px;
    margin: -40px auto 40px auto; /* Il trage putin in sus, peste marginea pozei mari */
    position: relative;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 15px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.6);
}

.vreme-header {
    font-size: 0.85rem;
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.vreme-body {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vreme-desc {
    font-size: 0.95rem;
    color: #555;
    margin-top: 5px;
    font-weight: 500;
}
/* --- Buton Dark Mode --- */
.dark-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.dark-toggle:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .dark-toggle {
        margin-right: 15px;
    }
}

/* --- Tema Dark Mode --- */
body.dark-mode {
    --bg-color: #121212; /* Fundal general negru-gri */
    --text-color: #f1f1f1; /* Text alb */
    --primary-color: #1a1a1a; /* Meniu si footer foarte inchise */
}

/* Schimbam fundalurile care erau albe */
body.dark-mode .card,
body.dark-mode .despre,
body.dark-mode .contact {
    background-color: #1e1e1e !important;
    color: #f1f1f1;
}

body.dark-mode .card h3,
body.dark-mode section h2 {
    color: var(--accent-color) !important; /* Facem titlurile sa iasa in evidenta */
}

body.dark-mode .contact-info a {
    color: var(--accent-color);
}

/* Widget Vreme adaptat pentru Dark Mode */
body.dark-mode .vreme-widget {
    background: rgba(30, 30, 30, 0.85);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .vreme-header,
body.dark-mode .vreme-desc {
    color: #aaa;
}

/* Animatie fina cand se schimba tema */
body, .card, section, .navbar, .vreme-widget {
    transition: background-color 0.4s ease, color 0.4s ease;
}
/* --- Stiluri FAQ (Întrebări Frecvente) --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(0,0,0,0.02);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;    transition: max-height 0.4s ease;
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.6;
}

/* Starea activa (cand e deschis) */
.faq-item.active .faq-answer {
    max-height: 200px; /* Inaltime suficienta pentru text */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Se invarte 'x' */
}
/* --- Stiluri Recenzii Booking --- */
.recenzii {
    background-color: var(--bg-color);
}

.subtitlu-recenzii {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.grid-recenzii {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.card-recenzie {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 05px 15px rgba(0,0,0,0.05);
    border-top: 4pxsolid #003580; /* Linia albastra superioara de la Booking */
    transition: transform 0.3s ease;
}

.card-recenzie:hover {
    transform: translateY(-5px);
}

.recenzie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.nume-oaspete {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.scor-booking {background-color: #003580; /* Culoarea oficiala Booking */
    color: white;
    padding: 6px 12px;
    border-radius: 6px 6px 6px 0; /* Colturile usor rotunjite asimetric */
    font-weight: bold;
    font-size: 1.1rem;
}

.stele {
    margin-bottom: 15px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.text-recenzie {
    font-style: italic;
    color: #444;
    line-height: 1.6;
}

/* Integrare cu Dark Mode */
body.dark-mode .card-recenzie {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
body.dark-mode .subtitlu-recenzii,
body.dark-mode .text-recenzie {
    color: #ccc;
}
body.dark-mode .nume-oaspete {
    color: var(--accent-color);
}
