﻿:root {
    --text-color-light: #f5f5f7;
    --accent-color: #c8a27c;
    --dark-bg: #1c1c1e;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* --- ANA YAPI (DESKTOP) --- */
.left-panel {
    position: fixed;
    left: 0; top: 0;
    width: 50%; height: 100vh;
    background-image: url('user_image.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* YENİ EKLENEN SİYAH-BEYAZ FİLTRESİ */
    filter: grayscale(100%);
}
.right-panel {
    width: 50%;
    margin-left: 50%;
    position: relative;
    z-index: 2;
    background-image: 
        url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39tbW1paWhzc3N8fHybm5uZmZl5eXksAAAAQUlEQVR42uzMSGgAIAwEweLTe/5bUmIuJdJreGHzBwCE+p+V9Q4EMeB21H2F27D2L2p2w/2rO2/U62f9L9P/CQCd9A+mdABM0/5hAAAAAElFTkSuQmCC'),
        radial-gradient(circle, #2c2c2e, #1c1c1e);
}

/* Sağ paneldeki ilk bölüm */
.hero-content-section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px; color: var(--text-color-light); }
.couple-names { font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 4.5rem); color: var(--text-color-light); margin: 15px 0; }
.couple-names .ampersand { font-style: italic; color: var(--accent-color); }
.hero-intro, .wedding-date { color: rgba(255, 255, 255, 0.7); }
.wedding-date { border-top: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 10px 0; font-size: 1.2rem; }
.countdown { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }
.countdown-item { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; backdrop-filter: blur(5px); padding: 15px 10px; min-width: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.countdown-item span { font-size: 2.2rem; font-weight: bold; color: var(--text-color-light); line-height: 1; }
.countdown-item label { font-size: 0.7rem; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }

/* Sağ paneldeki diğer bölümler */
.section { padding: 100px 40px; }
.section-title-container { text-align: center; margin-bottom: 60px; }
.section-title { font-family: var(--font-heading); font-size: 2.8rem; color: var(--accent-color); }
.section-subtitle { font-size: 1.1rem; max-width: 600px; margin: 0 auto; color: rgba(255, 255, 255, 0.6); }

/* Detaylar & Harita */
.details-container { display: grid; grid-template-columns: 1fr; gap: 40px; }
.details-info-wrapper { display: flex; flex-direction: column; gap: 20px; }
.detail-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 8px; border-left: 5px solid var(--accent-color); transition: background-color 0.3s ease; color: rgba(255,255,255,0.8); }
.detail-card:hover { background: rgba(255,255,255,0.1); }
.detail-icon { font-size: 2.5rem; float: left; margin-right: 20px; color: var(--accent-color); }
.detail-title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-color-light); }

/* HARİTA VE ÖZEL MARKER İÇİN YENİ STİLLER */
.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative; /* İçindeki marker'ı konumlandırmak için gerekli */
}
.map-container iframe {
    filter: none; /* Haritanın orijinal renklerde görünmesi için */
}
.custom-marker {
    width: 50px;
    height: 50px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iI2M4YTJjYyI+PHBhdGggZD0iTTEyIDIxLjM1bC0xLjQ1LTEuMzJDNS40IDExLjIzIDIgNy43OSAyIDQuNUMyIDIuNDIgMy40MiAxIDUuNSAxIDEuNjEgMS4xMiAwIDEuNjcgMi42NCAzLjM1IDQuMzcgNS4xMyA2LjY5IDYuOTYgMTIgMTEuODFjNS4zMS00Ljg1IDcuNjMtNi42OCA5LjM2LTguNDZDDIyLjQ5IDIuMTIgMjQgNC41IDI0IDQuNWMwIDMuMjktMy40IDYuNzMtOC41NSAxMS41M0wxMiAyMS4zNXoiLz48L3N2Zz4=');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tam ortaya hizalamak için */
    pointer-events: none; /* Marker'ın tıklamaları engellememesi için ÇOK ÖNEMLİ */
}
.directions-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.directions-btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg);
}

/* Form */
.rsvp-section { padding-bottom: 120px; background: rgba(0,0,0,0.2); }
.rsvp-form { display: flex; flex-direction: column; gap: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.form-group label { color: var(--accent-color); font-weight: 500; margin-bottom: 8px; display: block; }
.form-group input, .form-group select, .form-group textarea { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: var(--text-color-light); padding: 15px; width: 100%; font-size: 1rem; font-family: var(--font-body); transition: all 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 15px rgba(200, 162, 124, 0.2); }
.submit-btn { background-color: var(--accent-color); color: var(--dark-bg); padding: 15px 30px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; transition: all 0.3s; width: 100%; font-size: 1.1rem; margin-top: 10px; }
.submit-btn:hover { background-color: var(--text-color-light); }

/* Footer */
.footer { background: #111; color: rgba(255,255,255,0.7); text-align: center; padding: 50px 20px; }
.footer h3 { font-family: var(--font-heading); font-size: 2rem; color: #fff; }

/* --- MOBİL TASARIM --- */
@media (max-width: 768px) {
    .left-panel, .right-panel { position: static; width: 100%; margin-left: 0; }
    .left-panel {
        height: clamp(300px, 60dvh, 500px); 
        box-shadow: none;
    }
    .hero-content-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content-section .couple-names { order: 1; font-size: 2rem; }
    .hero-content-section .wedding-date { order: 2; }
    .hero-content-section .countdown { order: 3; }
    .hero-content-section .hero-intro { order: 4; margin-top: 25px; }

    .right-panel {
        background-image: 
            url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39tbW1paWhzc3N8fHybm5uZmZl5eXksAAAAQUlEQVR42uzMSGgAIAwEweLTe/5bUmIuJdJreGHzBwCE+p+V9Q4EMeB21H2F27D2L2p2w/2rO2/U62f9L9P/CQCd9A+mdABM0/5hAAAAAElFTkSuQmCC'),
            radial-gradient(circle, #2c2c2e, #1c1c1e);
    }
    .section { padding: 80px 20px; }
    .form-row { grid-template-columns: 1fr; }
}