
/* ==========================================
   GENEL AYARLAR
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff8fb, #fff0f7, #f8f4ff);
    color: #4b4050;
    min-height: 100vh;
}

:root {
    --pink: #ff7eb6;
    --dark-pink: #e95691;
    --light-pink: #ffe1ed;
    --purple: #9b7ede;
    --yellow: #ffd86b;
    --green: #8ecf9c;
    --dark: #4b4050;
    --white: #ffffff;
}

/* ==========================================
   NAVİGASYON MENÜSÜ
   ========================================== */

.navbar {
    width: 100%;
    padding: 18px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(100, 60, 100, 0.08);
}

.logo {
    font-family: 'Pacifico', cursive;
    color: var(--dark-pink);
    font-size: 22px;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    color: var(--pink);
    transform: translateY(-2px);
}

/* ==========================================
   ANA SAYFA - KARŞILAMA ALANI
   ========================================== */

.hero {
    min-height: 88vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 126, 182, 0.2), transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(155, 126, 222, 0.2), transparent 30%);
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    position: relative;
    z-index: 5;
}

.small-title {
    color: var(--dark-pink);
    font-size: 18px;
    margin-bottom: 15px;
}

.hero h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(45px, 7vw, 85px);
    line-height: 1.2;
    color: var(--dark);
}

.hero h1 span {
    color: var(--pink);
}

.hero-text {
    margin: 25px auto;
    max-width: 650px;
    font-size: 17px;
    line-height: 1.9;
    color: #756b78;
}

/* Ana buton */

.main-button {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(233, 86, 145, 0.25);
    transition: 0.3s;
}

.main-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(233, 86, 145, 0.35);
}

/* Uçuşan çiçekler */

.floating-flower {
    position: absolute;
    font-size: 50px;
    animation: floating 5s ease-in-out infinite;
    opacity: 0.8;
}

.flower1 {
    top: 15%;
    left: 10%;
}

.flower2 {
    top: 25%;
    right: 12%;
    animation-delay: 1s;
}

.flower3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.flower4 {
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(10deg);
    }
}

/* ==========================================
   GİRİŞ KARTI
   ========================================== */

.intro-section {
    padding: 100px 7%;
    display: flex;
    justify-content: center;
}

.intro-card {
    background: white;
    padding: 50px;
    max-width: 750px;
    text-align: center;
    border-radius: 35px;
    box-shadow: 0 20px 60px rgba(100, 60, 100, 0.1);
}

.intro-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.intro-card h2 {
    font-family: 'Pacifico', cursive;
    color: var(--dark-pink);
    font-size: 32px;
    margin-bottom: 20px;
}

.intro-card p {
    line-height: 1.9;
    margin-bottom: 15px;
}

/* ==========================================
   ORTAK BÖLÜM BAŞLIKLARI
   ========================================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title p {
    color: var(--pink);
}

.section-title h2 {
    font-family: 'Pacifico', cursive;
    font-size: 40px;
}

/* ==========================================
   ANA SAYFA KARTLARI
   ========================================== */

.home-cards {
    padding: 80px 7%;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.love-card {
    background: white;
    padding: 35px 25px;
    border-radius: 25px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(100, 60, 100, 0.08);
}

.love-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.love-card h3 {
    color: var(--dark-pink);
    margin-bottom: 15px;
}

.love-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.love-card a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================
   ALT BİLGİ ALANI
   ========================================== */

footer {
    text-align: center;
    padding: 50px 20px;
    margin-top: 50px;
    background: #fff;
    color: #766b78;
}

footer p {
    font-family: 'Pacifico', cursive;
    color: var(--pink);
    font-size: 20px;
    margin-bottom: 10px;
}

/* ==========================================
   ALT SAYFA BAŞLIKLARI
   ========================================== */

.page-header {
    padding: 110px 20px 80px;
    text-align: center;
}

.page-header p {
    color: var(--pink);
    margin-bottom: 15px;
}

.page-header h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(45px, 6vw, 70px);
    color: var(--dark);
}

.page-header span {
    display: block;
    margin-top: 20px;
    color: #777;
}

/* ==========================================
   HİKÂYEMİZ - ZAMAN ÇİZELGESİ
   ========================================== */

.timeline-section {
    padding: 30px 7% 100px;
}

