/*
 * Genel Stiller ve Reset
 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.5s, color 0.5s;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    background-size: cover;
}

.container {
    width: 90%;
    max-width: 1000px;
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

/*
 * Tema Ayarları
 */
.theme-light {
    background: #f7f7f7 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="50" y="50" font-size="20" fill="rgba(255, 192, 203, 0.5)" text-anchor="middle" dominant-baseline="central">💖</text></svg>');
    color: #333;
}

.theme-light .container {
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.theme-light .full-counter-box {
    background: #ffc0cb;
    color: #880022;
}

.theme-dark {
    background-color: #36393f;
    color: #e4e6eb;
}

.theme-dark .container {
    background: #2f3136;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.theme-dark .full-counter-box {
    background: #5865f2;
    color: #ffffff;
}

/*
 * 3'LÜ FOTOĞRAF ALANI VE MANUEL BUTON STİLLERİ
 */
.photo-area-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.photo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* ANA FOTOĞRAF KAPSAYICISI */
.main-photo-container {
    border: 5px solid #FF1493;
    border-radius: 20px;
    overflow: hidden;
    width: 350px; 
    height: 450px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: opacity 0.5s;
}

/* KÜÇÜK FOTOĞRAF KAPSAYICILARI */
.small-photo-container {
    width: 180px; 
    height: 250px; 
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #FFC0CB;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: opacity 0.5s;
    filter: blur(2px) opacity(0.7);
}

/* Manuel Kaydırma Butonları Stilleri */
.slider-nav-manual {
    background-color: #FF69B4; /* background yerine background-color */
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.slider-nav-manual:hover {
    background-color: #FF1493;
}

/*
 * Gün Sayacı (Diğer Modüllerin CSS'i aşağıda devam eder)
 */
.day-counter-area {
    margin: 30px 0;
}

.day-numbers {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 3em;
    font-weight: 300;
    margin-bottom: 15px;
}

.day-number {
    margin: 0 10px;
    transition: all 0.3s;
    font-size: 0.8em;
    color: #aaa;
}

.current-day {
    font-size: 1.5em;
    font-weight: 700;
    color: #FF1493;
    transform: scale(1.1);
}

.full-counter-box {
    display: inline-block;
    padding: 10px 20px;
    background: #ffc0cb;
    color: #880022;
    border-radius: 8px;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/*
 * Butonlar ve Kontroller
 */
.wish-button, .action-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin: 10px;
    transition: background-color 0.3s, transform 0.1s;
}

.wish-button {
    background-color: #FF69B4;
    color: white;
    font-weight: bold;
}

.wish-button:hover {
    background-color: #FF1493;
    transform: translateY(-2px);
}

.action-btn {
    background-color: #6C757D;
    color: white;
}

.action-btn:hover {
    background-color: #5A6268;
}

/*
 * Modüller
 */
.sections-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
}

.module {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.theme-dark .module {
    background: rgba(47, 49, 54, 0.8);
}

.memory-card {
    min-height: 100px;
    border: 1px dashed #FFC0CB;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
    transition: background 0.3s;
}

.memory-title { font-weight: bold; color: #FF69B4; font-size: 1.2em; }
.memory-date { font-style: italic; font-size: 0.9em; margin-top: 5px; }

.special-day-info {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.calendar-icon {
    width: 50px;
    height: 50px;
}

.day-title {
    font-weight: bold;
    margin: 0;
    color: #FF1493;
}

.countdown-text {
    font-size: 0.9em;
    color: #6C757D;
}

.theme-dark .countdown-text {
    color: #bbb;
}

/*
 * Kontrol Alanı (Müzik ve Tema)
 */
.controls-area {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

#background-music {
    display: none;
}

/*
 * Spotify
 */
.spotify-module {
    margin-top: 40px;
}

/*
 * Partikül Efekti
 */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.heart-particle {
    position: absolute;
    font-size: 2em;
    color: #FF69B4;
    opacity: 0;
    animation: floatUp 2s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) scale(0.5);
    }
}