/* Responsive Styles for Park n Charge Plus */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    #hero {
        padding: 80px 0 60px;
        height: 100vh !important;
        max-height: 700px !important;
        min-height: 600px !important;
    }
    
    .parallax-background {
        background-position: center 15% !important;
        background-size: cover !important;
        height: 100% !important;
        top: 0 !important;
        bottom: 0 !important;
        background-repeat: no-repeat !important;
    }
    
    .hero-overlay {
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 5;
        display: flex !important;
        align-items: center !important;
    }
    
    .hero-new {
        min-height: 100vh;
    }
    
    .hero-new {
        margin-top: 0 !important;
        padding-top: 86px;
    }
    
    .hero-content-wrapper {
        padding-top: 120px !important;
    }
    
    .hero-text-content {
        margin-top: 0 !important;
        padding: 0 20px;
    }
    
    .hero-invitation {
        margin-top: 0 !important;
        margin-bottom: 2rem;
    }
    
    .hero-main-title {
        margin-bottom: 2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
    }
    
    /* Host Education Section Mobile Improvements */
    #host-education {
        padding: 60px 0;
    }
    
    .education-content {
        padding-right: 0 !important;
        margin-bottom: 30px;
    }
    
    .education-title {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .education-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .education-features {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .feature-item {
        padding: 8px;
        margin-bottom: 16px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .feature-text h5 {
        font-size: 1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .education-visual {
        padding: 24px 20px;
    }
    
    .stat-circle {
        width: 70px;
        height: 70px;
    }
    
    .stat-circle.small {
        width: 55px;
        height: 55px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-circle.small .stat-number {
        font-size: 1.1rem;
    }
    
    .preference-stats {
        gap: 30px;
        flex-direction: row;
    }
    
    .stat-item {
        max-width: 130px;
    }
    
    .stat-item p {
        max-width: 110px;
        font-size: 0.85rem;
    }
    
    /* Mobile adjustments for tab images */
    #hosts .img-fluid,
    #drivers .img-fluid {
        height: 380px;
        margin-bottom: 30px;
    }
    
    /* Mobile adjustments for contact image */
    #contact .img-fluid {
        height: 400px;
        margin-bottom: 30px;
    }
        gap: 15px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .benefit-card, .testimonial-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    #hero {
        padding: 100px 0 70px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-invitation {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }
    
    .hero-main-title {
        font-size: clamp(2.8rem, 7vw, 4.2rem);
        line-height: 1.0;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        display: flex !important;
        width: auto !important;
        flex: 1;
        margin-top: 0 !important;
        margin-bottom: 0;
    }
    
    .hero-buttons .btn-accent {
        margin-top: 20px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .hero-new {
        margin-top: 0 !important;
        padding-top: 86px;
    }
    
    .hero-content-wrapper {
        padding-top: 200px !important;
    }
    
    .hero-invitation {
        margin-bottom: 1.5rem;
        font-size: clamp(2.8rem, 6vw, 4rem);
    }
    
    .hero-main-title {
        font-size: clamp(3.5rem, 8vw, 5.8rem);
        line-height: 0.95;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        display: flex !important;
        width: auto !important;
        flex: 1;
        margin-top: 0 !important;
        margin-bottom: 0;
    }
    
    .hero-buttons .btn-accent {
        margin-top: 20px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    .footer-column {
        margin-bottom: 30px;
    }
}

/* Fix for tab navigation on smaller screens */
@media (max-width: 991.98px) {
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
    }
}

/* For row reversing on mobile */
@media (max-width: 991.98px) {
    .mobile-reverse {
        flex-direction: column-reverse;
    }
}
