/* =========================================================
   HOMEPAGE LAYOUT
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body,
main,
.hero-header,
.hero-header .site-nav,
main > .hero,
main > .section,
footer {
    max-width: 100% !important;
}

main {
    width: 100%;
    overflow-x: hidden;
}

/* =========================================================
   HERO CAROUSEL
   ========================================================= */

.hero {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    background: #183451 url("assets/images/HOME%20PAGE/homepage%20(4).webp") center / cover no-repeat !important;
}

.hero::before,
.hero::after,
.hero + .section::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.hero::before,
.hero::after {
    border: 0 !important;
    box-shadow: none !important;
}

.hero-shade {
    display: none !important;
    background: none !important;
}

.hero-static,
.hero-carousel {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background: #183451;
}

.hero-static img,
.hero-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-select: none;
}

.hero-carousel-track,
.hero-carousel-slide {
    position: absolute;
    inset: 0;
}

.hero-carousel-slide {
    visibility: hidden;
    margin: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.45s ease, transform 1.5s ease;
}

.hero-carousel-slide.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.hero-carousel-slide:nth-child(3) img {
    object-position: center 42%;
}

.hero-carousel-slide:nth-child(4) img {
    object-position: center 56%;
}

.hero-carousel-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0;
    background: rgba(4, 13, 17, 0.42);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
    border-color: #fff;
    outline: none;
    background: rgba(255, 255, 255, 0.94);
    color: #183451;
}

.hero-carousel-control:active {
    transform: translateY(-50%) scale(0.94);
}

.hero-carousel-prev {
    left: clamp(12px, 2.2vw, 34px);
}

.hero-carousel-next {
    right: clamp(12px, 2.2vw, 34px);
}

.hero-carousel-dots {
    position: absolute;
    z-index: 4;
    bottom: 24px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(4, 13, 17, 0.35);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}

.hero-carousel-dot.active {
    width: 28px;
    border-radius: 999px;
    background: #fff;
}

.art-carousel-main img,
.art-carousel-preview img {
    transition: opacity 0.18s ease;
}

.art-carousel-main img.is-loading,
.art-carousel-preview img.is-loading {
    opacity: 0;
}

.about-cta-map[hidden] {
    display: none;
}

/* =========================================================
   NAVIGATION ACTIONS
   ========================================================= */

.nav-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 8px;
}

.nav-actions .book-now-btn {
    grid-column: auto;
}

.calendar-now-btn {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(24, 52, 81, 0.58);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.calendar-now-btn:hover {
    background: #fff;
    color: #183451;
}

.calendar-now-btn svg {
    display: none;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.calendar-menu-link {
    display: none;
}

/* =========================================================
   PUBLIC CALENDAR
   ========================================================= */

.public-calendar-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
}

.public-calendar-modal.show {
    display: block;
}

.public-calendar-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 15, 0.78);
    backdrop-filter: blur(5px);
}

.public-calendar-dialog {
    position: relative;
    width: min(1120px, calc(100% - 28px));
    height: min(760px, calc(100vh - 28px));
    margin: 14px auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: url("assets/images/HOME%20PAGE/homepage%20(1).webp") center / cover;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.public-calendar-dialog::before {
    position: absolute;
    content: "";
    inset: 0;
    background: rgba(3, 10, 12, 0.62);
}

.pc-layout {
    position: relative;
    display: grid;
    height: 100%;
    grid-template-rows: 62px minmax(0, 1fr) 54px;
}

.pc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.64);
}

