/* /events_pages/public_html/assets/themes/parallax_floral/style.css */
/* --- Setări Generale și Variabile --- */
:root {
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --color-text: #5c5c5c;
    --color-heading: #333;
    --color-primary: #800020; /* Burgundy */
    --color-bg-light: #fdfcfa;
    --color-bg-dark: #333;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg-light);
    margin: 0;
    line-height: 1.8;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-heading);
    font-weight: 700;
}

/* --- Secțiunea Hero --- */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efectul PARALLAX este ACTIVAT pentru toată lumea */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h2 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: white;
}
.hero-content h1 {
    font-size: 4rem;
    margin: 0.5rem 0;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
}

/* --- Secțiuni de Conținut --- */
.content-section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.content-section h2 {
    color: var(--color-primary);
    font-size: 2.8rem;
    margin-bottom: 30px;
}
.parents-section {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    font-size: 1.1rem;
}
.nasi {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 20px;
}
.nasi strong {
    display: block;
}

.parents {
    color: var(--color-primary);
}

/* --- Secțiuni Parallax --- */
.parallax-section {
    height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efectul PARALLAX este ACTIVAT pentru toată lumea */
}

/* --- Programul Evenimentului --- */
.event-details {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}
.event-item {
    flex: 1;
    min-width: 280px;
}
.event-item h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
}
.event-item p { margin: 5px 0; }
.map-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}
.map-link:hover {
    border-bottom: 2px solid var(--color-primary);
}

/* --- Countdown Timer (stilurile existente) --- */
.dark-bg { background-color: var(--color-bg-dark); color: white; }
.dark-bg h2 { color: white; }
#timer { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.timer-box { background: rgba(255, 255, 255, 0.1); padding: 20px; border-radius: 10px; min-width: 100px; text-align: center; }
.timer-box div { font-size: 3rem; font-weight: bold; }

/* --- RSVP Section (stilurile existente) --- */
.rsvp-section { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; text-align: left; align-items: center; }
.rsvp-image-container { flex: 1; min-width: 300px; }
.rsvp-image-container img { width: 100%; height: auto; border-radius: 12px; }
.rsvp-form-container { flex: 1.5; min-width: 300px; }
.rsvp-form-container .btn-primary { background-color: var(--color-primary); border-color: var(--color-primary); }

/* --- Footer (stilurile existente) --- */
footer { padding: 40px 20px; text-align: center; background: #f8f8f8; }
footer p { font-family: var(--font-display); font-size: 1.5rem; }

/* Reguli generale pentru ecrane mai mici (tablete și telefoane) */
@media (max-width: 768px) {
    /* Ajustări de fonturi pentru lizibilitate pe ecrane mici */
    .hero-content h1 { font-size: 2.8rem; }
    .content-section h2 { font-size: 2.2rem; }

    /* Aranjăm secțiunile una sub alta */
    .parents-section,
    .event-details,
    .rsvp-section {
        flex-direction: column; /* Stivuim elementele pe verticală */
    }

    /* Mărim spațierea la secțiunile de conținut */
    .content-section { padding: 60px 5px; }

    /* Reducem înălțimea secțiunilor parallax pe mobil */
    .parallax-section { height: 35vh; }
}

/* --- FIX SPECIFIC PENTRU iOS (Safari) --- */
/* Aceste reguli se vor aplica DOAR pe browserele de pe iOS */
@supports (-webkit-touch-callout: none) {
    .hero-section,
    .parallax-section {
        background-attachment: scroll; /* Dezactivează parallax-ul care cauzează bug-ul */
    }
}