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

body {
  background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #f5f5f5;
  min-height: 100vh;
  /* padding: 40px 20px; */
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-spinner.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  display: flex;
  gap: 10px;
}

.spinner .loading-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d4a574;
  animation: bounce 1.4s ease-in-out infinite;
}

.spinner .loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.spinner .loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.spinner .loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Navbar */
.nav {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 1.6rem;
  color: #d4a574;
  text-decoration: none;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #d4a574;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: #f5d9a8;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #d4a574;
}

.hero h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.5rem;
  color: #d4a574;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hudson-link {
  color: #d4a574;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.hudson-link:hover {
  color: #f5d9a8;
}

.hudson-link:hover::after {
  width: 100%;
}

/* Logo */
.logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.tagline {
  font-size: 1.1rem;
  color: #b8956a;
  font-style: italic;
}

/* Carousel */
.carousel-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #d4a574;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.carousel-dots {
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 50%;
    gap: 10px;
    z-index: 10;
    transform: translate(-50%);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.dot.active {
    background: #d4a574;
    transform: scale(1.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 165, 116, 0.7);
    color: #1a0f0a;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: #d4a574;
    transform: translateY(-50%);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Most Popular Section*/
.most-popular-section {
  margin: 60px 0;
  position: relative;
}

.popular-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f5d9a8, #d4a574);
  color: #1a0f0a;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-left: 10px;
  animation: pulse 2s ease-in-out infinite;
}

.popular-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  perspective: 1000px;
}

.popular-card {
  background: rgba(212, 165, 116, 0.1);
  border: 2px solid #d4a574;
  border-radius: 16px;
  padding: 35px;
  width: 100%;
  max-width: 450px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.8s ease-out;
  cursor: pointer;
  text-decoration: none;
}

.popular-card:nth-child(1) {
  animation-delay: 0.2s;
}

.popular-card:nth-child(2) {
  animation-delay: 0.4s;
}

/* Animated Gradient Border */
.popular-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    #d4a574,
    #f5d9a8,
    #b8956a,
    #d4a574
  );

  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
}

.popular-card:hover::before,
.popular-card:active::before {
  opacity: 1;
}

.popular-card:hover,
.popular-card:active {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(212, 165, 116, 0.4),
              0 0 30px rgba(212, 165, 116, 0.2);
  border-color: #f5d9a8;
}

.popular-card:active {
  transform: translateY(-8px) scale(1.01);
}

.popular-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  height: 200%;
  width: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%,
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s ease-in-out infinite;
}

/* Rank Badges */
.rank-badge {
  position: absolute;
  top: -22px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f5d9a8, #d4a574);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a0f0a;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.5);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

.rank-badge.rank-1 {
  animation-delay: 0s;
}

.rank-badge.rank-2 {
  animation-delay: 0.5s;
}

/* Sparkles */
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #f5d9a8;
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 60%;
  left: 85%;
  animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
  top: 80%;
  left: 15%;
  animation-delay: 1.4s;
}

.sparkle:nth-child(4) {
  top: 15%;
  left: 75%;
  animation-delay: 0.3s;
}

.sparkle:nth-child(5) {
  top: 40%;
  left: 5%;
  animation-delay: 1s;
}

.sparkle:nth-child(6) {
  top: 90%;
  left: 80%;
  animation-delay: 1.7s;
}

.sparkle:nth-child(7) {
  top: 30%;
  left: 90%;
  animation-delay: 0.5s;
}

.sparkle:nth-child(8) {
  top: 70%;
  left: 25%;
  animation-delay: 1.2s;
}

.sparkle:nth-child(9) {
  top: 50%;
  left: 50%;
  animation-delay: 0.9s;
}

.sparkle:nth-child(10) {
  top: 10%;
  left: 40%;
  animation-delay: 1.5s;
}

/* Main Services Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section Headers */
.section-header {
  text-align: center;
  font-size: 2rem;
  color: #d4a574;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4a574, transparent);
}

/* Services Section */
/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.service-card {
  background: rgba(212, 165, 116, 0.1);
  border: 2px solid #d4a574;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 165, 116, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.service-card:hover::before,
.service-card:active::before {
  left: 100%;
}

.service-card:hover,
.service-card:active {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
  border-color: #f5d9a8;
}

.service-card:active {
  transform: translateY(-3px);
}

.service-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #d4a574;
  margin-bottom: 10px;
}

.service-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #f5d9a8;
  margin-bottom: 15px;
}

.service-description {
  font-size: 0.95rem;
  color: #c4c4c4;
  line-height: 1.6;
}