.timeline {
    max-width: 850px;
    margin: auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.timeline-date {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border-radius: 20px;
    padding: 20px;
    height: fit-content;
    text-align: center;
    font-weight: bold;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(100, 60, 100, 0.08);
}

.timeline-content h2 {
    color: var(--dark-pink);
    margin-bottom: 12px;
}

.timeline-content p {
    line-height: 1.8;
}

/* ==========================================
   ÇİÇEKLER SAYFASI
   ========================================== */

.flowers-section {
    padding: 20px 7% 100px;
}

.flower-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.flower-card {
    background: white;
    padding: 35px 25px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(100, 60, 100, 0.08);
    transition: 0.3s;
}

.flower-card:hover {
    transform: translateY(-10px) rotate(1deg);
}

.flower-emoji {
    font-size: 70px;
    margin-bottom: 15px;
}

.flower-card h2 {
    color: var(--dark-pink);
    margin-bottom: 15px;
}

.flower-card p {
    line-height: 1.8;
    font-size: 14px;
}

/* Zambak hakkında özel bölüm */

.lily-section {
    padding: 100px 7%;
    background: linear-gradient(135deg, #fff0f7, #f5efff);
}

.lily-content {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lily-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(100, 60, 100, 0.15);
}

.lily-text h2 {
    font-family: 'Pacifico', cursive;
    color: var(--dark-pink);
    font-size: 55px;
    margin: 10px 0 20px;
}

.mini-title {
    color: var(--purple);
    font-weight: 600;
}

.lily-text p {
    line-height: 1.9;
    margin-bottom: 18px;
}

.special-text {
    background: white;
    padding: 25px;
    border-radius: 20px;
}

.special-text strong {
    color: var(--pink);
}

/* Çiçek sayfası son bölümü */

.you-are-flower {
    text-align: center;
    padding: 120px 20px;
}

.big-flower {
    font-size: 100px;
    animation: flowerBeat 2s infinite;
}

@keyframes flowerBeat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.you-are-flower h2 {
    font-family: 'Pacifico', cursive;
    font-size: 45px;
    color: var(--dark-pink);
    margin: 20px;
}

.you-are-flower p {
    line-height: 2;
}

.you-are-flower h3 {
    margin-top: 25px;
    color: var(--purple);
}

/* ==========================================
   GALERİ SAYFASI
   ========================================== */

.gallery-section {
    padding: 30px 7% 100px;
}

.gallery {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.photo-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(100, 60, 100, 0.1);
    transition: 0.3s;
}

.photo-card:hover {
    transform: translateY(-8px);
}

.photo-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.photo-text {
    padding: 25px;
}

.photo-text h3 {
    color: var(--dark-pink);
    margin-bottom: 10px;
}

.photo-text p {
    color: #777;
    line-height: 1.7;
}

/* ==========================================
   UÇUŞAN KALP ANİMASYONU
   ========================================== */

.floating-heart {
    position: fixed;
    bottom: -30px;
    pointer-events: none;
    z-index: 9999;
    animation: heartFloat 4s linear forwards;
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================
   ŞARKILARIMIZ - GİRİŞ BÖLÜMÜ
   ========================================== */

.song-intro {
    padding: 20px 7% 70px;
    display: flex;
    justify-content: center;
}

.song-intro-box {
    max-width: 750px;
    background: white;
    padding: 50px;
    border-radius: 35px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(100, 60, 100, 0.08);
}

.music-icon {
    font-size: 65px;
    margin-bottom: 20px;
}

.song-intro-box h2 {
    font-family: 'Pacifico', cursive;
    color: var(--dark-pink);
    font-size: 32px;
    margin-bottom: 20px;
}

.song-intro-box p {
    line-height: 1.9;
    color: #756b78;
    margin-bottom: 12px;
}

/* ==========================================
   ŞARKI KARTLARI
   ========================================== */

.songs-section {
    padding: 40px 7% 100px;
}

.songs-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.song-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    display: grid;
    grid-template-columns: 80px 1fr 1.5fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(100, 60, 100, 0.08);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.song-card::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, var(--pink), var(--purple));
}

.song-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(100, 60, 100, 0.13);
}

