/* Newcastle Driving School - Custom Styles */

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0A3A2A 0%, #4F9D69 100%);
}

/* Package Cards */
.package-card {
    transition: all 0.3s ease-in-out;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
}

/* Animated Icons for Hero Background */
.animated-icon {
    position: absolute;
    color: white;
    opacity: 0.1;
    z-index: 1;
    animation: move-across linear infinite;
}

@keyframes move-across {
    0% {
        transform: translateX(-200px) rotate(0deg);
    }
    100% {
        transform: translateX(105vw) rotate(360deg);
    }
}

/* Hero Slider Pagination */
.hero-slider .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background-color: #B8860B;
    transform: scale(1.3);
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Student Gallery Swiper */
.student-gallery-swiper .swiper-slide {
    height: 250px;
    cursor: pointer;
    overflow: hidden;
}

.student-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.student-gallery-swiper .swiper-slide:hover img {
    transform: scale(1.08);
}

/* Lightbox */
#lightbox {
    display: none;
}

/* Testimonial Cards */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: #B8860B;
    opacity: 0.08;
    z-index: 1;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.form-input:focus {
    outline: none;
    border-color: #0A3A2A;
    box-shadow: 0 0 0 3px rgba(10, 58, 42, 0.1);
}

/* Button Hover Effects */
.btn-primary {
    background-color: #0A3A2A;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #083329;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 58, 42, 0.3);
}

.btn-secondary {
    background-color: #B8860B;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #a07609;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0A3A2A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #083329;
}

/* Responsive Design Helpers */
@media (max-width: 768px) {
    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none !important;
    }
    
    .package-card {
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #0A3A2A;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-gradient {
        background: #000;
        color: #fff;
    }
    
    .package-card {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================
   LUVENDO — Global Animation & Utility System
   ================================================ */

/* ── Scroll-Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.reveal-scale { transform: scale(.93); }
.reveal.visible { opacity: 1 !important; transform: none !important; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ── Premium Card ── */
.lv-card {
    background: #fff;
    border: 1.5px solid #e8ecf4;
    border-radius: 18px;
    padding: 2rem;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    position: relative;
    overflow: hidden;
}
.lv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(to right, #B8860B, #d4a017);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.lv-card:hover::before { transform: scaleX(1); }
.lv-card:hover {
    border-color: rgba(184,134,11,.3);
    box-shadow: 0 12px 40px rgba(13,28,61,.1);
    transform: translateY(-5px);
}

/* ── Icon Circle ── */
.lv-icon-circle {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; flex-shrink: 0;
    transition: transform .25s;
}
.lv-card:hover .lv-icon-circle { transform: scale(1.1) rotate(-5deg); }
.lv-icon-navy  { background: rgba(13,28,61,.08);  color: #0d1c3d; }
.lv-icon-gold  { background: rgba(184,134,11,.12); color: #B8860B; }
.lv-icon-green { background: rgba(22,163,74,.1);   color: #16a34a; }
.lv-icon-blue  { background: rgba(37,99,235,.1);   color: #2563eb; }
.lv-icon-red   { background: rgba(220,38,38,.1);   color: #dc2626; }

/* ── Timeline Steps ── */
.lv-step {
    display: flex; gap: 1.25rem; align-items: flex-start;
    padding-bottom: 2rem; position: relative;
}
.lv-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px; top: 44px;
    width: 2px; bottom: 0;
    background: linear-gradient(to bottom, #B8860B, #e8ecf4);
}
.lv-step-num {
    flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 50%;
    background: #0d1c3d; color: #fff;
    font-weight: 800; font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(13,28,61,.2);
}

/* ── CTA Banner ── */
.lv-cta {
    background: linear-gradient(135deg, #0d1c3d 0%, #1a3570 60%, #0f2450 100%);
    border-radius: 24px; padding: 3.5rem 2rem;
    text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.lv-cta::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.lv-cta-btns { display:flex; flex-wrap:wrap; gap:.75rem; justify-content:center; position:relative; z-index:1; }
.lv-btn-gold {
    display:inline-flex; align-items:center; gap:.5rem;
    background:#B8860B; color:#fff;
    font-weight:700; padding:.85rem 1.75rem; border-radius:12px;
    text-decoration:none; transition:opacity .2s, transform .2s;
}
.lv-btn-gold:hover { opacity:.9; transform:translateY(-2px); }
.lv-btn-outline {
    display:inline-flex; align-items:center; gap:.5rem;
    background:rgba(255,255,255,.1); border:1.5px solid rgba(255,255,255,.25);
    color:#fff; font-weight:700; padding:.85rem 1.75rem; border-radius:12px;
    text-decoration:none; transition:background .2s, transform .2s;
}
.lv-btn-outline:hover { background:rgba(255,255,255,.18); transform:translateY(-2px); }

/* ── Section Label ── */
.lv-label {
    display:inline-block;
    font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
    color:#B8860B; background:rgba(184,134,11,.1);
    padding:.35rem .9rem; border-radius:50px;
    margin-bottom:.75rem;
}

/* ── Hover Row ── */
.lv-row-item {
    display:flex; gap:1rem; align-items:flex-start;
    padding:.9rem 1rem; border-radius:12px; transition:background .2s;
}
.lv-row-item:hover { background:#f8fafc; }

/* ── Checklist ── */
.lv-check-item {
    display:flex; align-items:flex-start; gap:.75rem;
    padding:.6rem 0; border-bottom:1px solid #f1f5f9;
}
.lv-check-item:last-child { border-bottom:none; }
.lv-check-dot {
    width:22px; height:22px; border-radius:50%;
    background:rgba(22,163,74,.12); color:#16a34a;
    display:flex; align-items:center; justify-content:center;
    font-size:.65rem; flex-shrink:0; margin-top:1px;
}
