/* ══════════════════════════════════════════════
   TÜMFED — Türk Musikisi Federasyonu
   Ortak Stil Dosyası (tüm sayfalarda paylaşılır)
══════════════════════════════════════════════ */

/* ── Renk Sistemi (logodan türetilmiştir) ── */
:root {
  --bordo:       #d3b16b;
  --bordo-koyu:  #1a1a18;
  --altin:       #d3b16b;
  --altin-acik:  #e4ce9c;
  --altin-koyu:  #9e8550;
  --kirmizi:     #e2000f;
  --krem:        #F7F1E3;
  --ink:         #1a1a18;
  --gri:         #6B5E5E;
  --beyaz:       #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--beyaz);
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }

/* ── Topbar ── */
.topbar {
  background: var(--bordo);
  color: var(--ink);
  font-size: .82rem;
  padding: 7px 0;
}
.topbar a { color: var(--ink); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--kirmizi); }
.topbar .soc {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); border-radius: 50%;
  color: var(--ink); font-size: .73rem; text-decoration: none; transition: all .2s;
}
.topbar .soc:hover { background: var(--altin); color: var(--bordo-koyu); }

/* ── Duyurular Şeridi (marquee) ── */
.ann-bar {
  background: var(--krem);
  border-bottom: 1px solid rgba(211,177,107,.08);
  padding: 8px 0;
  overflow: hidden;
}
.ann-label {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bordo); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 50px; margin-right: 16px;
  white-space: nowrap;
}
.ann-track-wrap { flex: 1; overflow: hidden; }
.ann-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  animation: annScroll 26s linear infinite;
}
.ann-track-wrap:hover .ann-track { animation-play-state: paused; }
.ann-item {
  font-size: .82rem; color: var(--ink); margin-right: 46px;
  display: inline-flex; align-items: center; gap: 10px;
}
.ann-item i { color: var(--altin); font-size: .6rem; }
@keyframes annScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Navbar ── */
#mainNavbar {
  background: var(--beyaz) !important;
  transition: box-shadow .3s;
  padding: 10px 0;
  border-bottom: 1px solid rgba(211,177,107,.07);
}
#mainNavbar.scrolled { box-shadow: 0 4px 22px rgba(26,26,24,.13); border-bottom-color: transparent; }
.brand-main { font-family: 'Playfair Display', serif; font-size: .92rem; font-weight: 700; color: var(--bordo); display: block; line-height: 1.25; }
.brand-sub  { font-size: .72rem; color: var(--altin); letter-spacing: .1em; display: block; }
.navbar-toggler { border-color: var(--bordo); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d3b16b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.nav-link { color: var(--ink) !important; font-size: .88rem; font-weight: 500; padding: 8px 13px !important; transition: color .2s; }
.nav-link:hover { color: var(--bordo) !important; }
.dropdown-menu { border: none; border-top: 3px solid var(--altin); border-radius: 0 0 10px 10px; box-shadow: 0 12px 32px rgba(0,0,0,.10); min-width: 190px; }
.dropdown-item { color: var(--ink); font-size: .865rem; padding: 9px 20px; }
.dropdown-item:hover { background: var(--krem); color: var(--kirmizi); }

/* ── Bölüm Başlığı Kalıbı ── */
.sec-kicker {
  font-size: .7rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--altin); margin-bottom: 10px;
}
.sec-kicker.light { color: rgba(247,241,227,.65); }
.sec-heading { color: var(--bordo); font-size: 2rem; font-weight: 700; margin-bottom: 14px; line-height: 1.22; }
.sec-heading.light { color: var(--altin-acik); }
.sec-hr { width: 60px; height: 3px; background: linear-gradient(90deg,var(--altin),var(--altin-acik)); margin: 0 auto 0; border: none; }
.sec-hr.left { margin: 0 0; }

/* ── Section Padding ── */
.sp { padding: 90px 0; }
@media (max-width:768px) { .sp { padding: 60px 0; } }

