/* ==========================================================================
   KAYSERİ DAVUL ZURNACI - CORE DESIGN SYSTEM & STYLES (main.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Color Palette */
  --clr-bg: #0d1117;
  --clr-bg-surface: #161b22;
  --clr-bg-card: #21262d;
  --clr-bg-glass: rgba(22, 27, 34, 0.85);

  --clr-primary: #dc2626; /* Crimson Red */
  --clr-primary-hover: #b91c1c;
  --clr-primary-glow: rgba(220, 38, 38, 0.35);

  --clr-accent: #f59e0b; /* Amber Gold */
  --clr-accent-dark: #d97706;
  --clr-accent-glow: rgba(245, 158, 11, 0.3);

  --clr-whatsapp: #25d366;
  --clr-whatsapp-hover: #1da851;
  --clr-whatsapp-glow: rgba(37, 211, 102, 0.35);

  --clr-text-main: #f3f4f6;
  --clr-text-muted: #9ca3af;
  --clr-text-dim: #6b7280;

  --clr-border: #30363d;
  --clr-border-light: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-max: 1240px;
  --header-height: 80px;
  --mobile-bar-height: 64px;

  /* Effects & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px var(--clr-primary-glow);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-height);
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
  color: var(--clr-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #ffffff;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.text-center { text-align: center; }
.text-gold { color: var(--clr-accent); }
.text-red { color: var(--clr-primary); }

.bg-surface { background-color: var(--clr-bg-surface); }
.bg-card { background-color: var(--clr-bg-card); }

/* Section Header Component */
.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-accent);
  background: rgba(245, 158, 11, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 158, 11, 0.25);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 60%, var(--clr-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), #991b1b);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--clr-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--clr-whatsapp), #16a34a);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--clr-whatsapp-glow);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--clr-border-light);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.125rem;
}

.btn-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Badge / Pill components */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--clr-border);
}

.badge-gold {
  color: var(--clr-accent);
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
}
