﻿


/* Intro image */


.intro_title {
    position: relative;
   
}

.hero {
    background-image: url("/Content/images/zaglavna5.jpg");
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    top: 0px;
}


.intro_title_base {
    text-align: center;
    letter-spacing: 5px;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 1px 2px 0 #ff6700;
}

.intro_title_base button {
    border-radius: 6px;
    color: black;
    background-color: white;
}

.intro_title_base a {
    text-decoration: none;
}

.intro_title_base_title {
    font-size: 2vw;
    color: white;
    font-weight: 900;
    font-family: 'Pattaya', sans-serif;
}



/* Animate text*/
.animate-text span {
    font-size: 2vw;
    color: white;
    font-weight: 900;
    display: inline-block;
    line-height: 46px;
    display: none;
}

.animate-text-title {
    font-size: 1.2vw;
    color: white;
    font-weight: 900;
    display: inline-block;
    line-height: 30px;
}



    .animate-text span.text-in {
        display: block;
        animation: textIn .5s ease;
    }

text-out {
    display: block;
    animation: textIn .5s ease;
}

@keyframes textIn {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes textOut {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-100%);
    }
}
.btn_hero {
    
    margin-bottom: 10px;
    z-index: 10;
    font-size: 1.2em;
    text-align: center;
    color: white;
    text-decoration:none;
}
    .btn_hero:hover {
        color: #ff6700;
    }

@media screen and (max-width:992px) {
    .intro_title_base_title {
        font-size: 1.5em;
        color: white;
        font-weight: 700;
        font-family: 'Pattaya', sans-serif;
    }

    .animate-text-title {
        font-size: 0.8em;
        color: white;
        font-weight: 700;
        display: inline-block;
        line-height: 15px;
    }

    .animate-text span {
        font-size: 1em;
        color: white;
        font-weight: 700;
        display: inline-block;
        line-height: 15px;
        display: none;
    }

    .btn_hero {
        margin-top: 30px;
        z-index: 10;
        font-size: 1em;
    }
}

/* info box */


.info-box {
    display: grid;
    grid-template-columns: repeat(8,1fr);
    grid-auto-rows: 80px 80px;
    grid-gap: 10px;
    grid-auto-flow: dense;
    margin: auto;
    width: 70%;
    text-align: center;
}

.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.gallery-item .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    font-family: "Cursive", Brush Script MT;
}

.gallery-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: .6s ease-in-out;
}

.gallery-item:hover .image img {
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    transform: scale(1.2);
}

.text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
    border-radius: 10px;
}

.gallery-item:hover .text-overlay {
    height: 100%;
}

.text {
    color: white;
    font-size: 1.4vw;
    position: absolute;
    padding-top: 2px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-block {
    text-align: center;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 0 0 5px #000000;
    opacity: 0.9;
    font-size: 1.6vw;
    pointer-events: none;
    display: block;
}
.btn_best_price {
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-50%, -50%);
    font-size: 1.3em;
    padding: 3px;
    font-size: 1em;
}

.w-1 {
    grid-column: span 1;
}

.w-2 {
    grid-column: span 2;
}

.w-3 {
    grid-column: span 3;
}

.w-4 {
    grid-column: span 4;
}

.w-5 {
    grid-column: span 5;
}

.w-6 {
    
    grid-column: span 6;
}
.w-7 {
    grid-column: span 7;
}

.w-8 {
    grid-column: span 8;
}

.h-1 {
    grid-row: span 1;
}

.h-2 {
    grid-row: span 2;
}

.h-3 {
    grid-row: span 3;
}

.h-4 {
    grid-row: span 4;
}

.h-5 {
    grid-row: span 5;
}

.h-6 {
    grid-row: span 6;
}

.h-7 {
    grid-row: span 7;
}

.h-8 {
    grid-row: span 8;
}



@media screen and (max-width:800px) {
    .info-box {
        grid-template-columns: repeat(2,1fr);
    }

    .w-1, .w-2, .w-3, .w-4, .w-5, .w-6 .w-7 .w-8 {
        grid-column: span 1;
    }

    .text {
        font-size: 1.8vw;
    }

    .text-block {
        font-size: 3vw;
    }
}

.offer_image_style {
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    height: 300px;
    max-width:600px;
}

.offer_image_GroupExcursions {
    background-image: url("/Content/images/Group_ex.jpg");
}

.offer_image_bulgaria {
    background-image: url("/Content/images/Bulgaria_Index.jpg");

}
.offer_image_vacations {
    background-image: url("/Content/images/Vacation_Index.jpg");
}

.offer_image_exotic {
    background-image: url("/Content/images/exotic_Index.jpg");
   
}

.offer_image_cruise {
    background-image: url("/Content/images/cruise_Index.jpg");
}

.offer_image_greese {
    background-image: url("/Content/images/Greece_Index.jpg");
}

.offer_image_turkey {
    background-image: url("/Content/images/Turkey_Index.jpg");
}


.link-style-index {
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: transform .3s ease-in-out;
}

    .link-style-index:hover {
        color: black;
        transform: scale(0.8);
    }