.song-number {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.song-info h2 {
    color: var(--dark-pink);
    margin-bottom: 5px;
}

.song-info h3 {
    color: #8c8290;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 18px;
}

.song-button {
    display: inline-block;
    padding: 9px 17px;
    border-radius: 50px;
    background: var(--light-pink);
    color: var(--dark-pink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.song-button:hover {
    background: var(--pink);
    color: white;
    transform: translateY(-2px);
}

.song-reason {
    background: linear-gradient(135deg, #fff5fa, #f8f3ff);
    border-radius: 20px;
    padding: 25px;
}

.song-reason span {
    display: block;
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 10px;
}

.song-reason p {
    color: #716775;
    line-height: 1.8;
    font-size: 14px;
}

/* ==========================================
   MÜZİK MESAJI BÖLÜMÜ
   ========================================== */

.music-message {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff0f7, #f4efff);
}

.music-message-content {
    max-width: 750px;
    margin: auto;
}

.big-music {
    font-size: 90px;
    animation: musicBounce 2s infinite;
}

@keyframes musicBounce {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

.music-message h2 {
    font-family: 'Pacifico', cursive;
    color: var(--dark-pink);
    font-size: 35px;
    margin: 20px 0;
}

.music-message p {
    line-height: 1.9;
    color: #756b78;
}

.music-hearts {
    font-size: 25px;
    margin-top: 25px;
}

/* ==========================================
   MÜZİK BAŞLATMA BUTONU
   ========================================== */

#musicButton {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background: #ff4f81;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 9999;
}

#musicButton:hover {
    transform: scale(1.05);
    background: #ff336d;
}

/* ==========================================
   SPOTIFY OYNATICISI
   ========================================== */

.spotify-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(100, 60, 100, 0.1);
}

.spotify-heading {
    text-align: center;
    margin-bottom: 30px;
}

.spotify-heading span {
    color: var(--purple);
    font-weight: 600;
}

.spotify-heading h2 {
    font-family: 'Pacifico', cursive;
    color: var(--dark-pink);
    font-size: 36px;
    margin: 15px 0;
}

.spotify-heading p {
    color: #756b78;
    line-height: 1.9;
}

.spotify-player {
    overflow: hidden;
    border-radius: 16px;
    background: #121212;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.spotify-player iframe {
    display: block;
    width: 100%;
    border: none;
}

.spotify-note {
    text-align: center;
    color: #8c8290;
    font-size: 14px;
    margin-top: 22px;
    line-height: 1.8;
}

/* ==========================================
   GELİŞMİŞ MÜZİK KONTROLLERİ
   ========================================== */

#musicControls {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: calc(100vw - 30px);
    padding: 12px 15px;
    background: rgba(218, 60, 242, 0.345);
    border: 1px solid #ffe1ed;
    border-radius: 22px;
    box-shadow: 0 5px 25px rgba(100, 60, 100, 0.15);
    backdrop-filter: blur(10px);
}

#musicControls #musicButton {
    position: static;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background: #ff4f81;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
}

#musicControls #musicButton:hover {
    background: #ff336d;
    transform: scale(1.03);
}

#musicControls label {
    color: #e95691;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

#musicVolume {
    width: 90px;
    max-width: 25vw;
    accent-color: #ff4f81;
    cursor: pointer;
}

/* ==========================================
   TABLET UYUMLULUĞU
   ========================================== */

@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .flower-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lily-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   KÜÇÜK EKRANLAR
   ========================================== */

@media (max-width: 800px) {
    .song-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .song-number {
        margin: auto;
    }

    .song-reason {
        text-align: left;
    }
}

/* ==========================================
   TELEFON UYUMLULUĞU
   ========================================== */

@media (max-width: 600px) {
    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 20px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .card-container,
    .flower-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lily-image img {
        height: 350px;
    }

    .song-intro-box {
        padding: 35px 25px;
    }

    .music-message h2 {
        font-size: 28px;
    }

    .spotify-container {
        padding: 22px 15px;
        border-radius: 22px;
    }

    .spotify-heading h2 {
        font-size: 29px;
    }
}

/* ==========================================
   ÇOK KÜÇÜK TELEFONLAR
   ========================================== */

@media (max-width: 480px) {
    #musicControls {
        right: 10px;
        bottom: 10px;
        gap: 8px;
        padding: 10px;
    }

    #musicControls #musicButton {
        padding: 9px 11px;
        font-size: 12px;
    }

    #musicVolume {
        width: 65px;
    }
}

