:root {
  --maroon: #8B0000;
  --red-900: #7F1D1D;
  --red-800: #991B1B;
  --gold: #FFD700;
  --cream: #FFF8E7;
  --yellow-400: #FBBF24;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

.bg-maroon {
  background-color: var(--maroon);
}

.text-maroon {
  color: var(--maroon);
}

.bg-gold {
  background-color: var(--gold);
}

.text-gold {
  color: var(--gold);
}

.bg-cream {
  background-color: var(--cream);
}

.text-cream {
  color: var(--cream);
}

.bg-amber-50 {
  background-color: #FFFBEB;
}

.nav-link {
  transition: all 0.3s ease;
}

.nav-link.active {
  background-color: rgb(55, 65, 81);
}

.hero-parallax {
  transition: transform 0.5s ease-out;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  #sidebar.mobile-open {
    transform: translateX(0);
  }
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

#lightbox {
  display: none;
}

#lightbox.show {
  display: flex;
}

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

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

html {
  scroll-behavior: smooth;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  ring: 2px;
  ring-color: var(--maroon);
}

button {
  cursor: pointer;
  user-select: none;
}

a {
  text-decoration: none;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238B0000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

@media print {
  #sidebar,
  #mobile-menu-toggle,
  footer {
    display: none;
  }

  main {
    margin-left: 0 !important;
  }
}