/* 
  Op. Dr. Bora Şerifhan Alpaydın - Modern Luxury Medical Frontend Stylesheet
  Design Philosophy: High-End Medical Luxury, DoktorTakvimi Widget Component, Flawless Mobile Responsiveness
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0066FF;
  --primary-dark: #0046B8;
  --primary-light: #EBF3FF;
  --secondary: #0B192C;
  --navy-dark: #060E1A;
  --accent: #00D68F;
  --accent-light: #E6FAF4;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 10px rgba(11, 25, 44, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 24px 48px rgba(11, 25, 44, 0.14);
  --shadow-primary: 0 10px 25px rgba(0, 102, 255, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: #FFFFFF;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

.bg-slate {
  background-color: var(--bg-light);
}

.bg-navy {
  background-color: var(--secondary);
  color: #FFFFFF;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

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

/* Topbar */
.topbar {
  background-color: var(--secondary);
  color: #E2E8F0;
  font-size: 0.875rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.topbar-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #CBD5E1;
}

.topbar-info-item i {
  color: var(--accent);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.topbar-social a {
  color: #94A3B8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.topbar-social a:hover {
  color: #FFFFFF;
  background: var(--primary);
  transform: translateY(-2px);
}

/* Language Switcher Dropdown */
.lang-switcher-dropdown {
  position: relative;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 140px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0;
  list-style: none;
  display: none;
  z-index: 1200;
}

.lang-switcher-dropdown:hover .lang-dropdown-menu {
  display: block;
}

.lang-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
}

.lang-dropdown-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.lang-dropdown-menu img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 58px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

/* Mega Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 0.8rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 1100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 0.88rem;
  padding: 0.7rem 0.9rem;
  color: var(--text-main);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.dropdown-item a:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateX(4px);
}

.dropdown-item i {
  color: var(--primary);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 102, 255, 0.35);
}

.btn-outline {
  background: rgba(6, 14, 26, 0.55);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(0, 102, 255, 0.8);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #00B377 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 214, 143, 0.3);
}

.btn-accent:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 214, 143, 0.4);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Hero Section / Slider - 100% Edge-to-Edge Full Width */
.hero-slider {
  position: relative;
  background: var(--navy-dark);
  min-height: 560px;
  width: 100%;
  overflow: hidden;
}

.hero-slides-wrapper {
  width: 100%;
  position: relative;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 26, 0.78) 0%, rgba(6, 14, 26, 0.45) 45%, rgba(6, 14, 26, 0.0) 85%);
  z-index: 1;
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  padding: 6rem 0;
  width: 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slide-1 { background-image: url('../images/slider/slide1.webp'); }
.hero-slide-2 { background-image: url('../images/slider/slide2.webp'); }
.hero-slide-3 { background-image: url('../images/slider/slide3.webp'); }

.hero-slide.active {
  display: flex;
  align-items: center;
  opacity: 1;
}

.hero-grid {
  display: block;
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero-content-card {
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  background: rgba(0, 214, 143, 0.22);
  color: #00FFB2;
  border: 1px solid rgba(0, 214, 143, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.hero-content h1 {
  font-size: 3.2rem;
  color: #FFFFFF;
  margin-bottom: 1.1rem;
  letter-spacing: -0.5px;
  line-height: 1.18;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.85);
  font-weight: 800;
}

.hero-content p {
  font-size: 1.2rem;
  color: #F8FAFC;
  margin-bottom: 2.2rem;
  line-height: 1.65;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #0066FF 0%, #0046B8 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.9rem 2rem;
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 102, 255, 0.6);
}

.hero-buttons .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.9rem 2rem;
}

.hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 36px;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

/* Luxury Modern CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0B192C 0%, #0052CC 100%);
  color: #FFFFFF;
  padding: 2.2rem 0;
  box-shadow: var(--shadow-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-flex h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-flex h3 i {
  color: var(--accent);
  font-size: 2rem;
}

/* High-End Executive Contact Info Card & Items */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: linear-gradient(165deg, #0B192C 0%, #060E1A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.4);
  transform: translateX(6px);
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.18);
  color: #0088FF;
  border: 1px solid rgba(0, 102, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.info-icon.icon-whatsapp {
  background: rgba(0, 214, 143, 0.18);
  color: #00D68F;
  border-color: rgba(0, 214, 143, 0.3);
  box-shadow: 0 4px 12px rgba(0, 214, 143, 0.2);
}

.info-icon.icon-location {
  background: rgba(255, 179, 0, 0.15);
  color: #FFB300;
  border-color: rgba(255, 179, 0, 0.3);
}

.info-text {
  flex-grow: 1;
}

.info-text h4 {
  color: #94A3B8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.info-text p {
  color: #FFFFFF;
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.45;
}

/* DoktorTakvimi Interactive Booking Widget Component Styles */
.booking-widget-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.booking-widget-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.widget-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #162B47 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.widget-header-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.widget-header-title i {
  font-size: 1.8rem;
}

.widget-header-title h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin: 0;
}

.widget-header-title p {
  color: #94A3B8;
  font-size: 0.85rem;
  margin: 0;
}

.widget-badge-link {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

.widget-badge-link:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.widget-body {
  padding: 2rem;
}

.widget-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #F1F5F9;
}

.widget-step.completed .step-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.step-main-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.step-sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.radio-options {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.calendar-slot-picker {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  overflow-x: auto;
}

.calendar-days-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
}

.calendar-day-col {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.5rem;
  text-align: center;
  transition: var(--transition);
}

.calendar-day-col.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.calendar-day-col.disabled {
  opacity: 0.5;
  background: #F1F5F9;
}

.day-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
}

