/* ==========================================================================
   TEMA: MANSION LIGHTS (Id: 9) - ENHANCED EDITION
   MİMARİ: Karanlık Cam (Dark Glassmorphism), Altın Işıltı, Genişletilmiş Modüller
   ========================================================================== */

:root {
    --color-dc1: #0a0a0c; /* Varsayılan Siyah */
    --color-dc2: #d4af37; /* Varsayılan Altın */
    --color-dc3: #c0c0c0; /* Varsayılan Gümüş */
    --bg-dark: var(--color-dc1);
    --gold-accent: var(--color-dc2);
    --text-light: #e0e0e0;
    --glow-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
    --glass-bg: rgba(15, 15, 20, 0.75);
    --glass-border: rgba(212, 175, 55, 0.15);
}

/* --------------------------------------------------------------------------
   KEYFRAMES (IŞILTI VE HAREKET)
   -------------------------------------------------------------------------- */
@keyframes goldPulse {
    0% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.2); box-shadow: 0 0 15px rgba(212, 175, 55, 0.1); }
    50% { text-shadow: 0 0 25px rgba(212, 175, 55, 0.6); box-shadow: 0 0 35px rgba(212, 175, 55, 0.3); }
    100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.2); box-shadow: 0 0 15px rgba(212, 175, 55, 0.1); }
}

@keyframes floatSlow {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   1. GLOBAL BİLEŞENLER
   -------------------------------------------------------------------------- */
body {
    margin: 0;
    background-color: var(--bg-dark);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin: 0;
    color: var(--gold-accent);
}

/* --------------------------------------------------------------------------
   2. ANA TAŞIYICI VE ARKA PLAN (SABİT IŞILTI)
   -------------------------------------------------------------------------- */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.6) contrast(1.1);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.95) 100%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

/* --------------------------------------------------------------------------
   3. KAPAK BÖLÜMÜ (HERO)
   -------------------------------------------------------------------------- */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.hero-image-circle {
    width: 260px;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 130px 130px 10px 10px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: var(--glow-shadow);
    margin-bottom: 40px;
    position: relative;
    animation: floatSlow 6s infinite ease-in-out;
}

.hero-image-circle::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 136px 136px 16px 16px;
    pointer-events: none;
}

.hero-names {
    font-size: 3.6rem;
    line-height: 1;
    letter-spacing: 2px;
    animation: goldPulse 4s infinite;
}

.hero-date {
    font-size: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 20px;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    width: 60%;
}

/* --------------------------------------------------------------------------
   4. İÇERİK BLOKLARI (GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.content-wrapper {
    padding: 0 20px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 40px 25px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
    transform: skewX(-20deg);
}

.glass-panel:hover::before {
    left: 200%;
    transition: 1s ease-in-out;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 30%;
    width: 40%;
    height: 1px;
    background: var(--gold-accent);
    box-shadow: 0 0 12px var(--gold-accent);
}

.text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #d1d1d1;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   5. GALERİ MODÜLÜ
   -------------------------------------------------------------------------- */
.gallery-grid {
    margin-top: 20px;
}

.gallery-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid var(--glass-border);
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    transition: background 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--glow-shadow);
    border-color: rgba(212, 175, 55, 0.5);
    z-index: 2;
}

.gallery-item:hover::after {
    background: rgba(0,0,0,0);
}

/* --------------------------------------------------------------------------
   6. ZAMAN ÇİZELGESİ (TIMELINE)
   -------------------------------------------------------------------------- */
.timeline-list {
    text-align: left;
    margin-top: 35px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 15px;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.tl-time {
    font-size: 1.5rem;
    width: 90px;
    color: var(--gold-accent);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.tl-text {
    font-size: 0.95rem;
    color: #f0f0f0;
    letter-spacing: 1px;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   7. GERİ SAYIM
   -------------------------------------------------------------------------- */
.countdown-grid {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.cd-box {
    text-align: center;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px 5px;
    width: 65px;
    background: rgba(0,0,0,0.5);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.cd-box:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1), 0 0 15px rgba(212, 175, 55, 0.1);
}

.cd-num {
    font-size: 1.8rem;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.cd-lbl {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-top: 8px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. LCV (RSVP) FORMU
   -------------------------------------------------------------------------- */
.form-input {
    width: 100%;
    padding: 18px;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.3s ease;
}

.form-input::placeholder { color: #888; font-weight: 300; }

.form-input:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-submit {
    background: linear-gradient(135deg, var(--gold-accent), #9b7e22);
    color: var(--bg-dark);
    border: none;
    padding: 18px;
    width: 100%;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #e6c245, var(--gold-accent));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* --------------------------------------------------------------------------
   9. ANİMASYONLAR (REVEAL)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    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) 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;
}