/* 
* Alpha Prime Garage - Mobile Styles
* This file contains styles for mobile devices (max-width: 768px)
* Updated for native app-like experience
*/

/* Mobile App Base Styling */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        background-color: #f5f5f5;
        padding-bottom: 70px;
        padding-top: 0;
        margin: 0;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .container {
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    section {
        padding: 16px 0;
        margin-bottom: 8px;
    }
    
    /* App-like buttons */
    .btn {
        border-radius: 12px;
        padding: 14px 20px;
        font-weight: 600;
        font-size: 15px;
        text-transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: none;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0;
    }
    
    .btn i {
        margin-right: 8px;
        font-size: 18px;
    }
    
    .btn-primary {
        background: var(--primary-red);
    }
    
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* Inputs with app styling */
    input, select, textarea {
        border-radius: 12px;
        padding: 14px 16px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        background-color: #f9f9f9;
        font-size: 15px;
        transition: all 0.3s ease;
    }
    
    input:focus, select:focus, textarea:focus {
        border-color: var(--primary-red);
        background-color: white;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
    }
    
    /* App-like cards */
    .app-card {
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        margin-bottom: 16px;
        overflow: hidden;
        border: none;
    }
}

/* Mobile Header Styles */
header .container {
    padding: 10px 15px;
}

header h1 {
    font-size: 1.5rem;
}

.logo {
    height: 40px;
}

/* Mobile Navigation */
#main-nav .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-black);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px 20px;
    transition: left 0.3s ease;
    z-index: 999;
}

#main-nav.active .nav-links {
    left: 0;
}

#main-nav .nav-links li {
    margin: 15px 0;
    width: 100%;
}

#main-nav .nav-links a {
    display: block;
    font-size: 1.2rem;
    padding: 10px 0;
}

#main-nav .nav-links a.btn {
    display: inline-block;
    margin-top: 10px;
}

#mobile-menu-toggle {
    display: block;
}

#mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

#mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Hero Section */
#hero {
    height: auto;
    padding: 80px 0 60px;
    text-align: center;
    background-attachment: scroll;
    margin-top: 0;
}

.hero-content h2 {
    font-size: 2.2rem;
    padding: 15px 25px;
}

.hero-content h3 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1rem;
    padding: 10px 15px;
}

.hero-buttons {
    flex-direction: column;
    gap: 10px;
}

.hero-buttons .btn {
    width: 100%;
}

/* Mobile Services Grid */
.services-grid {
    grid-template-columns: 1fr;
}

.service-card {
    padding: 25px 20px;
}

/* Mobile Features Grid */
.features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Mobile Testimonial */
.testimonial {
    padding: 30px 20px;
}

.quote p {
    font-size: 1.1rem;
}

