/* Mystical Midnight Architecture Studio - Custom CSS */

/* ============================================ */
/* ROOT VARIABLES & RESET */
/* ============================================ */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #8E44AD;
  --dark-bg: #1a1a2e;
  --light-text: #ecf0f1;
  --gold-accent: #f39c12;
  --mystical-purple: #9b59b6;
  --deep-blue: #34495e;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* ============================================ */
/* NAVIGATION */
/* ============================================ */
.navbar {
  background: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 20px rgba(142, 68, 173, 0.3);
  z-index: 1030;
}

.navbar.scrolled {
  background: rgba(44, 62, 80, 0.98) !important;
  box-shadow: 0 4px 30px rgba(142, 68, 173, 0.5);
}

.navbar-brand {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-smooth);
  text-shadow: 0 0 20px rgba(142, 68, 173, 0.6);
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  text-shadow: 0 0 30px rgba(142, 68, 173, 1);
  transform: scale(1.05);
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(142, 68, 173, 0.5) !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='%238E44AD' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.3rem;
  position: relative;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--gold-accent));
  transform: translateX(-50%);
  transition: var(--transition-smooth);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  text-shadow: 0 0 15px rgba(142, 68, 173, 0.6);
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
}

.hero-video-container {
  z-index: 0;
}

.hero-video-container video,
.hero-video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(142, 68, 173, 0.7) 0%, rgba(44, 62, 80, 0.8) 100%);
  z-index: 1;
}

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

.hero-content .display-2 {
  font-weight: 700 !important;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  letter-spacing: 3px;
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
}

.hero-content .lead {
  color: #ffffff !important;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  margin-bottom: 2.5rem !important;
}

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

.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  border: none;
  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 {
  background: linear-gradient(135deg, var(--secondary-color), var(--mystical-purple)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(142, 68, 173, 0.4);
  border: 2px solid transparent !important;
}

.btn-lg:hover {
  background: linear-gradient(135deg, var(--mystical-purple), var(--secondary-color)) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(142, 68, 173, 0.6);
}

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

.btn-outline-dark:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(44, 62, 80, 0.3);
}

.btn-light {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border: 2px solid #ffffff !important;
}

.btn-light:hover {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ============================================ */
/* WELCOME SECTION */
/* ============================================ */
.welcome-section {
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  padding: 6rem 0 !important;
}

.welcome-section .img-fluid {
  transition: var(--transition-smooth);
  border: 3px solid var(--secondary-color);
}

.welcome-section .img-fluid:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 20px 50px rgba(142, 68, 173, 0.5);
}

.welcome-section .display-4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.welcome-section p {
  color: var(--light-text) !important;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* ============================================ */
/* FEATURED SUITES */
/* ============================================ */
.featured-suites {
  background: var(--primary-color);
  padding: 6rem 0;
}

.featured-suites h2 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.suite-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 450px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.suite-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(142, 68, 173, 0.5);
}