.day-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.slots-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.slot-btn {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  display: block;
  transition: var(--transition);
}

.slot-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.no-slot {
  font-size: 0.85rem;
  color: var(--text-light);
}

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

.btn-block {
  width: 100%;
}

/* Treatment Grid & Cards */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.2rem;
}

.treatment-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.treatment-card-banner {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--navy-dark);
}

.treatment-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.treatment-card:hover .treatment-card-banner img {
  transform: scale(1.08);
}

.treatment-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.25);
}

.treatment-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.treatment-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--secondary);
}

.treatment-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.treatment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
}

/* Clinic Introduction Section */
.clinic-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

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

.intro-image-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.intro-badge-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
}

.experience-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.experience-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

/* Video Section */
.video-section {
  position: relative;
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 5.5rem 0;
}

.video-box-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 4.5rem 2rem;
}

.play-button {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  animation: pulse-ring 2s infinite;
}

.play-button:hover {
  transform: scale(1.1);
  background: var(--accent);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(0, 102, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.blog-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--secondary);
}

.blog-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #F8FAFC;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.alert-success {
  background: var(--accent-light);
  color: #008A5B;
  border: 1px solid rgba(0, 214, 143, 0.3);
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* Timeline Layout (Biography) */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-date {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Treatment Detail Template */
.treatment-detail-hero {
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.treatment-detail-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.detail-block {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.detail-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.detail-block h3 i {
  color: var(--primary);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  background: #F8FAFC;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary-light);
}

.widget-menu {
  list-style: none;
}

.widget-menu li {
  margin-bottom: 0.6rem;
}

.widget-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  background: #F8FAFC;
}

.widget-menu a:hover, .widget-menu a.active {
  background: var(--primary);
  color: #FFFFFF;
}

/* Footer */
.footer {
  background-color: var(--navy-dark);
  color: #94A3B8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Media Queries (Ultra-Responsive & Offcanvas Drawer)
   ========================================================================== */

/* 1. Laptops & Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* 2. Tablets & iPads & Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  .section-padding {
    padding: 3.8rem 0;
  }
  
  .topbar-content {
    justify-content: center;
    text-align: center;
  }

  .brand-logo-img {
    height: 44px;
  }

  /* Hamburger Toggle Icon - ALWAYS VISIBLE BELOW 1024px */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #F1F5F9;
    color: var(--primary);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1100;
  }

  /* Offcanvas Drawer Navigation Menu */
  .nav-menu {
    position: fixed !important;
    top: 0;
    right: -100% !important;
    width: 310px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #FFFFFF !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 5.5rem 1.8rem 2.5rem 1.8rem !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3) !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1050 !important;
    overflow-y: auto !important;
    display: flex !important;
  }

  .nav-menu.active {
    right: 0 !important;
  }

  .nav-item {
    width: 100% !important;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link {
    padding: 1rem 0 !important;
    font-size: 1.05rem !important;
    justify-content: space-between !important;
    color: var(--secondary) !important;
  }

  /* Touch Sub-Dropdown */
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    padding: 0 0 0.8rem 1rem !important;
    display: none !important;
    background: #F8FAFC !important;
    border-radius: 8px !important;
    margin-bottom: 0.8rem !important;
  }

  .nav-item.dropdown-open .dropdown-menu {
    display: block !important;
  }

  /* Grids Stacked Layout */
  .hero-grid, .clinic-intro-grid, .contact-grid, .treatment-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .intro-image-box img {
    height: 380px;
  }

  .intro-badge-experience {
    right: 10px;
    bottom: 10px;
    padding: 1rem 1.2rem;
  }
}

/* 3. Mobile Landscape & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  /* Prevent Header Randevu Button from overlapping Mobile Toggle */
  .header-actions .btn-primary {
    display: none !important;
  }

  .navbar {
    padding: 0.6rem 0;
  }

  .brand-logo-img {
    height: 42px;
    max-height: 42px;
  }

  /* Topbar Mobile Cleanup */
  .topbar {
    padding: 0.4rem 0;
  }

  .topbar-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .topbar-info-item span {
    font-size: 0.78rem;
  }

  .topbar-info-item:nth-child(3) {
    display: none !important; /* Hide address in topbar on mobile to keep topbar compact */
  }

  .topbar-right {
    width: 100%;
    justify-content: center;
    margin-top: 0.2rem;
  }

  /* Mobile Hero Slider Overhaul */
  .hero-slide {
    padding: 3.2rem 0 4.2rem 0;
    min-height: 460px;
    background-position: center center;
  }

  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.85) 0%, rgba(6, 14, 26, 0.68) 60%, rgba(6, 14, 26, 0.40) 100%);
  }

  .hero-grid {
    max-width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 0.8rem;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9);
  }

  .hero-content p {
    font-size: 0.98rem;
    margin-bottom: 1.6rem;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  }

  .hero-content .badge {
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
  }

  .hero-buttons {
    justify-content: center;
    gap: 0.8rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.85rem 1.4rem;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .cta-flex h3 {
    font-size: 1.25rem;
    justify-content: center;
  }

  .contact-info-card, .contact-form-card {
    padding: 1.8rem;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .info-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .calendar-days-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .widget-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 1rem;
    right: 1rem;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    z-index: 990;
  }
}

/* 4. Small Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }

  .brand-logo-img {
    height: 38px;
  }

  .hero-slide {
    min-height: 420px;
    padding: 2.2rem 0 3.8rem 0;
  }

  .hero-content h1 {
    font-size: 1.55rem;
    line-height: 1.22;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .calendar-days-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .treatment-detail-hero h1 {
    font-size: 2.1rem;
  }
}
