/* General Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --whatsapp-color: #25D366;
    --navbar-blue: #0066ff;
    --navbar-orange: #ff6b00;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    perspective: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideZoomAnimation 45s linear infinite;
    transform-origin: center;
    opacity: 0;
}

.hero-background:nth-child(1) { animation-delay: 0s; background-image: url('imagenefectos/Machu_Picchu.png'); }
.hero-background:nth-child(2) { animation-delay: 5s; background-image: url('imagenefectos/arequipa.png'); }
.hero-background:nth-child(3) { animation-delay: 10s; background-image: url('imagenefectos/paris.png'); }
.hero-background:nth-child(4) { animation-delay: 15s; background-image: url('imagenefectos/orlando.png'); }
.hero-background:nth-child(5) { animation-delay: 20s; background-image: url('imagenefectos/riveramaya.png'); }
.hero-background:nth-child(6) { animation-delay: 25s; background-image: url('imagenefectos/trujillo.png'); }
.hero-background:nth-child(7) { animation-delay: 30s; background-image: url('imagenefectos/puerto.png'); }
.hero-background:nth-child(8) { animation-delay: 35s; background-image: url('imagenefectos/lago.png'); }
.hero-background:nth-child(9) { animation-delay: 40s; background-image: url('imagenefectos/miami.png'); }

@keyframes slideZoomAnimation {
    0% {
        opacity: 0;
        transform: scale(1.1) rotateY(-5deg);
    }
    2.2% {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
    8.9% {
        opacity: 1;
        transform: scale(1.05);
    }
    11.1% {
        opacity: 0;
        transform: scale(1.1) rotateY(5deg);
    }
    100% {
        opacity: 0;
        transform: scale(1.1) rotateY(5deg);
    }
}

.hero-background {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.hero-logo-container {
    position: absolute;
    top: 0.1px;
    left: 0.1px;
    z-index:1;
}

.hero-logo {
    height: 700px;
    width: auto;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.4));
}

.hero-logo.animated {
    animation: logoAnimation 5s infinite;
}

@keyframes logoAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.4)) brightness(1);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
        filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.5)) brightness(1.2);
    }
    50% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.4)) brightness(1);
    }
    75% {
        transform: translateY(-20px) rotate(-2deg);
        filter: drop-shadow(6px 6px 12px rgba(0, 0, 0, 0.5)) brightness(1.2);
    }
    100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.4)) brightness(1);
    }
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    margin-left: auto;
    margin-right: 60px;
    text-align: right;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.card {
    border: none;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
}

.card-body i {
    color: var(--secondary-color);
}

/* Destinations Section */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    cursor: pointer;
}