/* ── Kartlar ── */
.card-c {
  border: none; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s; overflow: hidden;
}
.card-c:hover { transform: translateY(-6px); box-shadow: 0 22px 52px rgba(0,0,0,.13); }
.gold-strip { height: 4px; background: linear-gradient(90deg,var(--altin),var(--altin-acik)); }

/* ── İkon Dairesi ── */
.icon-circ {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg,var(--altin-koyu),var(--altin));
  display: flex; align-items: center; justify-content: center;
  color: var(--beyaz); font-size: 1.35rem; flex-shrink: 0;
}
.icon-circ.sm { width: 52px; height: 52px; font-size: 1.1rem; }

/* ── Badge ── */
.badge-g {
  background: var(--altin); color: var(--ink);
  font-size: .67rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 6px; padding: 4px 10px;
  display: inline-block;
}

/* ── Butonlar ── */
.btn-b {
  background: var(--bordo); color: var(--ink);
  border-radius: 50px; border: 2px solid var(--bordo);
  padding: 12px 30px; font-weight: 600; font-size: .9rem;
  transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-b:hover { background: var(--bordo-koyu); border-color: var(--bordo-koyu); color: var(--beyaz); }
.btn-ao {
  background: transparent; color: var(--altin);
  border-radius: 50px; border: 2px solid var(--altin);
  padding: 12px 30px; font-weight: 600; font-size: .9rem;
  transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-ao:hover { background: var(--altin); color: var(--bordo-koyu); }
.btn-ao.sm { padding: 8px 20px; font-size: .82rem; }

/* ── Hero Slider (boxed carousel) ── */
.hero-wrap { padding: 56px 0 70px; background: var(--beyaz); }
.hero-slider-box {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(26,26,24,.25);
}
.hero-slide {
  min-height: 520px; position: relative; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--bordo-koyu); background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1); transition: transform 8s ease;
}
.carousel-item.active .hero-slide-bg { transform: scale(1.06); }
.hero-slide::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg,rgba(26,26,24,.82) 0%,rgba(26,26,24,.5) 55%,rgba(26,26,24,.12) 100%);
}
.hero-slide::before {
  content: '♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬';
  position: absolute; inset: 0; font-size: 3rem; line-height: 3.8rem; letter-spacing: 1.6rem;
  color: rgba(255,255,255,.05); word-break: break-all; overflow: hidden; pointer-events: none; z-index: 2;
}
.hero-inner { position: relative; z-index: 3; }
.hero-kicker { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--altin); font-weight: 700; }
.hero-title  { font-size: 2.7rem; font-weight: 700; color: var(--beyaz); line-height: 1.18; margin: 14px 0; text-shadow: 0 3px 16px rgba(26,26,24,.55); }
@media (max-width:768px) { .hero-title { font-size: 1.7rem; } .hero-slide { min-height: 420px; } }
.hero-sub    { color: rgba(247,241,227,.92); font-size: 1.02rem; line-height: 1.75; margin-bottom: 30px; max-width: 560px; text-shadow: 0 2px 10px rgba(26,26,24,.5); }

/* Carousel kontrolleri: köşeleri yuvarlatılmış kutunun taşmayacağı, kompakt dairesel butonlar */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 46px; height: 46px; top: 50%; bottom: auto; transform: translateY(-50%);
  border-radius: 50%; background: rgba(255,255,255,.15); opacity: 1;
  transition: background .2s;
}
#heroCarousel .carousel-control-prev { left: 20px; }
#heroCarousel .carousel-control-next { right: 20px; }
#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover { background: var(--altin); }
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }
#heroCarousel .carousel-indicators { margin-bottom: 18px; }
#heroCarousel .carousel-indicators [data-bs-target] {
  width: 9px; height: 9px; border-radius: 50%; border: none;
  background: rgba(247,241,227,.4); opacity: 1; margin: 0 5px;
}
#heroCarousel .carousel-indicators .active { background: var(--altin); }

