/* Explain: Styles for site components, including the video modal and room cards. */
.site-header {
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.site-header.is-solid {
    border-bottom-color: var(--border-color);
    background: linear-gradient(180deg, rgba(251, 250, 247, 0.95), rgba(251, 250, 247, 0.78));
    box-shadow: 0 10px 34px rgba(16, 38, 58, 0.08);
    backdrop-filter: blur(18px);
}

.site-header .logo-word,
.site-header .nav-link {
    color: #ffffff;
    transition: color 300ms ease;
}

.site-header .logo-sub {
    color: rgba(255, 255, 255, 0.72);
    transition: color 300ms ease;
}

.site-header.is-solid .logo-word,
.site-header.is-solid .nav-link {
    color: var(--text-color);
}

.site-header.is-solid .logo-sub {
    color: var(--text-muted);
}

.site-header .nav-toggle {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.site-header.is-solid .nav-toggle {
    border-color: var(--glass-border);
    background: var(--surface-color);
    color: var(--text-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.hero-headline {
    font-family: var(--font-heading);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.hero-headline em {
    color: #f4cd97;
    font-style: italic;
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(241, 245, 249, 0.64));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.6rem 1.1rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 250ms ease;
}

.chip:hover {
    border-color: var(--accent-color);
}

.chip.is-active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}

.room-card {
    overflow: hidden;
    border-radius: 1.8rem;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.room-card:hover {
    box-shadow: 0 30px 70px rgba(16, 38, 58, 0.14);
    transform: translateY(-6px);
}

.room-tag {
    display: inline-flex;
    border-radius: 999px;
    background: var(--sea-soft);
    padding: 0.35rem 0.85rem;
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.distance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0.25rem;
}

.distance-row:last-child {
    border-bottom: 0;
}

.distance-row i {
    color: var(--accent-color);
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

.accordion-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.66);
}

.accordion-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.accordion-trigger i {
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.accordion-item.is-open .accordion-trigger i {
    transform: rotate(180deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 380ms ease;
}

.accordion-item.is-open .accordion-panel {
    max-height: 44rem;
}

.accordion-panel-inner {
    padding: 0 1.3rem 1.3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.gallery-item {
    overflow: hidden;
    border-radius: 1.4rem;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(9, 24, 38, 0.92);
    padding: 1.25rem;
}

.lightbox.is-open {
    display: flex;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(9, 24, 38, 0.94);
    padding: 1.25rem;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-frame {
    width: 100%;
    max-width: 56rem;
}

.video-modal-player {
    display: none;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    border-radius: 1.4rem;
    background: #000000;
    object-fit: contain;
}

.video-modal.is-video .video-modal-player {
    display: block;
}

.reviews-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 min(88%, 26rem);
    scroll-snap-align: start;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(251, 250, 247, 0.92);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 9.5rem;
    z-index: 44;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

@keyframes bookingFlash {
    0% { box-shadow: 0 0 0 0 rgba(231, 163, 92, 0.7); }
    100% { box-shadow: 0 0 0 16px rgba(231, 163, 92, 0); }
}

.booking-flash {
    animation: bookingFlash 1100ms ease-out 2;
}

@media (min-width: 768px) {
    .back-to-top {
        bottom: 6rem;
    }
}

.hero-slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: heroCrossfade 18s infinite;
}

.hero-slide:first-child {
    opacity: 1;
}

@keyframes heroCrossfade {
    0% { opacity: 0; }
    6% { opacity: 1; }
    33% { opacity: 1; }
    39% { opacity: 0; }
    100% { opacity: 0; }
}

.video-modal-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 1.4rem;
    background: #000000;
}

.video-modal-stage.has-multi {
    cursor: pointer;
}

.video-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: none;
}

.video-modal.is-slideshow .video-slideshow {
    display: block;
}

.video-modal.is-slideshow .video-modal-stage {
    cursor: pointer;
}

.video-modal.is-slideshow .video-modal-image,
.video-modal.is-slideshow .video-modal-player {
    display: none;
}

.video-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 900ms ease, transform 5400ms linear;
    will-change: opacity, transform;
}

.video-slide.is-visible {
    opacity: 1;
    transform: scale(1.14);
}

.video-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 450ms ease;
}

.video-modal.is-video .video-modal-image {
    display: none;
}

.video-modal-image.is-loading {
    opacity: 0;
}

.video-modal-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    color: #ffffff;
}

.video-modal-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.video-modal.is-video .video-modal-controls {
    display: none;
}

.video-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(12px);
    transition: background 250ms ease;
}

.video-modal-btn:hover {
    background: rgba(255, 255, 255, 0.26);
}

.video-modal-thumbs {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.video-modal-thumbs.is-hidden {
    display: none;
}

.video-thumb {
    flex: 0 0 auto;
    width: 4.75rem;
    height: 3.4rem;
    overflow: hidden;
    border-radius: 0.8rem;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0.62;
    transition: opacity 250ms ease, border-color 250ms ease;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb:hover {
    opacity: 1;
}

.video-thumb.is-active {
    border-color: var(--accent-color);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none;
        opacity: 0;
    }
    .hero-slide:first-child {
        opacity: 1;
    }
}

/* Ημερολόγιο διαθεσιμότητας δωματίων */
.room-cal {
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.9rem;
}

.room-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.room-cal-label {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
}

.room-cal-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
    transition: border-color 200ms ease, color 200ms ease, opacity 200ms ease;
}

.room-cal-nav:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-hover);
}

.room-cal-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.room-cal-weekdays,
.room-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.2rem;
}

.room-cal-weekdays span {
    padding: 0.3rem 0;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cal-empty {
    min-height: 2.35rem;
}

.cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.55);
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.cal-day:hover:not(:disabled) {
    border-color: var(--accent-color);
}

.cal-day.is-today {
    box-shadow: inset 0 0 0 1px var(--accent-color);
}

.cal-day.is-past {
    background: transparent;
    color: rgba(86, 103, 116, 0.4);
    cursor: default;
}

.cal-day.is-blocked {
    background: repeating-linear-gradient(45deg, rgba(22, 35, 46, 0.07), rgba(22, 35, 46, 0.07) 3px, transparent 3px, transparent 7px);
    color: rgba(86, 103, 116, 0.5);
    text-decoration: line-through;
    cursor: default;
}

.cal-day.is-in-range {
    border-radius: 0;
    background: var(--sea-soft);
    color: var(--primary-color);
}

.cal-day.is-start,
.cal-day.is-end {
    background: var(--primary-color);
    color: #ffffff;
}

.cal-day.is-start {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cal-day.is-end {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.room-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.7rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.room-cal-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.room-cal-legend i {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.2rem;
}

.room-cal-legend .lg-free {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.9);
}

.room-cal-legend .lg-busy {
    border: 1px solid var(--border-color);
    background: repeating-linear-gradient(45deg, rgba(22, 35, 46, 0.15), rgba(22, 35, 46, 0.15) 2px, transparent 2px, transparent 5px);
}

.room-cal-legend .lg-sel {
    background: var(--primary-color);
}

.room-cal-summary {
    margin: 0.7rem 0 0;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-muted);
}

.room-cal-summary.is-ready {
    color: var(--primary-color);
    font-weight: 700;
}