:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-text: #1a1a1a;
  --color-text-light: #555555;
  --color-primary: #5c070f;
  --color-primary-hover: #800f1a;
  --color-accent: #c4a47c;
  /* Gold/beige accent for premium feel */

  --font-main: 'League Spartan', sans-serif;
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  font-weight: 400;
}

/* Custom Animated Cursor */
.custom-cursor {
  width: 25px;
  height: 25px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  transition: transform 0.15s ease-out, background-color 0.2s;
  transform: translate(-50%, -50%);
  display: none;
  /* Hidden by default */
}

body.custom-cursor-enabled .custom-cursor {
  display: block;
}

.custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: rgba(92, 7, 15, 0.15);
}

body.custom-cursor-enabled {
  cursor: none;
}

body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled .room-card,
body.custom-cursor-enabled .gallery-img-wrap,
body.custom-cursor-enabled .link-btn {
  cursor: none !important;
}

a,
button {
  cursor: pointer;
}

input,
textarea {
  cursor: auto !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* Utilities */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 120px 0;
}

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

.bg-dark {
  background-color: #300109;
  color: #ffffff;
}

.bg-dark .section-title,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: #ffffff;
}

.bg-dark .room-card,
.bg-dark .feature-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
}

.bg-dark .room-info p,
.bg-dark .feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

.bg-dark .room-card:hover,
.bg-dark .feature-card:hover {
  background: rgba(0, 0, 0, 0.3);
}

.bg-dark .room-badge {
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.bg-dark .sub-heading {
  color: var(--color-accent);
}

.bg-dark .link-btn {
  color: var(--color-accent);
}

.bg-dark .multicolor-text {
  background: linear-gradient(135deg, #ffffff, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-heading {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 60px;
}

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

.multicolor-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header */
.glass-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1300px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 60px;
  padding: 15px 35px;
  z-index: 100;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 35px;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  /* 3D effect base */
  box-shadow: 0 6px 0 #3a0308, 0 10px 20px rgba(92, 7, 15, 0.4);
  transform: translateY(0);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  /* 3D press effect */
  transform: translateY(4px);
  box-shadow: 0 2px 0 #3a0308, 0 5px 10px rgba(92, 7, 15, 0.3);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 16px 40px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.2), 0 10px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.8), 0 5px 10px rgba(0, 0, 0, 0.3);
}

.mt-2 {
  margin-top: 40px;
}

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

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.carousel-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);
}

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

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 30px 20px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-title-main {
  font-size: clamp(50px, 10vw, 120px);
  line-height: 1;
  color: #fff;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-3d-text {
  perspective: 1000px;
}

.hero-3d-text .word {
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  text-shadow: 
    1px 1px 0px #666, 
    2px 2px 0px #555, 
    3px 3px 0px #444, 
    4px 4px 0px #333, 
    5px 5px 15px rgba(0,0,0,0.6);
}

.hero-title-main i {
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-indicator .line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: #fff;
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(300%);
  }
}

/* Rooms */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.room-card {
  background: var(--color-bg-alt);
  border-radius: 20px;
  overflow: hidden;
  /* Enhanced 3D shadow for card */
  box-shadow: 
    0 1px 1px rgba(0,0,0,0.05),
    0 2px 2px rgba(0,0,0,0.05),
    0 4px 4px rgba(0,0,0,0.05),
    0 8px 8px rgba(0,0,0,0.05),
    0 16px 16px rgba(0,0,0,0.05);
  transition: var(--transition);
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.8); /* Glassy edge */
}

.room-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 2px 2px rgba(0,0,0,0.04),
    0 4px 4px rgba(0,0,0,0.04),
    0 8px 8px rgba(0,0,0,0.04),
    0 16px 16px rgba(0,0,0,0.04),
    0 32px 32px rgba(0,0,0,0.04),
    0 64px 64px rgba(0,0,0,0.04);
}

.room-img-wrap {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
}

.room-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-img-wrap img {
  transform: scale(1.08);
}

.room-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.room-info {
  padding: 35px 30px;
}

.room-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.room-info p {
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.link-btn {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.link-btn span {
  margin-left: 5px;
  transition: transform 0.3s;
}

.link-btn:hover span {
  transform: translateX(5px);
}

/* Amenities */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--color-bg);
  padding: 40px 30px;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform-style: preserve-3d;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.02),
    0 4px 8px rgba(0,0,0,0.02),
    0 8px 16px rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  background: #fff;
  box-shadow: 
    0 5px 10px rgba(0,0,0,0.03),
    0 10px 20px rgba(0,0,0,0.03),
    0 20px 40px rgba(0,0,0,0.03),
    0 40px 80px rgba(0,0,0,0.03);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(92, 7, 15, 0.05);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 25px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 14px;
}

/* Gallery */
.gallery-true-masonry {
  column-count: 4;
  column-gap: 20px;
}

.gallery-img-wrap {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform-style: preserve-3d;
  transition: var(--transition);
}

.gallery-img-wrap:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: translateY(-5px) scale(1.02);
}

.gallery-img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.8s;
}

.gallery-img-wrap:hover img {
  transform: scale(1.08);
}

/* Footer */
.footer {
  background: #300109;
  color: var(--color-accent);
  padding: 80px 0 30px;
}

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

.footer-brand h2 {
  color: var(--color-accent);
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 350px;
}

.footer-links-col h4,
.footer-contact-col h4 {
  color: var(--color-accent);
  margin-bottom: 25px;
  font-size: 18px;
}

.footer-links-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-contact-col p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: var(--transition);
  animation: bouncePulse 2s infinite;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
}

@keyframes bouncePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .glass-header {
    padding: 10px 20px;
    top: 15px;
  }

  .logo img {
    height: 40px !important;
  }

  .header-wrapper {
    padding: 0 10px;
  }

  .nav-menu {
    display: none;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 12px;
  }

  .hero-title-main {
    font-size: 50px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-true-masonry {
    column-count: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 40px;
  }

  .hero-desc {
    font-size: 14px;
  }

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

  .gallery-true-masonry {
    column-count: 1;
  }

  .room-img-wrap {
    height: 250px;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #300109;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

#preloader img {
  height: 200px;
  width: auto;
  animation: pulseLogo 1.5s infinite alternate;
}

@keyframes pulseLogo {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#roomModalOverlay {
  z-index: 100010;
}

#galleryModalOverlay {
  z-index: 100020;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow-y: auto;
  transform: translateY(50px);
  transition: transform 0.3s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 35px;
  cursor: pointer;
  color: var(--color-text);
}

.modal-close:hover {
  color: var(--color-primary);
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.modal-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-modal-content {
  max-width: 1100px;
}