/* Musiki Nota - Ana stiller
   ═══════════════════════════════════════════════════════════════
   SİTE GENEL RENKLERİ – Tüm renkleri buradan değiştirebilirsiniz.
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Arka plan & kartlar – hafif kırmızı ton */
    --bg: #fef2f2;              /* Sayfa arka planı (kırmızı-50) */
    --card: #ffffff;             /* Kart, kutu, form arka planı */

    /* Ana marka rengi – kırmızı (butonlar, linkler, vurgular) */
    --primary: #b91c1c;         /* Kırmızı-700 */
    --primary-dark: #991b1b;    /* Buton hover, koyu alanlar (kırmızı-800) */

    /* İkincil vurgu – kırmızı tonları */
    --accent: #dc2626;          /* Kırmızı-600 */
    --accent-light: #f87171;    /* Kırmızı-400 */

    /* Metin */
    --text: #1f2937;            /* Ana metin rengi */
    --text-muted: #6b7280;      /* Açıklama, ikincil metin */

    /* Çizgiler & gölgeler */
    --border: #fecaca;          /* Açık kırmızı çizgi */
    --hero-overlay: rgba(127, 29, 29, 0.75);  /* Koyu kırmızı karartma */
    --shadow: 0 2px 12px rgba(185, 28, 28, 0.1);
    --shadow-lg: 0 8px 28px rgba(185, 28, 28, 0.15);

    /* Navbar (üst menü) – koyu kırmızı */
    --nav-bg: #7f1d1d;          /* Navbar arka planı (kırmızı-900) */
    --nav-bg-subtle: #991b1b;   /* Menü link hover (kırmızı-800) */
    --nav-text: rgba(255, 255, 255, 0.95);
    --nav-text-hover: #fff;

    /* Boyut & tipografi */
    --radius: 10px;
    --radius-sm: 6px;
    --nav-height: 80px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ═══ Varsayılan: Kırmızı tema. İsterseniz aşağıdaki bloklardan birini :root içine yapıştırarak tema değiştirebilirsiniz ═══

  Yeşil tema:
  --bg: #f4f9f5; --card: #fff; --primary: #2d6a4f; --primary-dark: #1b4332;
  --accent: #40916c; --accent-light: #74c69d; --text: #1b263b; --text-muted: #5c677d;
  --border: #d8e2dc; --nav-bg: #1b4332; --nav-bg-subtle: #2d6a4f;

  Sıcak / turuncu tema:
  --bg: #fff8f0; --card: #fff; --primary: #c2410c; --primary-dark: #9a3412;
  --accent: #ea580c; --accent-light: #fb923c; --text: #292524; --text-muted: #78716c;
  --border: #e7e5e4; --nav-bg: #7c2d12; --nav-bg-subtle: #9a3412;

  Mor / lavanta tema:
  --bg: #faf5ff; --card: #fff; --primary: #6b21a8; --primary-dark: #4c1d95;
  --accent: #7c3aed; --accent-light: #a78bfa; --text: #1e1b4b; --text-muted: #6b7280;
  --border: #e9d5ff; --nav-bg: #4c1d95; --nav-bg-subtle: #6b21a8;

═══════════════════════════════════════════════════════════════ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.dark-mode {
    --bg: #1a1d24;
    --card: #252830;
    --text: #e8eaed;
    --text-muted: #9aa0a6;
    --border: #3c4043;
    --shadow: 0 2px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 28px rgba(0,0,0,0.4);
    /* primary / nav-bg kırmızı kalır */
}

/* —— Header / Navbar (renkler :root içinde --nav-bg, --nav-text) —— */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--nav-bg);
    box-shadow: var(--shadow);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--nav-text-hover) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-logo-text {
    color: inherit;
    font-weight: inherit;
}

.nav-logo-img {
    max-height: 5rem;
    height: auto;
    width: auto;
    display: block;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--nav-text);
    text-decoration: none;
    padding: 0.55rem 0.75rem 0.45rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
}

