/* Glassmorphism Design System */

/* Genel Animasyonlar */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Müzik Player İkonu */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s;
}

.vinyl-record {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #333 30%, #111 100%);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.vinyl-record i {
    color: white;
    font-size: 20px;
}

.rotating {
    animation: spin 5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Aşk Sayacı */
.counter-section {
    padding: 80px 20px;
    text-align: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    max-width: 900px;
    width: 100%;
}

.time-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px 20px;
    border-radius: 20px;
    min-width: 110px;
    flex: 1;
    max-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.3);
}

.time-box span {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), #20bf6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-family: var(--font-main);
    line-height: 1.2;
}

.time-box p {
    margin: 10px 0 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    font-weight: 600;
}

/* Kalp Butonu */
.heart-container {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.love-btn {
    padding: 20px 60px;
    font-size: 1.3rem;
    background: linear-gradient(45deg, #ff4757, #ff6b81);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-main);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
    transition: transform 0.2s, box-shadow 0.3s;
    outline: none;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.love-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.5);
}

.love-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

/* Hikaye Bölümü */
.story-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 auto;
}

.story-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    font-family: var(--font-main);
}

/* Zaman Tüneli - STANDART */
.timeline-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
    box-sizing: border-box;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -14px;
    background-color: white;
    border: 4px solid #ff4757;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s;
}

.right::after {
    left: -14px;
}

.timeline-container:hover::after {
    transform: scale(1.3);
    background-color: #ff4757;
}

.timeline-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.timeline-content img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
}

.timeline-text h3 {
    margin: 0 0 10px 0;
    color: #ff4757;
    font-size: 1.5rem;
}

.timeline-text p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Video Player */
.video-wrapper {
    margin: 0 auto;
    max-width: 600px;
    padding: 30px;
}

.video-wrapper video {
    width: 100%;
    max-height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

.youtube-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* MOBİL UYUMLULUK (Düzeltildi ve Optimize Edildi) */
@media screen and (max-width: 768px) {

    /* 1. Çizgiyi Sola Taşı */
    .timeline::after {
        left: 31px;
    }

    /* 2. Kutuları Genişlet */
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        margin-bottom: 20px;
    }

    /* 3. Noktaları Hizala */
    .timeline-container::after {
        left: 18px;
        right: auto;
        top: 15px;
    }

    .left::after,
    .right::after {
        left: 18px;
    }

    /* 4. Sağ Tarafı Sola Çek */
    .right {
        left: 0%;
    }

    /* 5. Font ve Padding Ayarları */
    .title {
        font-size: 2.5rem;
    }

    /* Başlığı biraz küçülttüm */
    .glass-card {
        padding: 25px 15px;
    }

    .video-wrapper {
        padding: 15px;
    }

    /* 6. Kalp Butonu Küçültme (Performans ve Estetik) */
    .love-btn {
        padding: 15px 30px;
        /* 20px 60px'ten düşürüldü */
        font-size: 1rem;
        width: 80%;
        /* Ekrana yayılmasın */
        max-width: 300px;
    }

    .heart-container {
        padding: 40px 20px;
    }

    /* 7. Müzik İkonu Küçültme */
    .vinyl-record {
        width: 45px;
        height: 45px;
    }

    .vinyl-record i {
        font-size: 16px;
    }

    .music-player {
        bottom: 20px;
        right: 20px;
    }
}