/* assets/css/style.css */
html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Prompt', sans-serif;
    background-color: #0f172a; /* slate-900 */
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

.glass-card {
    background: rgba(30, 41, 59, 0.4); /* slate-800 with opacity */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Utility for animation delay */
.animation-delay-2000 {
    animation-delay: 2s;
}
.animation-delay-4000 {
    animation-delay: 4s;
}

/* intl-tel-input Dark Mode Overrides */
.iti {
    width: 100%;
    display: block;
}
.iti__country-list {
    background-color: #1e293b !important; /* slate-800 */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
    border-radius: 0.5rem;
}
.iti__country.iti__highlight {
    background-color: #334155 !important; /* slate-700 */
}
.iti__selected-dial-code {
    color: white !important;
}
.iti__arrow {
    border-top-color: #9ca3af !important; /* gray-400 */
}
.iti__arrow--up {
    border-bottom-color: #9ca3af !important;
}

/* Revert Tailwind's height:auto for Fancybox without breaking inline styles */
.f-carousel__slide img.f-image,
.fancybox__container img.fancybox__image {
    height: 100%;
}
