@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');
@import "colors.css";

body {
    font-family: 'Montserrat';
    background-color: var(--bg);
    color: var(--primary-color);
}

.btn-dark {
    background-color: black;
    border-color: black;
}

.opacity-50 {
    opacity: .5;
}

nav {
    font-size: 14px;
    font-weight: bold;
    position: relative;
}

hr {
    border-top: 1px solid var(--primary-color);
}

#booking-widget hr {
    border-top: 1px solid var(--bg);
}

a {
    color: var(--accent-color);
}

a:hover {
    color: var(--accent-color);
}

main {
    min-height: 250px;
    padding: 2.5rem 0;
}

.carousel-item img {
    max-height: 500px;
    object-fit: cover;
}


.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .9);
}

.btn-primary, .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--btn-color);
    border-color: var(--btn-color);
}

.btn-primary:hover {
    background-color: var(--btn-hover);
    border-color: var(--btn-hover);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--btn-color);
    border-color: var(--btn-color);
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: var(--btn-box-shadow);
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: var(--btn-color);
    border-color: var(--btn-color);
    box-shadow: var(--btn-box-shadow);
}

btn-primary.disabled, .btn-primary:disabled {
    background-color: var(--btn-color);
    border-color: var(--btn-color);
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.nav-container {
    /*max-width: 1400px;*/
    margin: 0 auto;
}

.bg-dark {
    background-color: #050E1A !important;
}

.logo {
    width: 150px;
}

.carousel-item {
    background-color: black;
}

.carousel-item h3 {
    font-weight: bold;
}

.carousel-item p {
    opacity: 0.8;
}

.carousel-item img {
    opacity: 0.9;
}

.header-img {
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}

.homepage h1 {
    max-width: 800px;
    margin: 0 auto;
}

.text-highlight {
    color: var(--accent-color);
}

.img-gradient {
    position: relative;
}

.img-gradient:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);  */
}

.img-gradient img {
    display: block;
}

.logos {
    position: absolute;
    top: 5px;
    left: 24px;
    padding-right: 34px;
    z-index: 2;
    text-align: center;
}

.product-col {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.product-col:hover {
    text-decoration: none;
    color: white;
}

.product-col-text {
    padding: 20px 24px;
    background: black;
}

.product-col-desc {
    font-weight: normal;
}

.prod-col-heading {
    font-size: 1.3rem;
    font-weight: bold;
}

.product-col-button {
    background: var(--btn-color);
    color: white;
    font-weight: bold;
    padding: 12px 28px;
    box-shadow: 4px 4px 10px #00000033;
    transition: all .15s ease;
    border: none;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.product-col-button:hover {
    color: #212901;
    background: white;
}

.product-col-price {
    position: absolute;
    top: 2px;
    left: 18px;
    background: black;
    padding: 12px 24px;
    font-weight: normal;
    font-size: 13px;
}

.col-caption {
    color: black;
    position: absolute;
    bottom: 0px;
    right: 0;
    padding: 8px 24px;
    background: white;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    transition: all .25s ease;
    transform-origin: bottom right;
}

.page-link-box:hover .col-caption {
    transform: scale(1.2);
    background: black;
    color: white;
    border-color: white;
}

.col-caption--logo {
    position: absolute;
    top: 10px;
    left: 24px;
    width: 175px;
}

.copyright {
    opacity: 0.8;
}

/*Map Section*/
#tubing-logo {
    left: 110px;
    bottom: 180px;
    width: 12%;
    position: absolute;
}

#helicopters-logo {
    position: absolute;
    left: 200px;
    bottom: 50px;
    width: 15%;
    filter: drop-shadow(0px 0px 10px #000);
}


#zipline-logo {
    position: absolute;
    left: 350px;
    bottom: 100px;
    width: 15%;
    filter: drop-shadow(0px 0px 10px #000);
}

/*Product Page*/
.img-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
}

.img-container img {
    width: 100%;
    object-fit: cover;
}

.img-container .main-image {
    grid-column: span 6;
    grid-row: span 2;
}

.img-container .secondary-image {
    grid-column: span 3;
}

.main-image img, .secondary-image img {
    aspect-ratio: 1 / 1;
}

#booking-widget {
    align-self: flex-start;
    position: sticky;
    top: 20px;
    background-color: var(--bg-booking-widget);
}

.preview-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.info-border {
    padding: 12px;
    border: solid 2px var(--primary-color);
    border-radius: 12px;
}

.form-control, .form-control:focus {
    background-color: var(--bg-card);
}

.card {
    background-color: var(--bg-card);
}

.btn-link {
    color: var(--btn-color);
}

.view-more-img {
    position: absolute;
    left: 0;
    bottom: 0;
}

/*Blogs*/
.blog {
    padding: 20px;
    background-color: #2A4778;
    color: white;
    height: 420px;
}

