  /* === CUSTOM STYLES === */

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Selection color */
  ::selection {
    background-color: rgba(168, 39, 59, 0.2);
    color: #641a27;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #fdf0f1;
  }
  ::-webkit-scrollbar-thumb {
    background: #c43b4f;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #a8273b;
  }

  /* Header transition states */
  #site-header {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  }
  #site-header.scrolled {
    background-color: rgba(254, 252, 246, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(100, 26, 39, 0.08);
  }
  #site-header.scrolled .nav-header-text {
    color: #641a27;
  }
  #site-header.scrolled .nav-link {
    color: #641a27;
  }
  #site-header.scrolled .nav-link:hover {
    color: #a8273b;
  }
  #site-header.scrolled #mobile-menu-btn {
    border-color: rgba(168, 39, 59, 0.4);
  }
  #site-header.scrolled #mobile-menu-btn svg {
    stroke: #641a27;
  }

  /* Nav links */
  .nav-link {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5e09a;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }
  .nav-link:hover {
    color: #ffffff;
  }

  /* Mobile nav links */
  .mobile-nav-link {
    transition: color 0.2s ease, padding-left 0.2s ease;
  }
  .mobile-nav-link:hover {
    color: #a8273b;
    padding-left: 8px;
  }

  /* Amenity card */
  .amenity-card {
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  }
  .amenity-card:hover {
    transform: translateY(-4px);
  }

  /* Gallery item */
  .gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(100, 26, 39, 0.15);
  }

  /* Scroll reveal animations (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
  }

  /* Focus visible for accessibility */
  :focus-visible {
    outline: 2px solid #c43b4f;
    outline-offset: 2px;
  }

  /* Button ripple effect on press */
  button:active, a:active {
    transform: scale(0.98);
  }

  /* Responsive typography adjustments */
  @media (max-width: 640px) {
    .font-display {
      line-height: 1.15;
    }
  }

  /* Geometric shape animations */
  @media (prefers-reduced-motion: no-preference) {
    @keyframes float {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-12px) rotate(2deg); }
    }
    .floating-shape {
      animation: float 6s ease-in-out infinite;
    }
    .floating-shape-delay {
      animation: float 6s ease-in-out 3s infinite;
    }
  }
