/* Custom styles for Schwartz Driving School */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

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

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 31, 60, 0.15);
}

/* Button styles */
.btn-primary {
    background: #f5c518;
    color: #0d1f3c;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: #ffd740;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 197, 24, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #f5c518;
    border: 2px solid #f5c518;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f5c518;
    color: #0d1f3c;
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 197, 24, 0.15);
    color: #f5c518;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Section backgrounds */
.section-dark {
    background: #0d1f3c;
}

.section-navy {
    background: #1e3a5f;
}

.section-light {
    background: #f8f9fa;
}

.section-white {
    background: #ffffff;
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(13, 31, 60, 0.97) !important;
    backdrop-filter: blur(10px);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Stat numbers */
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f5c518;
    line-height: 1;
}

/* Divider */
.divider {
    height: 4px;
    width: 60px;
    background: #f5c518;
    border-radius: 2px;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #f5c518 !important;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
}

/* Back to top button */
#back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#back-to-top:not(.visible) {
    opacity: 0;
    pointer-events: none;
}
