﻿/*@media (min-width: 600px) {
    .l-container, .l-container--bleed-phone {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.l-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1152px;
    padding-left: 1rem;
    padding-right: 1rem;
}*/


@media (min-width: 1280px) {
    .gallery--five-images .gallery__container {
        grid-template:
            "firstImage secondImage fourthImage" 1fr
            "firstImage thirdImage fifthImage" 1fr / 2fr 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .gallery__container {
        grid-template:
            "firstImage secondImage" 1fr
            "firstImage thirdImage" 1fr / 2fr 1fr;
    }

    /* For layouts that should show five images on small desktop / laptop
       treat 960px and up as the breakpoint to reveal images 4 & 5 and
       switch the grid to a 3-column layout where the first image spans
       two rows. This keeps small devices showing a single image (default)
       but shows all five on larger screens. */
    .gallery--five-images .gallery__container {
        grid-template:
            "firstImage secondImage fourthImage" 1fr
            "firstImage thirdImage fifthImage" 1fr / 2fr 1fr 1fr;
    }

    .gallery--five-images .gallery__image-4,
    .gallery--five-images .gallery__image-5 {
        display: block;
    }
}

@media (min-width: 600px) {
    .gallery__container {
        grid-template:
            "firstImage firstImage" 2fr
            "secondImage thirdImage" 1fr / 1fr 1fr;
    }
}

.gallery__container {
    display: grid;
    position: relative;
    grid-gap: 1rem;
    grid-template: "firstImage" 1fr / 1fr;
}

.gallery__image-1 {
    grid-area: firstImage;
    height: 100%;
    width: 100%;
}

.gallery__image-frame {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.imagery--cover-center, .imagery--cover-right {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.imagery--fluid {
    display: inline-block;
    /*height: auto;*/
    overflow: hidden;
    width: 100%;
}

@media (min-width: 600px) {
    .gallery__image-2, .gallery__image-3 {
        display: block;
    }
}

.gallery__image-2 {
    display: none;
    grid-area: secondImage;
}

@media (min-width: 600px) {
    .gallery__image-2, .gallery__image-3 {
        display: block;
    }
}

.gallery__image-3 {
    display: none;
    grid-area: thirdImage;
}

@media (min-width: 1280px) {
    .gallery--five-images .gallery__image-4, .gallery--five-images .gallery__image-5 {
        display: block;
    }
}

.gallery__image-4 {
    display: none;
    grid-area: fourthImage;
}

@media (min-width: 1280px) {
    .gallery--five-images .gallery__image-4, .gallery--five-images .gallery__image-5 {
        display: block;
    }
}

@media (min-width: 600px) {
    .gallery__image-2, .gallery__image-3 {
        display: block;
    }
}

.gallery__image-5 {
    display: none;
    grid-area: fifthImage;
}

.gallery__button-wrapper {
    bottom: .5rem;
    position: absolute;
    right: .5rem;
}

.button--primary.button--inverse {
    background: #fff;
    border-color: #fff;
    color: rgba(0, 0, 0, .86);
}

.button--small {
    font-size: .75rem;
    min-height: 1.5rem;
    padding: 0 .5rem;
}

.button--primary {
    background: #222;
    border-color: #222;
    color: #fff;
}

/* Horizontal Menu */
#menuContent ul {
    margin: 8px 0;
    padding: 7px 0;
}

    #menuContent ul li {
        list-style: none;
        padding: 3px 15px;
        display: inline;
    }

.nav-container {
    display: flex;
    align-items: center;
}

/* Wrapper to enable scrolling */
.nav-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    width: 100%;
}

    /* Hide scrollbar */
    .nav-wrapper::-webkit-scrollbar {
        display: none;
    }

/* Navbar */
.nav-bar {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

    /* Navbar Items */
    .nav-bar li {
        flex: none;
    }

        .nav-bar li a {
            color: #222;
            font-size: 16px;
            font-weight: bold;
        }

            .nav-bar li a.active {
                color: #03A9F4;
            }

/* Arrows */
.arrow {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    color: #555;
    transition: 0.2s;
}

    .arrow:hover {
        color: #000;
    }

/* Hide arrow when not needed */
.hidden {
    visibility: hidden;
}

.ht500 {
    height: 200px
}

.physical-rating span {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: black;
    margin-right: 5px;
}

    .physical-rating span:last-child {
        background-color: white;
        border: 1px solid black;
    }

div#scrollNavDiv {
    z-index: 99;
}

div#overview:target, div#details:target, div#itinerary:target, div#inclusions:target, div#dates:target, div#notes:target, div#activities:target {
    scroll-margin-top: 250px;
}

.tableLayout thead th {
    background-color: #f9f8f8;
}


/* Destination */
.trip-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

    .trip-card:hover {
        transform: translateY(-4px);
    }

    .trip-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.trip-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trip-title {
    font-size: 1rem;
    font-weight: 600; 
    color: #333;
}

    .trip-title a {
        color: #333;
    }

.trip-info {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    border-bottom: 1px solid #d2d2d2;
    padding-bottom: 4px;
}

    .trip-info span {
        margin-left: auto; /* pushes to far right */
        background-color: #d2d2d2;
        border-radius: 5px;
        padding: 0 5px;
        color: #000;
        font-size: 0.75rem;
    }

.trip-price {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;  
}

    .trip-price span {
        margin-left: auto;
        font-weight: 600;
        color: #000;
        margin-top: auto;
    }

span.trip-wishlist {
    background-color: #fff;
    /* display: block; */
    width: 36px;
    height: 36px;
    text-align: center;
    padding: 4px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999999;
}

    span.trip-wishlist:hover {
        cursor: pointer
    }

.activityBox {
    padding: 15px 15px 15px 47px;
    border: 1px solid #e5e3e3;
    position: relative;
    border-radius: 5px
}

    .activityBox a i {
        position: absolute;
        left: 15px;
        top: 17px;
        font-size: 24px;
    }

    .activityBox:hover {
        background-color: #f7f7f7;
    }

.tableIcon {
    float: right;
    background-color: #f3f2f2;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #d2d2d2;
    line-height: 28px;
}

    .tableIcon i { 
        font-size: 15px;
    }