/* Midnight Empire Architecture Studio - CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #1A237E;
  --secondary-color: #FFA726;
  --dark-bg: #0D1117;
  --light-bg: #F5F5F5;
  --text-light: #FFFFFF;
  --text-dark: #212529;
  --accent-gold: #FFD700;
  --shadow-color: rgba(26, 35, 126, 0.2);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 300;
  opacity: 0.95;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
  transition: var(--transition);
  z-index: 9999;
}

.navbar.scrolled {
  background: rgba(26, 35, 126, 0.98) !important;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: var(--text-light) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  position: relative;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: 2px solid var(--secondary-color) !important;
  padding: 0.5rem 0.75rem;
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 167, 38, 0.25) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFA726' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

.btn-primary {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 4px 15px rgba(255, 167, 38, 0.4);
}

.btn-primary:hover {
  background: #FF9800 !important;
  border-color: #FF9800 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 167, 38, 0.6);
  color: var(--text-dark) !important;
}

.btn-outline-light {
  border: 2px solid var(--text-light) !important;
  color: var(--text-light) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-3px);
}

.btn-outline-dark {
  border: 2px solid var(--text-dark) !important;
  color: var(--text-dark) !important;
  background: transparent !important;
}

.btn-outline-dark:hover {
  background: var(--text-dark) !important;
  color: var(--text-light) !important;
  border-color: var(--text-dark) !important;
  transform: translateY(-3px);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 50%, #1565C0 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 167, 38, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(30deg, rgba(255, 167, 38, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 167, 38, 0.05) 87.5%, rgba(255, 167, 38, 0.05)),
    linear-gradient(150deg, rgba(255, 167, 38, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 167, 38, 0.05) 87.5%, rgba(255, 167, 38, 0.05)),
    linear-gradient(30deg, rgba(255, 167, 38, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 167, 38, 0.05) 87.5%, rgba(255, 167, 38, 0.05)),
    linear-gradient(150deg, rgba(255, 167, 38, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 167, 38, 0.05) 87.5%, rgba(255, 167, 38, 0.05));
  background-size: 80px 140px;
  animation: backgroundScroll 20s linear infinite;
}

@keyframes backgroundScroll {
  0% { background-position: 0 0, 0 0, 40px 70px, 40px 70px; }
  100% { background-position: 80px 140px, 80px 140px, 120px 210px, 120px 210px; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-content {
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-section .text-white {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .lead {
  animation: fadeInUp 1s ease-out 0.4s both;
  color: rgba(255, 255, 255, 0.95) !important;
}

.hero-section .btn {
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ABOUT HERO ===== */
.about-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, #283593 100%);
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M50 0L100 50L50 100L0 50z" fill="%23FFA726" opacity="0.05"/></svg>');
  background-size: 100px 100px;
  animation: geometricMove 20s linear infinite;
}

@keyframes geometricMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* ===== PRIVACY HERO ===== */
.privacy-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #283593 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.privacy-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 167, 38, 0.1) 0%, transparent 70%);
}

.subtitle {
  color: var(--secondary-color) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.last-updated {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

/* ===== SPLIT CONTAINER ===== */
.split-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.timeline-side {
  background: linear-gradient(135deg, var(--primary-color) 0%, #283593 100%);
  padding: 4rem 2rem;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  color: var(--text-light);
}

.story-side {
  background: var(--light-bg);
  padding: 4rem 2rem;
}

.timeline-marker {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 167, 38, 0.3);
}

.timeline-marker::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: 100%;
  background: rgba(255, 167, 38, 0.3);
}

.timeline-marker:last-child::after {
  display: none;
}

/* ===== PARALLAX IMAGES ===== */
.parallax-images {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease-out;
}

/* ===== STORY SECTION ===== */
.story-section {
  margin-bottom: 4rem;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RUNE DIVIDER ===== */
.rune-divider {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.rune-divider::before,
.rune-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.rune-divider::before {
  left: 0;
}

.rune-divider::after {
  right: 0;
}

.rune-symbol {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  transform: rotate(45deg);
  position: relative;
}

.rune-symbol::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
}

/* ===== QUOTE BOX ===== */
.quote-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, #283593 100%);
  padding: 2rem;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  margin: 2rem 0;
  position: relative;
  color: var(--text-light) !important;
}

.quote-box::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  color: var(--secondary-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border-top: 4px solid var(--secondary-color);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(26, 35, 126, 0.2);
}

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-text {
  color: #666;
  line-height: 1.8;
}

/* ===== ROOM CARDS ===== */
.room-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(26, 35, 126, 0.2);
}