a.blog:hover {
    text-decoration: none;
    color: white;
}

.blog img {
    max-height: 200px;
    object-fit: cover;
}

/* Gallery */
.gallery-page {
    margin-top: 28px;
    margin-bottom: 60px;

}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    grid-gap: 12px;
    margin: 2rem;
}

.gallery-grid img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-overlay {
    position: fixed;
    inset: 0;
    z-index: 101;
    background: #ffffffaa;
    opacity: 0;
    display: none;
    transition: all .25s ease;
}

.gallery-btn {
    position: absolute;
    opacity: .7;
    background: white;
    width: 50px;
    height: 50px;
    font-size: 24px;
    border: 1px solid white;
    transition: all .2s ease;
}

.gallery-btn:hover {
    border: 1px solid #333;
    opacity: .9;
}

.gallery-overlay-close {
    top: 20px;
    right: 20px;
}

.gallery-overlay-next {
    bottom: 20px;
    right: 20px;
}

.gallery-overlay-prev {
    bottom: 20px;
    right: 80px;
}

.gallery-overlay-image {
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.gallery-overlay img {
    max-width: 100%;
    max-height: 100%;
}

.contact-icon {
    font-size: 50px;
    width: 50px;
    text-align: center;
}

.contact-icon .fa-map-marker::before {
    margin: 0 auto;
}

.contact-div {
    border-left: 1px solid #888;
}

.font-sm {
    font-size: 15px;
    opacity: .7;
}

.contact-div:last-of-type {
    border-right: 1px solid #888;
}

.navbar {
    z-index: 5;
}


.bg-build::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #00000033;
}


.bg-build {
    min-height: 100vh;
    background: url('/assets/images/products/Zion-Jeep-Tour-Lava-Ridge-Mesa.jpg') #000000 no-repeat center;
    margin-top: -72px;
    position: relative;
    background-size: cover;
}


.build-container-inner {
    width: 100%;
    backdrop-filter: blur(4px);
    background-color: #00000099;
    border-radius: 12px;
    padding: 24px 48px;
}

.build-start-container {
    max-width: 1000px;
    width: 100%;
    position: absolute;
    margin-top: 40px;
    margin-bottom: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 24px;
    color: white;

}

.build-col-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.build-col-price {
    font-size: 1.15rem;
    text-align: center;
}

.build-prod-col-btn {
    display: inline-block;
    position: absolute;
    bottom: 101px;
    right: 18px;
    padding: 12px 24px;
}


.bg-transparent {
    background: transparent !important;
}

.build-prod-col, .build-addon-col {
    transform: scale(0.95);
    transition: all .2s ease;
    cursor: pointer;
}

.build-prod-col:hover, .build-addon-col:hover {
    transform: scale(1);
}

.build-prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-gap: 20px;
}

#skip-addon {
    color: #888;
    background: transparent;
    border: none;
    transition: color .1s ease;
}

#skip-addon:hover {
    color: #333;
}

.nav-dropdown-container {
    display: none;
    position: absolute;
    top: 34px;
    right: 7px;
    background: white;
    border-radius: 4px;
    box-shadow: 0px 0px 10px #00000033;
    width: 100%;
}

.nav-dropdown-container a {
    color: black;
    text-shadow: none;
    padding: 8px;
}

.nav-dropdown-container a:hover {
    text-decoration: none;
    color: #555;
}

.nav-dropdown:hover .nav-dropdown-container {
    display: block;
}

.footer-pre {
    color: white; 
    padding-top: 150px; 
    padding-bottom: 150px;
    position:relative;
    background: linear-gradient(#08143Ebb, #08143E)
}
.footer-pre::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('/assets/images/footer_image.jpg');
  filter: grayscale(100%);
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.contact-btn {
    border-radius: 50px;
    padding: 6px 32px;
    text-align: center;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-size: 18px;
    transition: all .25s ease;
    display: inline-block;
}

.contact-btn:hover {
    background: white;
    text-decoration: none;
    color: black;
}

.contact-btn.dark {
    color: black;
    border: 1px solid black;
}

.contact-btn.dark:hover {
    background: black;
    text-decoration: none;
    color: white;
}

/*Media Queries*/
@media (max-width: 1300px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .build-start-container {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 120px;
        padding-bottom: 60px;
        transform: translate(0, 0);
    }

    .build-prod-grid {
        grid-template-columns: 1fr;
    }

    .contact-div {
        border: none !important;
        text-align: center;
    }

    .gallery-page {
        margin-top: 40px;
    }

    .col-caption {
        /*font-size: 16px !important;*/
    }

    .preview-image {
        width: 75px;
        height: 75px;
    }

    .logo {
        width: 225px;
    }

    nav {
        position: fixed;
        z-index: 100;
        width: 100%;
        top: 0;
    }

}


@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img:nth-of-type(3n) {
        grid-row: span 1;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}