/* ═══════════════════════════════════════════════════════
   TRANSPORTATION LAYOUT
   ═══════════════════════════════════════════════════════ */

/* ── 1. Hero ── */
.trans-hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trans-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.trans-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.trans-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.trans-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
    line-height: 1.1;
}

.trans-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ── 2. Form Section (floating antara hero & gallery) ── */
.trans-form-section {
    position: relative;
    z-index: 10;
    margin-top: -56px;
    padding-bottom: 0;
}

.trans-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.trans-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.trans-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trans-form-group label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.3px;
}

/* Select wrapper */
.trans-select-wrap {
    position: relative;
}

.trans-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #444;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s;
    outline: none;
}

.trans-select-wrap select:focus {
    border-color: #2F5218;
    background: #fff;
}

.trans-select-wrap .select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #888;
    pointer-events: none;
}

/* Input fields */
.trans-form-group input[type="text"],
.trans-form-group input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #444;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.trans-form-group input:focus {
    border-color: #2F5218;
    background: #fff;
}

.trans-form-group input::placeholder {
    color: #bbb;
}

/* Book Now button (kolom ke-5 di grid) */
.trans-form-btn-group {
    justify-content: flex-end;
}

.trans-book-btn {
    display: inline-block;
    background: #2F5218;
    color: #fff;
    padding: 11px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.2s ease;
}

.trans-book-btn:hover {
    background: #1a3c1a;
    transform: translateY(-1px);
    color: #fff;
}

/* ── 3. Gallery ── */
.trans-gallery-section {
    padding: 32px 0 60px;
}

.trans-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.trans-gallery-item {
    height: 260px;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
}

.trans-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .trans-form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trans-form-btn-group {
        grid-column: 1 / -1;
        align-items: flex-start;
    }

    .trans-book-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .trans-hero {
        height: 55vh;
        min-height: 380px;
    }

    .trans-title {
        font-size: 38px;
    }

    .trans-desc {
        font-size: 15px;
    }

    .trans-form-section {
        margin-top: -40px;
    }

    .trans-form-card {
        padding: 24px 20px;
    }

    .trans-gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 12px;
    }
}

@media (max-width: 576px) {
    .trans-title {
        font-size: 30px;
    }

    .trans-desc {
        font-size: 14px;
    }

    .trans-form-section {
        margin-top: -28px;
    }

    .trans-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trans-form-card {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .trans-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 12px;
    }

    .trans-gallery-item {
        height: 150px;
    }
}

/* ═══════════════════════════════════════════════════════
   TRIP LAYOUT
   ═══════════════════════════════════════════════════════ */
.trip-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.trip-top {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 30px;
    align-items: start;
    padding-top: -50px;
}

.trip-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: #2F5218;
    margin-bottom: 24px;
}

.trip-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.trip-img {
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.trip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.trip-img:hover img {
    transform: scale(1.03);
}

/* Top Gallery Grid */
.trip-top-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 14px;
}

.trip-img-1 {
    grid-row: 1 / span 2;
}

/* Bottom Gallery Grid */
.trip-bottom-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 14px;
}

.trip-img-b1 {
    grid-row: 1 / span 2;
    grid-column: 1;
}

.trip-img-b2 {
    grid-row: 1;
    grid-column: 2;
}

.trip-img-b3 {
    grid-row: 2;
    grid-column: 2;
}

.trip-img-b4 {
    grid-row: 1 / span 2;
    grid-column: 3 / span 2;
}

/* Responsive */
@media (max-width: 992px) {
    .trip-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .trip-top-gallery,
    .trip-bottom-gallery {
        grid-template-rows: repeat(2, 180px);
    }
}

