/******************* QUICK ALIGNMENT FIXES *******************/
/* Tighten grid spacing for the top room cards */
.room-card_wrapp {
    padding: 0;
}

.room-card.style-flex {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.room-card {
    margin: 0;
}

.room-card .box-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.room-card .box-img {
    margin: 0;
    padding: 0;
    height: 100%;
}

.room-card .box-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Make hero thumbs consistent height */
.hero-grid-thumb .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure hero slides show full-height background images */
.hero-1,
.heroSlide1,
.heroSlide1 .swiper-wrapper,
.heroSlide1 .swiper-slide,
.heroSlide1 .hero-inner {
    min-height: 80vh;
    position: relative;
}

.heroSlide1 .hero-inner {
    position: relative;
}

.heroSlide1 .th-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: initial !important;
    z-index: 1 !important;
    opacity: 1 !important;
    transform: none !important;
}

.hero-1 .th-hero-bg:before {
    /* Remove white overlay so the background image is visible */
    display: none !important;
}

.hero-1 .heroSlide1-area {
    background: transparent !important;
}

.hero-1 .heroSlide1-area {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background-color: transparent !important;
}

.hero-1:before {
    display: none !important;
}

.hero-1 .heroSlide1 .swiper-slide {
    opacity: 1 !important;
}

.heroSlide1 .hero-style1 {
    position: relative;
    z-index: 2;
}

/* Remove unintended overflow gaps */
#brandSlider1,
#service-sec {
    overflow: hidden;
}

/* Minor heading spacing */
.title-area .sec-title {
    margin-bottom: 10px;
}

/* ---- Layout polish per client feedback ---- */
/* Add a subtle gutter between the counter column and the right card */
.overflow-hidden.bg-shape.space-top>.container>.row.gx-4>.col-xxl-6.align-self-center {
    padding-right: 16px;
}

/* Make room cards perfectly seamless and equal height */
.room-card.style-flex {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 420px;
}

.room-card.style-flex .box-content,
.room-card.style-flex .box-img {
    flex: 0 0 50%;
    max-width: 50%;
}

.room-card.style-flex .box-img {
    position: relative;
}

.room-card.style-flex .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fix the first card (Three Stars House) spacing so text does not crowd and card aligns */
.room-card.style-flex .box-content {
    padding: 28px;
}

/* Tighten counter metrics spacing and ensure consistent thin dividers */
.counter-card-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-card-wrap .divider {
    width: 1px;
    height: 36px;
    background: rgba(15, 23, 42, 0.12);
    margin: 0 6px;
}

.counter-card .box-number {
    line-height: 1;
}

.counter-card .box-text {
    margin: 6px 0 0 0;
}

/* FORCE the left image to always stretch full card height */
.room-card.style2.style-flex {
    display: flex;
    align-items: stretch;
}

.room-card.style2.style-flex .box-img {
    flex: 0 0 50%;
    max-width: 50%;
    height: auto;
    display: flex;
}

.room-card.style2.style-flex .box-img img {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Make the image truly edge-to-edge inside style2 cards */
.room-card.style2 {
    padding: 0 !important;
/* remove inner padding that creates top/bottom gutters */
}

.room-card.style2 .box-content {
    padding: 28px 28px 28px 28px !important;
/* keep content padded, not the image */
}

.room-card.style2 .box-img {
    height: 100% !important;
}

.room-card.style2 .box-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
}



/* FORCE IMAGE COLUMN TO BE EDGE-TO-EDGE (no inner padding/gaps) */
.room-card.style2.style-flex {
    align-items: stretch;
}

/* Darken hero overlay so gold typography stays readable */
.hero-1 .th-hero-bg::before {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.75) 0%, rgba(8, 10, 15, 0.55) 100%) !important;
}

/* Remove divider lines from the amenity list */
.room-card .room-card-meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px 24px;
    border-top: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 15px 0 28px 0;
}

.room-card .room-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    font-weight: 500;
}

