/* ==========================================================================
   Bharath School of Vertical Transportation (BSVT)
   Custom UI Styling & 3D Visual Accents
   ========================================================================== */

:root {
    --bsvt-navy: #0B192C;
    --bsvt-dark: #070F1E;
    --bsvt-steel: #1E3E62;
    --bsvt-orange: #FF6500;
    --bsvt-orange-hover: #E05500;
    --bsvt-amber: #F59E0B;
    --bsvt-light: #F8FAFC;
    --bsvt-gray: #64748B;
    --bsvt-border: #E2E8F0;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #1E293B;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px -15px rgba(11, 25, 44, 0.08);
}

.glass-dark {
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.text-gradient-orange {
    background: linear-gradient(135deg, #FF6500 0%, #FF8C38 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Partner Logo Marquee */
.marquee-container {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 2rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 3rem;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 3rem)); }
}

/* 3D Canvas Container */
#elevator-canvas-container {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: radial-gradient(circle at center, #1E3E62 0%, #0B192C 100%);
    box-shadow: 0 25px 50px -12px rgba(11, 25, 44, 0.35);
}

#elevator3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Elevator Floor Controller HUD Overlay */
.elevator-hud {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(11, 25, 44, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 101, 0, 0.3);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    color: #FFFFFF;
    z-index: 10;
}

.floor-indicator {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF6500;
    text-shadow: 0 0 10px rgba(255, 101, 0, 0.6);
}

.elevator-buttons {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.elevator-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(11, 25, 44, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.elevator-btn:hover {
    border-color: #FF6500;
    color: #FF6500;
    transform: scale(1.1);
}

.elevator-btn.active {
    background: #FF6500;
    border-color: #FF6500;
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(255, 101, 0, 0.7);
    transform: scale(1.15);
}

/* Video Modal */
.video-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 15, 30, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.video-modal-backdrop.active {
    display: flex;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Pulse animation for Live Admissions */
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-dot {
    position: relative;
}
.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: #FF6500;
    animation: pulse-ring 2s infinite ease-in-out;
}
