/*
Theme Name: Cep Müzikleri 2027 SEO Tema
Theme URI: https://cepmuzikleri.net
Author: CepMuzikleri Ekibi
Description: 2027 SEO uyumlu, JSON-LD Schema destekli, kusursuz H1-H4 hiyerarşisine sahip profesyonel müzik ve şarkı sözleri teması.
Version: 2.1
Text Domain: cepmuzikleri
*/

:root {
  --bg-body: #e9ecf1;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --primary-blue: #1e22aa;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --badge-green: #16a34a;
  --badge-red: #dc2626;
  --radius-card: 12px;
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; font-size: 15px; }
a { text-decoration: none; color: inherit; }

.site-header { background: linear-gradient(90deg, #1b1fa8 0%, #3d4099 45%, #c58f36 80%, #e5a324 100%); color: #fff; padding: 14px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-logo { font-size: 22px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 6px; }
.brand-logo span { font-size: 11px; background: rgba(255,255,255,0.2); padding: 2px 6px; border-radius: 4px; }
.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.92); }
.main-nav a:hover { text-decoration: underline; }

.search-form { display: flex; align-items: center; background: #fff; border-radius: 6px; overflow: hidden; min-width: 260px; }
.search-form input { border: none; outline: none; padding: 8px 12px; font-size: 13px; flex: 1; }
.search-form button { background: #1b1fa8; color: #fff; border: none; padding: 8px 14px; cursor: pointer; font-weight: 600; }

.card-box { background: var(--bg-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 22px; margin-top: 22px; border: 1px solid rgba(226, 232, 240, 0.8); }
.section-title { font-size: 18px; font-weight: 700; color: var(--primary-blue); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border-color); }

.two-col-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; list-style: none; }
.song-list-item { border-bottom: 1px solid #f1f5f9; }
.song-list-item a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; font-size: 14px; color: #334155; font-weight: 500; }
.song-list-item a:hover { color: var(--primary-blue); padding-left: 6px; }
.play-triangle { color: #94a3b8; font-size: 11px; }

.cover-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cover-card { border-radius: 10px; overflow: hidden; background: #0f172a; position: relative; aspect-ratio: 16 / 10; display: block; }
.cover-card img { width: 100%; height: 100%; object-fit: cover; }
.cover-card-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: #fff; padding: 20px 10px 8px; font-size: 13px; font-weight: 600; }

.split-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }
.split-grid-2 .card-box { margin-top: 0; }
.single-col-list { list-style: none; }

.latest-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.latest-item { display: flex; gap: 14px; align-items: flex-start; }
.latest-thumb { width: 165px; height: 105px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #1e293b; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-info h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #0f172a; margin-bottom: 4px; }
.latest-info p { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

.seo-intro-box h1, .seo-intro-box h2 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.seo-intro-box p { font-size: 13.5px; color: #475569; margin-bottom: 10px; }
.seo-sub-headings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-color); }
.seo-sub-headings h3 { font-size: 14px; color: var(--primary-blue); margin-bottom: 4px; }
.seo-sub-headings h4 { font-size: 12.5px; font-weight: 400; color: var(--text-muted); }

.breadcrumb { background: #e2e8f0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 6px; font-size: 12.5px; color: #475569; margin-top: 18px; }
.single-layout { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; }
.song-hero { display: grid; grid-template-columns: 270px 1fr; gap: 20px; margin-bottom: 18px; }
.song-cover-wrap img { width: 100%; border-radius: 8px; display: block; }
.share-buttons { display: flex; gap: 8px; margin-top: 10px; }
.share-btn { width: 34px; height: 34px; border: 1px solid var(--border-color); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: #fff; }
.share-btn.fb { color: #1877f2; } .share-btn.tw { color: #0ea5e9; } .share-btn.wa { color: #16a34a; }

.meta-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.meta-table tr { border-bottom: 1px solid #f1f5f9; }
.meta-table td { padding: 8px 6px; vertical-align: top; }
.meta-table td:first-child { width: 125px; color: #475569; font-weight: 600; }
.song-name-highlight { color: #dc2626; font-weight: 700; }
.badge-quality { background: var(--badge-green); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.badge-views { background: var(--badge-red); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.tag-cloud { font-size: 11.5px; color: var(--text-muted); }
.cta-lyrics-btn { display: block; width: 100%; text-align: center; padding: 11px; border: 1px solid #cbd5e1; border-radius: 25px; color: var(--primary-blue); font-weight: 700; font-size: 14px; margin: 16px 0 22px; background: #f8fafc; }

.lyrics-article h2 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.lyrics-article p { font-size: 14px; color: #334155; margin-bottom: 14px; }
.lyrics-main-heading { font-size: 24px; font-weight: 700; color: #0f172a; margin: 20px 0 12px; }
.lyrics-verse-title { font-size: 15px; font-weight: 700; color: var(--primary-blue); margin: 14px 0 6px; }
.lyrics-text { font-size: 14.5px; line-height: 1.8; color: #1e293b; margin-bottom: 16px; }

.reaction-row { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); margin-bottom: 16px; }
.reaction-btn { background: #fff; border: 1px solid #cbd5e1; border-radius: 20px; padding: 7px 16px; font-size: 13px; font-weight: 600; cursor: pointer; color: #334155; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 10px; }
.submit-btn { background: #1b1fa8; color: #fff; border: none; border-radius: 6px; padding: 9px 20px; font-size: 13.5px; font-weight: 600; cursor: pointer; }

.sidebar-hit-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.sidebar-hit-icon { width: 52px; height: 52px; border-radius: 8px; background: #2e44b8; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.sidebar-hit-title { font-size: 13px; font-weight: 700; color: #0f172a; }

.site-footer { margin-top: 34px; padding: 24px 0 36px; border-top: 1px solid #cbd5e1; font-size: 12.5px; color: #64748b; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

@media (max-width: 900px) {
  .single-layout, .split-grid-2, .latest-grid-2, .seo-sub-headings { grid-template-columns: 1fr; }
  .cover-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .song-hero { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* Genel Düzenler Tek Sütun */
  .single-layout, 
  .split-grid-2, 
  .latest-grid-2, 
  .seo-sub-headings,
  .two-col-list {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* Mobil Hamburger Menü */
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 10px;
  }
  .main-nav.active {
    display: flex;
  }
  .header-inner {
    flex-wrap: wrap;
  }

  /* Mobilde Arama Çubuğu Tam Genişlik */
  .search-form {
    width: 100%;
    margin-top: 8px;
    min-width: 100%;
  }

  /* Mobilde Yeni Şarkılar 4'lü Grid yerine 2'li veya Alt Alta Şık Kartlar */
  .cover-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cover-card {
    aspect-ratio: 16 / 11;
  }

  /* Mobilde Son Eklenen Müzikler (Yatay Kartlar) */
  .latest-item {
    flex-direction: column;
    gap: 10px;
  }
  .latest-thumb {
    width: 100%;
    height: 140px;
  }
  
  /* İç Sayfa (Single) Hero Alanı Mobilde Alt Alta */
  .song-hero {
    grid-template-columns: 1fr;
  }
  .song-cover-wrap img, .song-cover-placeholder {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* Küçük Telefonlar İçin (Örn: 480px altı) */
@media (max-width: 480px) {
  .cover-grid-4 {
    grid-template-columns: 1fr;
  }
  .card-box {
    padding: 14px;
    margin-top: 14px;
  }
}