/* ============================
   HOTEL DIRECTORY / SINGLE
============================ */

/* Wrapper responsive */
.xh-directory .hotel-wrapper {
    max-width: 1024px; /* μεγαλύτερο για desktop */
    margin: 0 auto;
    background: #f5f6f7;
    padding: 0 15px; /* μικρό padding δεξιά/αριστερά για mobile */
    box-sizing: border-box;
}

/* Mobile override */
@media (max-width: 768px) {
    .xh-directory .hotel-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* HERO IMAGE */
.xh-directory .hotel-hero-image {
    position: relative;
}

.xh-directory .hotel-hero-image img {
    width: 100%;
    height: 450px;
    display: block;
    border-radius: 12px;
}

/* RATING BADGE TOP-RIGHT */
.xh-directory .hotel-rating-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: #003580 !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
    white-space: nowrap !important;
}

/* CARD UNDER IMAGE */
.xh-directory .hotel-card {
    background: #fff;
    margin-top: -24px;
    border-radius: 18px 18px 0 0;
    padding: 24px 18px 32px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}

/* TITLE */
.xh-directory .hotel-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* STARS */
.xh-directory .hotel-stars {
    margin-bottom: 10px;
}

.xh-directory .hotel-stars span {
    color: #f5b301;
    font-size: 16px;
}

/* ADDRESS */
.xh-directory .hotel-address {
    font-size: 14px;
    color: #777;
    margin-bottom: 16px;
}

/* PRICE */
.xh-directory .hotel-price {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

.xh-directory .hotel-price strong {
    font-size: 20px;
}

/* META ROW (if needed) */
.xh-directory .hotel-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* BOOK BUTTON */
.xh-directory .hotel-book-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0071c2 !important;
    color: #fff !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    margin-bottom: 20px !important;
    transition: 0.2s ease !important;
}

.xh-directory .hotel-book-btn:hover {
    background: #005999 !important;
}

/* DESCRIPTION */
.xh-directory .hotel-description {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-top: 10px;
}

/* COMPACT MOBILE SPACING */
@media(max-width:768px){
    .xh-directory .hotel-wrapper {
        padding: 0 10px;
    }
    .xh-directory .hotel-card {
        padding: 20px 16px 28px;
        margin-top: -20px;
    }
    .xh-directory .hotel-title {
        font-size: 20px;
    }
    .xh-directory .hotel-stars span {
        font-size: 14px;
    }
    .xh-directory .hotel-price {
        font-size: 16px;
    }
}

/* ARCHIVE GRID CARDS */
.xh-directory .xh-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin: 30px;
}

@media(max-width:768px){
    .xh-directory .xh-grid {
        grid-template-columns: 1fr;
    }
}

.xh-directory .xh-card {
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:15px;
    background:#fff;
    display:flex;
    gap:15px;
}

.xh-directory .xh-img img {
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:8px;
}

.xh-directory .xh-info {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    flex:1;
}

.xh-directory .xh-card-title {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
    font-weight:bold;
}

.xh-directory .xh-stars {
    color:#febb02;
    font-size:14px;
}

.xh-directory .xh-price {
    font-weight:bold;
    margin-top:8px;
}

.xh-directory .xh-btn {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    background:#0071c2 !important;
    color:#fff !important;
    padding:10px 14px !important;
    border-radius:6px !important;
    text-decoration:none !important;
    font-weight:600 !important;
    margin-top:10px !important;
    transition:0.2s ease !important;
}

.xh-directory .xh-btn:hover {
    background:#005fa3 !important;
}

/* Breadcrumbs / Pathway */
.hotel-breadcrumbs {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    margin-top: 15px;
    line-height: 2.1;
}

.hotel-breadcrumbs a {
    color: #0071c2;
    text-decoration: none;
}

.hotel-breadcrumbs a:hover {
    text-decoration: underline;
}

.hotel-breadcrumbs span {
    color: #333;
    font-weight: 500;
}

/* =================================================
   Wrapper για archive + single
================================================= */
.xh-directory, .xh-container {
    max-width: 1200px; /* desktop width */
    margin: 0 auto;
    padding: 0 15px;
    background: #f5f6f7;
    box-sizing: border-box;
}

