/* Resetare de bază */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }

body {
    padding-top: 80px; /* Pune aici înălțimea exactă a navbarului tău */
}

/* NAVBAR: Logo stânga, Menu dreapta */
.navbar {
    height: 80px; /* Forțăm o înălțime fixă */
    display: flex;
    justify-content: space-between; /* Împinge elementele la capete */
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.8); /* Fundal alb semi-transparent */
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li { padding: 0 20px; }
.nav-links a { color: black; text-decoration: none; font-weight: bold; }
/* Stil pentru butonul Hamburger (ascuns pe PC) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* Modificări pentru Mobil (Media Query) */
@media (max-width: 768px) {
    .hamburger { display: flex; } /* Apare butonul pe mobil */

    .nav-links {
        display: none; /* Ascuns implicit */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        text-align: center;
        padding: 20px 0;
    }

    /* Clasa pe care o vom adăuga cu JavaScript */
    .nav-links.active {
        display: flex;
    }
}

/* BANNER VIDEO: Full Screen */
.hero {
    width: 100%;
    height: calc(100vh - 80px); /* Ocupă 100% din înălțimea ecranului */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Face video-ul să acopere tot ecranul fără să se deformeze */
}

/*.content { text-align: center; color: black; }*/

/* RESPONSIVE: Adaptare pentru telefoane */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Ascundem meniul pe mobil pentru simplitate acum */
    .content h1 { font-size: 2rem; }
}


/* 3 poze maro */

.image-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: top; /* Elimină golurile de aliniere */
}
.grid-item {
    flex: 1;
    min-width: 33.33%;
    height: 1024px;
    position: relative;
    overflow: hidden; /* Foarte important: taie imaginea care iese din cadru la zoom */
}

/* Fundalul care se va mări */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease; /* Durata animației de zoom */
    z-index: 1;
}

/* Overlay-ul rămâne deasupra imaginii */
.overlay {
    position: absolute;
    top: 0;    
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 2; /* Peste imagine */
    transition: background 0.3s ease;
}

/* --- EFECTUL DE HOVER --- */

/* Când punem mouse-ul pe grid-item, bg-image se mărește */
.grid-item:hover .bg-image {
    transform: scale(1.1); /* Zoom de 10% */
}

.grid-item:hover .overlay {
    background: rgba(0, 0, 0, 0.2); /* Opțional: se luminează puțin la hover */
}

/* --- RESPONSIVE: Adaptare pentru Telefon --- */
@media (max-width: 768px) {
    .grid-item {
        min-width: 100%; /* Pe mobil ocupă toată lățimea (una sub alta) */
    }
}

/* --- Font inclinat pentru pozela maro --- */

.overlay h3 {
    /* Aplicăm noul font */
    font-family: 'Playfair Display', cursive; 
    
    font-size: 2.5rem; /* Fonturile de mână par adesea mai mici, deci îl mărim */
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
    
    /* Important: dezactivăm scrierea doar cu majuscule dacă o aveai activată */
    text-transform: none; 
    
    /* Adăugăm o umbră ușoară pentru a ieși și mai bine în evidență */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay p {
    /* Putem lăsa fontul standard pentru descriere sau să folosim tot Dancing Script */
    font-family: sans-serif; 
    font-size: 1.1rem;
    letter-spacing: 1px;
}

