:root {
    --primary-color: #BFFF00; 
    --secondary-color: #4A90E2; 
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--light-color); 
    color: var(--dark-color); 
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container, section, .footer-grid, .destinos-grid, .internacionales-grid {
    max-width: 100%;
    overflow-x: hidden;
}

header { 
    background: var(--white); 
    padding: 15px 0;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    border-bottom: 4px solid var(--primary-color); 
    width: 100%;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    min-height: 60px;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 60px;
    cursor: pointer;
}

.logo-container img {
    height: 100%;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 20px; 
    flex-wrap: wrap;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--dark-color); 
    font-weight: 700; 
    cursor: pointer; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--primary-color);
    color: black;
}

.hero { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?w=1600'); 
    background-size: cover; 
    background-position: center; 
    height: 50vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-family: 'Poppins';
}

.hero-subtitle {
    background: var(--primary-color);
    color: black;
    padding: 5px 20px;
    font-weight: 700;
    border-radius: 5px;
    margin-top: 15px;
}

.full-width-banner { 
    width: 100vw; 
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 550px; 
    display: flex; 
    align-items: center; 
    background-size: cover; 
    background-position: center; 
    color: white; 
    margin-bottom: 10px; 
    background-color: #444;
    overflow: hidden;
}

.banner-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.4); 
    z-index: 1; 
}

.banner-content { 
    position: relative; 
    z-index: 2; 
    max-width: 1200px; 
    margin: 0 auto; 
    width: 90%; 
    padding: 40px; 
}

.banner-carnaval {
    background-image: url('./images/banner1.png');
    cursor: pointer;
    border-bottom: 8px solid #FF6B00;
}

.banner-mardel {
    background-image: url('./images/MardelPlata.jpg');
    border-bottom: 8px solid var(--secondary-color);
}

.banner-iguazu {
    background-image: url('./images/banner3.png');
    border-bottom: 8px solid #FF4500;
}

.banner-badge {
    display: inline-block;
    padding: 5px 15px;
    font-weight: 800;
    border-radius: 50px;
    font-size: 1.1rem;
    color: white;
}

.badge-orange {
    background: #FF6B00;
}

.badge-blue {
    background: var(--secondary-color);
}

.badge-red {
    background: #FF4500;
}

.banner-title {
    font-size: 3.8rem;
    margin: 15px 0;
    font-family: 'Poppins';
}

.highlight {
    color: var(--primary-color);
}

.banner-description {
    font-size: 1.4rem;
}

.banner-cta-box {
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: inline-block;
}

.banner-cta-text {
    background: #FFD700;
    color: black;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 800;
    border-radius: 5px;
    margin: 0;
    font-size: 1.2rem;
    cursor: pointer;
}

.right-align {
    text-align: right;
}

.price-tag { 
    font-size: 3.5rem; 
    font-weight: 800; 
    color: var(--primary-color); 
    margin: 20px 0; 
}

.btn-ws-big { 
    display: inline-block; 
    background: #25D366; 
    color: white; 
    padding: 18px 35px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: 800; 
    font-size: 1.2rem; 
}

.page-content { 
    display: none; 
}

.page-content.active { 
    display: block; 
}

.section-title { 
    text-align: center; 
    font-family: 'Poppins'; 
    font-size: 2.5rem; 
    color: var(--secondary-color); 
    padding: 60px 0 30px; 
    text-transform: uppercase; 
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
}

.why-section {
    padding: 60px 0;
    background: white;
    text-align: center;
    overflow: hidden;
}

