/* ==============================
   ROOT & BASE
   ============================== */
:root {
  --brand-primary: #0d6efd;
  --brand-accent: #184cda;
  --text-on-primary: #ffffff;
  --text-muted: #333;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ==============================
   HERO
   ============================== */
.hero-section,
.hero-section-2 {
  background: url('/assets/photo/background-1.png') no-repeat center center / cover;
  color: var(--text-on-primary);
  position: relative;
}

.hero-section {
  padding-top: 70px;
  overflow-x: clip;
}

.hero-section-2 {
  min-height: 50vh;
  padding: 50px 0 10px;
  color: #fff;
}

/* HERO — LOGO */
.hero-logo {
  position: absolute;
  inset-inline-end: clamp(0px, calc((100vw - 1140px) / 2), 40px);
  top: clamp(8%, 14vh, 22%);
  width: clamp(220px, 34vw, 540px);
  max-width: 40vw;
  height: 500px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
  right: -10px;
}

/* HERO — DOCTOR */
.hero-doctor {
  position: sticky;
  z-index: 2;
  width: clamp(260px, 52vw, 500px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}

/* ==============================
   SERVICES
   ============================== */
.services-section {
  background-color: var(--brand-accent);
  color: #fff;
  padding: 20px 15px 30px;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.services-title {
  font-size: 2rem;
  font-weight: bold;
}

.services-button {
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 25px;
  white-space: nowrap;
}

.services-list li {
  font-size: 1.4rem;
}

/* ==============================
   STATS
   ============================== */
.stats-section {
  background-color: #fff;
  padding: 60px 0 40px;
}

.stats-section h2,
.stat-box h5 {
  font-weight: bold;
}

.stat-box h3 {
  font-size: 3rem;
  font-weight: bold;
}

.stat-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==============================
   FOOTER
   ============================== */
.footer-tag {
  padding: 30px 0;
  background-color: #ffffff;
}

.footer-tag p {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--brand-accent);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--brand-primary) !important;
  text-decoration: underline;
}

footer ul {
  line-height: 1.9;
}

/* toplu margin-top */
footer .col-lg-2.offset-lg-1,
footer .col-lg-2.mt-4,
footer .col-lg-3.mt-4 {
  margin-top: 100px !important;
}

/* ==============================
   ACCORDION (Bootstrap)
   ============================== */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.accordion-button {
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: transparent;
}

.accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.05);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #c9d1e0;
  padding: 0.5rem 1rem 1rem;
}

/* ==============================
   CARD
   ============================== */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card img {
  height: 220px;
  object-fit: cover;
}

/* ==============================
   FULLSCREEN MENU
   ============================== */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background-color: var(--brand-primary);
  color: #fff;
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fullscreen-menu.active {
  display: block;
  opacity: 1;
}

.fullscreen-menu a {
  transition: color 0.3s ease;
}

.fullscreen-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

/* menu button */
#menuToggle {
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  color: #fff;
}

#menuToggle:hover {
  background-color: rgba(255,255,255,0.1);
}

/* ==============================
   RADIUS TOGGLE
   ============================== */
.radius-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  background: none;
  border: none;
  outline: none;
  user-select: none;
}

.radius-track {
  width: 36px;
  height: 18px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  position: relative;
  transition: background 0.3s ease;
}

.radius-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.radius-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.radius-toggle.active .radius-track {
  background: rgba(255, 255, 255, 0.3);
}

.radius-toggle.active .radius-thumb {
  left: 20px;
}

.radius-toggle:hover .radius-track {
  background: rgba(255, 255, 255, 0.45);
}

/* ==============================
   BREAKPOINTS
   ============================== */

/* ---- SM (≤576px) ---- */
@media (max-width: 576px) {
  .accordion-button {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
}

/* ---- MD (≤768px) ---- */
@media (max-width: 768px) {

  .hero-logo {
    display: none;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .services-button {
    margin-top: 10px;
    align-self: flex-start;
  }

  .services-title {
    font-size: 1.6rem;
  }

  .services-list li {
    font-size: 1.2rem;
  }

  .stat-box h3 {
    font-size: 2rem;
  }

  .container-fluid,
  .container,
  .row {
    overflow-x: hidden;
  }

  .row > [class^="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  footer {
    text-align: center;
  }

  footer img {
    margin: 0 auto;
    display: block;
  }

  .radius-label {
    font-size: 0.85rem;
  }
}

/* ---- LG (≥992px) ---- */
@media (min-width: 992px) {

  .menu-list {
    padding-left: 320px;
  }

  .hero-section p.fw-bold {
    padding-left: 180px;
  }

  .hero-doctor {
    right: 500px;
  }
}

/* ---- LOGO MOBILE HIDE SAFETY ---- */
@media (max-width: 991.98px) {
  .hero-logo {
    display: none;
  }
}
@media (min-width: 1366px) and (max-width: 1500px) and (max-height: 950px) {

  /* Hero yüksekliği daha kontrollü */
  .hero-section {
    min-height: 78vh;
	padding-top: clamp(175px, 19vh, 260px);
}
/* 3D Logo boyut sabitleme */
  .hero-logo {
    top: 18%;
    width: 500px;
    right: 0;
    max-width: 36vw;
  }

  /* Doktor görseli hizalama ve boyut */
  .hero-doctor {
    right: 40px;
    width: 460px;
  }

  /* Büyük başlık/matnların taşmasını engelle */
  .hero-section p,
  .hero-section h1,
  .hero-section h2 {
    max-width: 620px;
  }

  /* Menü soldan taşmasın */
  .menu-list {
    padding-left: 280px;
  }
  }

  

