/* Leon Hospitality - Custom Styles */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #F5F2E8;
  color: #0A2342;
}

.font-display {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
}

/* Fade-in animation for page content */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Photo placeholder gradient */
.photo-placeholder {
  background: linear-gradient(135deg, #0A2342 0%, #1A3556 50%, #2A4770 100%);
  background-size: 200% 200%;
  animation: shimmer 10s ease infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Subtle pinstripe pattern for one section (Yankee homage) */
.pinstripe {
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 14px,
    rgba(10, 35, 66, 0.04) 14px,
    rgba(10, 35, 66, 0.04) 15px
  );
}

/* Smooth scroll on nav clicks */
html {
  scroll-behavior: smooth;
}

/* FAQ accordion smooth animation */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-content.open {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.open {
  transform: rotate(180deg);
}

/* Letter spacing utilities not in Tailwind */
.tracking-wider-custom {
  letter-spacing: 0.25em;
}

.tracking-widest-custom {
  letter-spacing: 0.3em;
}

/* Better focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #0A2342;
  outline-offset: 2px;
}

/* Mobile nav transition */
#mobile-menu {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#mobile-menu.hidden {
  opacity: 0;
  visibility: hidden;
}
