/* Mobile-specific styles 
   All styles related to mobile view are contained in this file
   to keep a clear separation from desktop styles */







/* Tablet-sized screens */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links > * {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
        justify-content: space-between;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    



    
    /* Mobile Navigation Links */
    .nav-links {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        padding: 0;
        transition: none;
        z-index: auto;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-links > * {
        width: auto;
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        border-bottom: none;
    }

    .nav-links > *:last-child {
        border-bottom: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }

    .services-grid,
    .repair-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        aspect-ratio: 16/9;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .quote-box {
        padding: 1.5rem;
    }
    
    .progress-bar {
        gap: 5px;
    }
    
    .step {
        width: 25px;
        height: 25px;
        line-height: 23px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .warranty-card {
        padding: 1rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Mobile Dark Mode Styles */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    /* Mobile navigation */
    .nav-links {
        background-color: transparent;
    }

    .nav-links > * {
        border-bottom: none;
    }
}

/* Mobile Styles - Max width 768px */

/* Navigation Mobile Styles */
.navbar {
    padding: 1rem;
    position: relative;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-links > * {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.nav-links > *:last-child {
    border-bottom: none;
}

/* Hero Section Mobile */
.hero {
    padding: 2rem 1rem;
    min-height: auto;
}

.hero-container {
    flex-direction: column;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.quote-box {
    width: 100%;
    max-width: none;
    padding: 1.5rem;
    margin: 0;
}

.progress-bar {
    margin-bottom: 1.5rem;
}

.step {
    width: 30px;
    height: 30px;
    font-size: 14px;
}

/* Form Elements Mobile */
.form-section label {
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.form-section input,
.form-section select {
    padding: 0.75rem;
    font-size: 16px; /* Prevents zoom on iOS */
    margin-bottom: 1rem;
}

.form-section button {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    margin: 0.5rem 0;
    width: 100%;
}

/* Services Section Mobile */
.services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

.service-card {
    text-align: center;
}

.service-card img {
    height: 200px;
    object-fit: cover;
}

/* About Section Mobile */
.about {
    padding: 3rem 1rem;
}

.about-content {
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    text-align: center;
}

.about-image {
    order: -1;
}

.about-image img {
    max-height: 250px;
    object-fit: cover;
}

/* Repair Section Mobile */
.repair {
    padding: 3rem 1rem;
}

.repair-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.warranty-card {
    text-align: center;
    padding: 2rem 1rem;
}

.warranty-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer Mobile */
.footer {
    padding: 2rem 1rem;
}

.footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.footer-section {
    margin-bottom: 1rem;
}

.social-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
}

.footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-top: 2rem;
}

/* Container Mobile */
.container {
    padding: 0 1rem;
    max-width: 100%;
}

/* Typography Mobile */
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Hide desktop menu toggle on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Show desktop nav on larger screens */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-links {
        position: static;
        flex-direction: row;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0;
        width: auto;
    }
    
    .nav-links > * {
        border-bottom: none;
        padding: 0.25rem 0;
    }
}