/* Breadcrumbs */

.hotel-breadcrumbs a {
    color: #0071c2;
    text-decoration: none;
}

.hotel-breadcrumbs a:hover {
    text-decoration: underline;
}

.hotel-breadcrumbs span {
    color: #333;
    font-weight: 500;
}

/* Page Title */
.xh-title-page {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Grid */
.xh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media(max-width:768px){
    .xh-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.xh-card {
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:10px;
    background:#fff;
}

/* Inner flex */
.xh-card-inner {
    display:flex;
    gap:15px;
    align-items:flex-start;
}

@media(max-width:768px){
    .xh-card-inner {
        flex-direction: column;
    }
}

/* Left: Image */
.xh-left img {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

@media(max-width:768px){
    .xh-left img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
}

/* Right: Content */
.xh-right {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

/* Title + stars */
.xh-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
    display:flex;
    align-items:center;
    gap: 8px;
}

.xh-stars {
    color:#f5b301;
}

/* Address */
.xh-address {
    font-size: 14px;
    color:#777;
    margin-bottom: 8px;
}

/* Price */
.xh-price {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Blue button */
.xh-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0071c2 !important;
    color: #fff !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: 0.2s ease !important;
}

.xh-btn:hover {
    background: #005fa3 !important;
}

/* ==========================
   Single Hotel Page Styles
=========================== */
.hotel-wrapper {
    max-width: 1024px;
    margin: 0 auto;
    background: #f5f6f7;
    padding: 0 15px;
}

.hotel-hero-image {
    position: relative;
}

.hotel-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.hotel-card {
    background: #fff;
    margin-top: -24px;
    border-radius: 18px 18px 0 0;
    padding: 28px 24px 36px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.hotel-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hotel-stars span {
    color: #f5b301;
    font-size: 16px;
}

.hotel-address {
    font-size: 14px;
    color: #777;
    margin-bottom: 16px;
}

.hotel-price {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hotel-price strong {
    font-size: 20px;
}

.hotel-book-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0071c2 !important;
    color: #fff !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    transition: 0.2s ease !important;
}

.hotel-book-btn:hover {
    background: #005999 !important;
}

.hotel-description {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-top: 10px;
}

/* Mobile compact */
@media(max-width:768px){
    .hotel-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }
    .hotel-card {
        padding: 20px 16px 28px;
    }
    .hotel-title {
        font-size: 20px;
    }
    .hotel-stars span {
        font-size: 14px;
    }
    .hotel-price {
        font-size: 16px;
    }
}

.xh-hero-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.xh-hero-left {
    flex: 2;
}

.xh-hero-right {
    flex: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.xh-hero-img, .xh-hero-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.xh-hero-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.xh-hero-left {
    flex: 2;
    min-width: 300px;
}

.xh-hero-right {
    flex: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    min-width: 150px;
}

.xh-hero-left img,
.xh-hero-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    cursor: pointer;
    object-fit: contain; /* διατηρεί αναλογία εικόνας */
}

@media (max-width: 768px) {
    .xh-hero-gallery {
        flex-direction: column;
    }
    .xh-hero-right {
        grid-template-rows: auto auto;
    }
}

/* ==============================
   HERO GALLERY GRID
============================== */

.xh-hero-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
    height: 500px; /* σταθερό ύψος για απόλυτη ευθυγράμμιση */
}

/* Μεγάλη εικόνα */
.xh-hero-left {
    height: 100%;
}

.xh-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Δεξιά στήλη */
.xh-hero-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
}

.xh-hero-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Hover effect (καθαρό και συμμετρικό) */
.xh-hero-gallery img {
    transition: transform 0.3s ease;
}

.xh-hero-gallery img:hover {
    transform: scale(1.03);
}


/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 768px) {

    .xh-hero-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }

    .xh-hero-right {
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr;
        height: 200px;
    }

    .xh-hero-img {
        height: 300px;
    }

}

/* Κάνουμε relative το container */
.xh-hero-left {
    position: relative;
}

.xh-hero-left {
    position: relative;
}

