:root {
  --primary: #d4af37; /* Metallic Gold */
  --primary-hover: #b5952f;
  --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  --secondary: #0b101a; /* Obsidian Navy */
  --bg-cream: #fbfbfa; /* Pristine Alabaster */
  --dark: #000000;
  --light: #f5f4ef;
  --white: #ffffff;
  --text: #334155;
  --text-muted: #64748b;
  --glass-bg: rgba(251, 251, 250, 0.85);
  --hero-title-color: #ffffff;
  --hero-subtitle-color: #d4af37;
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background-color: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bg-light {
  background-color: var(--light);
}

.section-padding {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.25rem;
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: 'Outfit', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-gold {
  background: var(--gold-gradient);
  background-size: 200% auto;
  color: #0b101a;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: all 0.5s ease;
}

.btn-small {
  font-size: 0.95rem;
  padding: 10px 20px;
  display: block;
  margin: 0 auto;
}

.btn-gold:hover {
  background-position: right center;
  color: #000;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar.scrolled h2 {
  color: var(--secondary);
}

.navbar.scrolled .nav-links a {
  color: var(--text);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo h2 {
  font-size: 1.8rem;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar.scrolled .menu-toggle {
  color: var(--secondary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1001;
  padding: 40px;
  transition: right 0.4s ease;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

.mobile-nav-links {
  list-style: none;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--secondary);
}

/* Hero Section & Slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1.05);
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  top: -50px;
}

.hero-title {
  color: var(--hero-title-color);
  font-size: 5.5rem;
  letter-spacing: -2px;
  font-weight: 700;
  margin-bottom: 5px;
  text-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
  color: var(--hero-subtitle-color);
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-bottom: 50px;
  text-shadow: 0px 4px 10px rgba(0,0,0,0.5);
}

/* Booking Section */
.booking-section {
  position: relative;
  margin-top: -100px;
  z-index: 10;
  padding: 0 20px;
}

.booking-container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  padding: 35px;
}

.booking-title {
  text-align: center;
  margin-bottom: 25px;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  color: var(--secondary);
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 15px;
  align-items: end;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 500;
}

.input-group label i {
  color: var(--primary);
  margin-right: 5px;
}

.input-group input, 
.input-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

.input-group input:focus, 
.input-group select:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 1);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.guest-group {
  display: flex;
  gap: 10px;
}

.half {
  flex: 1;
}

/* Facilities Section */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.facility-card {
  position: relative;
  text-align: center;
  background-color: var(--dark);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s, box-shadow 0.4s;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: none;
}
.facility-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: var(--gold-gradient); transition: height 0.4s; z-index: 10;
}
.facility-card:hover::after { height: 6px; }

.facility-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
  transition: background 0.3s;
}

.facility-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
}

.facility-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
}

.facility-card h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.facility-card p {
  color: #f1f5f9;
  font-size: 1.05rem;
  opacity: 0.9;
  font-weight: 300;
}

.facility-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

/* Location Section */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.location-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--dark);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.4s, box-shadow 0.4s;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 280px;
  border: none;
}
.location-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: var(--gold-gradient); transition: height 0.4s; z-index: 10;
}
.location-item:hover::after { height: 6px; }

.location-item .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
  z-index: 1;
  transition: background 0.3s;
}

.location-item:hover .card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.5));
}

.location-item:hover {
  transform: translateY(-5px);
}

.loc-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 25px;
}

.loc-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.loc-details h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-family: 'Outfit', sans-serif;
}

.loc-details span {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Map Section */
.map-section {
  display: flex;
}

/* Floating WhatsApp */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
}

.floating-whatsapp {
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  background-color: white;
  color: #333;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-right: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.whatsapp-float-container:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Footer Section */
.footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.brand-col h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.brand-col p {
  color: #94a3b8;
  margin-bottom: 25px;
  max-width: 350px;
}

.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.3s, color 0.3s;
}

.socials a:hover {
  background-color: var(--primary);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold-gradient);
}

.links-col ul {
  list-style: none;
}

.links-col ul li {
  margin-bottom: 12px;
}

.links-col ul a {
  color: #94a3b8;
  transition: color 0.3s, padding-left 0.3s;
}

.links-col ul a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.contact-col p {
  color: #94a3b8;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-col p i {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #64748b;
  font-size: 0.9rem;
}

/* Animations & Form Details */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-up {
  animation: slideUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 3px solid white;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

.hidden {
  display: none !important;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#booking-msg {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Medias Queries */
@media (max-width: 1100px) {
  .booking-form {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
  }
  .input-group:nth-child(1), .input-group:nth-child(2), .input-group:nth-child(3) {
    grid-column: span 1;
  }
  .input-group:nth-child(4), .input-group:nth-child(5), .guest-group {
    grid-column: span 1;
  }
  .submit-group {
    grid-column: span 3;
    margin-top: 10px;
  }
  .booking-section {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 3rem;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .submit-group {
    grid-column: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Rooms Section */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.room-card {
    background: white; border-radius: 12px; overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: all 0.4s ease;
}
.room-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: var(--gold-gradient); transition: height 0.4s; z-index: 10;
}
.room-card:hover::after { height: 6px; }

.room-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.room-img { height: 260px; background-size: cover; background-position: center; }
.room-info { padding: 40px 30px; text-align: center; }
.room-info h3 { margin-bottom: 12px; font-size: 1.8rem; letter-spacing: 0.5px; }
.room-info p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.btn-outline-dark { border: 1px solid rgba(11,16,26,0.3); color: var(--secondary); padding: 12px 30px; margin-top: 25px; display: inline-block; transition: 0.4s; border-radius: 50px; font-weight: 500; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px;}
.btn-outline-dark:hover { background: var(--secondary); color: white; border-color: var(--secondary); box-shadow: 0 10px 25px rgba(0,0,0,0.2); transform: translateY(-3px); }

/* Modals */
.room-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.4s;
}
.room-modal.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: white; width: 90%; max-width: 800px;
    border-radius: 12px; position: relative; overflow: hidden;
    transform: translateY(50px); transition: 0.4s;
}
.room-modal.active .modal-content { transform: translateY(0); }
.close-modal {
    position: absolute; top: 15px; right: 20px; font-size: 1.5rem;
    color: white; cursor: pointer; z-index: 10;
    background: rgba(0,0,0,0.5); width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.modal-body { display: flex; flex-direction: column; }
.room-gallery { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 0; }
.main-gallery-img { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; transition: 0.3s; }
.thumb-track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.thumb-track::-webkit-scrollbar { height: 6px; }
.thumb-track::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
.thumb { flex: 0 0 100px; height: 75px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: 0.3s; }
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--primary); }
.modal-text { padding: 20px 30px 30px; }
.room-desc { color: #64748b; font-size: 1rem; margin-top: 10px; line-height: 1.6; }
.room-facilities-list {
    list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
    margin: 20px 0 30px;
}
.room-facilities-list li { display: flex; align-items: center; font-size: 1.05rem; }
.room-facilities-list i { color: var(--primary); margin-right: 15px; width: 20px; text-align: center; }

/* Summary */
.booking-summary-wrapper { text-align: center; margin-bottom: 20px; margin-top: -5px; }
#booking-summary-text { font-size: 1.1rem; color: var(--secondary); }

