/* Hubs Viajeros - Custom Styles */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Hero overlay - vivid gradient */
.hero-section .wp-block-cover__background {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.6) 0%, rgba(13, 71, 161, 0.75) 100%) !important;
}

/* Section spacing */
.section-block {
    scroll-margin-top: 80px;
}

/* Carousel */
.hubs-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #0F172A;
}

.hubs-carousel__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: center;
}

.hubs-carousel__slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hubs-carousel__slide img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 0;
}

.hubs-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E3A5F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s;
}

.hubs-carousel__btn:hover {
    background: #fff;
}

.hubs-carousel__btn--prev {
    left: 16px;
}

.hubs-carousel__btn--next {
    right: 16px;
}

.hubs-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
}

.hubs-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E2E8F0;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.hubs-carousel__dot.active {
    background: #00BCD4;
    width: 28px;
    border-radius: 5px;
}

/* Amenity cards */
.amenity-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #E2E8F0;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.2);
    border-color: #4DD0E1;
}

.amenity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Price badge */
.price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: linear-gradient(135deg, #FF8F00, #FF5722);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.price-badge .amount {
    font-size: 1.75rem;
}

.price-badge .per-night {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
}

/* WhatsApp CTA button */
.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
    background: #1EB954;
    transform: scale(1.03);
    color: #fff !important;
}

.whatsapp-cta svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Responsive images in gallery */
@media (max-width: 768px) {
    .hubs-carousel__slide img {
        max-height: 55vh;
    }

    .hubs-carousel__btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Header sticky */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

/* Location map */
.location-map iframe {
    border-radius: 12px;
    width: 100%;
}

/* Footer wave */
.site-footer {
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath fill='%23002171' d='M0,20 C360,0 720,40 1080,20 C1260,10 1350,15 1440,20 L1440,40 L0,40 Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

/* Vivid section titles */
.section-block h2 {
    background: linear-gradient(135deg, #0D47A1, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Video destinations section */
.video-destination {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.video-destination:hover {
    transform: translateY(-4px);
}

.video-destination iframe {
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 480px;
    border: none;
    display: block;
    margin: 0 auto;
}

/* Last video is horizontal (16:9) */
.wp-block-columns > .wp-block-column:last-child .video-destination iframe {
    aspect-ratio: 16/9;
    max-height: none;
}

.video-destination__label {
    background: linear-gradient(135deg, #0D47A1, #00BCD4);
    color: #fff;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}
