/* Modern Responsive CSS for Alçıpan & Asma Tavan Web Sitesi */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --teal: #0284c7;
  --teal-light: #38bdf8;
  --green: #10b981;
  --green-hover: #059669;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
}

body {
  padding-bottom: 70px; /* Space for mobile sticky footer */
}

/* Top Sticky Bar */
.top-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--accent);
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-badge {
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-phone {
  background: var(--teal);
  color: #fff;
}
.btn-phone:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--green);
  color: #fff;
}
.btn-whatsapp:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.btn-accent:hover {
  background: var(--accent-hover);
}

/* Hero Section */
.hero-wrapper {
  background: linear-gradient(180deg, var(--primary) 0%, #1e293b 100%);
  color: #fff;
  padding: 40px 20px 60px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-banner-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.hero-text-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-text-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}

.hero-text-content p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-buttons .btn {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Feature Bar */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.trust-icon {
  font-size: 1.3rem;
  color: var(--accent);
}

/* Layout Container */
.page-layout {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar TOC */
.sidebar-wrapper {
  position: sticky;
  top: 90px;
}

.toc-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.toc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-card ul {
  list-style: none;
  padding-left: 0;
}

.toc-card li {
  margin-bottom: 10px;
  line-height: 1.4;
}

.toc-card li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s;
  display: block;
}

.toc-card li a:hover {
  color: var(--teal);
  padding-left: 4px;
  font-weight: 600;
}

.toc-card li.toc-level-3 {
  padding-left: 14px;
  font-size: 0.88rem;
}

.sidebar-contact-card {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.sidebar-contact-card h4 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.sidebar-contact-card p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.sidebar-contact-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

/* Content Area */
.content-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.content-card h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.content-card h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  scroll-margin-top: 90px;
}

.content-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 24px;
  margin-bottom: 12px;
  scroll-margin-top: 90px;
}

.content-card p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  color: #334155;
}

.content-card ul, .content-card ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: #334155;
}

.content-card li {
  margin-bottom: 8px;
}

.content-card a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.content-card a:hover {
  color: #0369a1;
}

/* Tables */
.content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.content-card th {
  background: var(--primary);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.content-card td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: #334155;
}

.content-card tr:nth-child(even) {
  background: #f8fafc;
}

.content-card hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* Callout Box */
.callout-box {
  background: #f0fdf4;
  border-left: 5px solid var(--green);
  padding: 20px;
  border-radius: 8px;
  margin: 28px 0;
}

.callout-box h4 {
  color: #166534;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.callout-box p {
  color: #14532d;
  margin-bottom: 0;
}

/* District Grid Section */
.districts-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.districts-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}

.districts-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-align: center;
}

.district-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.district-tag {
  background: #f1f5f9;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.district-tag:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* Footer Links Matrix */
.footer-links-section {
  background: #111827;
  color: #94a3b8;
  padding: 50px 20px 30px;
  border-top: 4px solid var(--accent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner h4 {
  color: #f1f5f9;
  font-size: 1.15rem;
  margin-bottom: 16px;
  border-bottom: 1px solid #334155;
  padding-bottom: 8px;
}

.footer-mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 16px;
  margin-bottom: 30px;
}

.footer-mesh-grid a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s;
}

.footer-mesh-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1f2937;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom a {
  color: #38bdf8;
  text-decoration: none;
}

/* Sticky Mobile CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
  padding: 10px 14px;
  z-index: 9999;
  border-top: 1px solid var(--border);
}

.mobile-sticky-inner {
  display: flex;
  gap: 10px;
}

.mobile-sticky-inner .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 10px;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sidebar-wrapper {
    position: static;
  }
  .mobile-sticky-bar {
    display: block;
  }
  .hero-text-content h1 {
    font-size: 1.6rem;
  }
  .content-card {
    padding: 24px 18px;
  }
  .top-bar-inner {
    justify-content: center;
  }
}
