.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.content-typography p {
  margin-bottom: 1.5rem;
  color: #475569;
  line-height: 1.625;
  font-size: 1.125rem;
}

.dark .content-typography p {
  color: #cbd5e1;
}

.content-typography h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
  font-size: 1.875rem;
  line-height: 1.2;
}

.dark .content-typography h2 {
  color: #fff;
}

.content-typography h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
}

.dark .content-typography h3 {
  color: #f1f5f9;
}

.sticky-toc {
  position: sticky;
  top: 120px;
}

.contenting h1,
.contenting h2,
.contenting h3 {
  scroll-margin-top: var(--toc-offset, 140px);
}

.autoc ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid #e2e8f0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.autoc ul li {
  border-left: 2px solid transparent;
  padding-left: 1rem;
  transition: all 0.2s ease;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.autoc ul li.autoc-level-H3 {
  margin-left: 12px;
  font-size: 11px;
}

.autoc ul li a {
  text-decoration: none;
  color: inherit;
}

.autoc ul li.is-active {
  color: var(--toc-active-color, #354f6c);
  border-left-color: var(--toc-active-color, #354f6c);
  font-weight: 500;
}

.pay-box.active {
  border-color: #0d1b2a !important;
  box-shadow: 0 10px 30px -10px rgba(197, 160, 89, 0.2);
  transform: translateY(-2px);
}

.pay-box {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.pay-box:hover:not(.active) {
  border-color: #e2e8f0;
  transform: translateY(-1px);
}

.pay-box:focus-within {
  border-color: #0d1b2a !important;
}

.check-icon {
  display: none;
}

.active .check-icon {
  display: flex;
}

.timeline-line {
  background: linear-gradient(to bottom, transparent, #0d1b2a 5%, #0d1b2a 95%, transparent);
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.milestone-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.milestone-card:hover {
  transform: translateY(-8px);
}

.milestone-img-styled {
  border: solid 1px #eaeaea;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  width: 100%;
}

.year-nav-item.active {
  color: #0d1b2a;
  opacity: 1 !important;
}

.year-nav-item.active::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 12px;
  background-color: #0d1b2a;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #0d1b2a;
  border: 2px solid #fff;
  z-index: 20;
}

.events-hero {
  scroll-behavior: smooth;
}

@media (max-width: 1024px) {
  .timeline-line {
    left: 24px;
    transform: none;
  }

  .timeline-marker {
    left: 24px;
  }
}

/* —— Çerez bildirimi (footer.php; JS: assets/js/main.js) —— */
html:not(.trwp-cookie-js-done) .trwp-cookie-consent {
  visibility: hidden;
}
html.trwp-cookie-js-done:not(.trwp-cookie-accepted) .trwp-cookie-consent {
  visibility: visible;
}
html.trwp-cookie-accepted .trwp-cookie-consent {
  display: none !important;
}

.trwp-cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(730px, calc(100vw - 24px));
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  z-index: 9998;
}

.trwp-cookie-consent__panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

@media (min-width: 768px) {
  .trwp-cookie-consent__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .trwp-cookie-consent {
    bottom: 10px;
    width: calc(100vw - 16px);
  }
}

.dark .trwp-cookie-consent__panel {
  border-color: rgba(71, 85, 105, 0.5);
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.85) 0%, rgba(39, 39, 42, 0.9) 100%);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trwp-cookie-consent__text {
  flex: 1;
  min-width: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .trwp-cookie-consent__text {
    text-align: left;
  }
}

.trwp-cookie-consent__text a {
  color: var(--color1, #0d1b2a);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.trwp-cookie-consent__text a:hover {
  opacity: 0.85;
}

.dark .trwp-cookie-consent__text a {
  color: #93c5fd;
}

.trwp-cookie-consent__btn {
  flex-shrink: 0;
  align-self: center;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color1, #0d1b2a);
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.trwp-cookie-consent__btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.3);
}

.trwp-cookie-consent__btn:focus-visible {
  outline: 2px solid var(--color2, #8199ad);
  outline-offset: 3px;
}

.trwp-cookie-consent .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Randevu modal (randevu-modal.php) —— */
#randevuModal {
  contain: layout style paint;
}

#randevuModal.hidden {
  display: none !important;
  opacity: 0;
}

#randevuModal:not(.hidden) {
  opacity: 0;
  pointer-events: none;
  animation: randevu-modal-fadeIn 0.3s ease-out forwards;
}

@keyframes randevu-modal-fadeIn {
  to {
    opacity: 1;
    pointer-events: auto;
  }
}

.randevu-modal-glass-panel {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
  position: relative;
}

.randevu-modal-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
}

#randevuModal:not(.hidden) .randevu-modal-glass-panel {
  animation: randevu-modal-scaleIn 0.3s ease-out forwards;
}

@keyframes randevu-modal-scaleIn {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}