/* Google Reviews Mobile */
@media (max-width: 768px) {
    .google-rating {
        flex-direction: column;
        gap: 15px;
        padding: 20px 30px;
    }
    
    .google-logo {
        height: 24px;
    }
    
    .rating-info {
        align-items: center;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .reviewer-info {
        width: 100%;
    }
    
    .review-source {
        align-self: flex-end;
    }
    
    .review-content p {
        font-size: 0.95rem;
    }
    
    .testimonial-navigation {
        gap: 15px;
    }
    
    .prev-testimonial,
    .next-testimonial {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .view-all-reviews .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Mobile CTA Section */
.cta-content h2 {
    font-size: 1.8rem;
}

.cta-content p {
    font-size: 1rem;
}

.cta-content .btn {
    margin: 10px 0;
    display: block;
    width: 100%;
}

/* Mobile Footer */
.footer-columns {
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-column {
    text-align: center;
}

.footer-column h3:after {
    left: 50%;
    transform: translateX(-50%);
}

.social-links {
    justify-content: center;
}

/* Services Page Mobile Styles */
.service-details {
    flex-direction: column;
}

.service-image {
    width: 100%;
    margin-bottom: 20px;
}

.service-info {
    width: 100%;
}

/* Booking Form Mobile Styles */
.booking-form-container {
    padding: 30px 20px;
}

.form-row {
    flex-direction: column;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

/* Login/Register Mobile Styles */
.auth-container {
    padding: 30px 20px;
}

.auth-tabs .tab {
    padding: 10px 15px;
}

/* User Profile Mobile Styles */
.profile-container {
    flex-direction: column;
}

.profile-sidebar {
    width: 100%;
    margin-bottom: 30px;
}

.profile-content {
    width: 100%;
}

.vehicle-card {
    flex-direction: column;
}

.vehicle-image {
    width: 100%;
    margin-bottom: 15px;
}

.vehicle-info {
    width: 100%;
}

/* Mobile App-like Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-bottom-nav a i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.mobile-bottom-nav a.active {
    color: var(--primary-red);
}

.mobile-bottom-nav a.active i {
    transform: translateY(-2px);
}

/* Special Book Button */
.mobile-bottom-nav a.book-btn {
    margin-top: -30px;
}

.mobile-bottom-nav .nav-circle {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    box-shadow: 0 4px 15px rgba(209, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-circle i {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

.mobile-bottom-nav a.book-btn span {
    color: var(--primary-red);
    font-weight: 600;
}

/* WhatsApp Button */
.mobile-bottom-nav a.whatsapp-nav-btn {
    color: #25D366;
}

.mobile-bottom-nav a.whatsapp-nav-btn.active {
    color: #128C7E;
}

/* Hover Effects */
@media (hover: hover) {
    .mobile-bottom-nav a:hover {
        color: var(--primary-red);
    }

    .mobile-bottom-nav a:hover i {
        transform: translateY(-2px);
    }

    .mobile-bottom-nav a.book-btn:hover .nav-circle {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(209, 0, 0, 0.4);
    }

    .mobile-bottom-nav a.whatsapp-nav-btn:hover {
        color: #128C7E;
    }
}

/* Active State Animation */
.mobile-bottom-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 25px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.mobile-bottom-nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Adjust bottom padding for mobile pages */
@media (max-width: 768px) {
    body {
        padding-bottom: 65px;
    }

    #scroll-to-top {
        bottom: 80px;
    }
}

/* ===== MOBILE HEADER ===== */
@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        z-index: 1000;
        background-color: var(--primary-black);
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    }
    
    /* Modern app header */
    header .container {
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .logo-container {
        display: flex;
        align-items: center;
    }
    
    .logo {
        height: 32px;
        margin-right: 8px;
    }
    
    header h1 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 0;
    }
    
    /* Hide desktop nav links */
    #main-nav .nav-links {
        display: none;
    }
    
    /* Mobile menu button - more app like */
    #mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        border-radius: 50%;
    }
    
    #mobile-menu-toggle:active {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    #mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: var(--white);
        margin: 2px 0;
        transition: all 0.3s ease;
    }
    
    /* App-like slide menu */
    #mobile-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--primary-black);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding: 16px;
        box-sizing: border-box;
    }
    
    #mobile-menu.active {
        left: 0;
    }
    
    #mobile-menu .nav-links {
        display: flex;
        flex-direction: column;
        margin-top: 16px;
    }
    
    #mobile-menu .nav-links li {
        margin: 4px 0;
    }
    
    #mobile-menu .nav-links a {
        display: flex;
        align-items: center;
        font-size: 16px;
        color: var(--white);
        padding: 14px 16px;
        border-radius: 12px;
        transition: background 0.2s ease;
        text-decoration: none;
    }
    
    #mobile-menu .nav-links a:active {
        background: rgba(255, 255, 255, 0.1);
    }
    
    #mobile-menu .nav-links a i {
        margin-right: 16px;
        width: 20px;
        text-align: center;
        font-size: 20px;
    }
    
    /* App-like user profile in menu */
    #mobile-menu .mobile-user-info {
        display: flex;
        align-items: center;
        padding: 20px 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    #mobile-menu .mobile-user-avatar {
        width: 48px;
        height: 48px;
        border-radius: 24px;
        background-color: var(--dark-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
    }
    
    #mobile-menu .mobile-user-avatar i {
        font-size: 1.5rem;
        color: var(--white);
    }
    
    #mobile-menu .mobile-user-details {
        color: var(--white);
    }
    
    #mobile-menu .mobile-user-details h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        color: var(--white);
    }
    
    #mobile-menu .mobile-user-details p {
        font-size: 0.9rem;
        margin-bottom: 0;
        color: var(--medium-gray);
    }
}