.suite-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.suite-card:hover .suite-img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.suite-overlay {
  background: linear-gradient(to top, rgba(26, 26, 46, 0.95), transparent);
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.suite-card:hover .suite-overlay {
  transform: translateY(0);
}

.suite-overlay h3 {
  color: #ffffff !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

.suite-overlay p {
  color: var(--light-text) !important;
  margin-bottom: 1.5rem;
}

/* ============================================ */
/* MYSTICAL GLOW EFFECTS */
/* ============================================ */
.mystical-glow {
  animation: mysticalGlow 2s ease-in-out infinite alternate;
}

@keyframes mysticalGlow {
  from {
    box-shadow: 0 0 20px rgba(142, 68, 173, 0.4),
                0 0 40px rgba(142, 68, 173, 0.2);
  }
  to {
    box-shadow: 0 0 40px rgba(142, 68, 173, 0.6),
                0 0 80px rgba(142, 68, 173, 0.3);
  }
}

/* ============================================ */
/* EXPERIENCES PREVIEW */
/* ============================================ */
.experiences-preview {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  padding: 6rem 0;
}

.experience-card {
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  background: #ffffff !important;
  height: 100%;
}

.experience-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 50px rgba(142, 68, 173, 0.3);
}

.experience-card img {
  transition: var(--transition-smooth);
  height: 250px;
  object-fit: cover;
}

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

.experience-card .h3 {
  color: var(--primary-color) !important;
  font-weight: 600;
  margin-top: 1.5rem;
}

.experience-card p {
  color: var(--deep-blue) !important;
  line-height: 1.7;
}

/* ============================================ */
/* TESTIMONIALS */
/* ============================================ */
.testimonials-section {
  background: var(--dark-bg);
  padding: 6rem 0;
}

.testimonials-section h2 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(142, 68, 173, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: var(--transition-smooth);
  height: 100%;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(142, 68, 173, 0.3);
}

.testimonial-card p {
  color: var(--light-text) !important;
  font-style: italic;
  margin-bottom: 1rem !important;
}

.testimonial-card h5 {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

/* ============================================ */
/* CTA SECTION */
/* ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--mystical-purple));
  padding: 5rem 0;
  text-align: center;
}

.cta-section .display-3 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  color: #ffffff !important;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
  background: rgba(26, 26, 46, 0.95);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--secondary-color);
}

.footer h5 {
  color: #ffffff !important;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer p,
.footer li {
  color: var(--light-text) !important;
}

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

.footer a {
  color: var(--light-text) !important;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.footer a:hover {
  color: var(--secondary-color) !important;
  padding-left: 5px;
}

.footer .bi {
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
}

/* ============================================ */
/* ABOUT PAGE */
/* ============================================ */
.about-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
  padding: 8rem 0 4rem;
  text-align: center;
}

.about-hero h1 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-hero p {
  color: var(--light-text) !important;
  font-size: 1.2rem;
}

.about-split-container {
  background: var(--primary-color);
}

.story-section {
  padding: 4rem 0;
  background: var(--dark-bg);
}

.parallax-wrapper {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.parallax-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease-out;
}

.story-content {
  padding: 3rem;
  color: var(--light-text) !important;
}

.narrative-block {
  margin-bottom: 2rem;
}

.narrative-block h3 {
  color: #ffffff !important;
  margin-bottom: 1rem;
}

/* ============================================ */
/* TEAM PREVIEW */
/* ============================================ */
.team-preview {
  padding: 5rem 0;
  background: var(--primary-color);
}

.team-preview h2 {
  color: #ffffff !important;
  text-align: center;
  margin-bottom: 3rem;
}

.team-preview .card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(142, 68, 173, 0.3) !important;
  transition: var(--transition-smooth);
}

.team-preview .card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color) !important;
  box-shadow: 0 20px 50px rgba(142, 68, 173, 0.4);
}

.team-preview .card img {
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
}

.team-preview .card-title {
  color: #ffffff !important;
  font-weight: 600;
}

.team-preview .card-body p {
  color: var(--light-text) !important;
}

/* ============================================ */
/* TIMELINE SECTION */
/* ============================================ */
.timeline-section {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.dragon-scales {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(142, 68, 173, 0.05) 10px,
    rgba(142, 68, 173, 0.05) 20px
  );
}

.timeline-wrapper {
  position: relative;
  padding: 2rem 0;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--mystical-purple));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 4px solid var(--dark-bg);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 20px rgba(142, 68, 173, 0.6);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(142, 68, 173, 0.3);
  width: 45%;
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.timeline-content h4 {
  color: #ffffff !important;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--light-text) !important;
  margin: 0;
}

/* ============================================ */
/* STATS GRID */
/* ============================================ */
.stats-grid {
  padding: 4rem 0;
  background: var(--primary-color);
}

.stats-grid .col-md-4 {
  text-align: center;
  padding: 2rem;
}

.stats-grid .bi {
  font-size: 3rem;
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
}

.stats-grid h3 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stats-grid p {
  color: var(--light-text) !important;
  font-size: 1.1rem;
}

/* ============================================ */
/* FORMS */
/* ============================================ */
.form-label {
  color: #ffffff !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(142, 68, 173, 0.3) !important;
  color: #ffffff !important;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(142, 68, 173, 0.25) !important;
  color: #ffffff !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.form-check-input {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(142, 68, 173, 0.3) !important;
}

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

.form-check-label {
  color: var(--light-text) !important;
}

