/* UI/UX Polish - Mobile Compatibility & Styling */
/* Scoped adjustments */

/* 1. Global / Body fixes on responsive */
html, body {
    overflow-x: hidden;
}

/* 2. Menu / Header */
.top-strip {
    font-size: 0.85rem;
    padding: 6px 0;
}
@@media (max-width: 575.98px) {
    .top-strip div {
        margin-bottom: 4px;
        text-align: center;
        width: 100%;
    }
}

.site-navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.site-navbar .navbar-brand {
    font-size: 1.25rem;
}
.site-navbar .navbar-brand span {
    color: var(--bs-primary);
}
@@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        position: absolute;
        width: 100%;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }
}

/* 3. Hero Section Spacing */
.hero-section {
    min-height: auto;
    padding: 60px 0;
}
@@media (max-width: 767.98px) {
    .hero-section {
        padding: 40px 0;
    }
    .hero-section h1 {
        font-size: 2rem !important;
    }
    .hero-section p {
        font-size: 1rem !important;
    }
}

/* 4. Best Suited For Section (Cards) */
.suited-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 100%;
    text-align: center;
    border: 1px solid #eff2f5;
    transition: transform 0.3s ease;
}
.suited-card:hover {
    transform: translateY(-5px);
}
.suited-card-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.suited-card-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.suited-card-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* 5. Icons Fallback */
.svg-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}
.icon-box-local {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

/* 6. Gallery Fix */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    aspect-ratio: 4/3;
    display: block;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* 7. Lightbox */
.uiux-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.uiux-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.uiux-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

/* 8. Mobile Buttons & Forms */
@@media (max-width: 575.98px) {
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .floating-contact .btn {
        width: auto;
        margin-bottom: 0;
    }
    .form-control, .form-select {
        font-size: 16px; /* prevent iOS zoom */
    }
    .mb-resp {
        margin-bottom: 1.5rem !important;
    }
    .location-map-card iframe {
        height: 350px !important;
    }
}

/* 9. Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* 10. Amenity Cards */
.amenity-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: #fff;
    height: 100%;
}
.amenity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.amenity-card-body {
    padding: 1.25rem;
}
.amenity-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Room Cards */
.room-card {
    height: 100%;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.room-card:hover {
    transform: translateY(-5px);
}
.room-card-img-wrap {
    height: 240px;
    overflow: hidden;
}
.room-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}