/* ==========================================================================
   GÜR MÜZİK MERKEZİ - Optimize Edilmiş Stil Dosyası (style.css)
   Mobil Öncelikli, Yüksek Performanslı, Temizlenmiş & Tam Uyumlu Stil
   ========================================================================== */

:root {
  /* Renk Paleti */
  --bg-main: #0c0c0f;
  --bg-secondary: #121216;
  --bg-card: #16161c;
  --bg-card-hover: #1c1c24;

  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-soft: rgba(217, 119, 6, 0.12);

  --color-green: #10b981;
  --color-green-soft: rgba(16, 185, 129, 0.14);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-active: rgba(217, 119, 6, 0.4);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
}

/* Temel Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  color: var(--accent-gold-light);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn-call {
  background: #10b981;
  color: #fff;
}

.btn-call:hover {
  background: #059669;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
}

.btn-instagram:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 12, 15, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--accent-gold-light);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

/* Hamburger Butonu */
.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.25rem;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  transition: all var(--transition);
}

.mobile-toggle-btn:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.96);
}

/* Mobil Menü Karartma Katmanı */
.nav-menu-backdrop {
  display: none;
}

/* Sayfa Başlıkları (Banner) */
.page-banner {
  padding: 45px 0 32px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-banner-title {
  font-size: 1.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.page-banner-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Bölümler */
.section-padding {
  padding: 55px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.section-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold-light);
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Hero Bölümü */
.hero-clean {
  padding: 65px 0 55px;
  text-align: center;
}

.hero-clean-box {
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent-gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-clean-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-clean-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Galeri Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-card-clean {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  contain: content;
}

.gallery-card-clean img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card-clean:hover img {
  transform: scale(1.04);
}

.gallery-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(12, 12, 15, 0.95) 0%, transparent 100%);
  pointer-events: none;
}

.gallery-card-info h4 {
  font-size: 0.95rem;
  color: #fff;
}

.gallery-card-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Sıkça Sorulan Sorular (Accordion) */
.faq-clean-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-clean-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-clean-item:hover {
  border-color: var(--border-active);
}

.faq-clean-btn {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.faq-clean-btn i {
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  transition: transform var(--transition);
}

.faq-clean-answer {
  display: none;
  padding: 0 20px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Enstrüman Kataloğu */
.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  touch-action: manipulation;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold);
}

.products-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.product-item-clean {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
  contain: content;
}

.product-item-clean:hover {
  border-color: var(--border-active);
}

.product-img-clean {
  width: 100%;
  aspect-ratio: 4/3;
  background: #111;
  overflow: hidden;
}

.product-img-clean img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content-clean {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.product-item-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-btns-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Form Elemanları */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-card);
  color: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 75px;
}

/* İletişim */
.contact-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-card-clean {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-big-phone {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.contact-big-phone .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  display: block;
  margin-bottom: 10px;
}

.simple-hours-table {
  width: 100%;
  border-collapse: collapse;
}

.simple-hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.simple-hours-table td:first-child {
  color: var(--text-secondary);
}

.simple-hours-table td:last-child {
  color: #fff;
  text-align: right;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #08080a;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 24px;
  margin-top: 45px;
  font-size: 0.86rem;
}

.footer-clean-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-clean-links {
  display: flex;
  gap: 20px;
}

.footer-clean-links a {
  color: var(--text-secondary);
}

.footer-clean-links a:hover {
  color: #fff;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* Modallar */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  z-index: 2;
  cursor: pointer;
  touch-action: manipulation;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Toast Bildirimi */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.86rem;
  color: #fff;
  z-index: 10001;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Sabit WhatsApp Butonu */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition);
}

/* SEO Yerel Metin Alanı */
.seo-text-section {
  padding: 40px 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
}

.seo-text-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.seo-text-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-text-p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   RESPONSIVE (MOBİL & TABLET)
   ========================================================================== */

@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }

  .hero-clean-title {
    font-size: 2.3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid-clean {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-clean-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Mobil (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section-padding {
    padding: 42px 0;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .page-banner {
    padding: 34px 0 24px;
  }

  .page-banner-title {
    font-size: 1.6rem;
  }

  /* Mobil Header & Hamburger Menü Butonu */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #0c0c0f !important;
    z-index: 100000 !important;
  }

  .nav-wrapper {
    position: static;
  }

  .nav-actions {
    position: relative;
    z-index: 100002 !important;
  }

  .mobile-toggle-btn {
    display: flex;
    position: relative !important;
    z-index: 100002 !important;
    pointer-events: auto !important;
    cursor: pointer;
  }

  .nav-actions .btn-header-cta {
    display: none;
  }

  /* Mobil Açılır Menü (Tam Ekran, Katman Çakışması ve Blur Giderilmiş) */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(18, 18, 18, 0.98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 85px 24px 30px;
    gap: 10px;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
    z-index: 99999 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Mobil Menü Arka Plan Kapatma Katmanı (Linklerin altına alındı ve pointer-events yönetildi) */
  .nav-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 99990 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s;
  }

  .nav-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    font-size: 1.15rem;
    padding: 16px 14px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative !important;
    z-index: 100001 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-gold-light) !important;
  }

  /* Hero */
  .hero-clean {
    padding: 42px 0 32px;
  }

  .hero-clean-title {
    font-size: 1.95rem;
    line-height: 1.25;
  }

  .hero-clean-desc {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-btn-group .btn {
    width: 100%;
  }

  /* Dokunmatik Kategori Filtreleri */
  .catalog-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .catalog-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .products-grid-clean {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-control {
    font-size: 16px !important;
    padding: 12px 14px;
  }

  .contact-clean-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-card-clean {
    padding: 18px 16px;
  }

  .contact-big-phone {
    padding: 16px 12px;
  }

  .contact-big-phone .num {
    font-size: 1.35rem;
  }

  .contact-big-phone div[style*="display: flex"] {
    flex-direction: column;
    gap: 8px;
  }

  .contact-big-phone .btn {
    width: 100%;
  }

  .modal-card {
    padding: 20px 16px;
    width: 95%;
    max-height: 88vh;
  }

  .footer-clean-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-clean-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .floating-whatsapp {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }
}

@media (max-width: 380px) {
  .hero-clean-title {
    font-size: 1.7rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .product-btns-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