/* ==========================================
   MEKTUP SAYFASI
   Ana sayfayla aynı fontlar, animasyonsuz tasarım
   ========================================== */

.letter-page {
    --letter-pink: #e8a1b5;
    --letter-dark-pink: #bd718e;
    --letter-text: #674756;
    --letter-paper: #fffaf5;
    --letter-background: #fff5f8;

    margin: 0;
    min-height: 100vh;
    background: var(--letter-background);
    color: var(--letter-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.letter-page a {
    color: inherit;
    text-decoration: none;
}

/* Müzik düğmesi */

.letter-page #musicButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    padding: 12px 18px;
    border: 1px solid rgba(189, 113, 142, 0.25);
    border-radius: 30px;
    background: #fffafc;
    color: var(--letter-dark-pink);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(100, 55, 75, 0.12);
}

.letter-page #musicButton:hover {
    background: #fbe5ed;
}

/* Navigasyon */

.letter-page .navbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    padding: 18px 6%;
    background: rgba(255, 250, 252, 0.96);
    border-bottom: 1px solid rgba(189, 113, 142, 0.14);
    box-shadow: 0 3px 18px rgba(100, 55, 75, 0.04);
}

.letter-page .logo {
    color: var(--letter-dark-pink);
    font-family: 'Pacifico', cursive;
    font-size: 22px;
    font-weight: 400;
}