@media (max-width: 768px) {
    .trip-title {
        font-size: 32px;
    }

    .trip-bottom-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .trip-img-b1,
    .trip-img-b4 {
        grid-row: auto;
        grid-column: auto;
        height: 200px;
    }

    .trip-img-b2,
    .trip-img-b3 {
        grid-row: auto;
        grid-column: auto;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .trip-top-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .trip-img-1 {
        grid-row: auto;
        height: 200px;
    }

    .trip-img-2,
    .trip-img-3 {
        height: 200px;
    }

    .trip-bottom-gallery {
        grid-template-columns: 1fr;
    }

    .trip-img-b1,
    .trip-img-b2,
    .trip-img-b3,
    .trip-img-b4 {
        height: 200px;
    }
}

/* ═══════════════════════════════════════════════════════
   MEETING ROOM LAYOUT
   ═══════════════════════════════════════════════════════ */

.meeting-room-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
    align-items: center;
}

.mr-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: #1a3c1a;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.mr-desc p {
    font-family: var(--font-body);
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.mr-main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}

/* SLIDER CSS FULL WIDTH */
.mr-gallery-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    overflow: hidden;
}

.mr-gallery-track {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0;
    scrollbar-width: none;
    /* Firefox */
    cursor: grab;
    width: 100%;
}

.mr-gallery-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.mr-gallery-item {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 0;
    overflow: hidden;
}

.mr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    cursor: pointer;
}

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

.mr-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    color: #1a5c1a;
}

.mr-nav-btn:hover {
    background: #1a5c1a;
    color: #fff;
}

.mr-nav-btn.prev {
    left: 20px;
}

.mr-nav-btn.next {
    right: 20px;
}

@media(max-width: 992px) {
    .meeting-room-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mr-main-image img {
        height: 300px;
    }

    .mr-gallery-item {
        flex: 0 0 300px;
        height: 200px;
    }
}

@media(max-width: 576px) {
    .mr-title {
        font-size: 32px;
    }

    .mr-gallery-item {
        flex: 0 0 250px;
        height: 180px;
    }

    .mr-nav-btn {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════
   WEDDING LAYOUT
   ═══════════════════════════════════════════════════════ */
.wedding-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.wedding-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.wedding-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
}

.wedding-title {
    font-family: var(--font-heading);
    font-size: 64px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wedding-desc {
    max-width: 800px;
    margin: 0 auto;
}

.wedding-desc p {
    font-family: var(--font-body);
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.wedding-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.wedding-gallery-item {
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
}

.wedding-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
    filter: brightness(0.9);
}

.wedding-gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(1);
}

@media(max-width: 992px) {
    .wedding-title {
        font-size: 48px;
    }

    .wedding-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .wedding-gallery-item {
        height: 300px;
    }
}

@media(max-width: 576px) {
    .wedding-title {
        font-size: 36px;
    }

    .wedding-desc p {
        font-size: 16px;
    }

    .wedding-gallery {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   RESTAURANT / FACILITY HERO SLIDER
   ═══════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* ═══════════════════════════════════════════════════════
   RESTAURANT / FACILITY HERO (legacy)
   ═══════════════════════════════════════════════════════ */
.facility-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.facility-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 0 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

/* ═══════════════════════════════════════════════════════
   FACILITY GALLERY OVERLAY
   ═══════════════════════════════════════════════════════ */
.fac-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 40, 10, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    pointer-events: none;
}

.gallery-item:hover .fac-overlay,
.mr-gallery-item:hover .fac-overlay,
.wedding-gallery-item:hover .fac-overlay,
.trans-gallery-item:hover .fac-overlay,
.trip-img:hover .fac-overlay {
    opacity: 1;
}

.fac-overlay .fac-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-family: var(--font-body);
}

@media (max-width: 480px) {
    /* Optional: jika mobile tidak ada hover, ini tetap tersembunyi, saat diklik akan muncul pop up image */
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #000;
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.facility-description {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    /* padding-top: 0px; */
}

.facility-description p {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}

/* Gallery Grid */
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding-bottom: 20px;
}

.gallery-item {
    height: 200px;
    background: #e0e0e0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

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

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

@media(max-width: 992px) {
    .facility-title {
        font-size: 42px;
    }

    .facility-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 576px) {
    .facility-hero {
        height: 50vh;
    }

    .facility-title {
        font-size: 32px;
    }

    .facility-description {
        padding-top: 30px;
        margin-bottom: 30px;
    }

    .facility-description p {
        font-size: 16px;
    }

    .facility-gallery {
        grid-template-columns: 1fr;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }
}