.randevu-modal-time-slot {
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.randevu-modal-time-slot:hover:not(:disabled):not(.active) {
  background-color: #f1f5f9;
}

.randevu-modal-time-slot.active:hover {
  background: #1d4ed8;
  color: white;
}

.randevu-modal-time-slot.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.randevu-modal-time-slot:disabled {
  border-color: #e2e8f0;
}

.randevu-modal-calendar-day.today {
  font-weight: 700;
}

.randevu-modal-calendar-day {
  transition: background-color 0.2s, color 0.2s;
}

.randevu-modal-calendar-day.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.randevu-modal-calendar-day.active {
  background: #2563eb;
  color: white;
  font-weight: 700;
}

.randevu-modal-calendar-day.active:hover {
  background: #2563eb !important;
  color: #fff !important;
}

.randevu-modal-floating-input-group {
  position: relative;
}

#randevuModal .randevu-modal-floating-input {
  width: 100%;
  padding: 0.95rem 1rem;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  font-weight: 500;
  color: #1e293b;
  min-height: 56px;
  line-height: 1.35;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

#randevuModal .randevu-modal-floating-input-group.has-icon .randevu-modal-floating-input {
  padding-left: 4.2rem;
}

#randevuModal .randevu-modal-floating-input:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

#randevuModal .randevu-modal-floating-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.95rem;
  transition: top 0.2s, left 0.2s, font-size 0.2s, color 0.2s;
  pointer-events: none;
  background-color: transparent;
}

#randevuModal .randevu-modal-floating-input-group.has-icon .randevu-modal-floating-label {
  left: 4.2rem;
}

#randevuModal .randevu-modal-floating-input:focus ~ .randevu-modal-floating-label,
#randevuModal .randevu-modal-floating-input:not(:placeholder-shown) ~ .randevu-modal-floating-label {
  top: -0.6rem;
  left: 0.8rem;
  transform: none;
  font-size: 0.75rem;
  color: #3b82f6;
  background-color: #ffffff;
  padding: 0 0.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

#randevuModal .randevu-modal-floating-input-group.has-icon .randevu-modal-floating-input:focus ~ .randevu-modal-floating-label,
#randevuModal .randevu-modal-floating-input-group.has-icon .randevu-modal-floating-input:not(:placeholder-shown) ~ .randevu-modal-floating-label {
  left: 0.8rem;
}

#randevuModal .randevu-modal-input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #dbeafe;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: color 0.3s;
}

#randevuModal .randevu-modal-floating-input-group.has-icon:focus-within .randevu-modal-input-icon {
  color: #3b82f6;
}

#randevuModal textarea.randevu-modal-floating-input {
  min-height: 120px;
  padding-top: 1rem;
}

#randevu-form-message.is-success {
  background: #ecfdf3;
  color: #047857;
  border: 1px solid #a7f3d0;
}

#randevu-form-message.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.trwp-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.trwp-mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.58);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.trwp-mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(92vw, 420px);
  background: #ffffff;
  color: #0f172a;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
}

.dark .trwp-mobile-menu-panel {
  background: #020408;
  color: #e2e8f0;
}

.trwp-mobile-menu.is-open {
  pointer-events: auto;
}

.trwp-mobile-menu.is-open .trwp-mobile-menu-overlay {
  opacity: 1;
}

.trwp-mobile-menu.is-open .trwp-mobile-menu-panel {
  transform: translateX(0);
}

.trwp-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid #e2e8f0;
}

.dark .trwp-mobile-menu-header {
  border-bottom-color: #1f2937;
}

.trwp-mobile-menu-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dark .trwp-mobile-menu-close {
  border-color: #334155;
}

.trwp-mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.trwp-mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trwp-mobile-menu-link,
.trwp-mobile-menu-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.9rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.85rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dark .trwp-mobile-menu-link,
.dark .trwp-mobile-menu-trigger {
  background: #0b1220;
  border-color: #1f2937;
}

.trwp-mobile-menu-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.trwp-mobile-menu-children.is-open {
  max-height: 920px;
  margin-top: 0.45rem;
}

.trwp-mobile-menu-trigger[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}

.trwp-mobile-menu-child {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 0.7rem 0.75rem;
}

.dark .trwp-mobile-menu-child {
  border-color: #1f2937;
}

.trwp-mobile-menu-child-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #334155;
  flex-shrink: 0;
}

.dark .trwp-mobile-menu-child-icon {
  background: #0f172a;
  color: #cbd5e1;
}

.trwp-mobile-menu-child-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.trwp-mobile-menu-child-title {
  font-size: 0.86rem;
  font-weight: 700;
}

.trwp-mobile-menu-child-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.dark .trwp-mobile-menu-child-desc {
  color: #94a3b8;
}

.trwp-mobile-appointment-btn {
  width: 100%;
  margin-top: 0.9rem;
  border-radius: 9999px;
  padding: 0.78rem 1rem;
  background: #0d1b2a;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trwp-mobile-lang-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.trwp-mobile-lang-chip {
  min-width: 2.7rem;
  text-align: center;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.74rem;
  font-weight: 700;
}

.trwp-mobile-lang-chip.is-active {
  background: #0d1b2a;
  color: #fff;
  border-color: #0d1b2a;
}
