/* Custom styles for Country Goose Inn */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f1f2e;
}

::-webkit-scrollbar-thumb {
  background: #416e9f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #facc15;
}

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(9, 19, 28, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Room card hover effect */
.room-card {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.room-card:hover {
  box-shadow: 0 20px 60px rgba(250, 204, 21, 0.15);
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu animation */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

.menu-line:nth-child(3) {
  width: 1.4rem;
  margin-left: auto;
  margin-right: 0.375rem;
}

/* Active menu state */
.menu-active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-active .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 1.25rem;
  margin-left: 0;
}

/* Button ripple effect */
button, a {
  position: relative;
  overflow: hidden;
}

/* Focus styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

/* Date input styling */
input[type="date"] {
  color: white;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(5) hue-rotate(10deg);
  cursor: pointer;
}

/* Geometric shape animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px) rotate(45deg); }
  50% { transform: translateY(-15px) rotate(50deg); }
}

.float-1 {
  animation: float 6s ease-in-out infinite;
}

.float-2 {
  animation: float-delayed 8s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Mobile menu backdrop */
#mobile-menu {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Image loading placeholder */
img {
  background: linear-gradient(135deg, #1c334c 0%, #0f1f2e 100%);
}

/* Selection color */
::selection {
  background: rgba(250, 204, 21, 0.3);
  color: white;
}
