/* --- 1. RESETARE & GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden; /* Previne scroll-ul orizontal nedorit */
}

/* --- 2. NAVIGARE (NAVBAR) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between; /* Logo stânga, Meniu dreapta */
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9); /* Negru aproape opac */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    text-transform: none;
    z-index: 1002; /* Peste meniul negru de mobil */
}

.litera-g { color: #d4af37; font-size: 1.7rem; }
.litera-r { color: #808080; font-size: 1.7rem; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #ddd;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #d4af37;
}

/* --- 3. HAMBURGER MENU (Ascuns pe Laptop) --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002; /* Peste meniul care se deschide */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* --- 4. HERO SECTION & ANIMAȚII --- */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-animat {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%),
        url('images/logo-bg.jpeg'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center center;
    filter: brightness(1.2) contrast(1.1);
    animation: miscareValuriProfi 8s ease-in-out infinite alternate;
}

@keyframes miscareValuriProfi {
    0% { transform: scale(0.95) translateY(5px); }
    100% { transform: scale(1.05) translateY(-5px); }
}

footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 20;
}

/* --- 5. SECȚIUNI GENERALE --- */
.content-section {
    min-height: 100vh; /* O secțiune = Un ecran */
    padding: 100px 20px;
    border-bottom: 1px solid #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
}

.content-section h2 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 20px;
}

/* --- 6. PACHETE & CARUSEL STANDARD (FOTO) --- */
.oferte-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    width: 100%;
}

.pachet-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.pachet-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.pachet-card h3 {
    padding: 15px;
    background-color: #000;
    color: #d4af37;
    margin: 0;
    border-bottom: 1px solid #222;
}

.nota-disclaimer {
    margin-top: 30px;
    text-align: center;
    font-style: italic;
    width: 100%;
    font-size: 0.9rem;
    color: #808080;
}

/* STIL CARUSEL GENERAL (Pentru imaginile Portret de sus) */
.carousel {
    position: relative;
    width: 100%;
    height: 450px; /* Înalt pentru poze portret */
    background-color: #000;
}

.carousel-images {
    width: 100%;
    height: 100%;
}

.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Se vede toată poza, netăiată */
    display: none;
}

.carousel-images img.active {
    display: block;
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from {opacity: 0.4} 
    to {opacity: 1}
}

/* BUTOANE SĂGEȚI (Valabil pentru toate caruselele) */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 0;
    height: 100%;
    width: 50px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-size: 30px;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.6);
    color: #d4af37;
}

/* --- ELEMENTE DE PREȚ & LISTE --- */
.detalii-pret {
    padding: 20px;
    text-align: center;
}

.pret {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.pret-mare {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.pachet {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex; 
    padding: 10px 20px;
    justify-content: space-between;
}

.pachet:last-of-type {
    border-bottom: none;
}

.pret-auriu {
    color: #d4af37;
    font-weight: bold;
}

.btn-rezerva {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
    margin-bottom: 20px; /* Asigură distanța jos */
}

.btn-rezerva:hover {
    background-color: #d4af37;
    color: #000;
}

/* Stil specific VIDEO */
#oferte-video .pachet-card {
    min-height: 350px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

/* --- 8. STILURI PHOTOBOOTH (NOU & CURAT) --- */
/* Aceste reguli suprascriu stilurile generale doar pentru Cabina Foto */

/* Facem cardul mai îngust și centrat */
.card-booth {
    width: 100%;
    max-width: 400px; /* Era prea lat, acum e finuț */
    margin: 0 auto;
    padding-bottom: 30px;
}

/* Forțăm caruselul de booth să fie mic și panoramic */
#carousel-booth {
    height: 220px;       /* Înălțime fixă mică */
    min-height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d4af37;
}

/* Aranjăm pozele în interiorul caruselului de booth */
#carousel-booth .carousel-images img {
    width: 100%;
    height: 100%;        /* Umple exact cutia de 220px */
    object-fit: cover;   /* Taie marginile invizibile, nu deformează */
    border: none;
}

/* Săgețile centrate perfect */
#carousel-booth .carousel-btn {
    top: 50%;
    transform: translateY(-50%);
}

/* Spațiere pentru textul prețurilor */
.lista-preturi {
    padding: 0 10px;
}
/* --- STILURI PENTRU PALETARUL DE CULORI --- */
.grid-culori {
    display: flex;
    flex-wrap: wrap;        /* Dacă nu au loc, trec pe rândul următor */
    justify-content: center; /* Le centrează */
    gap: 15px;              /* Spațiu între poze */
}

.grid-culori img {
    width: 30%;             /* Pe laptop: 3 poze pe rând (30% + spațiu) */
    max-width: 300px;       /* Să nu fie uriașe */
    border-radius: 8px;     /* Colțuri rotunjite */
    transition: transform 0.3s ease; /* Efect fin la hover */
    border: 2px solid #333; /* Un chenar închis să arate bine pe fundal negru */
}

.grid-culori img:hover {
    transform: scale(1.3); /* Se măresc puțin când pui mouse-ul */
    border-color: #d4af37;  /* Chenarul devine auriu */
    z-index: 2;
}
/* --- STIL PENTRU SEMNĂTURA DE JOS --- */
/* --- SEMNĂTURA DE LA CONTACT --- */
/* --- SEMNĂTURA VIZIBILĂ ȘI CENTRATĂ --- */
.semnatura-vizibila {
    margin-top: 60px; 
    padding-bottom: 50px;      /* Spațiu mai mare deasupra */
    font-size: 1.3rem;      /* Scris MARE (era 1rem, acum e cu 50% mai mare) */
    color: #fff;            /* Alb, să se vadă clar pe negru */
    font-weight: 600;       /* Puțin mai gros */
    
    text-align: center;     /* CENTRARE OBLIGATORIE */
    width: 100%;            /* Să ocupe tot rândul ca să se poată centra */
    display: block;         /* Asigură că stă pe rândul lui */
    letter-spacing: 1px;    /* Spațiu între litere pentru eleganță */
}

.nume-autor {
    color: #d4af37;         /* Numele tău rămâne auriu */
    font-weight: bold;      
    font-size: 1.5rem;      /* Numele tău un pic mai mare decât restul textului */
}

/* Pe telefon, le punem mai mari, câte 2 pe rând sau 1 */
@media (max-width: 768px) {
    .grid-culori img {
        width: 45%; /* Două pe rând pe tabletă/mobil mare */
    }
}

@media (max-width: 480px) {
    .grid-culori img {
        width: 100%; /* Una sub alta pe telefoane mici, să se vadă clar */
    }
}


/* --- 9. REGULI SPECIALE PENTRU TELEFON --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%; 
        top: 0;
        flex-direction: column; 
        background-color: #000; 
        width: 100%;
        height: 100vh; 
        text-align: center;
        justify-content: center;
        transition: 0.3s;
        padding-top: 60px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a {
        font-size: 1.5rem; 
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    h1 { font-size: 2rem; }
}