.pc-title {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.pc-title strong {
    font: 400 34px/1 Georgia, serif;
}

.pc-title span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.pc-actions {
    display: flex;
    gap: 6px;
}

.pc-actions button {
    height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.pc-close {
    font-size: 19px;
}

.pc-calendar {
    min-height: 0;
    padding: 9px;
}

.pc-grid {
    --weeks: 5;

    display: grid;
    height: 100%;
    grid-template-rows: 34px repeat(var(--weeks), minmax(0, 1fr));
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.pc-weekday {
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.26);
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(0, 0, 0, 0.8);
    font-size: 9px;
    font-weight: 900;
}

.pc-day,
.pc-blank {
    --slot-width: calc(100% - 10px);

    position: relative;
    min-width: 0;
    min-height: 0;
    padding: 6px 5px 3px;
    border-right: 1px solid rgba(255, 255, 255, 0.26);
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(4, 10, 11, 0.62);
}

.pc-blank {
    background: rgba(4, 10, 11, 0.32);
}

.pc-day.today {
    box-shadow: inset 0 0 0 2px #fff;
}

.pc-date {
    position: absolute;
    top: 3px;
    right: 4px;
    font-size: 7px;
}

.pc-big {
    display: flex;
    align-items: center;
    width: var(--slot-width);
    height: clamp(15px, 2.4vh, 21px);
    margin-bottom: 3px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
}

.pc-small {
    display: grid;
    width: var(--slot-width);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    margin-top: 3px;
}

.pc-mini {
    display: grid;
    height: clamp(9px, 1.5vh, 13px);
    place-items: center;
    border-radius: 999px;
    font-size: 5px;
    font-weight: 900;
}

.pc-open {
    background: #00c77b;
}

.pc-booked {
    background: #f0440d;
}

.pc-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 7px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.72);
    font-size: 8px;
    font-weight: 800;
}

.pc-guide span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-guide i {
    width: 28px;
    height: 10px;
    border-radius: 999px;
}

/* =========================================================
   FOOTER SOCIAL LINKS
   ========================================================= */

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.footer-socials a {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(243, 236, 222, 0.34);
    border-radius: 50%;
    color: #f3ecde !important;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-socials a:hover {
    background: #f3ecde;
    color: #183451 !important;
}

.footer-socials svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

