@font-face {
    font-family: "calligraphy";
    src: url("/fonts/segoescb.woff2") format('woff2');
    font-display: swap;
}

/* COMMON */
.hp-section h2 {
    text-align: center;
    color:var(--color-gray);
    font-size: 1.17rem;
}

/* HEADER IMG */
.hp-image {
    border-radius: var(--rounded-m);
    overflow: visible;
    margin: 1.5rem;
    margin-top: 0 !important;
    position: relative;
    height: 700px;
    background-position: bottom;
    background-image: url('/images/homepage/greekhotels-bg.webp');
    display: flex;
    align-items: start;
    justify-content: center;
    background-size: cover;

}
.hp-image h1.hp-h-title {
    z-index: 2;
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    font-weight: normal;
}
.hp-image .hp-h-subtitle p {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
    line-height: 0.6;
}

/* .hp-image {
    border-radius: var(--rounded-m);
    overflow: visible;
    margin: 1.5rem;
    margin-top: 0 !important;
    position: relative;
    height: 659px;
    background-position: bottom;
    background-image: url('/images/homepage/greekhotels-bg.webp');
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}
.hp-image h1.hp-h-title {
    z-index: 2;
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    font-weight: normal;
}
.hp-image .hp-h-subtitle p {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
    line-height: 0.6;
} */


.hotels-page, .cars-page, .ferries-page{
    padding:10px 20px;
}

/* .new-tab::after{
    content: '';
    background:var(--color-blue);
    mask: url('/images/homepage/our-services/new-tab.svg');
    block-size: 10px;
    inline-size: 10px;
    position: absolute;
    right: 5px;
    top: 5px;

} */


/* ICONS */
.main-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.main-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    background:white;
    border-radius:var(--rounded-m);
    padding:20px 30px;
}

/* DESTINATIONS */
.popular-destinations .destinations {
    display:flex;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
    gap: 2rem;
}
.destination-box {
    display: block;
    width: max-content;
    border-radius: var(--rounded-m);
    overflow: hidden;
    width:253px;
}
.destination-box:hover {
    box-shadow: 0px 0px 10px 4px #80808052;
}
.destination-box:hover img{
    transform: scale(1.05);
}
.destination-box .destination-img {
    overflow: hidden;
    height: 220px;
}
.destination-box .destination-img img{
    height: 100%;
    min-height:190px;
    transition: transform 0.3s ease-out;
}
.info-box {
    background: #fff;
    padding: 10px 10px;
}
.destination-box .info-box .info-details{
    display: flex;
    justify-content: space-between;
    color: var(--color-darkgray);
    font-size: 12px;
}
.destination-box .info-box .info-details b{
    color: var(--color-darker);
}

.more-destinations-b {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin:0 auto;
}

/* HOTELS */
.hotel-chains-s{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:var(--color-bg-color) !important;
}
.hotel-chains-s img{
    width: 130px;
}

/* ADDITIONAL SERVICES */
/* .company-banner {
    background-repeat: no-repeat !important;
    max-height: 240px;
    height: 240px;
}
.ferries.company-banner {
    background: #fff;
    background-image: url('/images/homepage/our-services/gh-ferries-banner.jpg');
    background-position: bottom right;
}
.cars.company-banner {
    background: #fff;
    background-image: url('/images/homepage/our-services/gh-car-banner.jpg');
    background-position: bottom right;
}

.text-blue-f{
    color:#73bdee!important;
}
.text-yellow-c{
    color:#fecb02!important;
}

.additional-services .company-banner {
    display: flex;
    border-radius: var(--rounded-m);
    overflow: hidden;
    width: 50%;
}

.ferries-bn-button {
    color: #fff;
    background: #0b9dda;
}
.additional-services a:hover .ferries-bn-button{
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 15px rgb(11, 157, 218);
}
.cars-rc-button{
    color: #0f2c68;
    background: #fecb02;
}
.additional-services a:hover .cars-rc-button{
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 15px rgb(254, 203, 2);
} */

/* NEWSLETTER BANNER */



/* LOC BOXES */

.des-card img{
    width: 100% !important;
    min-width:230px;
}

.des-card {
    min-width:265px;
    min-height:290px;
    width:265px;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.des-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.des-card:hover .des-card-inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.des-card-front, .des-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


.des-card-back {
  background-color: #fff;
  transform: rotateY(180deg);
}



@media (max-width: 1499.98px){
    .hp-image .hp-content{
        flex-direction: row !important;
        align-items: center !important;
    }
}

@media(max-width: 1199.98px){
    .des-card {
        min-width: 299px;
        width: 299px;
    }
}

@media (max-width: 991.98px) {
    .des-card {
        min-width: 337px;
        width: 337px;
    }

    .main-icons {
        flex-direction: column;
        align-items: center;
    }

    .hp-content .hp-h-title{
        font-size: 2rem;
    }
    .hp-content .form-box{
        width: 100% !important;
    }
    .hp-image{
        height: unset !important;
        border-radius: unset !important;
        margin: 0 !important;
    }
    .hp-image .hp-content{
        flex-direction: column-reverse !important;
        justify-content: start !important;
        gap: 2rem;
        margin: 1rem !important;
        width: 100%;
        height: 100%;
    }
    .hp-image h1.hp-h-title {
        font-size: 2rem;
        text-align: center;
    }
    .header-desc{
        display: none;
    }
    .popular-destinations .destinations {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hotel-chains-s {
        justify-content: center;
        flex-wrap: wrap;
    }
    /* .banner-section {
        flex-direction: column;
    }
    .additional-services .company-banner {
        width: 100%;
    } */
    .newsletter-banner {
        background-size: 23rem;
    }
}

@media (max-width: 767.98px) {
    .des-card {
        width: 100%;
    }
    .newsletter-banner {
        background-size: 15rem;
    }
}
@media (max-width: 575.98px) {
    /* .company-banner {
        background-size: 100% !important;
        background-position: bottom right !important;
    } */
}

