/* Green Premium Garage - Responsive Stylesheet */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .navbar-nav {
  flex-direction: row;
        gap: 15px;
    }
    
    .nav-item {
        margin-left: 1rem;
    }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .navbar-nav {
  flex-direction: row;
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-item {
        margin: 0 0 10px 0;
    }
    
    .navbar {
        flex-wrap: wrap;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse {
        display: none;
        width: 100%;
    }
    
    .navbar-collapse.show {
        display: block;
    }
    
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card, .team-card, .blog-card, .feature-item, .price-card {
        margin-bottom: 1.5rem;
    }
    
    footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .section-padding {
        padding: 2.5rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        height: auto;
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-nav {
  flex-direction: row;
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-item {
        margin: 0 0 10px 0;
    }
    
    .navbar {
        flex-wrap: wrap;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse {
        display: none;
        width: 100%;
    }
    
    .navbar-collapse.show {
        display: block;
    }
    
    .service-card, .team-card, .blog-card, .feature-item, .price-card {
        margin-bottom: 1.5rem;
    }
    
    .review-card {
        margin-bottom: 1.5rem;
    }
    
    footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .section-title h2:after {
        width: 40px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .team-image {
        height: 250px;
    }
    
    .accordion-header h4 {
        font-size: 1rem;
    }
    
    .accordion-body.show {
        padding: 0.8rem 1.2rem;
    }
    
    .about-feature-icon, .core-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-toggle {
        display: flex;
        flex-direction: column;
        width: 30px;
        cursor: pointer;
    }
    
    .navbar-toggle span {
        height: 3px;
        width: 100%;
        background-color: var(--dark-color);
        margin-bottom: 5px;
        border-radius: 2px;
        display: block;
        transition: all 0.3s ease;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .navbar-collapse {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .navbar-collapse.show {
        height: auto;
    }
    
    .navbar-nav {
  flex-direction: row;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}

/* Swiper Slider Responsive */
@media (max-width: 767px) {
    .swiper-button-next, 
    .swiper-button-prev {
        display: none !important;
    }
    
    .swiper-pagination {
        bottom: 0 !important;
    }
}

/* Gallery Responsive */
@media (max-width: 767px) {
    .gallery-item {
        height: 200px;
    }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper-container {
        --swiper-autoplay-delay: 999999s;
    }
    
    .service-card:hover,
    .team-card:hover,
    .blog-card:hover,
    .feature-item:hover,
    .price-card:hover {
        transform: none !important;
    }
    
    .hero-image img,
    .service-image img,
    .team-image img,
    .blog-image img,
    .gallery-item img {
        transition: none !important;
    }
    
    .service-card:hover .service-image img,
    .team-card:hover .team-image img,
    .blog-card:hover .blog-image img,
    .gallery-item:hover img {
        transform: none !important;
    }
    
    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }
} 