/* ── Biz Kimiz? Check List ── */
.chk-list { list-style: none; padding: 0; }
.chk-list li { padding: 8px 0 8px 30px; position: relative; font-size: .95rem; color: var(--gri); }
.chk-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--altin); position: absolute; left: 0; top: 9px; }

/* ── Hakkımızda Alıntı ── */
.about-quote {
  border-left: 4px solid var(--altin); background: var(--beyaz);
  border-radius: 0 14px 14px 0; padding: 22px 26px; margin: 26px 0 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.about-quote i { color: var(--altin); opacity: .5; font-size: 1.3rem; }
.about-quote p {
  font-family: 'Playfair Display', serif; font-style: italic;
  color: var(--bordo); font-size: 1.08rem; line-height: 1.6; margin: 8px 0 0;
}

/* ── Başkan Mesajı ── */
.president-wrap { position: relative; display: inline-block; }
.president-img  {
  width: 230px; height: 280px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  object-fit: cover; border: 5px solid var(--altin); display: block;
}
.quote-icon { font-size: 3.2rem; color: var(--altin); opacity: .35; line-height: 1; }

/* ── Dernek Kartı ── */
.dernek-card {
  border: 2px solid transparent; border-radius: 14px; padding: 22px 16px;
  text-align: center; background: var(--beyaz);
  box-shadow: 0 6px 22px rgba(0,0,0,.06); transition: all .3s; height: 100%;
}
.dernek-card:hover { border-color: var(--altin); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.11); }
.dernek-logo { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--krem); object-fit: cover; }

/* ── Haber Kartı ── */
.news-img { height: 198px; object-fit: cover; }

/* ── Etkinlik ── */
.etk-row {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  border-radius: 12px; background: var(--beyaz);
  box-shadow: 0 4px 18px rgba(0,0,0,.06); margin-bottom: 14px; transition: all .2s;
}
.etk-row:hover { box-shadow: 0 10px 30px rgba(0,0,0,.1); transform: translateX(4px); }
.etk-date { min-width: 62px; height: 68px; background: var(--bordo-koyu); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.etk-day   { font-family: 'Playfair Display',serif; font-size: 1.75rem; font-weight: 700; color: var(--altin); line-height: 1; }
.etk-month { font-size: .66rem; text-transform: uppercase; color: rgba(247,241,227,.72); letter-spacing: .1em; }

/* ── Galeri (Fotoğraf) ── */
.gal-item { position: relative; border-radius: 12px; overflow: hidden; }
.gal-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.06); }
.gal-overlay { position: absolute; inset: 0; background: rgba(26,26,24,0); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.gal-overlay i { color: var(--beyaz); font-size: 1.8rem; opacity: 0; transition: opacity .3s; }
.gal-item:hover .gal-overlay { background: rgba(26,26,24,.65); }
.gal-item:hover .gal-overlay i { opacity: 1; }
.gal-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 12px;
  background: linear-gradient(0deg,rgba(26,26,24,.78) 0%,rgba(26,26,24,0) 100%);
  color: var(--beyaz); pointer-events: none;
}
.gal-caption strong { display: block; font-size: .92rem; font-weight: 600; }
.gal-caption span { font-size: .75rem; color: rgba(247,241,227,.8); }

/* ── Video Galeri ── */
.video-item { position: relative; border-radius: 12px; overflow: hidden; }
.video-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .4s; }
.video-item:hover img { transform: scale(1.06); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(211,177,107,.92); color: var(--beyaz);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; transition: all .25s; z-index: 2;
}
.video-item:hover .video-play { background: var(--altin); transform: translate(-50%,-50%) scale(1.08); }
.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(0deg,rgba(26,26,24,.78) 0%,rgba(26,26,24,0) 100%);
  display: flex; justify-content: space-between; align-items: flex-end; color: var(--beyaz);
}
.video-caption strong { font-size: .88rem; font-weight: 600; max-width: 75%; }
.video-caption span { font-size: .73rem; background: rgba(0,0,0,.4); padding: 2px 8px; border-radius: 6px; }

