/* Custom Styles for Irons Cafe */

:root {
  --navy-900: #1a2332;
  --navy-800: #243447;
  --navy-50: #f0f4f8;
  --gold-500: #d4a574;
  --gold-400: #e8c49a;
  --gold-600: #b8865a;
  --gold-100: #fdf2e9;
}

/* Font Families */
.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

/* Custom Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

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

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

::-webkit-scrollbar-track {
  background: var(--navy-50);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-600);
}

/* Navigation Active State */
.nav-link-active {
  color: var(--gold-500);
}

/* Button Hover Effects */
button, a {
  transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
  transition: transform 0.5s ease;
}

/* Focus Styles */
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .font-cormorant {
    font-size: 1.875rem;
  }
}

@media (min-width: 769px) {
  .font-cormorant {
    font-size: 2.25rem;
  }
}

/* Mobile Menu Transitions */
#mobile-menu {
  transition: max-height 0.3s ease-in-out;
}

#mobile-menu.hidden {
  max-height: 0;
}

#mobile-menu:not(.hidden) {
  max-height: 300px;
}

/* Gallery Item Hover */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Shadow Utilities */
.shadow-lg {
  box-shadow: 0 10px 40px rgba(26, 35, 50, 0.1);
}

/* Gradient Backgrounds */
.bg-gradient-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

/* Text Selection Color */
::selection {
  background: var(--gold-500);
  color: white;
}

::-moz-selection {
  background: var(--gold-500);
  color: white;
}
