/* ===== Asyam Sağlık Kabini - Ana Stil Dosyası ===== */

:root {
  --blue-dark: #0b3d7a;
  --blue: #1560bd;
  --blue-light: #e8f1fb;
  --turquoise: #1ec8c8;
  --turquoise-dark: #159999;
  --text-dark: #1a2b3c;
  --text-muted: #5b6b7b;
  --white: #ffffff;
  --gray-bg: #f4f8fb;
  --border: #e1e8ef;
  --shadow: 0 10px 30px rgba(11, 61, 122, 0.08);
  --radius: 14px;
  --whatsapp: #25d366;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

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

.section { padding: 70px 0; }
.section-gray { background: var(--gray-bg); }

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

.section-head .eyebrow {
  color: var(--turquoise-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-head h2 {
  font-size: 2rem;
  color: var(--blue-dark);
  margin: 8px 0 12px;
}

.section-head p { color: var(--text-muted); margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary { background: var(--turquoise); color: var(--white); }
.btn-primary:hover { background: var(--turquoise-dark); }

.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue-dark); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { filter: brightness(1.08); }

/* ===== Topbar ===== */
.topbar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar a { color: var(--white); }
.topbar .topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(11,61,122,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 56px; width: auto; }
.logo-text { font-weight: 800; color: var(--blue-dark); font-size: 1.05rem; line-height: 1.15; }
.logo-text small { display:block; font-weight: 500; color: var(--turquoise-dark); font-size: 0.75rem; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }

.main-nav a {
  padding: 10px 16px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  font-size: 0.95rem;
}

.main-nav a:hover, .main-nav a.active { color: var(--turquoise-dark); background: var(--blue-light); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 10px;
  min-width: 240px;
  display: none;
  flex-direction: column;
  border: 1px solid var(--border);
}

.has-dropdown:hover .dropdown { display: flex; }

.dropdown a { padding: 9px 14px; border-radius: 8px; font-weight: 500; }
.dropdown a:hover { background: var(--gray-bg); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-dark); border-radius: 3px; }

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,61,122,0.82) 0%, rgba(11,61,122,0.45) 55%, rgba(30,200,200,0.25) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
}

.hero-content .container { max-width: 640px; }

.hero-content .eyebrow {
  color: var(--turquoise);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin: 10px 0 16px;
  line-height: 1.2;
}

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 26px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active { background: var(--white); }

/* ===== Page Banner (inner pages) ===== */
.page-banner {
  background: linear-gradient(120deg, var(--blue-dark), var(--turquoise-dark));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.page-banner h1 { margin: 0 0 8px; font-size: 2.1rem; }
.page-banner .breadcrumb { font-size: 0.9rem; opacity: 0.9; }
.page-banner .breadcrumb a { text-decoration: underline; }

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 420px; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--blue-dark);
}

.about-badge span { display: block; color: var(--turquoise-dark); font-size: 1.6rem; }

.about-text .eyebrow {
  color: var(--turquoise-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.about-text h2 { color: var(--blue-dark); font-size: 1.9rem; margin: 8px 0 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-dark);
}

.check-list li::before {
  content: "✓";
  background: var(--turquoise);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== Value Cards ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.value-card:hover { transform: translateY(-6px); }

.value-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--turquoise-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.value-card h3 { color: var(--blue-dark); margin: 0 0 10px; font-size: 1.15rem; }
.value-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover { transform: translateY(-6px); }

.service-card .thumb { height: 190px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .thumb img { transform: scale(1.08); }

.service-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { color: var(--blue-dark); font-size: 1.1rem; margin: 0 0 10px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 16px; flex: 1; }
.service-card .more { font-weight: 700; color: var(--turquoise-dark); font-size: 0.9rem; }
.service-card .more::after { content: " →"; }

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--turquoise-dark));
  color: var(--white);
  padding: 50px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-band h2 { margin: 0 0 6px; font-size: 1.5rem; }
.cta-band p { margin: 0; opacity: 0.9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Service Detail Page ===== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.service-detail-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; }
.service-detail-media img { width: 100%; max-height: 420px; object-fit: cover; }

.service-detail-content h2 { color: var(--blue-dark); font-size: 1.8rem; margin-bottom: 16px; }
.service-detail-content p { color: var(--text-muted); margin-bottom: 16px; }

.sidebar-box {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-box h3 { color: var(--blue-dark); margin-top: 0; font-size: 1.1rem; }
.sidebar-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { font-weight: 600; color: var(--text-dark); display: flex; justify-content: space-between; }
.sidebar-list a:hover, .sidebar-list a.active { color: var(--turquoise-dark); }

.sidebar-contact { background: var(--blue-dark); color: var(--white); text-align: center; }
.sidebar-contact h3 { color: var(--white); }
.sidebar-contact p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.sidebar-contact .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* ===== Regions Page ===== */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.region-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--blue-dark);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.region-chip::before {
  content: "📍";
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,61,122,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 30px;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 12px; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 34px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-cards { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 22px;
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-card h3 { margin: 0 0 4px; color: var(--blue-dark); font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--text-muted); }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 420px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; min-height: 420px; }

/* ===== Footer ===== */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,0.85); padding-top: 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 50px; }
.footer-logo span { font-weight: 800; color: var(--white); font-size: 1.05rem; }

.site-footer h4 { color: var(--white); margin: 0 0 18px; font-size: 1.05rem; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--turquoise); }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--whatsapp);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 200;
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid, .service-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .values-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 480px; }
}

@media (max-width: 768px) {
  .topbar .topbar-info span:nth-child(3) { display: none; }
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 10px 20px 20px;
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .has-dropdown .dropdown { position: static; box-shadow: none; display: none; padding-left: 12px; }
  .has-dropdown.open .dropdown { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta .btn span.label { display: none; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-slider { height: 520px; }
  .values-grid, .services-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .regions-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .values-grid, .services-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.5rem; }
  .section { padding: 50px 0; }
}
