:root {
  --font-playfair: 'Playfair Display', serif;
  --font-dm: 'DM Sans', sans-serif;
}

* {
  font-family: var(--font-dm);
}

.font-playfair {
  font-family: var(--font-playfair) !important;
}

.font-dm {
  font-family: var(--font-dm) !important;
}

/* Hero Entrance Animations */
@keyframes heroTextEnter {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageEnter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-text-enter {
  animation: heroTextEnter 0.8s ease-out 0.1s both;
}

.hero-image-enter {
  animation: heroImageEnter 0.8s ease-out 0.3s both;
}

/* Coffee Card Hover */
.coffee-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coffee-card:hover {
  transform: translateY(-8px);
}

/* Menu Item Hover */
.menu-item {
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.menu-item:hover {
  padding-left: 1rem;
}

/* Button Hover Effects */
button, a[class*="bg-amber"], a[class*="border-amber"] {
  position: relative;
  overflow: hidden;
}

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

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

::-webkit-scrollbar-track {
  background: #faf8f3;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #92400e;
}

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

/* Mobile menu smooth transitions */
#mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
}

#mobile-menu.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Responsive text sizing */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Gradient text effect for accent */
.gradient-text {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth link underline */
a {
  transition: color 0.3s ease;
}

/* Enhanced image loading */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Ensure no layout shift */
.aspect-ratio-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.aspect-ratio-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section padding consistency */
section {
  position: relative;
  z-index: 1;
}

/* Ensure footer sticks appropriately */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