.room-gallery {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.room-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.room-card:hover .room-gallery img {
  transform: scale(1.1);
}

.room-details {
  padding: 1.5rem;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.room-amenities .badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
}

/* ===== CAROUSEL ===== */
.carousel {
  border-radius: 12px;
  overflow: hidden;
}

.carousel-item img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(26, 35, 126, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--transition);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--secondary-color);
}

/* ===== MASONRY GRID ===== */
.masonry-grid {
  column-count: 3;
  column-gap: 2rem;
}

.room-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  display: inline-block;
  width: 100%;
}

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  background: white;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
  margin: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

/* ===== HORIZONTAL SCROLL ===== */
.horizontal-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) var(--light-bg);
  padding-bottom: 1rem;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-track {
  background: var(--light-bg);
  border-radius: 10px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.amenity-card {
  min-width: 280px;
  scroll-snap-align: start;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 35, 126, 0.2);
}

/* ===== BADGES ===== */
.badge {
  font-weight: 600 !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
  color: var(--text-dark) !important;
}

.bg-light {
  background-color: #F0F0F0 !important;
  color: var(--text-dark) !important;
}

/* ===== FORMS ===== */
.form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 167, 38, 0.25) !important;
  outline: none;
}

.form-control::placeholder {
  color: #999;
  font-style: italic;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 167, 38, 0.25) !important;
}

.form-check-label {
  cursor: pointer;
  margin-left: 0.5rem;
}

/* ===== ACCORDION ===== */
.accordion {
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, #283593 100%) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(1) invert(0);
}

.accordion-body {
  padding: 1.5rem;
  background: white;
  color: var(--text-dark);
  line-height: 1.8;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.1) 0%, rgba(26, 35, 126, 0.1) 100%);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* ===== TOC SIDEBAR ===== */
.toc-sidebar {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.75rem;
}

.toc-link {
  color: var(--text-dark) !important;
  text-decoration: none !important;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
}

.toc-link:hover,
.toc-link.active {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateX(5px);
}

/* ===== PRIVACY CONTENT ===== */
.privacy-content {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== ICONS ===== */
.bi {
  vertical-align: middle;
}

/* ===== SHADOWS ===== */
.shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* ===== TEXT COLORS ===== */
.text-white {
  color: var(--text-light) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-muted {
  color: #6c757d !important;
}

.text-dark {
  color: var(--text-dark) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

/* ===== BACKGROUNDS ===== */
.bg-light {
  background-color: var(--light-bg) !important;
}

.bg-dark {
  background-color: var(--dark-bg) !important;
}

/* ===== UTILITY CLASSES ===== */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-sticky {
  position: sticky;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.d-flex {
  display: flex;
}

.d-inline-flex {
  display: inline-flex;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

.rounded-circle {
  border-radius: 50% !important;
}

.border-0 {
  border: 0 !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

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

.text-decoration-none {
  text-decoration: none !important;
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fs-2 {
  font-size: 2rem !important;
}

.fs-3 {
  font-size: 1.75rem !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

.small {
  font-size: 0.875rem;
}

.opacity-25 {
  opacity: 0.25 !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 35, 126, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .timeline-side {
    position: relative;
    height: auto;
    top: 0;
  }
  
  .split-container {
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .privacy-content {
    padding: 1.5rem;
  }
  
  .toc-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.3rem !important;
  }
  
  .hero-section {
    padding-top: 100px;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .amenity-card {
    min-width: 240px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-rotate {
  animation: rotate 20s linear infinite;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* ===== FOCUS STYLES ===== */
*:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--light-bg);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===== CUSTOM SPACING ===== */
.mb-6 {
  margin-bottom: 4rem !important;
}

.mt-6 {
  margin-top: 4rem !important;
}

.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* ===== END OF STYLES ===== */