/* Custom styles for the ArdenVive PHP build */
:root {
  color-scheme: light;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav-scrolled {
  background-color: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px -25px rgba(15, 23, 42, 0.45);
}

.nav-desktop-link {
  transition: color 0.3s ease;
}

.nav-desktop-link:hover,
.nav-desktop-link:focus-visible {
  color: rgb(56 189 248);
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
}

.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
}

.modal-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.hero-heading span {
  display: inline-block;
  margin-right: 0.25em;
  margin-bottom: 0.25em;
}

.bg-soft-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.35s;
}

.animate-subtle-zoom {
  transform-origin: center;
  animation: subtleZoom 18s ease-in-out infinite alternate;
}

.scroll-indicator {
  animation: floatY 1.5s ease-in-out infinite;
}

.shadow-glow {
  box-shadow: 0 25px 60px -25px rgba(14, 116, 144, 0.35);
}

.backdrop-glass {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.scroll-to-top {
  display: none;
}

.scroll-to-top.visible {
  display: inline-flex;
}

@keyframes subtleZoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.12);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.glass-card {
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bg {
  background-image: url('../images/w11.jpg');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.footer-overlay {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(0, 0, 0, 0.92));
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: rgb(74 222 128);
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
  transform: translateY(-4px);
}

.amenities-card {
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.amenities-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.45);
}

.location-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.location-card:hover {
  transform: translateX(8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 25px 60px -28px rgba(59, 130, 246, 0.45);
}

.why-card {
  transition: transform 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
}

/* YouTube Video Background */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-width: 177.78vh; /* 16:9 aspect ratio */
  min-height: 100vh;
  transform: translate(-50%, -50%) scale(1.1);
  border: none;
}

@media (max-aspect-ratio: 16/9) {
  .hero-video-container iframe {
    width: 177.78vh;
    height: 100vh;
  }
}

.about-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35));
}

.contact-overlay {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.8));
}

.modal-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.96);
  transition: all 0.35s ease;
}

.modal-panel {
  transition: all 0.35s ease;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: none;
  }

  .mobile-menu.open {
    display: block;
  }

  .modal-panel {
    margin: 1.5rem;
  }
}



