/* Kadıköy Kamera Servisi - Main Stylesheet */
:root {
  --color-bg: #070d18;
  --color-bg-alt: #0c1526;
  --color-surface: #111d33;
  --color-surface-hover: #162544;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8edf5;
  --color-text-muted: #94a3b8;
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --color-accent: #06b6d4;
  --color-success: #22c55e;
  --color-whatsapp: #25d366;
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0a1628 100%);
  --gradient-cta: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.btn svg,
.hero-badge svg,
.header-phones a svg,
.phone-actions a svg,
.call-btn svg,
.wa-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7, 13, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 22px; height: 22px; fill: white; }

.header-phones {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.header-phones a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.header-phones a.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--color-whatsapp);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: 0.3s;
}

.main-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav.open { display: flex; }

.main-nav a {
  padding: 0.75rem 1rem;
  color: var(--color-text);
  border-radius: 8px;
  font-weight: 500;
}

.main-nav a:hover { background: var(--color-surface); color: var(--color-primary); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    gap: 0.25rem;
  }
  .header-phones { display: flex; }
}

/* Hero */
.hero {
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover { color: white; box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: white;
}

.btn-whatsapp:hover { color: white; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover { background: var(--color-surface); color: var(--color-text); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat-item { text-align: center; }
.stat-num { font-size: 1.75rem; font-weight: 800; color: var(--color-primary); }
.stat-label { font-size: 0.8rem; color: var(--color-text-muted); }

.hero-visual {
  display: none;
  position: relative;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img,
.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mini-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--color-border);
}

.mini-card svg { width: 32px; height: 32px; margin: 0 auto 0.75rem; stroke: var(--color-primary); }
.mini-card h3 { font-size: 0.875rem; font-weight: 600; }

@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: block; }
}

/* Sections */
section { padding: 4rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p { color: var(--color-text-muted); font-size: 1.05rem; }

.section-alt { background: var(--color-bg-alt); }

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; margin-top: 0; }
.service-card p { color: var(--color-text-muted); font-size: 0.925rem; }

/* Mahalle Grid */
.mahalle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) { .mahalle-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .mahalle-grid { grid-template-columns: repeat(4, 1fr); } }

.mahalle-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.925rem;
  transition: all 0.2s;
}

.mahalle-link:hover {
  background: var(--color-surface-hover);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--color-primary);
  transform: translateX(4px);
}

.mahalle-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-primary);
  fill: none;
  flex-shrink: 0;
}

/* Neighbour cross-links */
.neighbor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) { .neighbor-grid { grid-template-columns: repeat(2, 1fr); } }

.neighbor-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color 0.2s, transform 0.2s;
}

.neighbor-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
  color: var(--color-text);
}

.neighbor-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.975rem;
}

.neighbor-card svg,
.neighbor-name svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  fill: none;
  flex-shrink: 0;
  display: block;
}

.neighbor-desc { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.5; }

/* Inline link row */
.inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2rem;
}

.inline-links > span { color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; }

.tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.tag-link:hover {
  background: var(--color-surface-hover);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--color-primary);
}

/* Content links */
.page-content a,
.seo-content a,
.faq-answer a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

.page-content a:hover,
.seo-content a:hover,
.faq-answer a:hover { color: var(--color-accent); }

/* Why Us */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  margin: 0 auto 1rem;
}

.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-item p { color: var(--color-text-muted); font-size: 0.875rem; }

/* Contact CTA */
.contact-cta {
  background: var(--gradient-hero);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.contact-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.contact-box h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.contact-box > p { color: var(--color-text-muted); margin-bottom: 2rem; }
.contact-box .nap-address { color: var(--color-text); margin: -1rem 0 1.5rem; font-size: 0.95rem; }
.local-profile-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.local-profile-link { font-size: 0.9rem; }

.phone-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.phone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  min-width: 180px;
}

.phone-item a.phone-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.phone-item a.phone-num:hover { color: var(--color-primary); }

.phone-actions {
  display: flex;
  gap: 0.5rem;
}

.phone-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.phone-actions .call-btn {
  background: var(--color-primary);
  color: white;
}

.phone-actions .wa-btn {
  background: rgba(37, 211, 102, 0.15);
  color: var(--color-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }

.faq-answer p { color: var(--color-text-muted); font-size: 0.925rem; }

/* Breadcrumb */
.breadcrumb {
  padding: calc(var(--header-height) + 1rem) 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { color: var(--color-text); }

/* Content Page */
.page-hero {
  padding: 1rem 0 3rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

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

.page-content ul {
  color: var(--color-text-muted);
  margin: 0 0 1rem 1.25rem;
}

.page-content li { margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.4fr 1fr; } }

.footer-col-wide ul { columns: 2; column-gap: 1.5rem; }
@media (max-width: 480px) { .footer-col-wide ul { columns: 2; } }

.footer-brand p { color: var(--color-text-muted); font-size: 0.925rem; margin-top: 0.75rem; }

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--color-text-muted); font-size: 0.925rem; }
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s;
  animation: pulse-wa 2s infinite;
}

.floating-wa:hover { transform: scale(1.1); color: white; }
.floating-wa svg { width: 32px; height: 32px; fill: white; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8); }
}

/* SEO content block */
.seo-content {
  padding: 3rem 0;
}

.seo-content .container {
  max-width: 800px;
}

.seo-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.seo-content p, .seo-content li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s;
}

.gallery-item:hover { transform: translateY(-3px); }

.gallery-img img,
.content-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption,
.content-image figcaption {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.content-image {
  margin: 0 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.content-image figcaption {
  padding: 1rem 1.25rem;
}

.page-hero + .hero-visual,
.hero-grid .page-hero {
  padding: 0;
}

.hero-grid .page-hero {
  padding: 1rem 0 3rem;
}

@media (min-width: 992px) {
  .hero-grid .page-hero { padding: 0; }
}