/* ===== MOBILE APP SECTIONS ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .section-title:after {
        bottom: -10px;
        width: 50px;
        height: 3px;
    }
    
    /* Services section */
    #services-preview {
        padding: 30px 0;
    }
    
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .service-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 15px;
        border-radius: 10px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.5rem;
        margin: 0 15px 0 0;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .service-card p {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }
    
    /* Features section - Enhanced mobile design */
    #why-choose-us {
        padding: 50px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    #why-choose-us .section-title {
        text-align: center;
        margin-bottom: 40px;
        font-size: 1.8rem;
        color: var(--primary-black);
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .feature {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 25px 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(220, 53, 69, 0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .feature::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-red) 0%, #ff6b6b 100%);
        border-radius: 0 2px 2px 0;
    }
    
    .feature:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.5rem;
        margin: 0 20px 0 0;
        background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b6b 100%);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        transition: all 0.3s ease;
    }
    
    .feature:hover .feature-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    }
    
    .feature-content {
        flex: 1;
    }
    
    .feature h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        color: var(--primary-black);
        font-weight: 600;
        line-height: 1.3;
    }
    
    .feature p {
        font-size: 0.95rem;
        color: var(--dark-gray);
        line-height: 1.5;
        margin: 0;
    }
    
    /* Testimonials */
    #testimonials {
        padding: 30px 0;
    }
    
    .testimonial {
        padding: 20px 15px;
    }
    
    .quote p {
        font-size: 1rem;
        padding: 15px 0;
    }
    
    .client-img {
        width: 50px;
        height: 50px;
    }
    
    .client-details h4 {
        font-size: 1rem;
    }
    
    /* CTA section */
    #cta {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-content .btn {
        width: 100%;
        margin: 10px 0;
    }
}