.destination-card img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card:hover .destination-content {
    transform: translateY(-10px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    background-color: var(--whatsapp-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

/* Form Styles */
.form-control {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    border-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .hero-logo {
        height: 600px;
    }
    .hero-logo-container {
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 1200px) {
    .hero-logo {
        height: 500px;
    }
    .hero-logo-container {
        top: 10px;
        left: 10px;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        height: 400px;
    }
    .hero-logo-container {
        top: 10px;
        left: 10px;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
        padding-top: 280px;
    }
}

/* Navigation */
.navbar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, 
        var(--navbar-blue) 0%, 
        #2b87ff 30%, 
        #ff8533 70%, 
        var(--navbar-orange) 100%
    );
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    height: 5px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    align-self: flex-start;
    margin-left: -15px;
}

.navbar-brand:hover .nav-logo {
    transform: scale(1.05);
}

.navbar-nav {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    padding: 8px 20px !important;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Responsive navbar adjustments */
@media (max-width: 991px) {
    .nav-logo {
        height: 100px;
    }

    .navbar-collapse {
        background: rgba(30, 60, 114, 0.95);
        margin: 15px -12px -15px;
        padding: 15px;
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    .nav-logo {
        height: 80px;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-body {
    padding: 2rem 1.5rem;
}

.service-card i {
    color: var(--navbar-blue);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card .btn {
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    color: white;
    border: none;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-weight: 500;
    text-align: center;
}

/* Responsive Adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .gallery-item img {
        height: 150px;
    }

    .gallery-caption {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

.gallery-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.gallery-section .section-title {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.gallery-section .section-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

.gallery-item {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.gallery-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Estilos específicos para la sección de transporte terrestre */
.gallery-section[data-section="terrestre"] .gallery-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 20px;
}

.gallery-section[data-section="terrestre"] .gallery-item {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-section[data-section="terrestre"] .gallery-item img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: contain;
    background: white;
}

.gallery-section[data-section="terrestre"] .gallery-caption {
    position: relative;
    background: none;
    color: #333;
    padding: 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}

.transport-options {
    padding: 40px 20px;
    background: white;
    position: relative;
}

.transport-options h4 {
    color: #333;
    font-size: 1.3rem;
    margin: 25px 0 15px;
    font-weight: 600;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.transport-options h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 4px;
    height: 100%;
    background: var(--navbar-blue);
}

.transport-options h4::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 4px;
    height: 100%;
    background: var(--navbar-orange);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 60px;
    margin-bottom: 30px;
    padding: 20px;
    justify-items: center;
}

.company-item {
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    padding: 0;
    position: relative;
}

.company-logo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
    padding: 10px;
    background: white;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.company-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--navbar-blue), var(--navbar-orange));
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.company-item:hover .company-logo {
    transform: scale(1.05);
}

.company-item:hover .company-logo::before {
    opacity: 0.1;
    transform: scale(1.1);
}

.company-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px dashed var(--navbar-blue);
    opacity: 0;
    transition: all 0.3s ease;
}

.company-item:hover::after {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.company-name {
    display: none;
}

/* Estilos para el modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    color: white;
    border: none;
    padding: 1.2rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.4rem;
}

.modal-body {
    padding: 0;
    background: #f8f9fa;
}

.company-logo {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    padding: 30px;
    background: white;
}

#companyLogoModal .modal-body {
    background: #f8f9fa;
    padding: 20px;
}

.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-nav:hover {
    background: white;
    color: var(--navbar-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.company-logo {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    padding: 30px;
    background: white;
    transition: all 0.3s ease;
}

#companyLogoModal .modal-body {
    background: #f8f9fa;
    padding: 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-options .service-card {
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    color: white;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transport-options .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.transport-options .service-card .card-body {
    padding: 2rem 1.5rem;
}

.transport-options .service-card i {
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.transport-options .service-card:hover i {
    transform: scale(1.1);
}

.transport-options .company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 20px;
    padding: 20px;
    justify-items: center;
}

.transport-options .company-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    padding: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.transport-options .company-item:hover .company-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.transport-options .company-item::after {
    display: none;
}

/* Full Days Gallery Styles */
#fullDaysModal .modal-dialog {
    max-width: 95%;
    margin: 1rem auto;
}

#fullDaysModal .modal-content {
    background: #f8f9fa;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

#fullDaysModal .modal-header {
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    color: white;
    border: none;
    padding: 1.2rem;
}

#fullDaysModal .modal-body {
    padding: 1rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.full-days-gallery {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.full-days-poster {
    max-width: 1000px;
    max-height: 96vh;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
    transition: transform 0.3s ease;
}

.full-days-poster:hover {
    transform: scale(1.02);
}

.poster-caption {
    margin-top: 1.5rem;
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 1rem;
    position: relative;
    display: inline-block;
}

.poster-caption::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.poster-caption:hover::after {
    width: 100%;
}

/* Ajustes específicos para la primera imagen */
.full-days-poster[src*='full/1.jpg'] {
    max-width: 1000px;
    max-height: 96vh;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

@media (max-width: 768px) {
    #fullDaysModal .modal-dialog {
        max-width: 98%;
        margin: 0.5rem auto;
    }

    #fullDaysModal .modal-body {
        padding: 0.5rem;
        min-height: 85vh;
    }

    .full-days-poster {
        max-width: 98vw;
        max-height: 90vh;
    }
    
    .poster-caption {
        font-size: 1.8rem;
    }
}

.full-days-poster[src*='full/ica.jpg'] {
    max-width: 600px;
    max-height: 96vh;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}
@media (max-width: 500px) {
    .full-days-poster[src*='full/ica.jpg'] {
        max-width: 98vw;
        max-height: 80vh;
    }
}

/* Estilos para la sección de recomendaciones */
#recomendaciones {
    background-color: #f8f9fa;
}

.testimonials-column {
    padding: 20px;
}

.column-title {
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    font-size: 1.5rem;
}

.column-title i {
    color: #007bff;
}

