/* ============================================================
  HANNA & BERCI — VADVIRÁGOS ESKÜVŐI OLDAL
  Paletta: mélyméz arany, vad rózsa, búzavirágkék, levendula,
           réti zöld · Alap: meleg krém
  Betűk: Cormorant Garamond (cím) · EB Garamond (szövegtörzs)
  ============================================================ */

/* --- VÁLTOZÓK --- */
:root {
    --cream:    #FFF8F0;
    --cream-dk: #FAE0C8;
    --pink:     #F7C5D0;
    --gold:     #F09000;
    --rose:     #D40060;
    --orange:   #E84A00;
    --yellow:   #F2D600;
    --ink:      #2A1608;
    --ink-soft: #9E3D6B;
}

/* --- ALAP RESET --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', Georgia, serif;
    color: var(--ink);
    background-color: var(--cream);
    line-height: 1.85;
    font-size: 1.125rem;
    overflow-x: hidden;
}

/* --- NAVIGÁCIÓ --- */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 248, 240, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(232, 160, 0, 0.18);
    transition: box-shadow 0.3s;
}

.site-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s;
}

.nav-logo:hover {
    color: var(--rose);
}

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

.nav-links a {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--rose);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--rose);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Burger gomb (mobil) */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s;
}

/* Mobil menü */
.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 30px 20px;
    border-top: 1px solid rgba(232,160,0,0.12);
    background: rgba(255,248,240,0.97);
}

.nav-mobile a {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(232,160,0,0.1);
    transition: color 0.2s;
}

.nav-mobile a:last-child {
    border-bottom: none;
}

.nav-mobile a:hover {
    color: var(--rose);
}

.nav-mobile.open {
    display: flex;
}

/* ============================================================
  HERO (NYITÓOLDAL)
  ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 60px;
    gap: 0;

    background:
        linear-gradient(to bottom,
            rgba(255,248,240,0.72) 0%,
            rgba(255,248,240,0.55) 50%,
            rgba(255,248,240,0.72) 100%
        ),
        url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?q=80&w=1600')
        center/cover no-repeat;

    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,248,240,0.18);
    pointer-events: none;
}

.hero-top {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 0 0 auto;
    padding: 28px 40px 16px;
}

.hero-eyebrow {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(4.5rem, 10vw, 8rem);
    line-height: 1.0;
    color: var(--ink);
    letter-spacing: -1px;
}

.hero-title .amp {
    color: var(--rose);
    font-style: normal;
    font-weight: 400;
}

.countdown {
    margin-top: 24px;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* Save the date */
.hero-savethedate {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    flex: 0 0 auto;
}

.std-frame {
    border: 1px solid rgba(232, 160, 0, 0.35);
    border-radius: 4px;
    padding: 20px;
    background: rgba(255,248,240,0.75);
    max-width: 700px;
    width: 92vw;
}

.std-label {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 14px;
}

.std-img-placeholder {
    width: 100%;
    height: min(480px, 52vw);
    background: var(--cream-dk);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.std-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.std-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    letter-spacing: 1px;
}

/* ============================================================
  SZEKCIÓK
  ============================================================ */
.section {
    padding: 0 20px;
    padding-top: 40px;
    padding-bottom: 20px;
    position: relative;
    overflow: visible;
    background-color: transparent;
}

.container {
    max-width: 740px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.section-eyebrow {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    color: var(--ink-soft);
    line-height: 1.1;
    margin-bottom: 22px;
}

.inline-divider {
    width: 48px;
    height: 1px;
    background: var(--orange);
    margin: 0 auto 36px;
    opacity: 0.5;
}

.lead-italic {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink-soft);
    margin-bottom: 32px;
    line-height: 1.7;
}

.container p {
    margin-bottom: 18px;
    font-size: 1.1rem;
    color: var(--ink-soft);
}

.container strong {
    color: var(--ink);
    font-weight: 500;
}

.calligraphy-signature {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 3.5rem;
    color: var(--orange);
    margin-top: 44px;
    line-height: 1;
}

