/* Archivo: /home/xyz/var/www/grtravels.com.mx/public_html/css/responsive.css */

/* Tabletas grandes y escritorios pequeños */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .header-logo img {
        max-width: 180px;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .main-nav a {
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

/* Tabletas */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .header-cta .btn {
        padding: 0.5rem 1rem;
    }
    
    .hero {
        height: 80vh;
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: var(--space-lg);
    }
    
    .hero .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: var(--space-lg);
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
}

/* Dispositivos móviles grandes */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .header-content {
        position: relative;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--box-shadow);
        padding: 100px var(--space-lg) var(--space-lg);
        z-index: 1000;
        transition: right 0.3s ease;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .main-nav a {
        display: block;
        padding: var(--space-md) var(--space-sm);
        font-size: 1.1rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Overlay cuando el menú está activo */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    body.menu-open::after {
        opacity: 1;
        visibility: visible;
    }
    
    .hero {
        height: 75vh;
        min-height: 550px;
    }
    
    .hero-slider {
        height: 100%;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0 var(--space-md);
        margin-bottom: var(--space-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: var(--space-sm);
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
        max-width: 100%;
    }
    
    .services-grid,
    .destinations-slider {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-lg);
    }
    
    /* Ajustes de formulario para dispositivos móviles */
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form select,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .contact-form .form-row {
        flex-direction: column;
    }
    
    .contact-form .form-row .form-group {
        width: 100%;
        margin-right: 0;
    }
    
    /* Sección de testimonios responsiva */
@media (max-width: 992px) {
    .testimonial-card {
        max-width: 100%;
    }
    
    .trust-badge {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-md);
    }
}

@media (max-width: 768px) {
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .client-avatar {
        margin-right: 0;
    }
    
    .testimonial-body {
        padding: var(--space-md);
    }
    
    .testimonial-body p {
        font-size: 1rem;
        padding-left: 0;
    }
    
    .quote-icon {
        position: static;
        display: block;
        text-align: center;
        margin-bottom: var(--space-sm);
        font-size: 1.5rem;
    }
    
    .testimonial-service {
        justify-content: center;
    }

    .quote-icon {
        margin: 0 auto var(--space-md);
        text-align: center;
    }
}

@media (max-width: 576px) {
    .testimonial-controls {
        flex-wrap: wrap;
    }
    
    .testimonial-indicators {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: var(--space-sm);
    }
    
    .testimonial-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .platform-icons i {
        font-size: 1.2rem;
    }
}
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Dispositivos móviles pequeños */
@media (max-width: 576px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-slider {
        height: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    
    /* Botones del hero */
    .hero-buttons {
        /* display: none; -- Comentado para no ocultar los botones si se necesitan */
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .slider-nav {
        bottom: 20px;
    }
    
    .dots {
        padding: 8px 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .client {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form label {
        font-size: 0.9rem;
    }
}

/* Para pantallas bajas pero anchas */
@media (max-height: 700px) and (min-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 450px;
    }
    
    .hero-content {
        margin-top: var(--space-md);
    }
}