.room-card .room-card-meta span:not(:last-child) {
    border-right: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.room-card.style-flex .box-img.global-img {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    height: 100% !important;
}

.room-card.style-flex .box-img.global-img::before,
.room-card.style-flex .box-img.global-img::after {
    display: none !important;
/* kill decorative insets that create top/bottom gaps */
}

.room-card.style-flex .box-img.global-img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Force image to fill the card vertically */
.room-card.style-flex {
    align-items: stretch !important;
}

.room-card.style-flex .box-img {
    flex: 1 1 auto !important;
    height: auto !important;
}

.room-card.style-flex .box-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Smooth sticky header behavior */
body.header-fixed {
    padding-top: var(--sticky-header-offset, 0px);
}

.sticky-wrapper {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.sticky-wrapper.sticky {
    animation: none;
    filter: none;
    transform: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
}

.header-layout1 .header-logo img {
    width: 96px;
    height: auto;
}

.th-hero-wrapper.hero-1 {
    position: relative;
}

.heroSlide1-area {
    position: relative;
}

.property-ribbon {
    position: relative;
    z-index: 8;
    background: #ffffff;
    border-top: 1px solid rgba(198, 154, 44, 0.1);
    border-bottom: 1px solid rgba(198, 154, 44, 0.14);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.property-ribbon::-webkit-scrollbar {
    display: none;
}

.property-ribbon__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(12px, 2vw, 20px);
    padding: 10px clamp(18px, 4vw, 72px);
    min-width: 100%;
}

.property-ribbon__link {
    --ribbon-gold: #c59001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    background: transparent;
    border: 1.5px solid var(--ribbon-gold);
    color: var(--ribbon-gold);
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(12, 13, 28, 0.05);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    flex: 0 0 auto;
}

.property-ribbon__link:hover,
.property-ribbon__link:focus-visible {
    background: var(--ribbon-gold);
    border-color: var(--ribbon-gold);
    color: #fff;
    box-shadow: 0 10px 22px rgba(197, 144, 1, 0.28);
    transform: translateY(-1px);
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(197, 144, 1, 0.25);
    box-shadow: 0 10px 22px rgba(12, 13, 28, 0.12);
    color: #6b7280;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list li + li::before {
    content: "/";
    color: #c59001;
    font-weight: 600;
}

.breadcrumb-list a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-list a:hover,
.breadcrumb-list a:focus-visible {
    color: #c59001;
}

.breadcrumb-list [aria-current="page"] {
    color: #111827;
    font-weight: 600;
}

.page-hero__inner .breadcrumb-nav {
    margin-bottom: 16px;
}

@media (max-width: 991px) {
.header-layout1 .header-logo img {
    width: 48px;
}

.property-ribbon__inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 14px;
}

.property-ribbon__link {
    padding: 9px 18px;
    font-size: 14px;
}
}

.hero-style1 .hero-logo img {
    width: 100px;
    height: auto;
}

@media (max-width: 991px) {
.th-hero-bg {
    background-attachment: scroll !important;
}
}

@media (max-width: 991px) {
.room-card.style-flex {
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
}

.room-card.style-flex .box-img,
.room-card.style-flex .box-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}

.room-card.style-flex .box-img {
    min-height: 220px;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

.room-card.style-flex .box-content {
    padding: 28px 24px;
    border-radius: 0 0 24px 24px;
}
}

@media (max-width: 575px) {
.room-card.style-flex .box-img {
    min-height: 200px;
}

.room-card.style-flex .box-content {
    padding: 24px 20px;
}
}

@media (max-width: 767px) {
body {
    background: #f6f8fb;
}

.bg-shape {
    background: #f6f8fb !important;
}

.th-hero-wrapper.hero-1,
.hero-1 .heroSlide1-area {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background: transparent !important;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.th-hero-wrapper.hero-1 {
    margin: 16px 16px 18px;
}

.hero-1 .th-hero-bg::before {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.55) 0%, rgba(8, 10, 15, 0.35) 100%) !important;
}

.hero-inner {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.hero-1:before {
    display: none;
}

.hero-1 .heroSlide1-area,
.hero-1 .heroSlide1,
.hero-1 .heroSlide1 .swiper-wrapper,
.hero-1 .heroSlide1 .swiper-slide {
    border-radius: 24px;
    overflow: hidden;
    background: transparent;
}

.hero-1 .th-hero-bg,
.hero-1 .th-hero-bg::before {
    border-radius: 24px;
}

.hero-1 .th-hero-bg {
    overflow: hidden;
}

.hero-style1 {
    padding: 88px 20px 128px;
    text-align: center;
    max-width: 100%;
    margin: 0;
}

.hero-style1 .hero-logo {
    margin: 0 auto 20px;
}

.hero-style1 .hero-logo img {
    width: 70px;
}

.hero-style1 .hero-review-wrapp {
    justify-content: center;
}

.hero-style1 .hero-subtitle {
    font-size: 12px;
    letter-spacing: 0.14em;
    display: inline-block;
    margin: 0 auto 16px;
}

.hero-style1 .hero-title {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-style1 .hero-text {
    padding: 0 6px;
    font-size: 15px;
    line-height: 1.7;
}

.hero-style1 .btn-group {
    margin-top: 18px;
    width: 100%;
}

.hero-style1 .btn-group .th-btn2 {
    width: 100%;
    justify-content: center;
}

.header-layout1 .sticky-wrapper {
    background: transparent;
    padding: 0;
}

.header-layout1 .sticky-wrapper.sticky {
    background: transparent;
    box-shadow: none;
}

.header-layout1 .sticky-wrapper .container {
    max-width: 100%;
    padding: 0;
}

.header-layout1 .menu-area {
    background: #ffffff;
    border-radius: 0;
    padding: 6px 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-layout1 .header-logo img {
    width: 34px;
}

.header-layout1 .th-menu-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: #c69a2c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: none;
    box-shadow: none;
    padding: 0;
    line-height: 1;
}

.header-layout1 .th-menu-toggle i {
    margin: 0;
    color: inherit;
}

.hero-slider-thumb-wrap {
    position: static;
    margin: 12px 0 2px;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    display: flex;
    justify-content: center;
}

.hero-grid-thumb {
    position: static;
    transform: none;
    max-width: 100%;
    padding: 0 24px;
    margin: 0 auto;
}

.hero-grid-thumb .swiper-wrapper {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.hero-grid-thumb .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 118px;
    max-width: none;
    width: 118px !important;
}

.hero-grid-thumb .box-img {
    border-radius: 50%;
    width: 118px !important;
    height: 118px !important;
    min-height: 118px;
    min-width: 118px;
    flex: 0 0 118px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border: 2px solid rgba(198, 154, 44, 0.35);
    overflow: hidden;
}

.hero-grid-thumb .box-img img {
    border-radius: inherit;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    object-position: center;
}

.hero-grid-thumb .box-img:after,
.hero-grid-thumb .box-img .slider-number {
    display: none;
}

.hero-grid-thumb .swiper-slide-thumb-active .box-img img {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.hero-1 .heroSlide1 .container {
    padding-left: 18px;
    padding-right: 18px;
}

.space-top {
    padding-top: 28px !important;
    padding-bottom: 48px !important;
}

.room-card {
    background: transparent !important;
    color: #0b0b0c;
    box-shadow: none;
}

.room-card.style-flex {
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.room-card.style-flex .box-img,
.room-card.style-flex .box-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}

.room-card.style-flex .box-img {
    min-height: 220px;
    border-radius: 0;
    overflow: hidden;
}

.room-card.style-flex .box-content {
    padding: 24px 20px;
    border-radius: 0;
    background: #ffffff;
}

.room-card.style2 .box-title,
.room-card.style2 .box-text,
.room-card.style2 .box-price,
.room-card.style2 .price {
    color: #0b0b0c !important;
}

.room-card.style2 .box-title:before {
    background-color: rgba(12, 18, 32, 0.12);
}

.room-card.style2 .box-title:after {
    background-color: #c69a2c;
}

.room-card .box-price {
    color: #0b0b0c;
}

.room-card .room-card-meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px 18px;
    width: 100%;
    border-bottom: none !important;
    margin: 15px 0 24px 0;
    padding-bottom: 0 !important;
}

.room-card .room-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    margin: 0 !important;
    color: #0b0b0c;
    font-size: 14px;
    font-weight: 500;
}

.room-card .room-card-meta span img {
    margin-right: 6px;
}

.room-card .th-btn2.style2 {
    width: 100%;
    justify-content: center;
}
}

@media (max-width: 575px) {
.hero-style1 {
    padding: 80px 18px 120px;
}

.hero-style1 .hero-title {
    font-size: 32px;
}

.hero-slider-thumb-wrap {
    padding: 0;
}

.hero-grid-thumb .box-img {
    width: 102px !important;
    height: 102px !important;
    min-height: 102px;
    min-width: 102px;
    flex: 0 0 102px;
    aspect-ratio: 1 / 1;
    border-width: 2px;
}

.hero-grid-thumb .swiper-slide {
    flex: 0 0 102px;
    width: 102px !important;
}
}

@media (max-width: 480px) {
.hero-style1 {
    padding-bottom: 110px;
}
}

/* Shared hero styling for secondary pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(140px, 20vw, 240px) 0 clamp(100px, 14vw, 180px);
    color: #ffffff;
    background: #0b111a;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image, url("../img/hero/hero_bg_1_1.jpg"));
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 1.4s ease;
    z-index: 0;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 14, 0.68) 0%, rgba(6, 8, 14, 0.72) 100%);
    z-index: 1;
}

.page-hero:hover::before {
    transform: scale(1.12);
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 0 18px;
}

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}

.page-hero__title {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 18px;
    color: #c59001;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.page-hero__text {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(245, 247, 255, 0.88);
    margin: 0 auto 32px;
    max-width: 640px;
}

.page-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.page-hero__actions .th-btn2 {
    min-width: 180px;
}

.page-hero .th-btn2,
.page-cta .th-btn2 {
    background: #c59001;
    border: 1px solid #c59001;
    color: #0c111c;
    box-shadow: 0 18px 36px rgba(197, 144, 1, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.page-hero .th-btn2:hover,
.page-hero .th-btn2:focus-visible,
.page-cta .th-btn2:hover,
.page-cta .th-btn2:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 24px 44px rgba(197, 144, 1, 0.35);
    color: #0c111c;
}

.fade-in-up {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    animation: fadeInUp 0.85s ease forwards;
    animation-delay: calc(0.05s * var(--card-index, 0));
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 36px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.gallery-section {
    position: relative;
    padding: clamp(90px, 10vw, 150px) 0 clamp(110px, 12vw, 180px);
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: clamp(24px, 4vw, 40px) auto clamp(36px, 5vw, 56px);
    max-width: 960px;
}

.filter-pill {
    appearance: none;
    border: 1px solid rgba(197, 144, 1, 0.38);
    background: rgba(255, 255, 255, 0.85);
    color: #0f1524;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.filter-pill:hover,
.filter-pill:focus-visible,
.filter-pill.is-active {
    color: #0c111c;
    background: #c59001;
    box-shadow: 0 14px 28px rgba(197, 144, 1, 0.28);
    transform: translateY(-1px);
    border-color: #c59001;
}

.gallery-masonry {
    column-count: 4;
    column-gap: clamp(18px, 2.8vw, 32px);
}

.masonry-card {
    position: relative;
    margin: 0 0 clamp(18px, 2.8vw, 32px);
    border-radius: 24px;
    overflow: hidden;
    break-inside: avoid;
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.16);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.25s ease;
    background: #0f1524;
    cursor: pointer;
}

.masonry-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.masonry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.05) 0%, rgba(6, 10, 18, 0.68) 100%);
    opacity: 0.82;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.masonry-card figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px 24px;
    z-index: 2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.masonry-card__label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.masonry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 65px rgba(15, 23, 42, 0.2);
}

.masonry-card:hover::before {
    opacity: 0.5;
}

.masonry-card:hover img {
    transform: scale(1.06);
}

.masonry-card[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 18, 0.86);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1050;
}

.gallery-lightbox.is-visible {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox__inner {
    max-width: min(1080px, 92vw);
    max-height: 92vh;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    position: relative;
}

.gallery-lightbox__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(6, 10, 18, 0.8);
    color: #ffffff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
    transform: translateY(-2px);
    background: rgba(197, 144, 1, 0.85);
    color: #0c111c;
}

.page-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 14vw, 160px) 0;
    color: #ffffff;
    text-align: center;
    background: #0f1524;
}

.page-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--cta-image, url("../img/nastanitve/fourstars/image1.png"));
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 1.2s ease;
    z-index: 0;
}

.page-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.55) 0%, rgba(7, 10, 18, 0.62) 100%);
    z-index: 1;
}

.page-cta:hover::before {
    transform: scale(1.1);
}

.page-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 18px;
}

.page-cta__title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    color: #c59001;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.page-cta__text {
    color: rgba(245, 247, 255, 0.88);
    margin-bottom: 32px;
}

.page-cta .th-btn2 {
    min-width: 200px;
}

.main-menu .current-menu-item > a,
.th-mobile-menu .current-menu-item > a {
    color: #c59001 !important;
    font-weight: 600;
}

.contact-section {
    position: relative;
    padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 120px);
    background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(20px, 3vw, 32px);
    margin-bottom: clamp(40px, 5vw, 72px);
}

.contact-card {
    background: #fff;
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.14);
    border-color: rgba(197, 144, 1, 0.35);
}

.contact-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(197, 144, 1, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #c59001;
    margin-bottom: 18px;
}

.contact-card__title {
    font-size: 20px;
    margin-bottom: 8px;
    color: #101627;
}

.contact-card__text,
.contact-card__text a {
    color: rgba(15, 23, 42, 0.74);
    font-weight: 500;
    word-break: break-word;
}

.contact-card__text a:hover {
    color: #c59001;
}

.contact-form-wrap {
    background: #ffffff;
    border-radius: 28px;
    padding: clamp(32px, 6vw, 64px);
    box-shadow: 0 34px 72px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #101627;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 14px 18px;
    background: rgba(248, 249, 252, 0.92);
    color: #0f1524;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(197, 144, 1, 0.65);
    box-shadow: 0 0 0 3px rgba(197, 144, 1, 0.18);
    background: #ffffff;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form button.th-btn2 {
    justify-self: start;
    padding: 14px 32px;
    min-width: 200px;
}

.contact-map {
    overflow: hidden;
    border-radius: 26px;
    margin-top: clamp(40px, 6vw, 80px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.contact-map iframe,
.contact-map img {
    width: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

@media (max-width: 1200px) {
    .gallery-masonry {
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .page-hero {
        padding: 120px 0 100px;
    }

    .page-hero__actions {
        gap: 12px;
    }

    .gallery-masonry {
        column-count: 2;
    }

    .contact-form {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .contact-form button.th-btn2 {
        justify-self: stretch;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .gallery-filters {
        gap: 8px;
    }

    .contact-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .page-cta__inner {
        padding: 0 16px;
    }
}

@media (max-width: 575px) {
    .page-hero {
        padding: 110px 0 90px;
    }

    .page-hero__title {
        font-size: 34px;
    }

    .page-hero__text {
        font-size: 15px;
    }

    .masonry-card {
        border-radius: 20px;
    }

    .contact-form-wrap {
        padding: 28px 22px;
    }

    .contact-form button.th-btn2 {
        min-width: 100%;
    }

    .filter-pill {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
        justify-content: center;
        text-align: center;
        font-size: 13px;
        padding: 9px 18px;
    }

    .gallery-filters {
        justify-content: center;
        gap: 8px;
    }

    .gallery-masonry {
        column-count: 1;
    }
}