@media (max-width: 760px) {
    .hero-carousel-control {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .hero-carousel-dots {
        bottom: 16px;
    }

    .hero-carousel-slide:nth-child(2) img {
        object-position: 58% center;
    }

    .hero-carousel-slide:nth-child(3) img,
    .hero-carousel-slide:nth-child(4) img {
        object-position: center;
    }

    .nav-top {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: calc(100% - 16px) !important;
        height: 62px !important;
        min-height: 62px !important;
        gap: 4px !important;
    }

    .hero-header .nav-toggle {
        width: 32px !important;
        height: 34px !important;
        flex: 0 0 32px !important;
    }

    .hero-header .brand {
        position: absolute !important;
        z-index: 2 !important;
        top: 50% !important;
        left: 50% !important;
        width: 82px !important;
        justify-content: center !important;
        transform: translate(-50%, -50%) !important;
    }

    .hero-header .brand-mark {
        width: 82px !important;
        height: 38px !important;
        justify-content: center !important;
    }

    .hero-header .brand-mark img {
        width: 82px !important;
        max-width: 82px !important;
        height: 32px !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        min-width: 0;
        margin-left: auto !important;
        flex: 0 1 auto !important;
        gap: 4px !important;
    }

    .nav-actions .calendar-now-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    .nav-actions .calendar-now-btn span {
        display: none !important;
    }

    .nav-actions .calendar-now-btn svg {
        display: block !important;
    }

    .nav-actions .book-now-btn {
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 8px !important;
        font-size: 6.5px !important;
        letter-spacing: 0.06em !important;
        white-space: nowrap !important;
    }

    .calendar-menu-link {
        display: none !important;
    }

    .hero-header .nav-links {
        top: 62px !important;
    }

    .pc-layout {
        grid-template-rows: 52px minmax(0, 1fr) 42px;
    }

    .pc-head {
        padding: 0 8px;
    }

    .pc-title strong {
        font-size: 22px;
    }

    .pc-actions button {
        height: 29px;
        padding: 0 7px;
        font-size: 7px;
    }

    .pc-grid {
        grid-template-rows: 25px repeat(var(--weeks), minmax(0, 1fr));
    }

    .pc-weekday {
        font-size: 5px;
    }

    .pc-day,
    .pc-blank {
        --slot-width: calc(100% - 3px);

        padding: 4px 2px 2px;
    }

    .pc-date {
        font-size: 4px;
    }

    .pc-big {
        height: 11px;
        margin-bottom: 2px;
        padding: 0 2px;
        font-size: 4.5px;
    }

    .pc-small {
        gap: 1px;
        margin-top: 2px;
    }

    .pc-mini {
        height: 7px;
        font-size: 3px;
    }

    .pc-guide {
        gap: 9px;
        font-size: 6px;
    }

    .pc-guide i {
        width: 18px;
        height: 7px;
    }
}

@media (max-width: 360px) {
    .hero-header .brand {
        width: 68px !important;
    }

    .hero-header .brand-mark,
    .hero-header .brand-mark img {
        width: 68px !important;
        max-width: 68px !important;
    }

    .nav-actions .book-now-btn {
        padding: 0 6px !important;
        font-size: 6px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel-slide {
        transition: none;
        transform: none;
    }
}

/* =========================================================
   MEMORY STATEMENT LIGHTBOX CAROUSEL
   ========================================================= */

.gallery-viewer-arrow > img {
    display: none;
}

.gallery-viewer--memory {
    padding: clamp(14px, 3vw, 42px);
}

.gallery-viewer--memory .gallery-viewer-backdrop {
    background: rgba(58, 60, 62, 0.68);
    backdrop-filter: blur(7px) saturate(0.8);
}

.gallery-viewer--memory .gallery-viewer-dialog {
    width: min(1180px, 100%);
    height: min(760px, calc(100svh - clamp(28px, 6vw, 84px)));
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(19, 23, 25, 0.9);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.gallery-viewer--memory .gallery-viewer-toolbar {
    min-height: 62px;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: rgba(9, 12, 13, 0.36);
}

.gallery-viewer--memory #galleryZoomOut,
.gallery-viewer--memory #galleryZoomReset,
.gallery-viewer--memory #galleryZoomIn {
    display: none;
}

.gallery-viewer--memory .gallery-viewer-stage {
    grid-template-columns: minmax(92px, 0.24fr) minmax(0, 1fr) minmax(92px, 0.24fr);
    gap: clamp(10px, 2vw, 26px);
    padding: clamp(14px, 2.5vw, 32px);
}

.gallery-viewer--memory .gallery-viewer-image-wrap {
    padding: 0;
}

.gallery-viewer--memory .gallery-viewer-image-wrap > img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.gallery-viewer--memory .gallery-viewer-arrow {
    position: relative;
    width: 100%;
    height: clamp(150px, 34vh, 330px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #171b1d;
    opacity: 0.58;
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.gallery-viewer--memory .gallery-viewer-arrow:hover,
.gallery-viewer--memory .gallery-viewer-arrow:focus-visible {
    border-color: rgba(255, 255, 255, 0.7);
    outline: none;
    opacity: 0.92;
    transform: scale(1.025);
}

.gallery-viewer--memory .gallery-viewer-arrow > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-viewer--memory .gallery-viewer-arrow > span {
    position: absolute;
    top: 50%;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(10, 14, 16, 0.68);
    color: #fff;
    font-size: 18px;
    transform: translateY(-50%);
}

.gallery-viewer--memory .gallery-viewer-prev > span {
    left: 12px;
}

.gallery-viewer--memory .gallery-viewer-next > span {
    right: 12px;
}

@media (max-width: 780px) {
    .gallery-viewer--memory {
        padding: 8px;
    }

    .gallery-viewer--memory .gallery-viewer-dialog {
        height: calc(100svh - 16px);
    }

    .gallery-viewer--memory .gallery-viewer-stage {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 5px;
        padding: 8px;
    }

    .gallery-viewer--memory .gallery-viewer-arrow {
        height: 88px;
        border: 0;
        opacity: 0.82;
    }

    .gallery-viewer--memory .gallery-viewer-arrow > img {
        display: none;
    }

    .gallery-viewer--memory .gallery-viewer-arrow > span {
        position: static;
        width: 36px;
        height: 36px;
        margin: auto;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-viewer--memory .gallery-viewer-arrow {
        transition: none;
    }
}
