/* HERO */
.gallery-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.gallery-hero h1 {
    font-size: 2.8rem;
    color: #A349A4;
    margin-bottom: 10px;
}

.gallery-hero p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* GRID GALERIE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 40px 60px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .4s ease;
}

/* Hover cinematic */
.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

#close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

#close-lightbox:hover {
    color: #A349A4;
}
/* ====== HEADER GENERAL ====== */
.main-header {
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #A349A4;
    letter-spacing: 1px;
}

/* ====== MENIU DESKTOP ====== */

/* ===== HEADER ===== */
.main-header {
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    position: fixed;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #A349A4;
}


/* 1. Reset și Fundal (Rămân neschimbate) */
:root {
    --violet-main: #ba68c8;
    --violet-dark: #4a148c;
    --violet-light: #f3e5f5;
}

body {
    margin: 0;
    padding: 0;
    background-color: #faf8ff;
    overflow-x: hidden;
    font-family: sans-serif;
}

.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.gradient-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, #f3e5f5, #e1bee7, #ce93d8, #ba68c8);
    background-size: 400% 400%;
    animation: gradientFlow 18s ease infinite;
    opacity: 0.5;
}

.sparkles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle, #fff 4px, transparent 1px),
        radial-gradient(circle, #fff 4px, transparent 1px);
    background-size: 50px 50px, 100px 100px;
    background-position: 0 0, 25px 25px;
    animation: sparkleMove 10s linear infinite;
    opacity: 0.3;
}

/* 2. Secțiunea Centrată (Varianta NOUĂ care înlocuiește vechiul header) */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centrează h1, h2 și imaginea */
    justify-content: flex-start;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    width: 100%;
    box-sizing: border-box;

    position: relative; /* ← OBLIGATORIU */
    z-index: 1;         /* ← OBLIGATORIU */
}

.hero-section h1 {
    margin: 0 0 10px 0;
    padding-top: 1px;
    color: var(--violet-dark);
    font-size: 2.5rem;
}

.hero-section h2 {
    margin: 0 0 10px 0;
    color: #7b1fa2;
    font-weight: 300;
    font-size: 1.5rem;
}

.flower-divider {
    width: 90%;
    max-width: 360px;
    display: flex;
    justify-content: center;
    line-height: 0;         /* Elimină spațiul de sub imagine (caracteristic elementelor inline) */
    margin-bottom: 10px;    /* Ajustează aici cât de aproape vrei să fie textul */
    text-align: center;    
}

.flower-divider img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1px;
    box-shadow: 0 0px 0px rgba(74, 20, 140, 0.15);
    animation: floating 4s ease-in-out infinite;
}

/* 3. Animații (Păstrate) */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes sparkleMove {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 4. Mobil (Varianta optimizată) */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 1.8rem; }
    .hero-section h2 { font-size: 1.1rem; }
    .flower-divider { max-width: 85%; }
    .gradient-bg { animation-duration: 25s; }
}
.video-bg {
    width: 100%;
    max-width: 600px; /* Sau cât dorești de mare sub titlu */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(74, 20, 140, 0.2);
    display: block;
}
.gallery-text-block {
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 300;
    color: #5a2a7a;
    margin: 20px 0;
    line-height: 1.6;
    padding: 0 20px;
    animation: fadeIn 0.8s ease;
}

.gallery-text-block strong {
    color: #8e44ad;
    font-weight: 600;
}

.gallery-testimonial {
    background: #faf5ff;
    border-left: 4px solid #8e44ad;
    padding: 20px;
    margin: 40px auto;
    max-width: 700px;
    font-style: italic;
    color: #4a2a63;
    border-radius: 6px;
    animation: fadeIn 0.8s ease;
}
.gallery-intro {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 300;
    color: #5a2a7a;
    
    /* MODIFICARE: 
       Punem margin-top pe 0 pentru a lipi textul de divider.
       Păstrăm margin-bottom pentru distanța față de poze. */
    margin: 0 auto 30px; 
    
    max-width: 800px;
    line-height: 1.4; /* Redus puțin pentru a fi mai compact */
    padding: 0 20px;   /* Padding lateral mai mare pe mobil ca să nu atingă marginile */
    
    animation: fadeIn 0.8s ease;
    display: block;    /* Ne asigurăm că se comportă ca un bloc solid */
}

/* Ajustări specifice pentru Mobil */
@media (max-width: 768px) {
    .gallery-intro {
        font-size: 1.1rem;      /* Micșorăm textul pe mobil */
        margin-top: -5px !important; /* Forțăm urcarea textului spre divider */
        line-height: 1.3;
    }
}
.lily-frame {
    margin-top: 10px; /* ajustezi cât vrei: 20px, 50px, 80px */
    margin-bottom: 0px;
}
.main-header {
    position: sticky;
    top: 0;
    z-index: 99999;
}
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.20rem;
    margin-top: 60px; /* spațiu față de secțiunea anterioară */
    border-top: 1px solid rgba(255,255,255,0.1); /* linie subtilă premium */
}

/* Text stânga */
.main-footer p {
    margin: 0;
}

/* Iconițe dreapta */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 2.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}
/* ===== Video Divider (noul wrapper dedicat) ===== */
.video-divider {
    width: 100%;
    height: 300px; /* ajustezi cât vrei */
    overflow: hidden;
    position: relative;
}

.video-divider .video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}