/* Custom Styles for overrides and specific animations */

html {
    scroll-behavior: smooth;
}

#calculator {
    scroll-margin-top: 6rem;
}

.quote-success-panel {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(212, 175, 55, 0.08);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar override */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #121212;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Custom form elements */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
}
select option {
    background: #1A1A1A;
    color: #E8E2D2;
}

/* Date input (dark UI, calendar picker) */
.booking-date-input {
    color-scheme: dark;
}

/* Suble Reveal Animations on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Make image background scale slowly */
.hero-bg {
    animation: slowZoom 25s ease-out forwards;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Navbar glass effect applied via JS */
.nav-scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
