/* 
 * Rancho Los Robles - Responsive CSS
 * Media queries to make the site responsive on all devices
 */

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* Medium Screens (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .tagline {
        font-size: 1.3rem;
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .tagline {
        font-size: 1.2rem;
    }
    
    .column-1-2,
    .column-1-3,
    .column-2-3,
    .column-1-4,
    .column-3-4 {
        width: 100%;
    }
    
    .feature-card {
        width: calc(50% - 30px);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: var(--spacing-lg);
    }
    
    .service-card {
        width: calc(50% - 30px);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widget {
        width: calc(50% - 30px);
        margin-bottom: var(--spacing-lg);
    }
    
    /* Navigation Adjustments */
    .menu-toggle {
        display: block;
    }
    
    .main-nav .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav .menu.active {
        display: flex;
    }
    
    .main-nav .menu li {
        margin: 0 0 15px;
    }
    
    .main-nav .menu li:last-child {
        margin-bottom: 0;
    }
}

/* Mobile Phones (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-image {
        max-height: 50px;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
        margin-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .tagline {
        font-size: 1.1rem;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .service-card {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-widget {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: var(--spacing-sm);
    }
}

/* Small Mobile Phones (Up to 575px) */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .tagline {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        margin-bottom: var(--spacing-md);
    }
    
    .contact-form,
    .contact-info {
        padding: var(--spacing-md);
    }
    
    .map-container {
        height: 250px;
    }
}