/* Rating badge σωστά */
.hotel-rating-badge {
    position: absolute;
    top: 16px;
    left: 16px;

    display: inline-block;   /* ΟΧΙ block */
    width: auto;             /* ΜΗΝ απλώνει */
    max-width: max-content;

    background: #0a2540;
    color: #fff;

    padding: 8px 14px;
    font-weight: 600;
    font-size: 14px;

    border-radius: 8px;
    z-index: 10;
}

/* ==============================
   HERO GALLERY GRID & Hover
============================== */

.xh-hero-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
    height: 500px;
}

.xh-hero-left,
.xh-hero-right a {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.xh-hero-left img,
.xh-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.xh-hero-left:hover img,
.xh-hero-right a:hover img {
    transform: scale(1.05);
}

/* Overlay για “Δες όλες τις φωτογραφίες” */
.xh-hero-left .xh-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.xh-hero-left:hover .xh-overlay {
    opacity: 1;
}

/* Δεξιά grid δύο εικόνες */
.xh-hero-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

@media(max-width:768px){
    .xh-hero-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    .xh-hero-right {
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr;
        height: 200px;
    }
    .xh-hero-left img {
        height: 300px;
    }
}



.xh-hero-left,
.xh-hero-right img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.xh-hero-left img,
.xh-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.xh-hero-left:hover img,
.xh-hero-right img:hover {
    transform: scale(1.05);
}

/* Overlay “Δες όλες τις φωτογραφίες” */
.xh-overlay {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 20px;
    font-weight:600;
    display: flex; justify-content:center; align-items:center;
    opacity:0; transition:opacity 0.3s ease;
}

.xh-hero-left:hover .xh-overlay {
    opacity:1;
}

/* hero container */
.xh-hero-left{
    position:relative;
}

/* rating badge */
.xh-rating-badge{
    position:absolute;
    top:12px;
    left:12px;
    background:#003580;
    color:#fff;
    font-weight:700;
    font-size:15px;
    padding:6px 10px;
    border-radius:6px;
    z-index:3;
}

/* overlay button */
.xh-overlay{
    position:absolute;
    bottom:12px;
    left:12px;
    background:rgba(0,0,0,0.65);
    color:#fff;
    padding:8px 14px;
    border-radius:6px;
    cursor:pointer;
    font-size:14px;
}

/* hide horizontal scrollbar completely */

.xh-hotel-slider{
overflow:hidden;
}

/* wrapper scroll */
.xh-hotel-slider .swiper-wrapper{
overflow-x:auto;
scrollbar-width:none; /* Firefox */
-ms-overflow-style:none; /* IE */
}

.xh-hotel-slider .swiper-wrapper::-webkit-scrollbar{
display:none; /* Chrome Safari */
}

.xh-home-booking-btn-wrapper{
    text-align: center;
    margin: 50px 0;
}

.xh-home-booking-btn{
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    padding: 18px 48px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.xh-home-booking-btn:hover{
    background-color: #001f4d;
    transform: translateY(-2px);
}

@media(max-width:768px){
    .xh-home-booking-btn{
        font-size: 18px;
        padding: 14px 32px;
    }
}

.xh-airport-box{
    margin-top:24px;          /* πιο μικρό margin */
    padding:12px 14px;        /* πιο compact padding */
    border-radius:10px;
    background:#fff;          /* ΟΛΑ λευκά */
    border:1px solid #eee;
}

.xh-airport-title{
    font-size:15px;
    margin-bottom:6px;        /* λιγότερο κενό */
    font-weight:600;
    line-height:1.2;
}

.xh-airport-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
    padding:6px 0;            /* πιο μικρό row spacing */
    border-bottom:1px solid #f2f2f2;
}

.xh-airport-km{
    font-weight:700;
    color:#003580;
}

.xh-airport-link{
    display:inline-flex;
    align-items:center;
    gap:8px;

    margin-top:10px;
    padding:8px 14px;

    background:#003580;
    color:#fff !important;

    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    font-weight:700;

    transition:all .2s ease;
}

.xh-airport-link:hover{
    transform:translateY(-1px);
    opacity:.92;
}