.why-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-title {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-family: 'Poppins';
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cta-section {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 30px 60px;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    min-width: 250px;
    font-size: 1rem;
}

.cta-bus {
    background: var(--secondary-color);
    color: white;
}

.cta-aereo {
    background: var(--dark-color);
    color: var(--primary-color);
}

.cta-internacional {
    background: var(--secondary-color);
    color: white;
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    text-align: center;
}

.card-title {
    font-family: 'Poppins';
    color: #4A90E2;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.card-price-small {
    font-size: 0.9rem;
    color: #4A90E2;
    display: block;
    font-weight: 400;
}

.card-btn {
    display: block;
    background: #BFFF00;
    color: black;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-internacionales {
    padding: 60px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.internacionales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card-int {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    cursor: pointer;
}

.card-int-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-int {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.card-int-title {
    font-family: 'Poppins';
    font-size: 2rem;
    margin-bottom: 5px;
}

.card-int-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.card-int-price {
    font-size: 1.2rem;
    color: #BFFF00;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-int-btn {
    background: #BFFF00;
    color: black;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
}

/* SECCIÓN TESTIMONIOS */
.testimonios-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    width: 100%;
}

.testimonios-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    font-size: 1.1rem;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonio-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.testimonio-card:hover {
    transform: translateY(-5px);
}

.testimonio-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonio-text::before {
    content: "“";
    font-size: 3rem;
    color: var(--secondary-color);
    position: absolute;
    top: -15px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.autor-iniciales {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.autor-info h4 {
    font-family: 'Poppins';
    color: var(--dark-color);
    margin-bottom: 5px;
}

.autor-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Página Bus */
.card-detail {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 10;
    color: white;
}

.badge-most-sold {
    background: #FF5722;
}

.badge-wineries {
    background: #BFFF00;
    color: black;
}

.badge-classic {
    background: #03A9F4;
}

.badge-microclimate {
    background: #8BC34A;
}

.badge-autumn {
    background: #E91E63;
}

.badge-north {
    background: #795548;
}

.card-detail-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-detail-body {
    padding: 25px;
}

.card-detail-title {
    color: #4A90E2;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.card-detail-list {
    list-style: none;
    color: #666;
    font-size: 0.95rem;
    line-height: 2;
}

.list-icon {
    color: #00bcd4;
    margin-right: 10px;
}

.card-detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 25px;
}

.card-detail-btn {
    display: block;
    margin-top: 20px;
    background: #00bcd4;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
}

/* Página Aéreo */
.card-aereo {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
}

.badge-aereo {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #4A90E2;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.7rem;
    z-index: 10;
}

.card-aereo-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-aereo-body {
    padding: 25px;
}

.card-aereo-title {
    font-family: 'Poppins';
    color: #4A90E2;
    margin-bottom: 10px;
}

.card-aereo-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-aereo-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.card-aereo-btn {
    display: block;
    background: #00bcd4;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Poppins';
}

.footer-address, .footer-phone {
    margin-bottom: 10px;
}

.footer-note {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 20px;
}

.footer-form {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.footer-form-title {
    margin-bottom: 20px;
    font-family: 'Poppins';
    color: var(--primary-color);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    background: white;
}

.form-textarea {
    height: 80px;
}

.form-btn {
    width: 100%;
    background: #25D366;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-credit {
    font-size: 0.8rem;
    margin-top: 15px;
    opacity: 0.7;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    margin: 0;
}

.modal-content {
    background: white;
    max-width: 95%;
    width: 100%;
    margin: 20px auto;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

.modal-title {
    color: var(--secondary-color);
    font-family: 'Poppins';
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.modal-note {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
    color: var(--dark-color);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 15px 0;
    width: 100%;
}

.carnaval-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
    min-width: 600px;
}

.carnaval-table th {
    background: var(--dark-color);
    color: white;
    padding: 10px;
    border: 1px solid #444;
}

.carnaval-table td {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
}

.btn-table-ws {
    background: #25D366;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    display: inline-block;
    white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-width-banner {
        min-height: 450px;
    }
    
    .banner-title {
        font-size: 3rem !important;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .logo-container {
        height: 50px;
        justify-content: center;
        width: 100%;
    }
    
    .logo-container img {
        max-width: 220px;
    }
    
    .nav-links {
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
    }
    
    .nav-links a {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .full-width-banner {
        min-height: 400px;
    }
    
    .banner-content {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 2.2rem !important;
        margin: 10px 0 !important;
    }
    
    .banner-description {
        font-size: 1.1rem !important;
    }
    
    .price-tag {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 40px 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
        overflow-y: auto;
        padding: 60px 15px 20px;
    }
    
    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 35px;
        width: 35px;
        height: 35px;
    }
    
    .carnaval-table {
        font-size: 0.75rem;
        min-width: 500px;
    }
    
    .carnaval-table td {
        padding: 8px 6px;
    }
    
    .table-container {
        margin: 10px -15px;
        width: calc(100% + 30px);
    }
}

@media (max-width: 480px) {
    .logo-container img {
        max-width: 200px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
    
    .full-width-banner {
        min-height: 350px;
    }
    
    .banner-title {
        font-size: 1.8rem !important;
    }
    
    .banner-description {
        font-size: 1rem !important;
    }
    
    .hero {
        height: 40vh;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .price-tag {
        font-size: 2rem;
    }
    
    .btn-ws-big {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .full-width-banner {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    body, html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
/* Contenedor especial para archivos externos (Aéreo, Bus, etc.) */
.grid-externa-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Crea 3 columnas de igual tamaño */
    gap: 25px; /* Espacio entre tarjetas */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ajuste responsivo: en celulares se ve en 1 sola columna */
@media (max-width: 992px) {
    .grid-externa-3-col {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    }
}

@media (max-width: 768px) {
    .grid-externa-3-col {
        grid-template-columns: 1fr; /* 1 columna en celulares */
    }
}