/* ==========================================================================
   TEMA: POMEGRANATE ELEGANCE (Id: 15) - ENHANCED EDITION
   MİMARİ: Nar Kırmızısı, Altın Varak Detaylar, Klasik Saray Estetiği
   ========================================================================== */

:root {
    --color-dc1: #6b1226; /* Derin Nar Kırmızısı */
    --color-dc2: #d4af37; /* Klasik Altın */
    --color-dc3: #fdfbf7; /* Antik Krem */
    --pom-primary: var(--color-dc1);
    --pom-accent: var(--color-dc2);
    --text-dark: #2d2d2d;
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* --------------------------------------------------------------------------
   1. GLOBAL BİLEŞENLER
   -------------------------------------------------------------------------- */
body {
    margin: 0;
    background-color: #f5f3f0;
    background-image: radial-gradient(circle at 50% 0%, rgba(107, 18, 38, 0.03) 0%, transparent 70%);
    font-family: 'Lora', serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .heading-font, .section-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    margin: 0;
    color: var(--pom-primary);
    letter-spacing: 2px;
}

.sans-font {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   2. ANA TAŞIYICI
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--color-dc3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0,0,0,0.15);
    border-left: 1px solid var(--pom-accent);
    border-right: 1px solid var(--pom-accent);
}

/* --------------------------------------------------------------------------
   3. KAPAK BÖLÜMÜ (HERO)
   -------------------------------------------------------------------------- */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    background-color: var(--pom-primary);
    padding: 20px;
    box-sizing: border-box;
}

.hero-inner-border {
    width: 100%;
    height: 100%;
    border: 1px solid var(--pom-accent);
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.4);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(107, 18, 38, 0.95) 0%, rgba(107, 18, 38, 0.4) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 60px;
    text-align: center;
}

.hero-names {
    font-size: 3.5rem;
    color: var(--pom-accent);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-date {
    font-size: 1.1rem;
    letter-spacing: 6px;
    color: #ffffff;
    border-top: 1px solid var(--pom-accent);
    padding-top: 20px;
    width: 70%;
}

/* --------------------------------------------------------------------------
   4. İÇERİK MODÜLLERİ (GENEL)
   -------------------------------------------------------------------------- */
.section-pad {
    padding: 60px 40px;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%; width: 50%; height: 1px;
    background: var(--pom-accent);
}

.welcome-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    margin-bottom: 40px;
    padding: 0 10px;
}

.decorative-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--pom-accent), transparent);
    margin: 0 auto 30px;
}

/* --------------------------------------------------------------------------
   5. HİKAYE & GALERİ (CLASSIC FRAME)
   -------------------------------------------------------------------------- */
#storySection img {
    border: 1px solid var(--pom-accent);
    padding: 6px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(107, 18, 38, 0.1);
}

.gallery-grid {
    margin-top: 30px;
}

.gallery-item {
    transition: all 0.5s ease;
    border: 1px solid var(--pom-accent);
    filter: sepia(20%);
}

.gallery-item:hover {
    transform: scale(1.03);
    filter: sepia(0%);
    box-shadow: 0 10px 25px rgba(107, 18, 38, 0.2);
    z-index: 2;
}

/* --------------------------------------------------------------------------
   6. ZAMAN ÇİZELGESİ (AKIŞ)
   -------------------------------------------------------------------------- */
.timeline-pom {
    margin-top: 50px;
    position: relative;
}

.tl-item {
    position: relative;
    margin-bottom: 40px;
    background: #ffffff;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: border-color 0.3s;
}

.tl-item:hover {
    border-color: var(--pom-primary);
}

.tl-time {
    font-size: 1.5rem;
    color: var(--pom-primary);
    margin-bottom: 8px;
    display: block;
}

.tl-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. GERİ SAYIM (COUNTDOWN)
   -------------------------------------------------------------------------- */
.countdown-box {
    border: 1px solid var(--pom-accent);
    padding: 40px 20px;
    margin: 50px 0;
    background-color: #ffffff;
    position: relative;
}

.countdown-flex {
    display: flex;
    justify-content: space-around;
}

.cd-unit {
    text-align: center;
}

.cd-val {
    font-size: 2.5rem;
    color: var(--pom-primary);
    display: block;
    line-height: 1;
    font-family: 'Cinzel', serif;
}

.cd-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-top: 10px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. LCV (RSVP) & FORM
   -------------------------------------------------------------------------- */
.rsvp-section {
    padding: 80px 40px;
    background-color: var(--pom-primary);
    color: #ffffff;
    text-align: center;
    border-top: 5px solid var(--pom-accent);
    background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.form-input {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--pom-accent);
    border-radius: 0;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 25px;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    background: rgba(212, 175, 55, 0.1);
    border-color: #fff;
}

.btn-submit {
    background: linear-gradient(135deg, var(--pom-accent) 0%, #b8860b 100%);
    color: var(--pom-primary);
    border: none;
    padding: 22px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* --------------------------------------------------------------------------
   9. ANİMASYONLAR (REVEAL)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Harita Butonu Entegresi */
#mapUrlBlock {
    display: inline-block !important;
    border: 1px solid var(--pom-accent);
    padding: 12px 30px;
    color: var(--pom-primary) !important;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s;
}

#mapUrlBlock:hover {
    background: var(--pom-primary);
    color: var(--pom-accent) !important;
}

/* --------------------------------------------------------------------------
   10. PREMIUM MODÜL: CANLI MEDYA GALERİSİ (DAISY SPECIAL)
   -------------------------------------------------------------------------- */
.premium-gallery-section {
    padding: 60px 30px;
    background-color: #fffcf5; /* --color-dc1 */
    text-align: center;
    border-top: 1px solid rgba(251, 192, 45, 0.1);
}

.premium-gallery-inner {
    max-width: 100%;
    margin: 0 auto;
}

.premium-gallery-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #444;
}

.premium-gallery-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 35px;
    font-weight: 500;
    line-height: 1.6;
}

.guest-upload-form {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 20px;
    border: 2px dashed rgba(251, 192, 45, 0.4);
    box-shadow: var(--soft-shadow);
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 45px;
}

.guest-upload-input {
    width: 100%;
    padding: 15px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.guest-upload-input:focus {
    border-color: var(--daisy-yellow);
    box-shadow: 0 0 0 3px rgba(251, 192, 45, 0.1);
}

.guest-upload-dropzone {
    border: 2px dashed #eee;
    padding: 25px 15px;
    background: #fffcf5;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.guest-upload-dropzone:hover {
    border-color: var(--daisy-yellow);
    background: #fff;
}

.guest-upload-dropzone input[type="file"] {
    width: 100%;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    color: #888;
    font-size: 0.85rem;
}

.guest-upload-btn {
    background-color: #333;
    color: var(--daisy-yellow);
    border: none;
    padding: 18px;
    width: 100%;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.guest-upload-btn:hover {
    background-color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.guest-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.guest-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    background: #f9f9f9;
    transition: all 0.4s ease;
}

.guest-gallery-item:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 10px 20px rgba(251, 192, 45, 0.2);
    z-index: 2;
}

.guest-gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-media-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 10px 8px 10px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
}