/* Responsive Styles for All Screen Sizes */

/* Mobile First Approach - Base styles for mobile */
:root {
    --mobile-padding: 1rem;
    --tablet-padding: 2rem;
    --desktop-padding: 3rem;
}

/* Container Responsive Padding */
@media (max-width: 575.98px) {
    .container,
    .container-fluid {
        padding-left: var(--mobile-padding) !important;
        padding-right: var(--mobile-padding) !important;
    }
    
    .px-vw-5 {
        padding-left: var(--mobile-padding) !important;
        padding-right: var(--mobile-padding) !important;
    }
    
    .py-vh-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-vh-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-vh-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Trip Cards Responsive */
@media (max-width: 767.98px) {
    .trip-cards-scroll {
        gap: 0.75rem;
        padding-left: var(--mobile-padding);
        padding-right: var(--mobile-padding);
    }
    
    .trip-card {
        width: 280px;
        min-height: 480px;
        padding: 1rem !important;
    }
    
    .trip-card h3 {
        font-size: 1.5rem !important;
    }
    
    .trip-card ul {
        font-size: 0.875rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .trip-card {
        width: 300px;
    }
}

/* Cart Page Responsive */
@media (max-width: 767.98px) {
    .cart-page .row {
        margin: 0;
    }
    
    .cart-page .trip-card {
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .cart-page .float-end {
        float: none !important;
        width: 100%;
        margin-top: 2rem;
    }
    
    .cart-page .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-page .d-flex.justify-content-between p {
        margin: 0;
        text-align: center;
    }
    
    .cart-page .btn {
        width: 100%;
    }
}

/* Support Ticket Form Responsive */
@media (max-width: 767.98px) {
    #ticketForm {
        max-width: 100% !important;
        padding: 0 1rem;
    }
    
    .support-page .progress {
        width: 90% !important;
    }
    
    .support-page h1 {
        font-size: 1.5rem !important;
        padding: 0 1rem;
    }
    
    .support-page .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .support-page .btn-xl {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* View All Tickets Responsive */
@media (max-width: 767.98px) {
    .tickets-page .card {
        margin-bottom: 1rem;
    }
    
    .tickets-page .card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    
    .tickets-page .card-header .btn-group {
        width: 100%;
        justify-content: flex-start;
    }
    
    .tickets-page .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .tickets-page .d-flex.align-items-center img {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
    
    .tickets-page .ms-auto {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        width: 100%;
    }
}

/* Profile Page Responsive */
@media (max-width: 767.98px) {
    .profile-card {
        margin: 0 1rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .profile-body {
        padding-top: 50px;
    }
    
    .profile-stats .col-6 {
        margin-bottom: 1rem;
    }
    
    .profile-stats .btn-edit {
        width: 100%;
    }
}

/* Review Form Section Responsive */
@media (max-width: 767.98px) {
    .reviews-form-section .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .reviews-form-section .rounded-5 {
        padding: 1.5rem !important;
    }
    
    .reviews-form-section .star-icon {
        font-size: 1.5rem !important;
    }
    
    .reviews-form-section .d-flex.justify-content-center {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .reviews-form-section .btn {
        width: 100%;
    }
}

/* Reviews Section Responsive */
@media (max-width: 991.98px) {
    .reviews-section .row {
        flex-direction: column;
    }
    
    .reviews-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .reviews-section .display-4 {
        font-size: 2rem !important;
    }
    
    .reviews-section .rounded-5 {
        padding: 1.5rem !important;
    }
    
    .reviews-section img {
        width: 64px !important;
        height: 64px !important;
    }
}

/* Our Mission Section Responsive */
@media (max-width: 767.98px) {
    .our-mission-section .display-huge {
        font-size: 2rem !important;
    }
    
    .our-mission-section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Our Strategy Section Responsive */
@media (max-width: 991.98px) {
    .our-strategy-section .row {
        flex-direction: column;
    }
    
    .our-strategy-section .col-lg-7 {
        margin-bottom: 2rem;
    }
    
    .our-strategy-section .display-4 {
        font-size: 1.75rem !important;
    }
    
    .our-strategy-section .text-lg-end {
        text-align: left !important;
    }
}

/* Car Images Section Responsive */
@media (max-width: 767.98px) {
    .car-images-section .col-md-6,
    .car-images-section .col-lg-3 {
        margin-bottom: 1.5rem;
    }
    
    .car-images-section img {
        width: 100%;
        height: auto;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    footer .row {
        flex-direction: column;
    }
    
    footer .col {
        border: none !important;
        border-bottom: 1px solid #333 !important;
        padding: 1.5rem 0 !important;
        text-align: center !important;
    }
    
    footer .col:last-child {
        border-bottom: none !important;
    }
    
    footer .nav.flex-row {
        justify-content: center;
    }
    
    footer .text-lg-start {
        text-align: center !important;
    }
}

/* Navigation Responsive Improvements */
@media (max-width: 575.98px) {
    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar .btn {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .navbar .badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.3rem;
    }
}

/* Sticky Bottom Button Responsive */
@media (max-width: 767.98px) {
    .sticky-bottom {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        z-index: 1000;
    }
    
    .sticky-bottom .btn {
        width: 50px;
        height: 50px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sticky-bottom .btn i {
        font-size: 1.25rem;
    }
}

/* Modal Responsive */
@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 0.5rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Typography Responsive */
@media (max-width: 767.98px) {
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-huge {
        font-size: 2.5rem !important;
    }
    
    .fs-3 {
        font-size: 1.25rem !important;
    }
    
    .fs-5 {
        font-size: 1rem !important;
    }
}

/* Form Controls Responsive */
@media (max-width: 767.98px) {
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-control-lg {
        font-size: 16px;
        padding: 0.75rem;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
}

/* Button Responsive */
@media (max-width: 575.98px) {
    .btn-xl {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1.125rem;
        font-size: 0.9375rem;
    }
}

/* Utility Classes for Responsive Spacing */
@media (max-width: 767.98px) {
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .sticky-bottom,
    footer,
    .btn {
        display: none !important;
    }
}

