html,
body {
  overflow-x: hidden;
}

:root {
  --primary-color: #4d0f17;
  --primary-dark: #3d0c12;
  --primary-light: #6b1520;
  --gold-color: #d4a84a;
  --gold-dark: #a57534;
  --gold-light: #e4c366;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --background-light: #f8fafc;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Location tabs active state */
.location-tab-btn.active {
  background: linear-gradient(to right, var(--gold-color), var(--gold-dark));
  border-color: var(--gold-color);
}

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

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

/* Custom scroll for webkit browsers */
.custom-scroll::-webkit-scrollbar {
  width: 4px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 2px;
}

/* Form focus states */
input:focus {
  outline: none;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 2px rgba(77, 15, 23, 0.1);
}

/* Button hover effects */
button {
  transition: all 0.3s ease;
}

/* Card hover effects */
.group:hover {
  transform: translateY(-8px);
}

/* Image hover zoom */
.group img {
  transition: transform 0.3s ease;
}

.group:hover img {
  transform: scale(1.05);
}

/* Mobile sticky footer spacing */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  .banner-image{
    height: 52vh;
  }
}

/* Hero section responsive adjustments */
@media (max-width: 1024px) {
  #home {
    flex-direction: column;
  }

  #home > div:first-child {
    height: 50vh;
    min-height: 300px;
  }

  #home aside {
    width: 100%;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }
}

/* Premium gold accent border for cards */
.border-gold-accent {
  border-top: 4px solid var(--gold-color);
}

/* Gradient text effect */
.text-gradient {
  background: linear-gradient(to right, var(--primary-color), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Popup overlay animation */
#popupOverlay {
  transition: opacity 0.3s ease;
}

#popupOverlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#popupOverlay:not(.hidden) {
  opacity: 1;
}

/* Tab content transitions */
.location-tab-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.location-tab-content.hidden {
  display: none;
}

.location-tab-content.active {
  display: block;
}
