/* Custom styles for Gold Key Driving School */

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

/* Geometric decorative shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.4;
}

.shape-circle-1 {
    top: 15vh;
    right: 5vw;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
    bottom: 20vh;
    left: 8vw;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
    animation: float-slow 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    top: 50vh;
    left: 3vw;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    animation: float-slow 10s ease-in-out infinite;
}

.shape-triangle {
    top: 30vh;
    left: 12vw;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(20, 184, 166, 0.12);
    animation: rotate-slow 20s linear infinite;
    transform-origin: center;
}

.shape-square {
    bottom: 35vh;
    right: 10vw;
    width: 60px;
    height: 60px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    animation: rotate-slow 15s linear infinite;
    transform-origin: center;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal-delay="100"] { transition-delay: 100ms; }
.reveal[data-reveal-delay="200"] { transition-delay: 200ms; }
.reveal[data-reveal-delay="300"] { transition-delay: 300ms; }

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-link {
    transition: opacity 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Navbar blur on scroll */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgb(30, 41, 59) inset !important;
    -webkit-text-fill-color: white !important;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: white;
}
