/* ==========================================================================
   E-DİJİTAL DAVETİYE - ŞABLON 12 (DOĞA ESİNTİSİ) SANATSAL KALİGRAFİ TİPOGRAFİSİ
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Great+Vibes&family=Montserrat:wght@400;500;600;700&family=Parisienne&family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Tangerine:wght@700&display=swap');

:root {
    --primary-green: #3d6a50;
    --accent-green: #89be9c;
    --dark-green: #183323;
    --forest-green: #12281b;
    --soft-green: #eef6f1;
    --card-green-bg: linear-gradient(180deg, #edf6f0 0%, #d4ebd9 100%);
    
    --text-dark: #162a1e;
    --text-muted: #4e6b5a;
    --text-olive: #435e4d;
    
    --font-script: 'Great Vibes', 'Alex Brush', 'Pinyon Script', cursive;
    --font-decorative: 'Cinzel Decorative', 'Playfair Display', Georgia, serif;
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-display: 'Playfair Display', 'Cinzel', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

/* ==========================================================================
   ŞABLON 12 SOL ÜST MÜZİK BUTONU
   ========================================================================== */
.music-float-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    background: #89be9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(92, 128, 109, 0.4);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-float-btn:hover {
    background: #5c806d;
    transform: scale(1.08);
}

.music-float-btn.playing {
    animation: musicPulse 2s infinite;
}

@keyframes musicPulse {
    0% { box-shadow: 0 0 0 0 rgba(137, 190, 156, 0.7); }
    70% { box-shadow: 0 0 0 14px rgba(137, 190, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(137, 190, 156, 0); }
}

.music-icon-svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ==========================================================================
   1. GİRİŞ VE ZARF SAHNESİ (ŞABLON 12 ÖZGÜN BOTANİK MÜHÜRLÜ ZARF)
   ========================================================================== */
.envelope-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    cursor: pointer;
    overflow: hidden;
    background: #f7f6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.envelope-screen.opened-fade {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 10;
    user-select: none;
    -webkit-user-drag: none;
}

.envelope-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.envelope-video.is-playing {
    opacity: 1;
}

.envelope-hint-container {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.envelope-hint-container.fade-out {
    opacity: 0;
}

.envelope-hint-text {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 20px;
    background: rgba(18, 35, 25, 0.35);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: hintGlowPulse 2.4s infinite ease-in-out;
}

@keyframes hintGlowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    }
    50% {
        transform: scale(1.03);
        opacity: 1;
        box-shadow: 0 6px 24px rgba(137, 190, 156, 0.45);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* ==========================================================================
   2. ÇİÇEKLİ & VİDEOLU HERO BÖLÜMÜ (ŞABLON 12 PAPATYA TEMASI)
   ========================================================================== */
.invitation-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.invitation-page.page-revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-fullscreen-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 20px;
    color: #ffffff;
    background-color: #243b2c;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(18, 30, 23, 0.25) 0%, rgba(15, 28, 20, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-names-main {
    font-family: var(--font-script);
    font-size: clamp(2.3rem, 8.2vw, 5.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.65), 0 2px 8px rgba(0, 0, 0, 0.45);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: none;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
}

.hero-quote-text {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.3vw, 1.45rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.96);
    max-width: 580px;
    margin: 0 auto 30px auto;
    font-style: italic;
    font-weight: 400;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

/* Şablon 12 Geri Sayım Sayacı */
.hero-countdown-grid {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 4vw, 36px);
    width: 100%;
    max-width: 480px;
    margin: 0 auto 30px auto;
}

.hero-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.countdown-val {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.countdown-lbl {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Hatırlatıcı Al Butonu */
.btn-reminder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    background: rgba(18, 30, 23, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 45px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-reminder:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.04);
}

/* Yukarı Kaydırınız Oku */
.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0.9;
    animation: gentleBounce 2.4s infinite ease-in-out;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-arrow-icon {
    stroke-width: 2.5;
}

/* ==========================================================================
   3. "NE ZAMAN & NEREDE" - KINA VE DÜĞÜN LOKASYONLARI
   ========================================================================== */
.events-section-block {
    padding: 85px 24px 70px 24px;
    background: #ffffff;
    position: relative;
}

.section-head-center {
    text-align: center;
    margin-bottom: 45px;
}

.section-title-major {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 5.2vw, 2.5rem);
    color: var(--dark-green);
    font-weight: 600;
    letter-spacing: clamp(0.04em, 1vw, 0.12em);
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
}

