/* ===== ROOT COLORS & GLOBAL STYLES ===== */
:root {
  --text: #144456;
  --accent: #0077b6;
  --muted: #6b7280;
  --bg: #f6f8fa;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
  padding-top: 30px; /* space for fixed header */
  font-size: 16px;
}

/* ===== PAGE STRUCTURE ===== */
main {
  width: 100%;
}

/* Container controls CONTENT width, not background */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px; /* IMPORTANT: mobile side spacing */
}

/* ===== NAVIGATION (UNCHANGED) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 60px;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.4rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 6px 10px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-list a:hover {
  font-weight: 700;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* ===== HAMBURGER MENU ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 800px) {
  .nav {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-list {
    position: fixed;
    top: 60px;
    right: 0;
    height: 100vh;
    width: 260px;
    flex-direction: column;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  .nav-list.open {
    transform: translateX(0);
  }
}

#home {
  background-image: linear-gradient(
      rgba(153, 169, 186, 0.75),
      rgba(68, 73, 78, 0.75)
    ),
    url("media/clinic_background.jpeg");

  background-size: cover;
  background-position: center;
}

/* ===== SECTIONS ===== */
.section {
  width: 100%; /* FULL WIDTH BACKGROUND */
  padding: 60px 0;
}

.section.alt {
  background: #fff;
}

/* Typography */
h1,
h2 {
  margin-bottom: 15px;
}

.lead {
  color: #fff;
  max-width: 720px;
  margin-bottom: 30px;
  font-size: 18px;
}
.diantel_name {
  color: #144456;
  font-size: 25px;
}

/* Info box */
.info-section {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  max-width: 420px;
  text-align: left;
}

/* ===== SERVICES LIST (CHECK STYLE) ===== */
.services-list {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  gap: 22px;
  max-width: 750px; /* readable medical width */
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-check {
  color: #0077b6;
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 4px;
  flex-shrink: 0;
}

.service-content {
  text-align: left;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* ===== NEWS ===== */

.news {
    width: 100%;
    background: #95ddd1;
    padding: 30px 0;
}

.news-box {
    background: #ffffff;
    border-left: 4px solid var(--text);;
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#news-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.news-box h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.2rem;
} 


/* ===== ORDINATION HOURS ===== */
.hours-card {
  margin-top: 30px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--text);
}

.hours-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 700;
  font-size: 1.05rem;
}

.hours-time {
  font-weight: 600;
  margin-bottom: 4px;
}

.hours-doctor {
  color: var(--muted);
}

.hours-note {
  margin-top: 24px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* ===== TEAM CARDS ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 35px;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.team-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== INSURERS ===== */
.insurers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.insurer {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  min-height: 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.insurer-logo {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 35px 0;
  margin-top: 30px;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.copy {
  margin-top: 10px;
}

/* ===== DESKTOP TYPOGRAPHY SCALE ===== */
@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .lead {
    font-size: 1.2rem;
  }
}
