/* EV Concierge - Responsive CSS */

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.6rem;
    }
    
    .shape-blob {
        width: 250px;
        height: 250px;
    }
    
    .shape-circle {
        width: 150px;
        height: 150px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    /* Header */
    .navbar-nav {
  flex-direction: row;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: var(--border-radius);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-light);
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-shapes {
        display: none;
    }
    
    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.3rem; }
    
    /* Cards */
    .service-card, .blog-card {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .price-card:hover {
        transform: translateY(-5px);
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
    
    /* Team Grid */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem;
    }
    
    /* Disable animations on mobile for better performance */
    .feature-card:hover,
    .service-card:hover,
    .info-card:hover,
    .feature-item:hover {
        transform: none;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
        padding: 0 20px;
    }
    
    /* Spacing */
    section {
        padding: 60px 0;
    }
    
    /* Header */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    /* Cards */
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .info-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card,
    .service-card,
    .info-card {
        padding: 1.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .price-card {
        padding: 2rem 1.5rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Reviews */
    .review-card {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }
    
    .review-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
overflow-x: hidden;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Gallery */
    .gallery-image {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Spacing */
    section {
        padding: 40px 0;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-container {
        height: 100px;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 70px;
        min-height: auto;
    }
    
    .hero-section .row {
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Typography */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.95rem; }
    
    p {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .info-card,
    .team-member {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .service-content {
        padding: 1.2rem;
    }
    
    .price-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .price-card .price {
        font-size: 2.5rem;
        margin: 1.5rem 0;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .team-member h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .team-member p {
        font-size: 0.85rem;
    }
    
    /* Service Images */
    .service-image,
    .blog-image {
        height: 150px;
    }
    
    .service-price {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Reviews */
    .review-card {
        padding: 1.5rem 1rem;
        margin: 0.3rem;
    }
    
    .review-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .review-card h5 {
        font-size: 0.95rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.6rem;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .btn-primary {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
overflow-x: hidden;
        padding: 0.8rem;
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* Gallery */
    .gallery-image {
        height: 150px;
        margin-bottom: 0.8rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0;
        font-size: 0.9rem;
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Utilities for small screens */
    .d-sm-none {
        display: none !important;
    }
    
    .text-center-sm {
        text-align: center !important;
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .feature-card:hover,
        .service-card:hover,
        .price-card:hover,
        .team-member:hover,
        .review-card:hover,
        .info-card:hover,
        .feature-item:hover,
        .blog-card:hover,
        .gallery-image:hover {
            transform: none !important;
            box-shadow: var(--shadow-light) !important;
        }
        
        .navbar-nav .nav-link:hover {
            transform: none !important;
        }
        
        .navbar-brand:hover {
            transform: none !important;
        }
        
        .team-member:hover .team-photo {
            transform: none !important;
        }
        
        .btn-primary:hover {
            transform: none !important;
        }
    }
}

/* Extra Small Devices (320px - 479px) */
@media (max-width: 479.98px) {
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-section h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .info-card,
    .team-member,
    .contact-form {
        padding: 1rem;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .price-card {
        padding: 1.2rem 0.8rem;
    }
    
    .price-card .price {
        font-size: 2rem;
    }
    
    /* Contact Form */
    .form-control,
    .form-select {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .footer h6 {
        font-size: 0.95rem;
    }
}

/* Landscape orientation optimizations */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto !important;
    }
    
    section {
        padding: 30px 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* Print styles */
@media print {
    .header,
    .navbar,
    .breadcrumb-container,
    .hero-shapes,
    .swiper-pagination,
    .btn,
    .footer {
        display: none !important;
    }
    
    .hero-section {
        padding-top: 0;
        background: none !important;
        color: black !important;
    }
    
    section {
        padding: 20px 0;
        background: none !important;
    }
    
    .container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    * {
        color: black !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .team-member,
    .info-card,
    .review-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
        margin-bottom: 10px;
    }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-image,
    .blog-image,
    .gallery-image,
    .team-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support (if system preference is dark) */
@media (prefers-color-scheme: dark) {
    /* This can be implemented later if needed */
} 