/* Szekció hátterek */
.section-meghivo {
    background: linear-gradient(to bottom, var(--cream) 0%, #FAE8D8 100%);
}
.section-rsvp {
    background: linear-gradient(to bottom, #FAE8D8 0%, #F9D8E4 100%);
}
.section-email {
    background: linear-gradient(to bottom, #F0D8E8 0%, #F5E8D0 100%);
}
.section-rolunk {
    background: linear-gradient(to bottom, #F9D8E4 0%, #FFF7C9 100%);
}
.section-helyszin {
    background: linear-gradient(to bottom, #FFF7C9 0%, #FAE2C0 100%);
}
.section-program {
    background: linear-gradient(to bottom, #FAE2C0 0%, #F0D8E8 100%);
}
.section-divider {
    background: transparent;
}

/* ============================================================
  GOMBOK
  ============================================================ */
.btn-wildflower {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 42px;
    border-radius: 2px;
    text-transform: uppercase;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-decoration: none;
    border: 1px solid currentColor;
    transition: background 0.35s ease, color 0.35s ease;
}

.btn-rose {
    color: var(--rose);
}

.btn-rose:hover {
    background: var(--rose);
    color: var(--cream);
}

.btn-orange {
    color: var(--orange);
}

.btn-orange:hover {
    background: var(--orange);
    color: var(--cream);
}

.btn-green {
    color: var(--orange);
}

.btn-green:hover {
    background: var(--orange);
    color: var(--cream);
}

/* ============================================================
  E-MAIL FELIRATKOZÁS
  ============================================================ */
.email-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.email-input {
    padding: 13px 24px;
    width: 290px;
    border: 1px solid rgba(232,74,0,0.4);
    border-radius: 2px;
    background: rgba(255,248,240,0.8);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}

.email-input::placeholder {
    color: #aaa;
}

.email-input:focus {
    border-color: var(--orange);
}

.small-note {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* ============================================================
  GALÉRIA
  ============================================================ */
.masonry {
    column-count: 2;
    column-gap: 14px;
    margin-top: 48px;
}
 
@media (min-width: 700px) {
    .masonry {
        column-count: 3;
        column-gap: 18px;
    }
}
 
@media (min-width: 1100px) {
    .masonry {
        column-count: 4;
        column-gap: 20px;
    }
}
 
.masonry figure {
    margin: 0 0 14px;
    break-inside: avoid;
    border-radius: 3px;
    overflow: hidden;
    background: var(--cream-dk);
    line-height: 0;
}
 
.masonry img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}
 
.masonry img.is-loaded {
    opacity: 1;
    transform: scale(1);
}
 
.masonry img:hover {
    transform: scale(1.025);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
 
/* Swipe jelzés — csak telefonon látszik */
.swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ink-soft);
    letter-spacing: 0.3px;
    margin: 0 0 14px;
    transition: opacity 0.4s ease;
}
 
.swipe-hint svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    animation: swipe-bounce 1.6s ease-in-out infinite;
}
 
@keyframes swipe-bounce {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(7px); }
}
 
/* Mobil: vízszintesen húzható filmszalag */
@media (max-width: 699px) {
    .swipe-hint {
        display: flex;
    }
 
    .masonry {
        display: flex;
        column-count: unset;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        margin-top: 0;
        padding: 4px 36px 18px 20px;
        scrollbar-width: none;
    }
 
    .masonry::-webkit-scrollbar {
        display: none;
    }
 
    .masonry figure {
        flex: 0 0 auto;
        height: 280px;
        margin-bottom: 0;
        scroll-snap-align: start;
        background: transparent;
    }
 
    .masonry img {
        height: 100%;
        width: auto;
        max-width: 78vw;
    }
 
    .masonry img:hover {
        transform: none;
        box-shadow: none;
    }
}
 
/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(30, 20, 16, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
 
.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
 
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 3px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
 
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--cream);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}
 
@media (prefers-reduced-motion: reduce) {
    .masonry img,
    .swipe-hint svg {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }
    .lightbox {
        transition: none;
    }
}
 
/* ============================================================
  COMING SOON BLOKK
  ============================================================ */
.coming-soon-block {
    padding: 60px 0;
}

.coming-soon-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(3.5rem, 8vw, 6rem);
    color: var(--gold);
    opacity: 0.7;
    line-height: 1;
    margin-bottom: 20px;
}

.coming-soon-sub {
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
  VIRÁGOS ELVÁLASZTÓK
  ============================================================ */
.flower-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 0px;
    padding: 0;
    width: 100%;
    overflow: visible;
    pointer-events: none;
    background: transparent;
}

.flower-row::before,
.flower-row::after {
    content: "";
    flex: 1;
    height: 0.5px;
    background-color: #e6b800;
    max-width: 200px;
}

.flower-divider-img {
    width: 300px;
    height: auto;
    display: block;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.flower-divider-flip {
    transform: scaleX(-1);
}

.flower-divider-footer {
    width: min(320px, 70vw);
    opacity: 0.75;
    margin-bottom: 12px;
}

.section-before-divider {
    padding-bottom: 0;
}

.section-after-divider {
    padding-top: 0;
}

/* ============================================================
  LÁBLÉC
  ============================================================ */
footer {
    text-align: center;
    padding: 50px 20px;
    background: var(--ink);
    color: var(--cream);
}

.footer-flower {
    margin-bottom: 16px;
}

.footer-names {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 2.2rem;
    color: var(--cream);
    opacity: 0.9;
    line-height: 1;
    margin-bottom: 8px;
}

.footer-date {
    font-size: 0.78rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,248,240,0.45);
}

/* ============================================================
  SCROLL ANIMÁCIÓ
  ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
  RESZPONZÍV (MOBIL)
  ============================================================ */
@media (max-width: 700px) {
    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .hero-top {
        padding: 40px 20px 28px;
    }

    .hero-title {
        font-size: clamp(3.2rem, 12vw, 5rem);
    }

    .masonry {
        grid-template-columns: 1fr;
    }

    .masonry img {
        height: 240px;
    }

    .section {
        padding: 70px 16px;
    }

    .email-row {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        width: 100%;
        max-width: 320px;
    }
}

/* Mozgást csökkentő mód */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}



 

