/* ==========================================================================
   TEMA: RUSTIC GARDEN (Id: 19) - DYNAMIC & ENHANCED EDITION
   MİMARİ: Derinlikli Yeşiller, Parşömen Dokusu, Hareketli Fener Işıltısı
   ========================================================================== */

:root {
    --rustic-primary: #3b4d3c; 
    --rustic-accent: #d4af37; 
    --rustic-wood: #4a3728; 
    --rustic-bg: #eaddc5; 
    --rustic-paper: #f9f6f0;
    --glow-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* --------------------------------------------------------------------------
   KEYFRAMES (SÜREKLİ ANİMASYONLAR)
   -------------------------------------------------------------------------- */
@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)); text-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }
    50% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6)); text-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
    100% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)); text-shadow: 0 0 10px rgba(212, 175, 55, 0.2); }
}

@keyframes floatElement {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes shimmerBg {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* --------------------------------------------------------------------------
   1. GLOBAL BİLEŞENLER
   -------------------------------------------------------------------------- */
body {
    margin: 0;
    background-color: var(--rustic-bg);
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.05) 100%);
    font-family: 'Montserrat', sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .cursive {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    margin: 0;
    color: var(--rustic-wood);
}

.serif {
    font-family: 'Playfair Display', serif;
}

/* --------------------------------------------------------------------------
   2. ANA TAŞIYICI
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--rustic-paper);
    background-image: 
        linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px),
        linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* --------------------------------------------------------------------------
   3. KAPAK BÖLÜMÜ (HERO)
   -------------------------------------------------------------------------- */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 650px;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--rustic-wood);
    transition: background-position 0.5s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(249, 246, 240, 1) 95%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 40px;
    text-align: center;
}

.hero-inner-frame {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-inner-frame:hover {
    transform: scale(1.02);
}

.hero-names {
    font-size: 4.2rem;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--rustic-primary);
    animation: pulseGlow 4s infinite ease-in-out;
    will-change: text-shadow;
}

.hero-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--rustic-wood);
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--rustic-accent);
    box-shadow: var(--glow-shadow);
    margin-top: 10px;
    transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   4. İÇERİK MODÜLLERİ & PARŞÖMEN ETKİSİ
   -------------------------------------------------------------------------- */
.content-section {
    padding: 60px 30px;
    text-align: center;
    position: relative;
}

.botanical-svg, .rustic-divider {
    animation: floatElement 6s infinite ease-in-out;
    will-change: transform;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: 'Playfair Display', serif;
    color: var(--rustic-wood);
    margin-bottom: 50px;
    padding: 25px;
    background: #fffdf9;
    border: 1px solid #e8e0d0;
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(212,175,55,0.05), 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-text:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 20px rgba(212,175,55,0.1), 0 8px 15px rgba(0,0,0,0.05);
}

.welcome-text::before, .welcome-text::after {
    content: '❦';
    position: absolute;
    color: var(--rustic-accent);
    font-size: 1.2rem;
}
.welcome-text::before { top: 10px; left: 10px; }
.welcome-text::after { bottom: 10px; right: 10px; }

/* Zaman Çizelgesi */
.timeline-rustic {
    margin-top: 40px;
    text-align: left;
    padding-left: 20px;
    position: relative;
}

.timeline-rustic::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--rustic-accent), var(--rustic-wood), transparent);
}

.tl-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 35px;
}

.tl-item::before {
    content: '♦';
    position: absolute;
    left: -4.5px;
    top: -2px;
    color: var(--rustic-accent);
    font-size: 1.5rem;
    background: var(--rustic-paper);
    line-height: 1;
    animation: pulseGlow 3s infinite alternate;
}

.tl-content-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tl-item:hover .tl-content-wrapper {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    border-left-color: var(--rustic-wood);
}

.tl-time {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--rustic-wood);
    font-size: 1.2rem;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.tl-text {
    font-size: 1rem;
    color: #555;
    background: rgba(255,255,255,0.6);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* --------------------------------------------------------------------------
   5. GERİ SAYIM (KAZINMIŞ AHŞAP ETKİSİ VE ETKİLEŞİM)
   -------------------------------------------------------------------------- */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 50px 0;
}

.cd-item {
    background: linear-gradient(145deg, var(--rustic-wood), #36271c);
    padding: 15px 5px;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2), inset 0 2px 2px rgba(255,255,255,0.1);
    color: var(--rustic-accent);
    position: relative;
    border: 1px solid #2a1f16;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.cd-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3), inset 0 2px 2px rgba(255,255,255,0.2);
    border-color: var(--rustic-accent);
}

.cd-num {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cd-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
    display: block;
}

/* --------------------------------------------------------------------------
   6. LCV (RSVP) - ORMAN TABELASI
   -------------------------------------------------------------------------- */
.rsvp-section {
    padding: 60px 30px;
    background: linear-gradient(rgba(44, 62, 46, 0.95), rgba(44, 62, 46, 0.95)), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+');
    color: #fff;
    text-align: center;
    border-top: 5px solid var(--rustic-wood);
    box-shadow: inset 0 15px 20px rgba(0,0,0,0.3);
}

.form-input {
    width: 100%;
    padding: 16px;
    background: var(--rustic-bg);
    border: 2px solid var(--rustic-wood);
    border-radius: 4px;
    color: var(--rustic-wood);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--rustic-accent);
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3), inset 0 2px 5px rgba(0,0,0,0.05);
}

.form-input::placeholder {
    color: #a0937d;
    font-weight: 400;
}

.btn-submit {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--rustic-wood), #36271c);
    color: var(--rustic-accent);
    border: 1px solid #1a120c;
    padding: 18px;
    width: 100%;
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.1);
    transition: transform 0.2s, box-shadow 0.2s, color 0.3s;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.2), transparent);
    transform: skewX(-20deg);
}

.btn-submit:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.2);
}

.btn-submit:hover::after {
    animation: shimmerBg 1.5s infinite;
}

.btn-submit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.4), inset 0 2px 5px rgba(0,0,0,0.5);
}

/* --------------------------------------------------------------------------
   GİRİŞ ANİMASYONLARI (REVEAL)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
    transition: opacity 0.9s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* --------------------------------------------------------------------------
   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;
}