/* ===================================
   Architectural Studio - Dark Mahogany & Antique Bronze Theme
   =================================== */

:root {
  --primary-color: #2C1810;
  --secondary-color: #8B7355;
  --accent-bronze: #CD7F32;
  --light-mahogany: #4A2C1A;
  --text-light: #F5F5DC;
  --text-gold: #D4AF37;
  --overlay-dark: rgba(44, 24, 16, 0.85);
  --shadow-bronze: rgba(205, 127, 50, 0.3);
}

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

body {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  background-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6,
.display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  color: var(--text-gold) !important;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lead {
  color: var(--text-light) !important;
  font-size: 1.3rem !important;
  font-weight: 300;
}

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

.text-white {
  color: #FFFFFF !important;
}

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

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
  background: linear-gradient(180deg, var(--primary-color) 0%, rgba(44, 24, 16, 0.95) 100%) !important;
  padding: 1.2rem 0 !important;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-bronze);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 0.8rem 0 !important;
  background: rgba(44, 24, 16, 0.98) !important;
}

.navbar-brand {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--text-gold) !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--accent-bronze) !important;
  transform: scale(1.05);
}

.navbar-toggler {
  border-color: var(--accent-bronze) !important;
  background-color: var(--light-mahogany) !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='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: var(--text-light) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.3rem;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-mahogany) 50%, var(--primary-color) 100%);
  background-image: 
    url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"...'),
    linear-gradient(135deg, var(--primary-color) 0%, var(--light-mahogany) 100%);
  background-size: 100px 100px, cover;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, transparent 20%, var(--primary-color) 80%);
  pointer-events: none;
}

.fog-overlay {
  z-index: 1;
  pointer-events: none;
}

.fog-layer {
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(139, 115, 85, 0.1) 25%, 
    rgba(205, 127, 50, 0.15) 50%, 
    rgba(139, 115, 85, 0.1) 75%, 
    transparent 100%);
  animation: fogMove 20s ease-in-out infinite;
}

@keyframes fogMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(50%); }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.8rem 2rem !important;
  border-radius: 0 !important;
  border: 2px solid transparent !important;
  transition: all 0.4s ease !important;
  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.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bronze), var(--text-gold)) !important;
  color: var(--primary-color) !important;
  border-color: var(--accent-bronze) !important;
  box-shadow: 0 4px 15px var(--shadow-bronze);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--text-gold), var(--accent-bronze)) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--shadow-bronze);
}

.btn-secondary {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
}

.btn-secondary:hover {
  background: var(--light-mahogany) !important;
  color: var(--text-gold) !important;
  border-color: var(--accent-bronze) !important;
  transform: translateY(-3px);
}

.btn-outline-light {
  color: var(--text-light) !important;
  border-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;
}

.btn-sm {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.9rem !important;
}

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

/* ===================================
   FORMS
   =================================== */

.form-control,
.form-select {
  background-color: rgba(139, 115, 85, 0.2) !important;
  border: 2px solid var(--secondary-color) !important;
  color: var(--text-light) !important;
  padding: 0.8rem 1rem !important;
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(139, 115, 85, 0.3) !important;
  border-color: var(--accent-bronze) !important;
  color: var(--text-light) !important;
  box-shadow: 0 0 0 0.25rem rgba(205, 127, 50, 0.25) !important;
}

.form-control::placeholder {
  color: var(--secondary-color) !important;
  opacity: 0.8;
}

.form-label {
  color: var(--text-gold) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem !important;
  margin-bottom: 0.5rem !important;
}

.form-select option {
  background-color: var(--primary-color) !important;
  color: var(--text-light) !important;
}

/* ===================================
   BOOKING WIDGET
   =================================== */

.booking-widget {
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.95), rgba(74, 44, 26, 0.95)) !important;
  border: 2px solid var(--accent-bronze) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--shadow-bronze);
  max-width: 1000px;
  position: relative;
}

