/* ===================================================
   ROMANTIC ANNIVERSARY THEME - TK.BSVIBE.COM
   =================================================== */

:root {
    --bg-dark: #09070c;
    --bg-card: rgba(26, 19, 34, 0.7);
    --bg-card-hover: rgba(38, 28, 48, 0.85);
    --rose-gold: #f4aab9;
    --rose-accent: #e63956;
    --gold: #e8c887;
    --text-main: #fcf9f4;
    --text-muted: #b8a9c4;
    --border-glass: rgba(244, 170, 185, 0.2);
    --border-glow: rgba(230, 57, 86, 0.4);
    --shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.6);
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-dark);
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Background Hearts Canvas */
#heartsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating Ambient Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    animation: floatGlow 18s ease-in-out infinite alternate;
}
.glow-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #e63956 0%, transparent 70%);
    top: -100px;
    left: -100px;
}
.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -9s;
}
.glow-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #e8c887 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.15); }
}

.content-wrap {
    position: relative;
    z-index: 10;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================================
   FLOATING MUSIC PLAYER
   =================================================== */
.music-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 19, 34, 0.85);
    border: 1px solid var(--border-glass);
    padding: 10px 18px 10px 12px;
    border-radius: 999px;
    color: var(--rose-gold);
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}
.music-toggle-btn:hover {
    transform: scale(1.05);
    border-color: var(--rose-accent);
    box-shadow: 0 12px 35px rgba(230, 57, 86, 0.35);
}
.music-disk {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #111, #444, #111);
    border: 2px solid var(--gold);
    display: grid;
    place-items: center;
    animation: spinDisk 4s linear infinite;
    animation-play-state: paused;
}
.music-disk::after {
    content: "🎵";
    font-size: 13px;
}
.music-playing .music-disk {
    animation-play-state: running;
}
.music-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 14px;
}
.music-wave span {
    width: 2.5px;
    height: 100%;
    background: var(--rose-gold);
    border-radius: 2px;
    transform: scaleY(0.2);
    transition: transform 0.2s;
}
.music-playing .music-wave span:nth-child(1) { animation: wave 1.2s infinite ease-in-out; }
.music-playing .music-wave span:nth-child(2) { animation: wave 1.2s infinite ease-in-out 0.2s; }
.music-playing .music-wave span:nth-child(3) { animation: wave 1.2s infinite ease-in-out 0.4s; }
.music-playing .music-wave span:nth-child(4) { animation: wave 1.2s infinite ease-in-out 0.6s; }

@keyframes spinDisk { 100% { transform: rotate(360deg); } }
@keyframes wave {
    0%, 100% { transform: scaleY(0.2); }
    50% { transform: scaleY(1); }
}

/* ===================================================
   HERO SECTION & COUNTDOWN
   =================================================== */
.hero-sec {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 15px 40px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 170, 185, 0.12);
    border: 1px solid var(--border-glass);
    color: var(--rose-gold);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    animation: fadeInDown 1s ease;
}
.hero-title {
    font-family: var(--font-script);
    font-size: clamp(52px, 10vw, 108px);
    line-height: 1.05;
    background: linear-gradient(135deg, #fff 20%, var(--rose-gold) 60%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-shadow: 0 10px 30px rgba(230, 57, 86, 0.3);
}
.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(16px, 3.5vw, 22px);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 36px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Live Timer Box */
.timer-container {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    padding: 32px 36px 28px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-deep), 0 0 40px rgba(230, 57, 86, 0.15);
    margin-bottom: 40px;
    max-width: 720px;
    width: 100%;
}
.timer-header {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
}
.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.timer-box {
    background: rgba(10, 7, 13, 0.6);
    border: 1px solid rgba(244, 170, 185, 0.15);
    border-radius: 18px;
    padding: 16px 10px;
    transition: transform 0.3s;
}
.timer-box:hover {
    transform: translateY(-4px);
    border-color: var(--rose-gold);
}
.timer-num {
    font-family: var(--font-serif);
    font-size: clamp(28px, 6vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.timer-lbl {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn-romantic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--rose-accent) 0%, #ba1e3b 100%);
    color: #fff;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(230, 57, 86, 0.4);
    transition: all 0.3s ease;
}
.btn-romantic:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 35px rgba(230, 57, 86, 0.6);
    color: #fff;
}
.btn-outline-romantic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(244, 170, 185, 0.08);
    color: var(--rose-gold);
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.btn-outline-romantic:hover {
    background: rgba(244, 170, 185, 0.18);
    border-color: var(--rose-gold);
    color: #fff;
}

/* ===================================================
   SECTION HEADERS
   =================================================== */
.section-head {
    text-align: center;
    margin-bottom: 50px;
}
.sec-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}
.sec-title {
    font-family: var(--font-serif);
    font-size: clamp(30px, 5vw, 44px);
    color: #fff;
    margin-bottom: 12px;
}
.sec-sub {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto;
}

/* ===================================================
   TIMELINE (HİKAYEMİZ)
   =================================================== */
.timeline-sec {
    padding: 80px 0;
    position: relative;
}
.timeline-track {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
.timeline-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--rose-accent), var(--gold), transparent);
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}
.timeline-item:nth-child(even) {
    justify-content: flex-end;
}
.timeline-dot {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rose-accent);
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 15px var(--rose-accent);
    z-index: 5;
}
.timeline-card {
    width: calc(50% - 40px);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    padding: 24px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-deep);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.timeline-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}