.events-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Çift Kutu Düzeni (Sol: Bilgi, Sağ: Harita) */
.event-dual-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .event-dual-row {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.event-info-card {
    background: var(--card-green-bg);
    border: 2px solid #2d4c38;
    border-radius: 14px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 250px;
    box-shadow: 0 6px 20px rgba(45, 69, 54, 0.06);
}

.event-type-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.event-datetime-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #2b4737;
    margin-bottom: 6px;
}

.event-location-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #3f5d4a;
    margin-bottom: 22px;
    line-height: 1.45;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 24px;
    background: #ffffff;
    color: #1e3b2b;
    border-radius: 25px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.btn-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    background: #fbfdfc;
    color: #142a1e;
}

.event-map-card {
    border: 2px solid #2d4c38;
    border-radius: 14px;
    overflow: hidden;
    min-height: 250px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(45, 69, 54, 0.06);
}

.event-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border: none;
    display: block;
}

/* ==========================================================================
   4. AİLELER BÖLÜMÜ (BİZİ BÜYÜTENLER)
   ========================================================================== */
.family-section-block {
    padding: 70px 24px;
    background: #fbfdfc;
    border-top: 1px solid rgba(92, 128, 109, 0.15);
}

.family-box-card {
    background: #ffffff;
    border: 1.5px solid rgba(92, 128, 109, 0.25);
    border-radius: 18px;
    padding: 40px 30px;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 6px 25px rgba(45, 69, 54, 0.05);
}

.family-tag-upper {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 3px;
    color: var(--primary-green);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 24px;
}

.family-split-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.family-col {
    flex: 1;
    min-width: 200px;
}

.family-col-divider {
    width: 1px;
    height: 60px;
    background: rgba(92, 128, 109, 0.2);
    display: none;
}

@media (min-width: 600px) {
    .family-col-divider {
        display: block;
    }
}

.family-col-tag {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    letter-spacing: 2px;
    color: var(--primary-green);
    text-transform: uppercase;
    font-weight: 700;
}

.family-col-names {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--text-dark);
    margin-top: 6px;
    font-weight: 600;
}

/* ==========================================================================
   5. TEŞEKKÜR VE FOOTER
   ========================================================================== */
.thanks-footer-block {
    text-align: center;
    padding: 85px 24px 75px 24px;
    background: linear-gradient(180deg, #fbfdfc 0%, #edf6f0 100%);
    border-top: 1px solid rgba(92, 128, 109, 0.2);
}

.thanks-names-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5.8vw, 3.4rem);
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: clamp(0.02em, 0.5vw, 0.06em);
    margin-bottom: 10px;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
}

.thanks-dates-badge {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--dark-green);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.thanks-closing-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

/* ==========================================================================
   MOBİL UYUMLULUK VE YAN YANA GÖRÜNÜM AYARLARI
   ========================================================================== */
@media (max-width: 600px) {
    .hero-fullscreen-section {
        padding: 30px 16px;
    }
    
    .hero-content {
        padding: 0 10px;
        width: 100%;
    }

    .hero-names-main {
        font-size: clamp(2.1rem, 9.2vw, 3.2rem);
        white-space: nowrap;
    }

    .events-section-block {
        padding: 60px 16px 50px 16px;
    }

    .section-head-center {
        margin-bottom: 35px;
    }

    .section-title-major {
        font-size: clamp(1.18rem, 5.5vw, 1.65rem);
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .thanks-footer-block {
        padding: 65px 16px 60px 16px;
    }

    .thanks-names-heading {
        font-size: clamp(1.45rem, 6.6vw, 2.2rem);
        letter-spacing: 0.03em;
        white-space: nowrap;
    }
}

@media (max-width: 375px) {
    .hero-names-main {
        font-size: 1.95rem;
    }

    .section-title-major {
        font-size: 1.08rem;
        letter-spacing: 0.03em;
    }

    .thanks-names-heading {
        font-size: 1.35rem;
    }
}