.letter-page .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.letter-page .menu a {
    padding: 7px 0;
    color: #4b4050;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.letter-page .menu a:hover,
.letter-page .menu a[aria-current="page"] {
    color: var(--letter-pink);
}

/* Sayfa başlığı */

.letter-page .page-header {
    width: min(900px, 90%);
    margin: 0 auto;
    padding: 55px 15px 20px;
    text-align: center;
}

.letter-page .letter-page-header > p:first-child {
    margin: 0 0 12px;
    color: var(--letter-dark-pink);
    font-size: 14px;
    letter-spacing: 1px;
}

.letter-page .page-header h1 {
    margin: 0;
    color: var(--letter-dark-pink);
    font-family: 'Pacifico', cursive;
    font-size: clamp(35px, 5vw, 55px);
    font-weight: 400;
    line-height: 1.4;
}

.letter-page .letter-intro {
    margin: 16px auto 0;
    color: #8c7180;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

/* Mektup alanı */

.letter-page .letter-experience {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 25px 20px 65px;
}

.letter-page .letter-static {
    position: relative;
    display: block;
    width: 100%;
    max-width: 720px;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0 auto;
    padding: 45px 55px;
    overflow: visible;
    background: var(--letter-paper);
    color: var(--letter-text);
    border: 1px solid rgba(189, 113, 142, 0.17);
    border-radius: 5px 18px 18px 18px;
    box-shadow:
        0 15px 45px rgba(104, 63, 81, 0.10),
        0 3px 8px rgba(104, 63, 81, 0.04);
    opacity: 1;
    visibility: visible;
    transform: none;
    animation: none !important;
    transition: none !important;
}

/* Mektup çiçeği */

.letter-page .letter-static .letter-flower {
    display: block;
    margin: 0 auto 28px;
    text-align: center;
    font-size: 42px;
}

/* Mektup metni: Poppins, ana sayfayla aynı */

.letter-page .letter-static p {
    margin: 0 0 19px;
    color: var(--letter-text);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    overflow-wrap: anywhere;
    white-space: normal;
    opacity: 1;
    visibility: visible;
    transform: none;
    animation: none !important;
    transition: none !important;
}

/* Vurgulu cümleler */

.letter-page .letter-static .highlight-letter {
    margin: 30px 0;
    padding: 20px 12px;
    border-top: 1px solid #f0d6df;
    border-bottom: 1px solid #f0d6df;
    color: #b96887;
    text-align: center;
    font-weight: 500;
    line-height: 2.2;
}

/* İmza */

.letter-page .letter-static .signature {
    margin: 30px 0 8px;
    color: #b96887;
    font-size: 17px;
    font-weight: 600;
}

.letter-page .letter-static .signature-name {
    margin: 5px 0 0;
    color: var(--letter-dark-pink);
    text-align: right;
    font-family: 'Pacifico', cursive;
    font-size: 23px;
    font-weight: 400;
}

/* Alt bilgi */

.letter-page footer {
    padding: 25px 20px 35px;
    border-top: 1px solid rgba(189, 113, 142, 0.13);
    text-align: center;
}

.letter-page footer p {
    margin: 0;
    color: #947b89;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.8;
}

/* Klavye ile gezinme */

.letter-page a:focus-visible,
.letter-page button:focus-visible {
    outline: 2px solid var(--letter-dark-pink);
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 900px) {
    .letter-page .navbar {
        justify-content: center;
        padding: 18px 4%;
    }

    .letter-page .menu {
        gap: 8px 15px;
    }

    .letter-page .letter-static {
        padding: 35px;
    }
}

/* Telefon */

@media (max-width: 600px) {
    .letter-page .navbar {
        gap: 12px;
        padding: 16px 14px;
    }

    .letter-page .logo {
        text-align: center;
        font-size: 21px;
    }

    .letter-page .menu {
        gap: 8px 13px;
    }

    .letter-page .menu a {
        font-size: 12px;
    }

    .letter-page .page-header {
        padding: 38px 14px 18px;
    }

    .letter-page .letter-page-header > p:first-child {
        font-size: 12px;
    }

    .letter-page .letter-intro {
        font-size: 13px;
    }

    .letter-page .letter-experience {
        padding: 20px 13px 45px;
    }

    .letter-page .letter-static {
        padding: 28px 21px;
        border-radius: 5px 14px 14px 14px;
    }

    .letter-page .letter-static .letter-flower {
        margin-bottom: 22px;
        font-size: 36px;
    }

    .letter-page .letter-static p {
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.9;
    }

    .letter-page .letter-static .highlight-letter {
        margin: 24px 0;
        padding: 17px 5px;
        line-height: 2;
    }

    .letter-page .letter-static .signature {
        margin-top: 25px;
        font-size: 15px;
    }

    .letter-page .letter-static .signature-name {
        font-size: 20px;
    }

    .letter-page #musicButton {
        right: 12px;
        bottom: 12px;
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* Hareket azaltma tercihi */

@media (prefers-reduced-motion: reduce) {
    .letter-page *,
    .letter-page *::before,
    .letter-page *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}


/* Mektup başlığı: diğer alt sayfalarla aynı boyut */
.letter-page .page-header h1 {
    color: #4b4050 !important;
    font-size: clamp(45px, 6vw, 70px) !important;
}

/* ==========================================
   TEMA VE GÖRÜNÜM PANELİ
   ========================================== */

/* Panelin kendi tasarımı */
#themePanelRoot,
#themePanelRoot * {
    box-sizing: border-box;
}

#themePanelRoot {
    font-family: Arial, sans-serif;
    color: #352d39;
}

/* Köşedeki açma düğmesi */
#themeToggle {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 10001;
    padding: 13px 18px;
    border: none;
    border-radius: 30px;
    background: #e95691;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}

#themeToggle:hover {
    filter: brightness(1.06);
}

/* Ayar penceresi */
#themePanel {
    position: fixed;
    right: 20px;
    bottom: 85px;
    z-index: 10000;
    width: min(370px, calc(100vw - 24px));
    max-height: min(78vh, 720px);
    overflow-y: auto;
    padding: 22px;
    border: 1px solid #f0dce7;
    border-radius: 20px;
    background: #fff;
    color: #352d39;
    box-shadow: 0 15px 50px rgba(40, 20, 40, 0.2);
}

#themePanel[hidden] {
    display: none !important;
}

.theme-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.theme-panel-header h2 {
    margin: 0 0 6px;
    color: #4b4050;
    font-size: 20px;
}

.theme-panel-header p,
.theme-help {
    margin: 0;
    color: #766b78;
    font-size: 12px;
    line-height: 1.6;
}

#themeClose {
    border: none;
    background: transparent;
    color: #4b4050;
    font-size: 22px;
    cursor: pointer;
}

/* Panel içindeki bölümler */
.theme-control-section {
    margin-bottom: 23px;
    padding-bottom: 19px;
    border-bottom: 1px solid #f0e6ed;
}

