/* ============================================
   Mersin Evde Sağlık - CSS Stilleri
   Tasarım: Minimal Healthcare Professional
   Renkler: Mavi (#1E40AF), Beyaz, Yeşil (#10B981)
   ============================================ */

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

:root {
  --primary-blue: #1E40AF;
  --primary-blue-light: #3B82F6;
  --accent-green: #10B981;
  --accent-green-light: #6EE7B7;
  --neutral-gray: #6B7280;
  --neutral-gray-light: #F3F4F6;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --border-color: #E5E7EB;
  --white: #FFFFFF;
}

/* Genel Stiller */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-green);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   HEADER / NAVİGASYON
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  height: 70px;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  display: none;
}

@media (min-width: 768px) {
  .logo-text {
    display: inline;
  }
}

/* Navigasyon Menüsü */
.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-blue);
}

/* CTA Butonları */
.header-cta {
  display: flex;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .header-cta {
    gap: 0.75rem;
  }
}

.btn-call, .btn-whatsapp {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .btn-call, .btn-whatsapp {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

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

.btn-call:hover {
  background-color: #1e3a8a;
  transform: scale(1.05);
}

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

.btn-whatsapp:hover {
  background-color: #059669;
  transform: scale(1.05);
}

/* Mobil Menü Butonu */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* ============================================
   HERO BÖLÜMÜ
   ============================================ */

.hero {
  margin-top: 70px;
  background: linear-gradient(135deg, #f0f9ff 0%, var(--white) 100%);
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #1e3a8a;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #059669;
  transform: scale(1.05);
}

.hero-image {
  display: none;
}

@media (min-width: 768px) {
  .hero-image {
    display: block;
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   BÖLÜM BAŞLIKLARI
   ============================================ */

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-divider {
  width: 64px;
  height: 4px;
  background-color: var(--accent-green);
  margin: 0 auto;
}

/* ============================================
   HİZMETLER BÖLÜMÜ
   ============================================ */

.services {
  padding: 4rem 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-body {
  padding: 1.5rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #dbeafe;
  border-radius: 8px;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.service-description {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-green);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 0.75rem;
}

/* ============================================
   NEDEN BİZİ SEÇMELİSİNİZ
   ============================================ */

.why-us {
  padding: 4rem 0;
  background-color: var(--neutral-gray-light);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.why-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.why-card-icon {
  color: var(--accent-green);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.875rem;
}

/* ============================================
   İLÇELER BÖLÜMÜ
   ============================================ */

.districts {
  padding: 4rem 0;
  background-color: var(--white);
}

.districts-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .districts-content {
    grid-template-columns: 1fr 1fr;
  }
}

.districts-map {
  display: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
}

@media (min-width: 768px) {
  .districts-map {
    display: block;
  }
}

.districts-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.districts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.district-item {
  background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
  border: 1px solid var(--primary-blue);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.district-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.district-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.district-icon {
  color: var(--accent-green);
  font-size: 1.5rem;
}

.district-name {
  font-weight: 700;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.district-item:hover .district-name {
  color: var(--accent-green);
}

.district-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ============================================
   CTA BÖLÜMÜ
   ============================================ */

.cta {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: #dbeafe;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-cta-white {
  background-color: var(--white);
  color: var(--primary-blue);
}

.btn-cta-white:hover {
  background-color: #f3f4f6;
  transform: scale(1.05);
}

.btn-cta-green {
  background-color: #10B981;
  color: var(--white);
}

.btn-cta-green:hover {
  background-color: #059669;
  transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #dbeafe;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-weight: 700;
}

.footer-brand-text {
  font-weight: 700;
  color: var(--white);
}

.footer-brand-desc {
  color: #dbeafe;
  font-size: 0.875rem;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-info {
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--accent-green);
}

.footer-copyright {
  color: #dbeafe;
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}

/* ============================================
   RESPONSIVE TASARIM
   ============================================ */

@media (max-width: 767px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .services, .why-us, .districts, .cta {
    padding: 2rem 0;
  }
}

/* ============================================
   YARDIMCI SINIFLARI
   ============================================ */

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

.visible {
  display: block;
}