.nav-menu a:hover {
    background: var(--nav-bg-subtle);
    color: var(--nav-text-hover);
}

.nav-paket { font-size: 0.9rem; }

/* Navbar: profil fotoğrafı + hover dropdown (Profil Düzenleme, Hesap, Çıkış) */
.nav-profil-li { display: flex; align-items: center; }
.nav-profil-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-profil-pp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-profil-pp:hover { border-color: #fff; box-shadow: 0 0 0 2px var(--primary-dark); }
.nav-profil-pp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-profil-pp-placeholder { font-size: 1.1rem; font-weight: 700; color: #fff; }
.nav-profil-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 220px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 1100;
    overflow: hidden;
    padding: 0.35rem 0;
}
.nav-profil-wrap:hover .nav-profil-dropdown,
.nav-profil-wrap.nav-profil-dropdown--acik .nav-profil-dropdown { display: block; }
.nav-profil-dropdown .nav-dropdown-item {
    display: block;
    padding: 0.65rem 1.1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}
.nav-profil-dropdown a.nav-dropdown-item:hover,
.nav-profil-dropdown .nav-dropdown-item:hover { background: var(--bg); color: var(--primary); }
.nav-profil-dropdown .nav-dropdown-dark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1.1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
    font-family: inherit;
    text-align: left;
    transition: background 0.2s;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
}
.nav-profil-dropdown .nav-dropdown-dark:hover { background: var(--bg); }
.nav-profil-dropdown .nav-dark-icon { font-size: 1.1rem; }
.nav-profil-dropdown .nav-dropdown-dark .nav-dark-sun { display: none; }
.nav-profil-dropdown .nav-dropdown-dark .nav-dark-moon { display: inline; }
.nav-profil-dropdown .nav-dropdown-dark.is-dark .nav-dark-sun { display: inline; }
.nav-profil-dropdown .nav-dropdown-dark.is-dark .nav-dark-moon { display: none; }
.nav-profil-dropdown .nav-dropdown-logout { border-top: 1px solid var(--border); margin-top: 0.25rem; padding-top: 0.65rem; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* —— Navbar arama: buton + sağa açılan kutu + dropdown —— */
.nav-search-li { display: flex; align-items: center; }
.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    overflow: visible;
}
.nav-search-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.nav-search-btn:hover { background: rgba(255,255,255,0.2); }
.nav-search-ikon { font-size: 1rem; line-height: 1; opacity: 0.95; }
.nav-search-form { display: flex; align-items: stretch; }
.nav-search-inp {
    width: 0;
    max-width: 0;
    height: 36px;
    padding: 0;
    margin: 0;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
    transition: width 0.25s, max-width 0.25s, padding 0.25s;
    outline: none;
    box-sizing: border-box;
}
.nav-search-inp::placeholder { color: rgba(255,255,255,0.65); }
.nav-search.open .nav-search-btn { border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.nav-search.open .nav-search-inp {
    width: 200px;
    max-width: 200px;
    padding: 0 0.6rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-left: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Arama dropdown */
.nav-search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    min-width: 300px;
    max-width: 360px;
    max-height: 380px;
    overflow-y: auto;
    background: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 1100;
}
.nav-search-dropdown.nav-search-dropdown--acik { display: block; }
.nav-search-dropdown-filtre {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.nav-search-dropdown-filtre button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.nav-search-dropdown-filtre button:hover { border-color: var(--primary); }
.nav-search-dropdown-filtre button.aktif { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-search-dropdown-bolum { padding: 0.5rem 0.6rem; }
.nav-search-dropdown-bolum h4 { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 0.35rem; font-weight: 600; }
.nav-search-dropdown-bolum ul { list-style: none; padding: 0; margin: 0; }
.nav-search-dropdown-bolum li { padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.nav-search-dropdown-bolum li:last-child { border-bottom: none; }
.nav-search-dropdown-bolum a { color: var(--primary); text-decoration: none; font-size: 0.9rem; }
.nav-search-dropdown-bolum a:hover { text-decoration: underline; }
.nav-search-dropdown-meta { font-size: 0.8rem; color: var(--text-muted); }
.nav-search-dropdown-tumunu { display: block; padding: 0.5rem 0.6rem; text-align: center; font-size: 0.9rem; border-top: 1px solid var(--border); background: var(--bg); color: var(--primary); text-decoration: none; }
.nav-search-dropdown-tumunu:hover { text-decoration: underline; }
.nav-search-dropdown-bos, .nav-search-dropdown-yukleniyor { padding: 1rem 0.6rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-menu a { padding: 0.75rem 1rem; }
}

/* —— Main —— */
.main-content {
    flex: 1;
    padding-top: var(--nav-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* —— Hero / Hit parçalar —— */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1a2a3e 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2rem 0;
}

/* Hit: 3 kart yan yana, büyük görsel; 3+ ise sonsuz kaydırma, tam genişlik kenarlarda kesilir */
.hit-slider {
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.hit-track {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
    width: max-content;
}

.hit-slider:not(.hit-slider--loop) .hit-track {
    justify-content: center;
    width: 100%;
}

.hit-slider--loop .hit-track {
    animation: hitMarquee 55s linear infinite;
    will-change: transform;
}

.hit-slider--loop:hover .hit-track {
    animation-play-state: paused;
}

@keyframes hitMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hit-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0 1.5rem;
    text-align: center;
}

.hit-kart {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 340px;
    min-width: 340px;
    max-width: 340px;
    padding: 1rem;
    background: transparent;
    border-radius: var(--radius);
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    scroll-snap-align: start;
    box-shadow: 0 0 28px rgba(255,255,255,0.18);
}

.hit-kart:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(255,255,255,0.28), 0 12px 32px rgba(0,0,0,0.15);
}

.hit-gorsel {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    background: transparent;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.hit-baslik {
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
}

.hit-sanatci {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hit-empty {
    color: rgba(255,255,255,0.8);
    padding: 1.5rem 2rem;
    background: rgba(0,0,0,0.15);
    border-radius: var(--radius);
}

@media (max-width: 1100px) {
    .hit-kart { flex: 0 0 280px; min-width: 280px; max-width: 280px; }
    .hit-gorsel { width: 180px; height: 180px; }
}

/* Hit section compact (küçültülmüş) */
.hero-compact {
    min-height: 280px;
}

.hero-compact .hero-inner {
    padding: 1.5rem 0;
}

.hit-kart-compact {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    padding: 0.75rem;
    background: transparent;
    box-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.hit-kart-compact:hover {
    box-shadow: 0 0 32px rgba(255,255,255,0.25);
}

.hit-gorsel-compact {
    width: 140px;
    height: 140px;
    margin-bottom: 0.5rem;
    background: transparent;
}

.hit-kart-compact .hit-baslik {
    font-size: 0.95rem;
}

.hit-kart-compact .hit-sanatci {
    font-size: 0.85rem;
}

@media (max-width: 1100px) {
    .hit-kart-compact { flex: 0 0 160px; min-width: 160px; max-width: 160px; }
    .hit-gorsel-compact { width: 120px; height: 120px; }
}

/* Bütün Notalar Section */
.butun-notalar-section {
    background: var(--card);
    border-top: 1px solid var(--border);
}

.butun-notalar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.siralama-dropdown-wrapper {
    position: relative;
    flex-shrink: 0;
}

.siralama-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 180px;
    background: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 100;
    overflow: hidden;
}

.siralama-option {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, color 0.2s;
}

.siralama-option:last-child {
    border-bottom: none;
}

.siralama-option:hover {
    background: var(--bg);
    color: var(--primary);
}

.siralama-option.active {
    background: rgba(61, 90, 128, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.siralama-icon {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    display: inline-block;
    transition: transform 0.2s;
}

#siralama-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .butun-notalar-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .siralama-dropdown-wrapper {
        width: 100%;
    }
    
    .siralama-dropdown {
        right: auto;
        left: 0;
        width: 100%;
    }
}

/* Ana sayfada Bütün Notalar: en fazla 2 satır */
.butun-notalar-section:not(.butun-notalar-tum) .butun-notalar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.butun-notalar-section.butun-notalar-tum .butun-notalar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

@media (max-width: 900px) {
    .butun-notalar-section:not(.butun-notalar-tum) .butun-notalar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .butun-notalar-section.butun-notalar-tum .butun-notalar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.butun-nota-kart {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
}

.butun-nota-kart:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.butun-nota-gorsel {
    width: 100%;
    height: 180px;
    background: rgba(255,255,255,0.1);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.butun-nota-body {
    padding: 0.75rem;
}

.butun-nota-baslik {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
    line-height: 1.3;
}

.butun-nota-sanatci {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .butun-nota-gorsel {
        height: 140px;
    }
    .butun-notalar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* —— Bölümler —— */
.section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.alan-section .section-title {
    text-align: center;
}
.alan-kart {
    text-align: center;
}

.section-empty {
    color: var(--text-muted);
}

.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: normal; }
.form-check input[type="checkbox"] { width: auto; }

/* —— Profil: sol paketler, sağ düzenleme —— */
.profil-section h1 { margin-bottom: 1rem; }
.profil-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 640px) { .profil-layout { grid-template-columns: 1fr; } }
.profil-sol { position: sticky; top: calc(var(--nav-height) + 1rem); }
.profil-paket-baslik { font-size: 1.1rem; margin-bottom: 1rem; color: var(--primary); }
.profil-paketler { display: flex; flex-direction: column; gap: 0.75rem; }
.profil-paket-kart {
    display: block;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.profil-paket-kart:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.profil-paket-ad { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.profil-paket-acik { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.profil-sag h2 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--primary); }
.profil-form { max-width: 420px; }

/* —— Paketler sayfası —— */
.paketler-section h1 { margin-bottom: 0.5rem; }
.paketler-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 520px; margin-top: 1rem; }
.paket-kart {
    display: block;
    padding: 1.5rem;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.paket-kart:hover { border-color: var(--primary); }
.paket-kart--secili { border-color: var(--primary); background: rgba(61,90,128,0.05); }
.paket-kart h2 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--primary); }
.paket-fiyat { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0; }
.paket-eski-fiyat { font-size: 0.95rem; color: var(--text-muted); text-decoration: line-through; margin: 0 0 0.25rem; }
.paket-acik { font-size: 0.9rem; color: var(--text-muted); margin: 0.5rem 0 1rem; }
.paket-kart .btn { margin-top: 0.5rem; }
@media (max-width: 480px) { .paketler-grid { grid-template-columns: 1fr; } }

/* —— Notalar grid —— */
.notalar-section {
    background: var(--card);
    box-shadow: var(--shadow);
}

.notalar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.nota-kart {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}

.nota-kart:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.nota-gorsel {
    height: 140px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
    background-size: cover;
    background-position: center;
}

.nota-body {
    padding: 1rem;
}

.nota-body h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.nota-sanatci {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* —— Sağa sola kaydırılabilir alanlar —— */
.alan-section {
    padding-top: 1.5rem;
}

.alan-kaydir {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

.alan-kaydir::-webkit-scrollbar {
    height: 6px;
}

.alan-kaydir::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 3px;
}

.alan-kaydir::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.alan-track {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    padding: 0.25rem 0;
}

.alan-kart {
    flex: 0 0 200px;
    padding: 1rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.alan-kart:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.alan-kart-baslik {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.alan-kart-acik {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.alan-empty {
    color: var(--text-muted);
    padding: 1rem 1.5rem;
}

/* —— Butonlar —— */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
}

.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.85rem; }
.btn-block { width: 100%; text-align: center; }

/* —— Auth (giriş/kayıt) —— */
.auth-section {
    padding: 3rem 1rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.auth-box h1 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.auth-form input,
.auth-form textarea,
.auth-form select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
}

.auth-form textarea { min-height: 80px; resize: vertical; }

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.15);
}

.auth-form .btn { margin-top: 0.5rem; }

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-link a { color: var(--primary); }

/* —— Footer —— */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.95);
}

.footer-col p,
.footer-col ul {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-tags li {
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* SSS sayfası */
.sss-listesi { margin-top: 1.5rem; }
.sss-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}
.sss-item:last-child { border-bottom: none; }
.sss-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--primary); }
.sss-item p { margin: 0; font-size: 0.95rem; color: var(--text); line-height: 1.6; }

/* —— Admin —— */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.admin-kart {
    display: block;
    padding: 1.5rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    border: 2px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-kart:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.admin-kart-icon {
    font-size: 2rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-kart h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.admin-kart p { font-size: 0.9rem; color: var(--text-muted); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.admin-table tr:hover td { background: rgba(61,90,128,0.04); }

.admin-table .btn { margin-right: 0.25rem; }
.admin-table .btn-small { padding: 0.25rem 0.5rem; font-size: 0.8rem; }

.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.form-inline { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: flex-end; }
.form-inline .form-group { margin-bottom: 0; }
.form-inline .btn { flex-shrink: 0; }

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: var(--bg);
    color: var(--text);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body .form-group {
    margin-bottom: 1.25rem;
}

.modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.modal-body select,
.modal-body input[type="text"],
.modal-body input[type="file"] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
}

.modal-body select:focus,
.modal-body input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.15);
}

/* —— Görsel önizleme (seçilen dosya) —— */
.gorsel-onizle {
    margin-top: 0.5rem;
    min-height: 0;
    overflow: hidden;
}
.gorsel-onizle--goster { margin-top: 0.75rem; }
.gorsel-onizle-img {
    display: block;
    max-width: 200px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.gorsel-mevcut { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }
.gorsel-mevcut img { vertical-align: middle; margin-left: 0.25rem; }

/* —— Nota yükleme: kartlar yan yana, + ile ekleme, overlay kalem/çöp —— */
.nota-yukleme-alani { margin-top: 0.5rem; }
.nota-kartlar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.nota-kart {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
}
.nota-kart-inp { position: absolute; width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; }
.nota-kart-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}
.nota-kart-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.nota-kart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.nota-kart:hover .nota-kart-overlay { opacity: 1; }
.nota-kart-overlay .nota-pencil,
.nota-kart-overlay .nota-trash {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--card);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nota-kart-overlay .nota-pencil:hover { background: var(--primary); color: #fff; }
.nota-kart-overlay .nota-trash:hover { background: #b91c1c; color: #fff; }

.nota-arti {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text-muted);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nota-arti:hover { border-color: var(--primary); color: var(--primary); }

/* Yüklü notalar: overlay kalem/çöp */
.notalar-grid.nota-kutulari { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.nota-kutulari .nota-kutu { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.nota-kutu .nota-kutu-link { position: relative; display: block; }
.nota-kutu .nota-kutu-link img { width: 100%; height: auto; display: block; }
.nota-kutu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.nota-kutu-link:hover .nota-kutu-overlay { opacity: 1; }
.nota-kutu-overlay .nota-pencil,
.nota-kutu-overlay .nota-trash {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--card);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nota-kutu-overlay .nota-pencil:hover { background: var(--primary); color: #fff; }
.nota-kutu-overlay .nota-trash:hover { background: #b91c1c; color: #fff; }

/* SweetAlert modal: silme onayı */
.swal-nota-img { max-width: 200px; max-height: 200px; object-fit: contain; margin: 0 auto 1rem; display: block; border-radius: var(--radius-sm); }
.swal-nota-soru { margin: 0; font-size: 1rem; }

/* —— Detay sayfası (parça / alan içeriği) —— */
.detay-section { padding: 2rem 0; }
.detay-container { max-width: 900px; }

.detay-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.detay-breadcrumb a { color: var(--primary); text-decoration: none; }
.detay-breadcrumb a:hover { text-decoration: underline; }
.detay-alan a { color: var(--text-muted); text-decoration: none; }
.detay-alan a:hover { color: var(--primary); text-decoration: underline; }

.detay-header { margin-bottom: 1.5rem; }
.detay-baslik { font-size: 1.75rem; margin-bottom: 0.25rem; color: var(--primary); }
.detay-alan { font-size: 0.95rem; color: var(--text-muted); }

.detay-youtube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}
.detay-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.detay-header.detay-sanatci { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.detay-pp-link { display: block; flex-shrink: 0; text-decoration: none; }
.detay-pp { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; transition: opacity 0.2s; }
.detay-pp-link:hover .detay-pp { opacity: 0.9; }
.detay-notalar { margin-bottom: 1.5rem; }
.detay-notalar h2 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--primary); }
.detay-notalar-grid { display: grid; gap: 1rem; }
.detay-notalar-grid.detay-notalar-2li { grid-template-columns: repeat(2, 1fr); }
.detay-nota-link { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s; }
.detay-nota-link:hover { box-shadow: var(--shadow-lg); }
.detay-nota-link img { width: 100%; height: auto; display: block; }
.detay-nota-uyari {
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.detay-nota-uyari p { margin: 0 0 0.75rem; }
.detay-nota-uyari p:last-child { margin-bottom: 0; }
.detay-nota-uyari .btn { margin-right: 0.5rem; margin-top: 0.25rem; }

.detay-youtube { margin-top: 0; }

/* —— Sanatçı sayfası: yuvarlak pp, Albüm Parçaları —— */
.sanatci-section { padding: 2rem 0; }
.sanatci-container { max-width: 700px; }
.sanatci-header { text-align: center; margin-bottom: 2rem; }
.sanatci-pp-wrap { margin-bottom: 1rem; }
.sanatci-pp {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 4px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.sanatci-baslik { font-size: 1.75rem; color: var(--primary); margin: 0; }
.sanatci-parcalar h2 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary); }
.sanatci-parca-listesi { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.sanatci-parca-listesi a { color: var(--text); text-decoration: none; padding: 0.6rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: background 0.2s, border-color 0.2s; }
.sanatci-parca-listesi a:hover { background: var(--bg); border-color: var(--primary); color: var(--primary); }

/* —— Sanatçılar listesi (ana sayfa) —— */
.section-desc { color: var(--text-muted); margin-bottom: 1.5rem; }
.sanatci-liste-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.25rem; }
.sanatci-liste-kart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background: var(--card);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sanatci-liste-kart:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.sanatci-liste-pp {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
}
.sanatci-liste-pp-bos { background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-muted); }
.sanatci-liste-ad { font-weight: 600; margin-bottom: 0.25rem; }
.sanatci-liste-adet { font-size: 0.85rem; color: var(--text-muted); }

/* —— Arama sayfası —— */
.arama-section h1 { margin-bottom: 1rem; }
.arama-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; max-width: 480px; }
.arama-inp { flex: 1; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; }
.arama-inp:focus { outline: none; border-color: var(--primary); }
.arama-filtreler { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.arama-filtre-lbl { font-size: 0.9rem; color: var(--text-muted); }
.arama-sira-lbl { margin-left: 1rem; }
.arama-filtre-link {
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: background 0.2s, border-color 0.2s;
}
.arama-filtre-link:hover, .arama-filtre-link.aktif { background: var(--primary); color: #fff; border-color: var(--primary); }
.arama-sonuç-listesi { list-style: none; padding: 0; margin: 0 0 2rem 0; }
.arama-sonuç-listesi li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.arama-sonuç-listesi a { color: var(--primary); text-decoration: none; }
.arama-sonuç-listesi a:hover { text-decoration: underline; }
.arama-meta { font-size: 0.9rem; color: var(--text-muted); }
.arama-section h2 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; color: var(--primary); }

.alan-kart-kapak { height: 72px; background-size: cover; background-position: center; margin: -1rem -1rem 0.5rem -1rem; border-radius: var(--radius) var(--radius) 0 0; }
