/* =========================================================
   MANVI HOLIDAYS - RESPONSIVE HERO SLIDER
   Bootstrap 3.3.7
   Same Image for Desktop / Tablet / Mobile
========================================================= */


/* =========================================================
   SLIDER WRAPPER
========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}


/* =========================================================
   BOOTSTRAP CAROUSEL
========================================================= */

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .item {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   SLIDER IMAGE
   IMPORTANT:
   No fixed height.
   Image maintains original aspect ratio.
========================================================= */

.hero-slider .slider-image {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    margin: 0;
    padding: 0;

    object-fit: contain;

    transform: scale(1);

    transition: transform 7s ease-in-out;
}


/* =========================================================
   KEN BURNS / SLOW ZOOM EFFECT
========================================================= */

.hero-slider .item.active .slider-image {
    transform: scale(1.05);
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.hero-slider .slider-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.60) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.08) 100%
        );
}


/* =========================================================
   CAPTION
========================================================= */

.hero-slider .carousel-caption {

    position: absolute;

    top: 0;
    left: 0;

    right: 0;
    bottom: 0;

    z-index: 3;

    width: 100%;
    height: 100%;

    padding: 0;

    text-align: left;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    text-shadow: none;
}


/* =========================================================
   CAPTION CONTENT
========================================================= */

.hero-slider .caption-content {

    width: 90%;
    max-width: 720px;

    margin-left: 8%;

    opacity: 0;

    transform: translateY(35px);
}


/* =========================================================
   CAPTION ANIMATION
========================================================= */

.hero-slider .item.active .caption-content {

    animation:
        sliderCaptionUp
        1.1s
        ease
        0.3s
        forwards;
}


@keyframes sliderCaptionUp {

    0% {
        opacity: 0;
        transform: translateY(35px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   SMALL TITLE
========================================================= */

.hero-slider .slider-small-title {

    display: inline-block;

    margin-bottom: 15px;

    padding: 7px 14px;

    border-left: 3px solid #c79a3b;

    background: rgba(0, 0, 0, 0.25);

    font-family:
        'Montserrat',
        Arial,
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.4;

    letter-spacing: 2px;

    color: #ffffff;

    text-transform: uppercase;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.hero-slider .caption-content h1 {

    margin: 0 0 18px 0;

    padding: 0;

    font-family:
        'Montserrat',
        Arial,
        sans-serif;

    font-size: 52px;

    font-weight: 700;

    line-height: 1.15;

    color: #ffffff;

    text-transform: none;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.40);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.hero-slider .caption-content p {

    max-width: 620px;

    margin: 0 0 28px 0;

    padding: 0;

    font-family:
        'Montserrat',
        Arial,
        sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.7;

    color: #ffffff;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   CTA BUTTON
========================================================= */

.hero-slider .slider-btn {

    display: inline-block;

    padding: 13px 27px;

    border: 2px solid #c79a3b;

    background: #c79a3b;

    color: #ffffff !important;

    font-family:
        'Montserrat',
        Arial,
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.4;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none !important;

    transition:
        all 0.3s ease;
}


.hero-slider .slider-btn:hover {

    background: #ffffff;

    border-color: #ffffff;

    color: #222222 !important;
}


/* =========================================================
   PREVIOUS / NEXT ARROWS
========================================================= */

.hero-slider .carousel-control {

    top: 0;
    bottom: 0;

    width: 70px;

    background: transparent !important;

    opacity: 0;

    z-index: 5;

    transition: opacity 0.3s ease;
}


.hero-slider:hover .carousel-control {

    opacity: 0.8;
}


.hero-slider .carousel-control:hover {

    opacity: 1;
}


/* Remove Bootstrap gradient */

.hero-slider .carousel-control.left,
.hero-slider .carousel-control.right {

    background-image: none !important;
}


/* Arrow */

.hero-slider .carousel-control .glyphicon {

    position: absolute;

    top: 50%;

    margin-top: -15px;

    font-size: 24px;

    color: #ffffff;
}


/* =========================================================
   INDICATORS
========================================================= */

.hero-slider .carousel-indicators {

    position: absolute;

    left: 50%;

    bottom: 20px;

    z-index: 6;

    width: auto;

    margin-left: 0;

    padding-left: 0;

    transform: translateX(-50%);
}


.hero-slider .carousel-indicators li {

    width: 10px;
    height: 10px;

    margin: 0 4px;

    border: 1px solid #ffffff;

    border-radius: 50%;

    background: transparent;

    transition: all 0.3s ease;
}


.hero-slider .carousel-indicators li.active {

    width: 28px;

    border-radius: 10px;

    border-color: #c79a3b;

    background: #c79a3b;
}


/* =========================================================
   BOOTSTRAP SLIDE TRANSITION
========================================================= */

.hero-slider .carousel-fade .item {

    opacity: 0;

    transition:
        opacity 1s ease-in-out;
}

.hero-slider .carousel-fade .item.active {

    opacity: 1;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .hero-slider .caption-content {

        width: 85%;

        max-width: 600px;

        margin-left: 7%;
    }


    .hero-slider .caption-content h1 {

        font-size: 42px;
    }


    .hero-slider .caption-content p {

        font-size: 15px;

        line-height: 1.6;
    }


    .hero-slider .slider-small-title {

        font-size: 11px;

        letter-spacing: 1.5px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    /*
       Same image.
       No fixed height.
       Image scales naturally.
    */

    .hero-slider .slider-image {

        width: 100%;

        height: auto;

        object-fit: contain;
    }


    /* Overlay */

    .hero-slider .slider-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.55),
                rgba(0, 0, 0, 0.15)
            );
    }


    /* Caption */

    .hero-slider .carousel-caption {

        text-align: center;

        align-items: center;

        justify-content: center;
    }


    .hero-slider .caption-content {

        width: 88%;

        max-width: none;

        margin: 0 auto;

        padding: 0 10px;
    }


    /* Small title */

    .hero-slider .slider-small-title {

        margin-bottom: 10px;

        padding: 5px 10px;

        font-size: 9px;

        letter-spacing: 1.2px;

        border-left-width: 2px;
    }


    /* Heading */

    .hero-slider .caption-content h1 {

        margin-bottom: 12px;

        font-size: 28px;

        line-height: 1.2;
    }


    /* Description */

    .hero-slider .caption-content p {

        margin-bottom: 18px;

        font-size: 12px;

        line-height: 1.5;
    }


    /* Button */

    .hero-slider .slider-btn {

        padding: 10px 20px;

        font-size: 10px;

        letter-spacing: 0.8px;
    }


    /* Arrows */

    .hero-slider .carousel-control {

        width: 35px;

        opacity: 0.7;
    }


    .hero-slider .carousel-control .glyphicon {

        font-size: 17px;
    }


    /* Indicators */

    .hero-slider .carousel-indicators {

        bottom: 8px;
    }


    .hero-slider .carousel-indicators li {

        width: 7px;

        height: 7px;

        margin: 0 3px;
    }


    .hero-slider .carousel-indicators li.active {

        width: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero-slider .caption-content {

        width: 92%;
    }


    .hero-slider .caption-content h1 {

        font-size: 23px;
    }


    .hero-slider .caption-content p {

        font-size: 11px;

        line-height: 1.45;
    }


    .hero-slider .slider-small-title {

        font-size: 8px;

        letter-spacing: 1px;
    }


    .hero-slider .slider-btn {

        padding: 9px 17px;

        font-size: 9px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .hero-slider .caption-content h1 {

        font-size: 21px;
    }


    .hero-slider .caption-content p {

        display: none;
    }

}