/* ===== MOBILE SERVICES PAGE ===== */
@media (max-width: 768px) {
    .page-banner {
        height: 250px;
        margin-top: 60px;
        background-attachment: scroll;
    }
    
    .page-title {
        font-size: 2rem;
        padding: 15px 25px;
    }
    
    .page-banner p {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .services-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        margin: 25px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .services-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .service-tab {
        padding: 10px 16px;
        margin-right: 10px;
        font-size: 14px;
        flex: 0 0 auto;
        border-radius: 20px;
        background-color: #f1f1f1;
        color: #616161;
        border: none;
    }
    
    .service-tab.active {
        background-color: var(--primary-red);
        color: white;
    }
    
    .service-details {
        flex-direction: column;
    }
    
    .service-image {
        width: 100%;
        margin-bottom: 20px;
        height: 200px;
    }
    
    .service-info {
        width: 100%;
    }
    
    .service-info h3 {
        font-size: 1.5rem;
    }
    
    .service-feature {
        margin-bottom: 15px;
    }
    
    .service-pricing {
        padding: 15px;
        margin-top: 20px;
    }
    
    .service-pricing h4 {
        font-size: 1.2rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}

/* ===== MOBILE BOOKING PAGE ===== */
@media (max-width: 768px) {
    .booking-container {
        padding: 30px 0;
    }
    
    .booking-intro h2 {
        font-size: 1.5rem;
    }
    
    .booking-steps {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin: 40px 0;
    }
    
    .booking-step {
        padding: 20px 15px;
    }
    
    .booking-form-container {
        padding: 25px 15px;
        border-radius: 10px;
    }
    
    .booking-form-container h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        background: #f9f9f9;
    }
    
    .service-options {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .service-options::-webkit-scrollbar {
        display: none;
    }
    
    .service-option {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 12px 20px;
        background: #f1f1f1;
        border-radius: 24px;
        margin-right: 10px;
        font-size: 14px;
        transition: all 0.2s ease;
    }
    
    .service-option.active {
        background: var(--primary-red);
        color: white;
    }
    
    .contact-preference {
        flex-wrap: wrap;
    }
}

/* ===== MOBILE LOGIN/REGISTER PAGE FIXES ===== */
@media (max-width: 768px) {
    /* Fix overflow issues */
    .auth-section {
        overflow-x: hidden;
        width: 100%;
    }
    
    .auth-container {
        margin: 30px auto;
        border-radius: 10px;
        max-width: 90%;
        overflow: hidden;
    }
    
    .auth-tabs {
        display: flex;
        width: 100%;
    }
    
    .auth-tab {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .auth-form {
        padding: 20px 15px;
    }
    
    .auth-form h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .auth-form p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* Form fields adjustments */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .password-field {
        position: relative;
        width: 100%;
    }
    
    .password-toggle {
        right: 10px;
    }
    
    /* Social login section */
    .social-login {
        margin-top: 25px;
    }
    
    .social-login h3 {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .social-login h3:before,
    .social-login h3:after {
        width: 60px;
    }
    
    .social-buttons {
        gap: 10px;
    }
    
    .social-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Benefits section */
    .auth-benefits {
        padding: 0 15px;
        margin: 30px auto 60px;
    }
    
    .auth-benefits h2 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .benefit {
        padding: 20px 15px;
    }
    
    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .benefit h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .benefit p {
        font-size: 0.9rem;
    }
    
    /* Reset password form */
    #reset-password-form {
        width: 100%;
    }
    
    /* Fix form buttons */
    .auth-form .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Fix checkbox alignment */
    .form-check {
        align-items: flex-start;
    }
    
    .form-check input {
        margin-top: 3px;
    }
    
    .form-check label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Fix links spacing */
    .forgot-password {
        margin-top: 5px;
        margin-bottom: 15px;
    }
    
    .forgot-password a {
        font-size: 0.85rem;
    }
}

/* ===== MOBILE USER PROFILE PAGE ===== */
@media (max-width: 768px) {
    .profile-container {
        display: flex;
        flex-direction: column;
        padding: 16px;
        margin-bottom: 64px;
    }
    
    .profile-sidebar {
        width: 100%;
        margin-bottom: 24px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }
    
    .user-info {
        padding: 24px 16px;
        text-align: center;
        background: white;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto 16px;
        border-radius: 40px;
        background-color: var(--light-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .user-avatar i {
        font-size: 2.5rem;
        color: var(--dark-gray);
    }
    
    .user-details h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .user-details p {
        font-size: 0.9rem;
        color: var(--dark-gray);
        margin-bottom: 0;
    }
    
    .profile-menu {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .profile-menu ul {
        list-style: none;
        padding: 0;
    }
    
    .profile-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .profile-menu li a {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        color: var(--primary-black);
        font-size: 15px;
        transition: background-color 0.2s ease;
    }
    
    .profile-menu li a:active {
        background-color: rgba(0, 0, 0, 0.03);
    }
    
    .profile-menu li a i {
        width: 24px;
        margin-right: 12px;
        font-size: 20px;
        color: var(--primary-red);
    }
    
    .profile-tab {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }
    
    .profile-tab-header {
        padding: 15px;
        background: var(--light-gray);
    }
    
    .profile-tab-header h3 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .profile-tab-content {
        padding: 15px;
    }
    
    /* Vehicle cards - app style */
    .vehicle-card {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 16px;
    }
    
    .vehicle-image {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }
    
    .vehicle-details {
        padding: 15px;
    }
    
    .vehicle-details h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .vehicle-info-item {
        display: flex;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .vehicle-info-item span:first-child {
        width: 120px;
        color: var(--dark-gray);
    }
    
    .vehicle-actions {
        padding: 12px 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
    }
    
    .vehicle-actions a {
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        color: var(--primary-red);
        padding: 8px 12px;
        border-radius: 8px;
    }
    
    .vehicle-actions a:active {
        background-color: rgba(220, 53, 69, 0.05);
    }
    
    /* Service history tab */
    .service-history-item {
        background: var(--white);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }
    
    .history-header {
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        background: var(--light-gray);
    }
    
    .history-header h4 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .history-header .date {
        font-size: 0.85rem;
        color: var(--dark-gray);
    }
    
    .history-content {
        padding: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .service-history-item.active .history-content {
        display: block;
    }
    
    .history-detail {
        display: flex;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .history-detail span:first-child {
        width: 140px;
        color: var(--dark-gray);
    }
    
    .history-actions {
        margin-top: 15px;
        display: flex;
        justify-content: space-between;
    }
    
    .history-actions a {
        font-size: 0.85rem;
        display: inline-flex;
        align-items: center;
    }
    
    .history-actions a i {
        margin-right: 5px;
    }
    
    /* Add vehicle form */
    .form-actions {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }
    
    /* Account settings tab */
    .form-section {
        margin-bottom: 25px;
    }
    
    .form-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    /* Bookings tab */
    .booking-item {
        background: var(--white);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }
    
    .booking-header {
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--light-gray);
    }
    
    .booking-header h4 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .booking-status {
        font-size: 12px;
        padding: 4px 10px;
        border-radius: 20px;
        font-weight: 500;
    }
    
    .booking-status.pending {
        background: #FFF8E1;
        color: #F57F17;
    }
    
    .booking-status.completed {
        background: #E8F5E9;
        color: #2E7D32;
    }
    
    .booking-status.canceled {
        background: #FFEBEE;
        color: #C62828;
    }
    
    .booking-content {
        padding: 15px;
    }
    
    .booking-detail {
        display: flex;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .booking-detail span:first-child {
        width: 120px;
        color: var(--dark-gray);
    }
    
    .booking-actions {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-between;
    }
}

/* ===== MOBILE FOOTER ===== */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 80px; /* Extra padding for bottom nav */
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .copyright {
        padding: 20px 0;
    }
    
    /* Hide scroll to top on mobile (use bottom nav instead) */
    #scroll-to-top {
        display: none;
    }
}

/* Ripple Effect */
.nav-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Touch Feedback */
.mobile-bottom-nav a:active {
    transform: scale(0.95);
}

.mobile-bottom-nav a.book-btn:active .nav-circle {
    transform: scale(0.95);
}

/* Add padding to main content to prevent overlap with bottom nav */
main {
    padding-bottom: calc(65px + env(safe-area-inset-bottom));
} 