/* Siegener Sabithos London Academy - Custom Stylesheet */

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

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: #0f172a;
  background-color: #ffffff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.font-serif-heading {
  font-family: var(--font-serif);
}

/* SOLID LUXURY NAVBAR */
.header-solid {
  background-color: #020617 !important; /* Tailwind slate-950 solid */
  border-bottom: 1px solid #1e293b;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 40 !important;
}

.header-announcement {
  background-color: #d97706; /* Amber 600 */
  color: #020617;
  font-weight: 700;
}

/* FULL-WIDTH HERO SLIDER */
.hero-fullwidth-section {
  position: relative;
  width: 100%;
  min-height: 660px;
  background-color: #020617;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-fullwidth-section {
    min-height: 720px;
  }
}

@media (min-width: 1024px) {
  .hero-fullwidth-section {
    min-height: 760px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

/* Deep Dark Gradient Overlay for optimal contrast */
.hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.96) 0%,
    rgba(2, 6, 23, 0.90) 45%,
    rgba(2, 6, 23, 0.75) 75%,
    rgba(2, 6, 23, 0.60) 100%
  );
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-dark-overlay {
    background: linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.92) 0%,
      rgba(2, 6, 23, 0.96) 100%
    );
  }
}

.hero-slide-content {
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.hero-slide.active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Pagination Dots */
.slider-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot.active {
  width: 2.25rem;
  background-color: #f59e0b; /* Amber 500 */
}

/* ULTRA HIGH Z-INDEX FOR MOBILE MENU & MODALS (Guaranteed on top of all containers) */
#mobile-menu-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  z-index: 999998 !important;
}

#mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #020617 !important;
  border-left: 1px solid #1e293b !important;
  z-index: 999999 !important;
}

#consultation-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
}

/* Loading Spinner */
.spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accessible focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 2px;
}
