@font-face {
    font-display: swap;
    font-family: Avantt-Heavy;
    src: url(../fonts/Avantt-Heavy.ttf) format("truetype")
}

html {
  font-size: 14px;
}

:root {
    --primary-color: #1b6ec2;
    --secondary-color: #4B4B4B;
    --accent-color: #931C40;
    /* Bootstrap color variables */
    --bs-primary: var(--primary-color);
    --bs-primary-rgb: 27, 110, 194;
    --bs-secondary: var(--secondary-color);
    --bs-secondary-rgb: 75, 75, 75;
    --bs-warning: var(--accent-color);
    --bs-warning-rgb: 135, 40, 65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Avantt-Heavy;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--primary-color)
}

a {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color)
}

.btn {
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-cta {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    transition: filter 0.2s ease-in-out;
}

.btn-cta:hover {
    filter: brightness(1.1);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px
}

/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    position: relative;
    width: 100%
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2); /* oscurece un poco para mejorar el contraste */
        z-index: 1;
    }

    .hero .container {
        position: relative;
        z-index: 2;
    }

    .hero h1, .hero p {
        color: #fff;
        font-weight: 400;
    }

.full-width {
    margin: 0 auto;
    width: 100dvw;
    margin-left: calc(50% - 50dvw)
}

#nombreSitio {
    font-family: Avantt-Heavy;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    letter-spacing: -1px;
    font-size: 1.8rem;
    color: white;
    position: relative;
    display: inline-block
}

    #nombreSitio::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 40%;
        height: 6px;
        background-color: var(--accent-color);
        border-radius: 3px;
    }

.card-excursion {
    transition: transform 0.2s ease;
}

    .card-excursion:hover {
        transform: scale(1.02);
    }

.card-img-top-wrapper {
    overflow: hidden;
    position: relative;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Aplica a todas las cards dentro del listado de categorías */
.categoria-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .categoria-card:hover {
        transform: scale(1.03); /* ?? Zoom suave */
}
/* Card estilo catálogo */
.tour-card {
    border: 1px solid #e0e0e0;
    border-radius: .5rem;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tour-card-img {
    height: 200px;
    overflow: hidden;
    border-bottom: 5px solid var(--bs-primary);
}
.tour-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Ensure uniform height when titles span multiple lines */
.tour-card h3 {
    min-height: 4.2rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.tour-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
/* Larger images for the home carousel */
.tours-carousel .tour-card-img {
    height: 280px;
}

/* Position swiper controls outside of the tour card */
#toursCarousel, #destinosCarousel {
    position: relative;
    overflow: hidden;
}

.tours-carousel-wrapper .swiper-pagination,
.destinos-carousel-wrapper .swiper-pagination,
.testimonial-carousel-wrapper .swiper-pagination,
.tour-review-carousel-wrapper .swiper-pagination {
    position: static;
    margin-top: 1rem;
    text-align: center;
}

.tours-carousel-wrapper .swiper-button-prev,
.tours-carousel-wrapper .swiper-button-next,
.destinos-carousel-wrapper .swiper-button-prev,
.destinos-carousel-wrapper .swiper-button-next,
.testimonial-carousel-wrapper .swiper-button-prev,
.testimonial-carousel-wrapper .swiper-button-next,
.tour-review-carousel-wrapper .swiper-button-prev,
.tour-review-carousel-wrapper .swiper-button-next {
    top: 50%;
    width: 2rem;
    height: 2rem;
    color: var(--bs-primary);
    margin-top: 0; /* reset default */
}

.tours-carousel-wrapper .swiper-button-prev,
.destinos-carousel-wrapper .swiper-button-prev,
.testimonial-carousel-wrapper .swiper-button-prev,
.tour-review-carousel-wrapper .swiper-button-prev {
    left: 0;
    transform: translate(-150%, -50%);
}

.tours-carousel-wrapper .swiper-button-next,
.destinos-carousel-wrapper .swiper-button-next,
.testimonial-carousel-wrapper .swiper-button-next,
.tour-review-carousel-wrapper .swiper-button-next {
    right: 0;
    transform: translate(150%, -50%);
}

/* Benefit cards on home */
.benefit-card {
    background-color: var(--bs-light);
    border: 1px solid #e0e0e0;
    border-radius: .5rem;
    transition: transform .3s, box-shadow .3s;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: #fff;
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer {
    font-size: 0.9rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

#tituloExcursion {
    font-weight: bold;
    font-size: 2rem;
}

#precioExcursion {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Headers H1, H2, etc */
.hdr-1 {
    position: relative;
    font-weight: bold;
    display: inline-block;
    padding-left: 1em; /* espacio para el símbolo > */
    font-size: 2rem;
    color: var(--primary-color); /* color del texto */
}

    .hdr-1::before {
        content: ">"; /* o usa ">" si preferís, "›" es más estético */
        position: absolute;
        left: 0;
        top: 0;
        color: var(--accent-color); /* color del símbolo y subrayado */
        font-weight: bold;
        font-size: 2rem;
    }

    .hdr-1::after {
        content: "";
        display: block;
        width: 100%;
        height: 6px; /* grosor del subrayado */
        background-color: var(--accent-color); /* mismo color que el símbolo */
        margin-top: 0.2em;
        border-radius: 3px;
    }
.gallery-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow: hidden;
}

.gallery-row img {
    flex: 0 0 auto;
}

.wishlist-btn {
    border: none;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    padding: 0.25rem 0.4rem;
}
.wishlist-btn.active i,
.wishlist-btn i.bi-heart-fill {
    color: red;
}

/* Dropdown Destinos */
.destinos-dropdown {
    width: 800px;
    left: 50% !important;
    top: 100%;
    transform: translateX(-50%) !important;
    right: auto !important;
    max-height: 70vh;
    overflow-y: auto;
}

.destinos-dropdown a {
    text-decoration: none;
    font-size: .9rem;
    line-height: .95rem
}

@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: absolute;
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .destinos-dropdown {
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        max-height: 70vh;
        overflow-y: auto;
    }

        .destinos-dropdown a {
            line-height: 1.2rem
        }
}


/* Destinos dropdown column borders */
.destinos-dropdown .row > .col {
    border-right: 1px solid #ddd;
}

.destinos-dropdown .row > .col:last-child {
    border-right: none;
}

@media (max-width: 767.98px) {
    .destinos-dropdown .row > .col:nth-child(2n) {
        border-right: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .destinos-dropdown .row > .col:nth-child(3n) {
        border-right: none;
    }
}

@media (min-width: 992px) {
    .destinos-dropdown .row > .col:nth-child(5n) {
        border-right: none;
    }
}

@media (max-width: 575.98px) {
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }

    .btn-cta {
        font-size: 1.5rem;
        padding: 1rem 1.75rem;
    }
}
