/* Custom Utilities and Animations that extend Tailwind */

section {
    margin-bottom: 5px;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure images don't break layout width on mobile */
img {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar for a premium feel */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #c9965a; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a87d4a; 
}

/* Popup overlay styling */
.popup-overlay {
    background-color: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Soft gradients for premium feel */
.bg-gradient-gold {
    background: linear-gradient(135deg, #c9965a 0%, #d4a373 100%);
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
