/* ==========================================================================
   TEMA: MEDITERRANEAN OLIVE (Id: 6) - ENHANCED EDITION
   MİMARİ: Zeytin Yeşili Paleti, İnce Serif Tipografi, Genişletilmiş Modüller
   ========================================================================== */

:root {
    --color-dc1: #f4f0ec; /* Bej */
    --color-dc2: #556b2f; /* Zeytin Yeşili */
    --color-dc3: #3e2723; /* Koyu Kahve */
    --bg-color: var(--color-dc1);
    --olive-color: var(--color-dc2);
    --text-dark: var(--color-dc3);
    --border-light: rgba(85, 107, 47, 0.15);
}

/* --------------------------------------------------------------------------
   1. GLOBAL BİLEŞENLER
   -------------------------------------------------------------------------- */
body {
    margin: 0;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(85, 107, 47, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(62, 39, 35, 0.02) 0%, transparent 40%);
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin: 0;
}

/* --------------------------------------------------------------------------
   2. ANA TAŞIYICI
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

/* --------------------------------------------------------------------------
   3. KAPAK BÖLÜMÜ (HERO)
   -------------------------------------------------------------------------- */
.hero-box {
    position: relative;
    width: 100%;
    height: 680px;
    background-size: cover;
    background-position: center;
    border-bottom: 6px solid var(--olive-color);
    transition: background-position 0.6s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(62, 39, 35, 0.1) 0%, rgba(62, 39, 35, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 50px 20px;
    color: #ffffff;
    text-align: center;
}

.hero-names {
    font-size: 3.8rem;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    margin-bottom: 15px;
    color: #fdfbf7;
}

.hero-date {
    font-size: 1.1rem;
    letter-spacing: 5px;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.4);
    padding-top: 15px;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   4. BİLGİ VE MODÜLLER (GENEL)
   -------------------------------------------------------------------------- */
.content-section {
    padding: 60px 30px;
    text-align: center;
    position: relative;
}

.floral-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 30px;
    color: var(--olive-color);
    filter: drop-shadow(0 2px 4px rgba(85, 107, 47, 0.2));
}

.section-title {
    font-size: 2.2rem;
    color: var(--olive-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--olive-color);
    opacity: 0.5;
}

.paragraph {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   5. HİKAYE VE GALERİ
   -------------------------------------------------------------------------- */
#storySection {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.gallery-grid {
    margin-top: 20px;
}

.gallery-item {
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(20%);
}

.gallery-item:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 2;
}

/* --------------------------------------------------------------------------
   6. ZAMAN ÇİZELGESİ
   -------------------------------------------------------------------------- */
.timeline-container {
    margin: 40px auto;
    text-align: center;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background-color: var(--border-light);
}

.tl-time {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.tl-text {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--olive-color);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. GERİ SAYIM
   -------------------------------------------------------------------------- */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(90deg, transparent, rgba(244,240,236,0.5), transparent);
}

.cd-box {
    text-align: center;
    width: 60px;
}

.cd-num {
    font-size: 2rem;
    color: var(--olive-color);
    line-height: 1;
}

.cd-lbl {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    color: #7a7a7a;
}

/* --------------------------------------------------------------------------
   8. FORM (RSVP)
   -------------------------------------------------------------------------- */
.rsvp-wrapper {
    background-color: var(--olive-color);
    color: var(--bg-color);
    padding: 60px 30px;
    text-align: center;
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.form-input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input::placeholder { color: rgba(255,255,255,0.6); }
.form-input:focus { 
    outline: none; 
    border-color: #ffffff; 
    background: rgba(255,255,255,0.1);
}

.btn-submit {
    background-color: var(--bg-color);
    color: var(--olive-color);
    border: none;
    padding: 18px 40px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-submit:hover { 
    background-color: #ffffff; 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --------------------------------------------------------------------------
   9. ANİMASYONLAR (REVEAL)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   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;
}