/* Gordy's Inn — Custom Styles */

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: rgba(232, 106, 91, 0.3);
  color: #fff;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
  outline: 2px solid #E86A5B;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Mobile menu animation */
.hamburger-line {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-toggle.active .hamburger-line:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
#menu-toggle.active .hamburger-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile link hover */
.mobile-link {
  position: relative;
}

/* Custom cursor on interactive elements */
button, a, .menu-item {
  cursor: pointer;
}

/* 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;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .serif {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
}

/* Small phones */
@media (max-width: 360px) {
  nav .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