/* ── Dergilerimiz ── */
.dergi-cover-wrap { position: relative; }
.dergi-cover { width: 100%; aspect-ratio: 300/420; object-fit: cover; display: block; }
.dergi-badge { position: absolute; top: 14px; left: 14px; }
.dergi-card .p-body { padding: 18px 20px 22px; background-color: white;}

/* ── İstatistik Sayaçları ── */
.stats-sec { background: var(--bordo-koyu); padding: 80px 0; }
.cnt-num   { font-family: 'Playfair Display',serif; font-size: 3.2rem; font-weight: 700; color: var(--altin); line-height: 1; }
@media (max-width:768px) { .cnt-num { font-size: 2.2rem; } }
.cnt-lbl   { color: var(--krem); font-size: .86rem; margin-top: 8px; }
.cnt-sep   { border-left: 1px solid rgba(211,177,107,.22); }
@media (max-width:575px) { .cnt-sep { border-left: none; } }

/* ── İletişim CTA ── */
.cta-sec { background: linear-gradient(135deg,var(--bordo-koyu) 0%,#000000 100%); border-top: 3px solid; border-image: linear-gradient(90deg,var(--altin),var(--altin-acik)) 1; padding: 80px 0; }
.btn-pill {
  border-radius: 50px; padding: 12px 24px; font-size: .88rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s; white-space: nowrap;
}
.btn-white  { background: var(--beyaz); color: var(--bordo); border: 2px solid var(--beyaz); }
.btn-white:hover { background: transparent; color: var(--beyaz); }
.btn-wa     { background: #25D366; color: var(--beyaz); border: 2px solid #25D366; }
.btn-wa:hover { background: #1abe5d; border-color: #1abe5d; color: var(--beyaz); }
.btn-krem   { background: transparent; color: var(--krem); border: 2px solid rgba(247,241,227,.45); }
.btn-krem:hover { border-color: var(--krem); background: rgba(247,241,227,.1); color: var(--krem); }

/* ── Footer ── */
.footer { background: var(--bordo-koyu); color: var(--krem); padding: 70px 0 0; }
.footer h5 { font-family: 'Playfair Display',serif; color: var(--altin); font-size: 1rem; margin-bottom: 20px; }
.footer a  { color: rgba(247,241,227,.72); text-decoration: none; font-size: .865rem; }
.footer a:hover { color: var(--altin-acik); }
.footer-links li { margin-bottom: 10px; }
.footer-links li::before { content: '›'; color: var(--altin); margin-right: 8px; }
.footer-soc a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.09);
  color: var(--krem); display: inline-flex; align-items: center; justify-content: center;
  font-size: .83rem; text-decoration: none; transition: all .2s;
}
.footer-soc a:hover { background: var(--altin); color: var(--bordo-koyu); }
.footer-hr  { border: none; border-top: 1px solid var(--altin); opacity: .3; margin: 40px 0 0; }
.footer-copy { padding: 18px 0; font-size: .78rem; color: rgba(247,241,227,.48); text-align: center; }

/* ── Site Müziği ── */
.site-music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(211,177,107,.62);
  border-radius: 50%;
  background: var(--bordo-koyu);
  color: var(--altin);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.site-music-toggle:hover,
.site-music-toggle:focus-visible {
  background: var(--altin);
  border-color: var(--altin);
  color: var(--bordo-koyu);
  transform: translateY(-2px);
}
.site-music-toggle:focus-visible {
  outline: 3px solid rgba(211,177,107,.34);
  outline-offset: 3px;
}
.site-music-toggle.is-playing {
  background: var(--altin);
  color: var(--bordo-koyu);
}
@media (max-width:575px) {
  .site-music-toggle {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}