.timeline-card-img {
    width: 100%;
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}
.timeline-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.timeline-card:hover .timeline-card-img img {
    transform: scale(1.08);
}
.timeline-date-badge {
    display: inline-block;
    background: rgba(230, 57, 86, 0.2);
    color: var(--rose-gold);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.timeline-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}
.timeline-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-track::before {
        left: 20px;
    }
    .timeline-item, .timeline-item:nth-child(even) {
        justify-content: flex-end;
    }
    .timeline-dot {
        left: 20px;
    }
    .timeline-card {
        width: calc(100% - 48px);
    }
}

/* ===================================================
   POLAROID MEMORY GALLERY
   =================================================== */
.gallery-sec {
    padding: 80px 0;
}
.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}
.polaroid-card {
    background: #fff;
    color: #1a1a1a;
    padding: 16px 16px 22px;
    border-radius: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    position: relative;
    transform: rotate(var(--rot, 0deg));
}
.polaroid-card:nth-child(3n+1) { --rot: -2deg; }
.polaroid-card:nth-child(3n+2) { --rot: 2.5deg; }
.polaroid-card:nth-child(3n+3) { --rot: -1.5deg; }

.polaroid-card::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 24px;
    background: rgba(240, 220, 180, 0.65);
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.polaroid-card:hover {
    transform: scale(1.06) rotate(0deg) !important;
    z-index: 20;
    box-shadow: 0 24px 50px rgba(230, 57, 86, 0.35);
}
.polaroid-img-wrap {
    width: 100%;
    height: 270px;
    overflow: hidden;
    border-radius: 3px;
    background: #222;
    margin-bottom: 14px;
}
.polaroid-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.polaroid-card:hover .polaroid-img-wrap img {
    transform: scale(1.05);
}
.polaroid-caption {
    font-family: var(--font-script);
    font-size: 24px;
    color: #2b1a20;
    line-height: 1.2;
    text-align: center;
}
.polaroid-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #eee;
}

/* ===================================================
   REASONS / NEDEN SEN? (FLIP CARDS)
   =================================================== */
.reasons-sec {
    padding: 80px 0;
}
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.reason-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    padding: 30px 26px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-deep);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.reason-card:hover {
    transform: translateY(-6px);
    border-color: var(--rose-accent);
    background: var(--bg-card-hover);
    box-shadow: 0 16px 40px rgba(230, 57, 86, 0.25);
}
.reason-icon {
    font-size: 34px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(244, 170, 185, 0.1);
    display: grid;
    place-items: center;
    margin-bottom: 6px;
}
.reason-card h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    color: #fff;
}
.reason-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ===================================================
   ROMANTIC LOVE ENVELOPE & LETTER
   =================================================== */
.letter-sec {
    padding: 90px 0;
    text-align: center;
}
.envelope-wrap {
    max-width: 680px;
    margin: 0 auto;
    perspective: 1000px;
}
.envelope {
    position: relative;
    background: #e8d8c3;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.4s ease;
    border: 2px solid #d4c2aa;
}
.envelope:hover {
    transform: translateY(-4px);
}
.envelope-cover {
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.wax-seal {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, #b8142f 0%, #7d081b 100%);
    display: grid;
    place-items: center;
    color: #f7d59c;
    font-size: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    border: 2px solid #5a0614;
    transition: transform 0.3s ease;
}
.envelope:hover .wax-seal {
    transform: scale(1.12);
}
.envelope-hint {
    font-family: var(--font-script);
    font-size: 28px;
    color: #4a3328;
}
.envelope-sub {
    font-size: 13.5px;
    color: #7d6355;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Letter parchment paper when opened */
.letter-paper {
    display: none;
    background: #fffcf5;
    color: #2b1f1d;
    padding: 40px 36px;
    border-radius: 12px;
    text-align: left;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.05);
    border: 1px solid #ebd9c3;
    animation: unfoldLetter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.letter-paper.open {
    display: block;
}
.letter-paper h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    color: #8b1e32;
    margin-bottom: 20px;
    border-bottom: 1px dashed #e0cbba;
    padding-bottom: 10px;
}
.letter-body {
    font-size: 16px;
    line-height: 1.8;
    color: #3d2f2b;
    white-space: pre-line;
    margin-bottom: 28px;
}
.letter-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed #e0cbba;
    padding-top: 16px;
}
.letter-sig {
    font-family: var(--font-script);
    font-size: 28px;
    color: #8b1e32;
}
.letter-date {
    font-size: 13px;
    color: #8c786a;
}

@keyframes unfoldLetter {
    0% { opacity: 0; transform: scale(0.92) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===================================================
   SURPRISE MODAL & CONFETTI
   =================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 6, 11, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.surprise-box {
    background: linear-gradient(135deg, #1f1429 0%, #120b1a 100%);
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    padding: 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(230, 57, 86, 0.4);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}
.surprise-icon {
    font-size: 56px;
    margin-bottom: 16px;
    animation: heartPulse 1.2s infinite;
}
.surprise-box h3 {
    font-family: var(--font-script);
    font-size: 42px;
    color: var(--rose-gold);
    margin-bottom: 12px;
}
.surprise-box p {
    color: #e2d9eb;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.btn-close-modal {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}
.btn-close-modal:hover {
    background: var(--rose-accent);
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===================================================
   LIGHTBOX FOR GALLERY
   =================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: zoom-out;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    object-fit: contain;
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
    padding: 50px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(244, 170, 185, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}
footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}