.booking-widget::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-bronze), var(--text-gold), var(--accent-bronze));
  z-index: -1;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.booking-widget:hover::before {
  opacity: 1;
}

/* ===================================
   CARDS
   =================================== */

.card {
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(74, 44, 26, 0.9)) !important;
  border: 1px solid var(--accent-bronze) !important;
  border-radius: 0 !important;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(205, 127, 50, 0.2), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--shadow-bronze);
  border-color: var(--text-gold) !important;
}

.card-body {
  padding: 2rem !important;
  position: relative;
  z-index: 1;
}

.room-card,
.experience-card,
.testimonial-card {
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.95), rgba(74, 44, 26, 0.95)) !important;
  border: 2px solid var(--secondary-color) !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.room-card:hover,
.experience-card:hover,
.testimonial-card:hover {
  border-color: var(--accent-bronze) !important;
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.room-overlay {
  background: linear-gradient(0deg, rgba(44, 24, 16, 0.95) 0%, transparent 100%) !important;
  transition: background 0.3s ease;
}

.room-card:hover .room-overlay {
  background: linear-gradient(0deg, rgba(44, 24, 16, 0.85) 0%, rgba(44, 24, 16, 0.3) 100%) !important;
}

/* ===================================
   IMAGES
   =================================== */

.img-fluid {
  transition: all 0.4s ease;
  filter: sepia(20%) brightness(0.95);
}

.img-fluid:hover {
  transform: scale(1.05);
  filter: sepia(10%) brightness(1.05);
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5), 0 0 20px var(--shadow-bronze) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.4) !important;
}

.object-fit-cover {
  object-fit: cover !important;
  filter: sepia(15%);
}

/* ===================================
   PARALLAX & BACKGROUNDS
   =================================== */

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.7), rgba(74, 44, 26, 0.8));
  z-index: 1;
}

.parallax-bg > * {
  position: relative;
  z-index: 2;
}

/* ===================================
   SECTIONS
   =================================== */

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

.py-3 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.px-4 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.px-5 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

section {
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bronze), transparent);
}

/* ===================================
   VIDEO SECTION
   =================================== */

.video-section {
  position: relative;
  background: var(--primary-color);
  padding: 5rem 0;
}

.ornate-corner {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent-bronze);
  pointer-events: none;
}

.ornate-corner::before,
.ornate-corner::after {
  content: '';
  position: absolute;
  background: var(--text-gold);
}

.ornate-corner::before {
  width: 20px;
  height: 2px;
}

.ornate-corner::after {
  width: 2px;
  height: 20px;
}

.ratio {
  border: 3px solid var(--accent-bronze);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.bi-play-circle {
  font-size: 5rem !important;
  color: var(--text-gold) !important;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.bi-play-circle:hover {
  color: var(--accent-bronze) !important;
  transform: scale(1.2);
}

/* ===================================
   PHILOSOPHY SECTION
   =================================== */

.philosophy-section .card {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-section .bi {
  font-size: 3rem !important;
  color: var(--accent-bronze) !important;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.philosophy-section .card:hover .bi {
  color: var(--text-gold) !important;
  transform: scale(1.2) rotate(10deg);
}

/* ===================================
   TIMELINE
   =================================== */

.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-bronze), var(--text-gold), var(--accent-bronze));
}

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

.timeline-marker {
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent-bronze);
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 0 3px var(--accent-bronze);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  background: var(--text-gold);
  box-shadow: 0 0 0 5px var(--text-gold), 0 0 20px var(--text-gold);
  transform: scale(1.3);
}

/* ===================================
   NARRATIVE BLOCK
   =================================== */

.narrative-block {
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.6), rgba(74, 44, 26, 0.6));
  border-left: 4px solid var(--accent-bronze);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.narrative-block:hover {
  border-left-width: 8px;
  padding-left: 2.5rem;
  background: linear-gradient(135deg, rgba(44, 24, 16, 0.8), rgba(74, 44, 26, 0.8));
}