.theme-control-section h3 {
    margin: 0 0 13px;
    color: #4b4050;
    font-size: 15px;
}

.theme-control-section label {
    display: block;
    margin: 12px 0 7px;
    color: #55495a;
    font-size: 13px;
}

.theme-control-section input,
.theme-control-section select {
    max-width: 100%;
    font-family: Arial, sans-serif;
}

.theme-control-section select,
#themeImageUrl {
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
    border: 1px solid #e5d9e3;
    border-radius: 9px;
    background: #fff;
    color: #352d39;
    font-size: 13px;
}

.theme-control-section input[type="color"] {
    width: 43px;
    height: 34px;
    padding: 2px;
    border: 1px solid #e5d9e3;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.theme-control-section input[type="range"] {
    width: 100%;
    accent-color: #e95691;
    cursor: pointer;
}

.theme-color-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Hazır tema düğmeleri */
.theme-presets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.theme-presets button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 10px 4px;
    border: 1px solid #eee2eb;
    border-radius: 11px;
    background: #fff;
    color: #4b4050;
    font-size: 11px;
    cursor: pointer;
}

.theme-presets button:hover {
    border-color: #e95691;
}

.theme-swatch {
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
}

.swatch-default { background: linear-gradient(135deg, #fff8fb, #ff7eb6); }
.swatch-romantic { background: linear-gradient(135deg, #fff0f7, #e95691); }
.swatch-lavender { background: linear-gradient(135deg, #f7f2ff, #9b7ede); }
.swatch-ocean { background: linear-gradient(135deg, #e9fbff, #168da5); }
.swatch-night { background: linear-gradient(135deg, #29243e, #7762a8); }
.swatch-nature { background: linear-gradient(135deg, #f0fff1, #47865a); }

/* Panel düğmeleri */
.theme-secondary-button {
    width: 100%;
    margin-top: 9px;
    padding: 10px;
    border: 1px solid #e8dbe6;
    border-radius: 9px;
    background: #fff7fb;
    color: #4b4050;
    font-size: 12px;
    cursor: pointer;
}

.theme-panel-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.theme-panel-actions button {
    min-height: 42px;
    padding: 9px;
    border: none;
    border-radius: 10px;
    background: #e95691;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.theme-panel-actions #themeReset {
    background: #eee7f5;
    color: #4b4050;
}

#themeStatus {
    min-height: 18px;
    margin: 12px 0 0;
    color: #4b8058;
    font-size: 12px;
    line-height: 1.5;
}

/* ==========================================
   KULLANICININ SEÇTİĞİ SİTE TEMASI
   Bu kurallar yalnızca özel tema etkinleşince çalışır.
   ========================================== */

body.theme-customized {
    background-color: var(--user-theme-bg, #fff8fb) !important;
    background-image: var(--user-theme-image, none) !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    color: var(--user-theme-text, #4b4050) !important;
    font-family: var(--user-theme-font, 'Poppins', sans-serif) !important;
    font-size: var(--user-theme-size, 16px) !important;
}

/* Başlıklar ve vurgulu renkler */
body.theme-customized h1,
body.theme-customized h2,
body.theme-customized h3,
body.theme-customized .logo,
body.theme-customized .page-header p,
body.theme-customized .small-title,
body.theme-customized .section-title p,
body.theme-customized .section-title h2,
body.theme-customized .lily-text h2,
body.theme-customized .you-are-flower h2,
body.theme-customized .letter-page-header > p:first-child,
body.theme-customized .letter-page .page-header h1,
body.theme-customized .letter-page .letter-static .highlight-letter,
body.theme-customized .letter-page .letter-static .signature,
body.theme-customized .letter-page .letter-static .signature-name {
    color: var(--user-theme-accent, #e95691) !important;
}

/* Kartlar ve mektup kâğıdı */
body.theme-customized .intro-card,
body.theme-customized .love-card,
body.theme-customized .timeline-content,
body.theme-customized .flower-card,
body.theme-customized .photo-card,
body.theme-customized .song-intro-box,
body.theme-customized .song-card,
body.theme-customized .special-text,
body.theme-customized .spotify-container,
body.theme-customized .letter-page .letter-static {
    background-color: var(--user-theme-card, #ffffff) !important;
}

/* Genel metin rengi */
body.theme-customized p,
body.theme-customized .menu a,
body.theme-customized .timeline-content p,
body.theme-customized .flower-card p,
body.theme-customized .photo-text p,
body.theme-customized .song-reason p,
body.theme-customized .letter-page .letter-static p {
    color: var(--user-theme-text, #4b4050);
}

/* Butonlar */
body.theme-customized .main-button,
body.theme-customized #musicButton,
body.theme-customized .song-button {
    background: var(--user-theme-accent, #e95691) !important;
    color: #fff !important;
}

/* Yazı boyutunu genel metinlere uygula.
   Başlıkların kendi boyutları korunur. */
body.theme-customized p,
body.theme-customized .menu a,
body.theme-customized .love-card p,
body.theme-customized .flower-card p,
body.theme-customized .timeline-content p,
body.theme-customized .photo-text p,
body.theme-customized .song-reason p,
body.theme-customized .letter-page .letter-static p {
    font-size: var(--user-theme-size, 16px) !important;
}

/* Panelin kendi yazıları site temasından etkilenmesin */
#themePanel,
#themePanel * {
    font-family: Arial, sans-serif !important;
}

/* Görünüm ayarları düğmesini sol alt köşeye taşı */
#themeToggle {
    position: fixed;
    left: 20px;
    bottom: 20px;
    right: auto;
    top: auto;
    z-index: 10000;
}

/* Panelin de sol taraftaki düğmeye göre açılması */
#themePanel {
    position: fixed;
    left: 20px;
    right: auto;
    bottom: 80px;
    top: auto;
    z-index: 10001;
}

/* Tema ayarları menü ve alt bilgi bölümüne de uygulansın */
body.theme-customized .navbar {
    background-color: var(--user-theme-card) !important;
    color: var(--user-theme-text) !important;
}

body.theme-customized .navbar a,
body.theme-customized .navbar .logo {
    color: var(--user-theme-text) !important;
}

body.theme-customized footer {
    background-color: var(--user-theme-card) !important;
    color: var(--user-theme-text) !important;
}

body.theme-customized footer p,
body.theme-customized footer span {
    color: var(--user-theme-text) !important;
}

/* Menü bağlantılarının üzerine gelindiğinde vurgu rengi */
body.theme-customized .navbar a:hover {
    color: var(--user-theme-accent) !important;
}

/* Tema renklerini mektup sayfasına da uygula */
body.letter-page.theme-customized {
    background-color: var(--user-theme-bg) !important;
    color: var(--user-theme-text) !important;
}

/* Mektup kartının arka planı ve yazıları */
body.letter-page.theme-customized .letter,
body.letter-page.theme-customized .letter-content {
    background-color: var(--user-theme-card) !important;
    color: var(--user-theme-text) !important;
}

/* Mektubun içindeki paragraflar */
body.letter-page.theme-customized .letter p {
    color: var(--user-theme-text) !important;
}

/* Vurgulanan yazı */
body.letter-page.theme-customized .highlight-letter {
    color: var(--user-theme-accent) !important;
}

/* Mektup başlığı */
body.letter-page.theme-customized .letter-page-header {
    color: var(--user-theme-text) !important;
}

body.letter-page.theme-customized .letter-page-header h1 {
    color: var(--user-theme-accent) !important;
}


/* ==========================================
   TEMA PANELİ - SABİT KONUM VE GÖRÜNÜM
   ========================================== */

/* Sol alt köşedeki tema düğmesi */
#themeToggle {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    right: auto !important;
    top: auto !important;

    z-index: 10002 !important;
    cursor: pointer;
}

/* Tema ayar paneli */
#themePanel {
    position: fixed !important;
    left: 20px !important;
    bottom: 80px !important;
    right: auto !important;
    top: auto !important;

    width: min(350px, calc(100vw - 40px));
    max-height: calc(100vh - 120px);
    overflow-y: auto;

    z-index: 10001 !important;
    box-sizing: border-box;
}

/* Panel gizliyken kesinlikle görünmesin */
#themePanel[hidden] {
    display: none !important;
}

/* Mobil ekranlar */
@media (max-width: 480px) {
    #themeToggle {
        left: 12px !important;
        bottom: 12px !important;
    }

    #themePanel {
        left: 12px !important;
        bottom: 68px !important;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 95px);
    }
}