/* Add-ons Section */
.addons-section {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 30px;
  border: 2px solid #d4a574;
  border-radius: 12px;
  margin-bottom: 60px;
}

/* Add Ons Grid */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.addon-item {
  padding: 15px;
  background: rgba(212, 165, 116, 0.05);
  border-left: 3px solid #d4a574;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.addon-item:hover {
  background: rgba(212, 165, 116, 0.15);
  padding-left: 20px;
}

/* Hours and Booking Section  */
.hours-section {
  text-align: center;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
}

.hours-grid {
  display: inline-block;
  text-align: left;
  margin-top: 20px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 165, 116, 0.3);
}

.hours-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: bold;
  color: #d4a574;
}

.time {
  color: #c4c4c4;
}

.special-hours-clause {
  background: rgba(212, 165, 116, 0.15);
  border-left: 4px solid #d4a574;
  padding: 20px;
  margin: 25px auto;
  max-width: 400px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: flex-start;
}

.special-hours-clause i {
  color: #d4a574;
  font-size: 1.5rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.special-hours-clause p {
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

.special-hours-clause strong {
  color: #f5d9a8;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 8px;
}

.clause-details {
  color: #c4c4c4;
  font-size: 0.9rem;
  font-style: italic;
}

.appt-button {
  display: inline-block;
  background: linear-gradient(135deg, #d4a574, #b89);
  color: #1a0f0a;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  margin: 30px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.appt-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

/* Footer Section */
.footer {
  width: 100%;
  text-align: center;
  padding: 30px 20px;
  border-top: 2px solid #d4a574;
  background: rgba(0, 0, 0, 0.3);
}

.footer-title {
  font-size: 1.5rem;
  color: #d4a574;
  margin-bottom: 25px;
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto 30px;
}

/* Contact Cards */
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: rgba(212, 165, 116, 0.05);
  border-radius: 12px;
  border: 2px solid transparent;
  text-decoration: none;
  color: #c4c4c4;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(212, 165, 116, 0.15);
  border-color: #d4a574;
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
}

.contact-item:hover .contact-icon {
  color: #f5d9a8;
  transform: scale(1.1);
}

/* Contact Icons */
.contact-icon {
  font-size: 2rem;
  color: #d4a574;
  transition: all 0.3s ease;
}

.contact-label {
  font-size: 0.85rem;
  color: #b8956a;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-text {
  font-size: 0.95rem;
  color: #c4c4c4;
  text-align: center;
  line-height: 1.4;
}

.map-container {
  max-width: 800px;
  margin: 30px auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #d4a574;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 900px; */
  margin-top: 30px;
  /* margin-right: auto; */
  /* margin-left: auto; */
  padding-top: 25px;
  border-top: 1px solid rgba(212, 165, 116, 0.3);
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: #b8956a;
  text-align: left;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  background: rgba(212, 165, 116, 0.1);
  color: #d4a574;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #d4a574;
  color: #1a0f0a;
  transform: translateY(-3px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.5);
}

/* Page 2 Section */
/* Gallery Page Featured Video */
.featured-gallery-video {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #d4a574;
}

.featured-gallery-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #d4a574;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item.video-item::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Lightbox CSS */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #d4a574;
    color: #1a0f0a;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
}

.lightbox-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  background: rgba(212, 165, 116, 0.8);
  color: #1a0f0a;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.lightbox-arrow:hover {
  background: #d4a574;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Scroll Animations */
/* Scroll Fade */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Fade for Header */
.scroll-fade-header {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
}

.scroll-fade-header.active {
  opacity: 1;
  transform: translateY(0);
}

/* Popular Card Smoothe Animation */
.popular-card .scroll-fade:nth-child(1) {
  transition-delay: 0s;
}

.popular-card .scroll-fade:nth-child(2) {
  transition-delay: 0s;
}

.contact-item.scroll-fade:nth-child(1) {
  transition-delay: 0s;
}

.contact-item.scroll-fade:nth-child(2) {
  transition-delay: 0.15s;
}

.contact-item.scroll-fade:nth-child(3) {
  transition-delay: 0.3s;
}

/* Keyframe Animations */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

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

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

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

@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
}

/* Responsiveness */
@media (min-width: 768px) {
  .logo {
    width: 160px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .carousel-container {
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .logo {
    width: 180px;
  }

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

  .carousel-container {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .map-container iframe {
    height: 250px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }

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

  .special-hours-clause {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .special-hours-clause p {
    text-align: center;
  }
}