/* =========================================
   TH GATEWAY (SPLIT SCREEN)
   ========================================= */
.gateway-wrapper {
    display: flex;
    width: 100%;
    height: calc(100vh - 104px); /* Subtract header height */
    min-height: 600px;
    overflow: hidden;
}

.gateway-node {
    position: relative;
    flex: 1;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

/* The Background Image */
.gateway-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 0;
}
/* Darken overlay */
.gateway-node::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
    transition: background 0.4s ease;
}

/* Text Content */
.gateway-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.gateway-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 4vw, 4rem);
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin: 0;
}

.gateway-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    opacity: 0.9;
}

.gateway-logo-anchor {
    position: absolute;
    top: 105px;
    left: 50%;
    transform: translateX(-50%); /* Centers it perfectly */
    z-index: 20; /* Sits on top of everything */
}
.gateway-logo {
    width: 120px; /* Adjust based on actual file size */
    height: auto;
    transition: transform 0.3s ease;
    /* Optional: Adds a white glow if the background images are too dark/busy */
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}
.gateway-logo:hover {
    transform: scale(1.05);
}
/* HOVER EFFECTS */
.gateway-node:hover {
    flex: 1.5; /* Expands the hovered side */
}
.gateway-wrapper:hover .gateway-node:not(:hover) {
    flex: 0.8; /* Shrinks the other side */
}
.gateway-wrapper:hover .gateway-node:not(:hover)::before {
    background: rgba(0,0,0,0.6); /* Darkens the ignored side */
}
.gateway-node:hover .gateway-bg {
    transform: scale(1.05); /* Slow zoom on image */
}
.gateway-node:hover .gateway-btn {
    background: var(--moc-orange);
    border-color: var(--moc-orange);
}

/* Mobile: Stack them */
@media (max-width: 768px) {
    .gateway-wrapper { flex-direction: column; }
    .gateway-node { width: 100%; }
}

/* Hospitality Card Overrides */
.card.hospitality-card {
    border: none;
    box-shadow: none; /* Cleaner look */
    background: transparent;
}
.card.hospitality-card:hover {
    transform: translateY(-5px);
}
.card.hospitality-card .image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 12px;
}
.card.hospitality-card .price-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.prop-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--ink-2);
    margin-bottom: 8px;
}
.prop-meta i { color: var(--moc-green); margin-right: 4px; }

/* Hero Grid */
.prop-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    height: 450px;
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}
.prop-hero-main {
    height: 100%;
}
.prop-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 100%;
}
/* Sticky Sidebar */
.booking-widget {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; /* Below your fixed nav */
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-2);
    z-index: 10;
}
.booking-price {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--moc-green);
}
@media (max-width: 900px) {
    .prop-hero-grid { grid-template-columns: 1fr; height: auto; }
    .prop-hero-side { display: none; } /* Hide extra photos on mobile */
    .booking-widget { position: fixed; bottom: 0; left: 0; right: 0; top: auto; border-radius: 0; z-index: 9999; border-top: 1px solid var(--moc-green); }
}