/* Custom styles for La Estrella Mexican Restaurant */

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Custom font loading */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation hover effects */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #2d4f2d;
  color: #faf9f6;
  padding: 16px 32px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #2d4f2d;
}

.btn-primary:hover {
  background-color: transparent;
  color: #2d4f2d;
}

.btn-secondary {
  background-color: transparent;
  color: #2d4f2d;
  border: 1px solid #2d4f2d;
}

.btn-secondary:hover {
  background-color: #2d4f2d;
  color: #faf9f6;
}

/* Image hover effects */
.image-zoom {
  overflow: hidden;
}

.image-zoom img {
  transition: transform 0.6s ease;
}

.image-zoom:hover img {
  transform: scale(1.05);
}

/* Card hover effects */
.menu-card {
  transition: all 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45, 79, 45, 0.12);
}

/* Line accent */
.line-accent {
  width: 60px;
  height: 1px;
  background-color: #2d4f2d;
  opacity: 0.5;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Responsive typography */
@media (max-width: 768px) {
  .font-serif {
    font-size: 2.5rem;
  }
}

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

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

/* Print styles */
@media print {
  nav,
  .cta-button,
  iframe {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
