/* 
   Roadtrip Rental Center - Responsive CSS
   This file contains all the responsive styling for the website
*/

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.6rem;
    }
    
    .price-card ul {
        padding-left: 1rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.4rem;
    }
    
    .about-feature {
        margin-bottom: 2rem;
    }
    
    .price-card {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .member-image {
        width: 150px;
        height: 150px;
    }
    
    .coreinfo-item {
        margin-bottom: 2rem;
    }
    
    .site-footer {
        padding: 3rem 0 2rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .about-feature {
        margin-bottom: 2rem;
    }
    
    .price-card {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .team-member {
        margin-bottom: 3rem;
    }
    
    .coreinfo-item {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-top: 3rem;
    }
    
    .site-footer {
        padding: 3rem 0 2rem;
    }
    
    .site-footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .hero-section {
        padding: 2.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .about-feature,
    .feature-item,
    .service-item,
    .price-card,
    .team-member,
    .blog-item {
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured::before {
        font-size: 0.6rem;
    }
    
    .member-image {
        width: 130px;
        height: 130px;
    }
    
    .gallery-img {
        height: 200px;
    }
    
    .contact-info {
        margin-top: 3rem;
    }
    
    .site-footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .site-footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .accordion-button {
        padding: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Specific responsive fixes */

/* Prevent text overflow in all viewports */
@media (max-width: 1199.98px) {
    .service-item h4,
    .price-card h4,
    .blog-content h4 {
        font-size: 1.2rem;
    }
}

/* Adjustments for very small phones */
@media (max-width: 320px) {
    html {
        font-size: 12px;
    }
    
    .service-item .price {
        padding: 0.3rem 1rem;
        margin: 0.5rem 1rem 1rem;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
} 