/* ===================================
   TEAM SECTION
   =================================== */

.team-section .card {
  transition: all 0.4s ease;
}

.team-section .card:hover {
  transform: translateY(-15px) scale(1.02);
}

.team-section img {
  filter: grayscale(30%) sepia(20%);
  transition: all 0.4s ease;
}

.team-section .card:hover img {
  filter: grayscale(0%) sepia(0%);
}

/* ===================================
   MASONRY GRID
   =================================== */

.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-grid > * {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

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

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

/* ===================================
   HORIZONTAL SCROLL
   =================================== */

.horizontal-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-bronze) var(--primary-color);
}

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

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

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent-bronze);
  border-radius: 4px;
}

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

.horizontal-scroll {
  display: flex;
  flex-wrap: nowrap;
  min-width: min-content;
}

/* ===================================
   TOURS & EXPERIENCES
   =================================== */

.tours,
.dining,
.events,
.wellness {
  scroll-margin-top: 100px;
}

.postcard-image {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--accent-bronze);
}

.postcard-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(205, 127, 50, 0.3) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.experience-card:hover .postcard-image::after {
  transform: translateX(100%);
}

/* ===================================
   BADGE
   =================================== */

.badge {
  background: linear-gradient(135deg, var(--accent-bronze), var(--text-gold)) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
   FILTER BUTTONS
   =================================== */

.filter-btn {
  background: rgba(139, 115, 85, 0.3) !important;
  color: var(--text-light) !important;
  border: 2px solid var(--secondary-color) !important;
  padding: 0.6rem 1.5rem !important;
  transition: all 0.3s ease;
  border-radius: 0 !important;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-bronze) !important;
  color: var(--primary-color) !important;
  border-color: var(--accent-bronze) !important;
  transform: translateY(-2px);
}

/* ===================================
   TABLE
   =================================== */

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

.table-dark {
  background-color: rgba(44, 24, 16, 0.8) !important;
  border-color: var(--secondary-color) !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(139, 115, 85, 0.2) !important;
  color: var(--text-gold) !important;
}

.table thead th {
  border-bottom: 2px solid var(--accent-bronze) !important;
  color: var(--text-gold) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600 !important;
}

.table td,
.table th {
  border-color: rgba(139, 115, 85, 0.3) !important;
  padding: 1rem !important;
}

/* ===================================
   ACCORDION
   =================================== */

.accordion-item {
  background-color: rgba(44, 24, 16, 0.9) !important;
  border: 1px solid var(--secondary-color) !important;
  border-radius: 0 !important;
  margin-bottom: 1rem;
}

.accordion-button {
  background-color: rgba(74, 44, 26, 0.8) !important;
  color: var(--text-gold) !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1.2rem 1.5rem !important;
  font-size: 1.1rem !important;
  letter-spacing: 1px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--accent-bronze) !important;
  color: var(--primary-color) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(205, 127, 50, 0.25) !important;
  border-color: var(--accent-bronze) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(70%) sepia(50%) saturate(500%) hue-rotate(10deg);
}

.accordion-body {
  background-color: rgba(44, 24, 16, 0.95) !important;
  color: var(--text-light) !important;
  padding: 1.5rem !important;
  border-top: 1px solid var(--secondary-color);
}

/* ===================================
   ALERTS
   =================================== */

.alert {
  border-radius: 0 !important;
  border: 2px solid var(--secondary-color) !important;
  background-color: rgba(139, 115, 85, 0.2) !important;
  color: var(--text-light) !important;
}

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

/* ===================================
   BOOTSTRAP ICONS
   =================================== */

.bi {
  color: var(--accent-bronze) !important;
  transition: all 0.3s ease;
}

.bi:hover {
  color: var(--text-gold) !important;
  transform: scale(1.1);
}

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

/* ===================================
   LINKS
   =================================== */