.testimonial-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.testimonial-video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial-content {
    padding: 10px 0;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-details h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.destination {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    margin: 15px 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Estilos para el reproductor de video */
.testimonial-video::-webkit-media-controls {
    background-color: rgba(0,0,0,0.5);
}

.testimonial-video::-webkit-media-controls-panel {
    padding: 0 10px;
}

@media (max-width: 768px) {
    .testimonials-column {
        padding: 10px;
    }
    
    .testimonial-item {
        padding: 15px;
    }
    
    .column-title {
        font-size: 1.3rem;
    }
    
    .client-avatar {
        width: 40px;
        height: 40px;
    }
    
    .client-details h3 {
        font-size: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

.image-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-buttons .btn {
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Términos y Condiciones Modal */
#terminosModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

#terminosModal .modal-header {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border-bottom: none;
    padding: 1.5rem;
}

#terminosModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#terminosModal .modal-body {
    padding: 2rem;
    background-color: #f8f9fa;
}

#terminosModal .terminos-content {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    font-family: 'Times New Roman', Times, serif;
}

#terminosModal .terminos-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

#terminosModal .terminos-content strong {
    color: #138496;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    #terminosModal .modal-body {
        padding: 1.5rem;
    }
    
    #terminosModal .terminos-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    #terminosModal .terminos-content strong {
        font-size: 1rem;
    }
}

/* Footer Links */
.footer-links {
    margin-top: 15px;
    text-align: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--navbar-orange);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--navbar-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Hoteles Gallery Styles */
#hotelesModal .modal-dialog {
    max-width: 95%;
    margin: 1rem auto;
}

#hotelesModal .modal-content {
    background: #f8f9fa;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

#hotelesModal .modal-header {
    background: linear-gradient(135deg, var(--navbar-blue), var(--navbar-orange));
    color: white;
    border: none;
    padding: 1.2rem;
}

#hotelesModal .modal-body {
    padding: 2rem;
}

.hoteles-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hotel-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.hotel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hotel-logo-grid {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
}

.hotel-caption-grid {
    padding: 1rem;
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    #hotelesModal .modal-dialog {
        max-width: 98%;
        margin: 0.5rem auto;
    }

    #hotelesModal .modal-body {
        padding: 1rem;
    }
}

/* Imagen flotante inferior izquierda */
.bottom-left-image {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

.floating-logo {
    width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: white;
    padding: 5px;
}

.floating-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .bottom-left-image {
        bottom: 15px;
        left: 15px;
    }
    
    .floating-logo {
        width: 120px;
    }
}

/* --- Instagram Testimonials --- */
.insta-testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.insta-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    min-width: 250px;
    max-width: 340px;
    margin: 0 auto;
}
.insta-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.insta-video-wrapper {
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.insta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    border-radius: 0;
}
.insta-card-body {
    padding: 1.2rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.insta-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
    margin-top: -32px;
    margin-bottom: 0.7rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
}
.insta-client-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 0.2rem;
    text-align: center;
}
.insta-destination {
    font-size: 0.98rem;
    color: #3498db;
    margin-bottom: 0.7rem;
    text-align: center;
}
.insta-testimonial-text {
    font-size: 1rem;
    color: #444;
    font-style: italic;
    text-align: center;
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .insta-testimonials {
        gap: 1.2rem;
    }
    .insta-card {
        min-width: 220px;
        max-width: 100%;
    }
}
@media (max-width: 576px) {
    .insta-testimonials {
        flex-direction: column;
        gap: 1rem;
    }
    .insta-card {
        min-width: 90vw;
        max-width: 98vw;
    }
    .insta-video-wrapper {
        aspect-ratio: 9/16;
    }
    .insta-avatar {
        width: 48px;
        height: 48px;
        margin-top: -24px;
    }
}

/* TikTok Carousel Styles */
.tiktok-carousel-wrapper {
    width: 100%;
    min-height: 600px;
    background: linear-gradient(135deg, #f8fafc 60%, #e3e3e3 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 40px 0;
    position: relative;
    justify-content: center;
    align-items: center;
}
.tiktok-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 340px;
    height: 605px;
    background: #000;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    overflow: hidden;
    position: relative;
}
.tiktok-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 18px;
}
.btn-tiktok-nav {
    background: rgba(0,0,0,0.18);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 18px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
}
.btn-tiktok-nav:hover {
    background: rgba(52,152,219,0.25);
    color: #3498db;
    transform: scale(1.08);
}
@media (max-width: 600px) {
    .tiktok-video-container {
        width: 98vw;
        height: 65vw;
        max-width: 98vw;
        max-height: 80vh;
    }
    .tiktok-carousel-wrapper {
        padding: 10px 0;
        min-height: 350px;
    }
    .btn-tiktok-nav {
        font-size: 2rem;
        width: 44px;
        height: 44px;
        margin: 0 6px;
    }
}