/* ============================================ */
/* CARDS */
/* ============================================ */
.card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(142, 68, 173, 0.3) !important;
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 10px 30px rgba(142, 68, 173, 0.3);
}

.card-title {
  color: #ffffff !important;
  font-weight: 600;
}

.card-body {
  color: var(--light-text) !important;
}

.shadow,
.shadow-sm,
.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================ */
/* ACCORDION */
/* ============================================ */
.accordion-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(142, 68, 173, 0.3) !important;
  margin-bottom: 1rem;
}

.accordion-button {
  background: rgba(142, 68, 173, 0.2) !important;
  color: #ffffff !important;
  font-weight: 600;
  border: none !important;
}

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(142, 68, 173, 0.25) !important;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--light-text) !important;
}

/* ============================================ */
/* ALERTS */
/* ============================================ */
.alert {
  border-radius: 10px;
  border: 2px solid;
  font-weight: 500;
}

/* ============================================ */
/* TABLES */
/* ============================================ */
.table {
  color: var(--light-text) !important;
}

.table-hover tbody tr:hover {
  background: rgba(142, 68, 173, 0.2) !important;
  color: #ffffff !important;
}

.table thead th {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================ */
/* BADGES */
/* ============================================ */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bg-success {
  background: #27ae60 !important;
}

.bg-warning {
  background: #f39c12 !important;
}

/* ============================================ */
/* MODAL */
/* ============================================ */
.modal-content {
  background: var(--primary-color) !important;
  border: 2px solid var(--secondary-color) !important;
  border-radius: 15px;
}

.modal-header {
  border-bottom: 1px solid rgba(142, 68, 173, 0.3) !important;
}

.modal-header h5 {
  color: #ffffff !important;
}

.modal-body {
  color: var(--light-text) !important;
}

.btn-close {
  filter: invert(1);
}

/* ============================================ */
/* CAROUSEL */
/* ============================================ */
.carousel-item img {
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(142, 68, 173, 0.8);
  padding: 2rem;
  border-radius: 50%;
}

/* ============================================ */
/* UTILITIES */
/* ============================================ */
.text-white {
  color: #ffffff !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

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

.text-success {
  color: #27ae60 !important;
}

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

.bg-white {
  background: #ffffff !important;
}

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

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

.opacity-75 {
  opacity: 0.75 !important;
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

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

.hover-opacity-100:hover {
  opacity: 1 !important;
}

/* ============================================ */
/* FILTER BUTTONS */
/* ============================================ */
.filter-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid var(--secondary-color) !important;
  color: #ffffff !important;
  margin: 0.25rem;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(142, 68, 173, 0.4);
}

/* ============================================ */
/* STICKY ELEMENTS */
/* ============================================ */
.sticky-top {
  top: 80px;
  z-index: 1020;
}

.position-sticky {
  position: sticky;
  top: 80px;
}

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

.bi-star-fill,
.bi-stars {
  color: var(--gold-accent) !important;
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(142, 68, 173, 0.2);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .hero-content .display-2 {
    font-size: 2.5rem !important;
  }
  
  .hero-content .lead {
    font-size: 1.2rem !important;
  }
  
  .timeline-wrapper::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .suite-card {
    height: 350px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem;
  }
  
  .welcome-section,
  .featured-suites,
  .experiences-preview,
  .testimonials-section,
  .about-hero,
  .story-section,
  .team-preview,
  .timeline-section {
    padding: 3rem 0 !important;
  }
  
  .stats-grid .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.3rem !important;
  }
  
  .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem !important;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .p-5 {
    padding: 2rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .suite-card {
    height: 300px;
  }
}

/* ============================================ */
/* PRINT STYLES */
/* ============================================ */
@media print {
  .navbar,
  .footer,
  .btn,
  .cta-section {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ============================================ */
/* ACCESSIBILITY */
/* ============================================ */
.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;
}

*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--mystical-purple);
}

/* ============================================ */
/* LOADING ANIMATION */
/* ============================================ */
.loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(142, 68, 173, 0.3);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================ */
/* SELECTION */
/* ============================================ */
::selection {
  background: var(--secondary-color);
  color: #ffffff;
}

::-moz-selection {
  background: var(--secondary-color);
  color: #ffffff;
}