a {
  color: var(--accent-bronze) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--text-gold) !important;
  text-decoration: underline !important;
}

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

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

/* ===================================
   STICKY ELEMENTS
   =================================== */

.sticky-top {
  top: 80px !important;
}

.sticky-lg-top {
  position: sticky;
  top: 100px;
  z-index: 10;
}

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

/* ===================================
   FOOTER
   =================================== */

footer {
  background: linear-gradient(180deg, var(--primary-color), #1a0f08) !important;
  border-top: 3px solid var(--accent-bronze);
  color: var(--text-light) !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(139, 115, 85, 0.03) 10px,
    rgba(139, 115, 85, 0.03) 20px
  );
  pointer-events: none;
}

footer h5,
footer h3 {
  color: var(--text-gold) !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--accent-bronze);
  padding-bottom: 0.5rem;
  display: inline-block;
}

footer .list-unstyled li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

footer .list-unstyled li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-bronze);
}

footer a {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  padding-left: 0.5rem;
}

footer a:hover {
  color: var(--text-gold) !important;
  padding-left: 1rem;
}

/* ===================================
   NAV VARIATIONS
   =================================== */

.privacy-nav .nav-link {
  font-size: 0.95rem !important;
  padding: 0.3rem 0.8rem !important;
}

/* ===================================
   UTILITIES
   =================================== */

.overflow-hidden {
  overflow: hidden !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

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

.d-flex { display: flex !important; }
.d-block { display: block !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }

.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

.text-center { text-align: center !important; }
.text-end { text-align: end !important; }

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

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-2 { padding: 0.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-5 { padding-top: 3rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }
.ps-lg-5 { padding-left: 0 !important; }
.p-lg-5 { padding: 1rem !important; }

.rounded { border-radius: 0.25rem !important; }

.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.start-0 { start: 0 !important; }
.start-50 { start: 50% !important; }
.translate-middle { transform: translate(-50%, -50%) !important; }

/* ===================================
   RESPONSIVE - DESKTOP OVERRIDES
   =================================== */

@media (min-width: 992px) {
  .ps-lg-5 { padding-left: 3rem !important; }
  .p-lg-5 { padding: 3rem !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 24, 16, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border: 2px solid var(--accent-bronze);
    border-radius: 0;
  }
  
  .nav-link {
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid rgba(139, 115, 85, 0.3);
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .booking-widget {
    max-width: 100%;
  }
  
  .sticky-lg-top {
    position: static;
  }
  
  .text-md-start {
    text-align: start !important;
  }
  
  .text-md-end {
    text-align: end !important;
  }
  
  .mt-md-0 {
    margin-top: 0 !important;
  }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 576px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem !important;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .bi-play-circle {
    font-size: 3rem !important;
  }
  
  .horizontal-scroll .experience-card,
  .horizontal-scroll .room-card {
    min-width: 280px;
  }
  
  .table-responsive {
    font-size: 0.9rem;
  }
  
  .accordion-button {
    font-size: 1rem !important;
    padding: 1rem !important;
  }
  
  footer {
    text-align: center;
  }
  
  footer .list-unstyled li {
    padding-left: 0;
  }
  
  footer .list-unstyled li::before {
    display: none;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */

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

@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);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

/* ===================================
   SCROLL BEHAVIOR
   =================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* ===================================
   LOADING STATES
   =================================== */

.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid var(--secondary-color);
  border-top-color: var(--accent-bronze);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===================================
   SELECTION
   =================================== */

::selection {
  background: var(--accent-bronze);
  color: var(--primary-color);
}

::-moz-selection {
  background: var(--accent-bronze);
  color: var(--primary-color);
}

/* ===================================
   FOCUS STATES
   =================================== */

*:focus {
  outline: 2px solid var(--accent-bronze) !important;
  outline-offset: 2px;
}

button:focus,
.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(205, 127, 50, 0.5) !important;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}