/* ==========================================================================
   Accommodation Facilities Style - Aspiring Medinovate Healthcare
   ========================================================================== */

/* Color Variables */
:root {
    --primary: #0d9488;
    --primary-hover: #0f766e;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --light-bg: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-elegant: 0 10px 30px -5px rgba(13, 148, 136, 0.05), 0 1px 3px rgba(0,0,0,0.02);
}

/* Base Body Adjustments */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: #334155;
    overflow-x: hidden;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
    }
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Gradient Text and Backgrounds */
.text-gradient-teal {
    background: linear-gradient(135deg, var(--primary), #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover)) !important;
}

/* Hero Section Style */
.accommodation-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(13, 148, 136, 0.85)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=compress&cs=tinysrgb&w=1200') no-repeat center center/cover;
    padding: 120px 0 140px;
    color: white;
    overflow: hidden;
}

.accommodation-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fef08a;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

.accommodation-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.accommodation-hero .hero-subtitle {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 650px;
}

/* Floating Shapes in Hero */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-shapes .shape {
    position: absolute;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, rgba(13, 148, 136, 0) 70%);
    border-radius: 50%;
}

.hero-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
}

/* Quick Search Panel Overlap */
.search-container-wrap {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.search-box-elegant {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

/* Filter Tab Styling */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid rgba(13, 148, 136, 0.15);
    background: white;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.filter-btn.active {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
    box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.4);
}

/* Featured Spot - Aspiring Inn */
.aspiring-inn-banner {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(13, 148, 136, 0.12);
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.aspiring-inn-banner:hover {
    box-shadow: 0 25px 60px -20px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(13, 148, 136, 0.1);
}

.featured-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    z-index: 5;
}

.price-indicator-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.75);
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    z-index: 5;
}

.gallery-wrapper {
    position: relative;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hospital Distance List styling */
.distance-list {
    background: rgba(13, 148, 136, 0.03);
    border: 1px dashed rgba(13, 148, 136, 0.2);
    border-radius: 16px;
    padding: 15px;
}

.distance-item {
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.distance-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.distance-item span.hosp-name {
    font-weight: 600;
    color: #475569;
}

.distance-item span.dist {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Hotel Grid Cards */
.hotel-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    border-color: rgba(13, 148, 136, 0.15);
}

.hotel-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.hotel-card:hover .hotel-img {
    transform: scale(1.08);
}

.hotel-star-rating {
    color: var(--accent);
    font-size: 0.8rem;
}

.hotel-amenity-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: 50px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.hotel-badge-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Amenities Icon Grid styling */
.amenity-card-round {
    background: white;
    border-radius: 24px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.amenity-card-round:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.2);
}

.amenity-round-icon {
    width: 65px;
    height: 65px;
    background: rgba(13, 148, 136, 0.06);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.amenity-card-round:hover .amenity-round-icon {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
}

/* Beautiful Sidebar Enquiry Box */
.enquiry-sticky-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 24px;
    padding: 30px;
    color: white;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.enquiry-sticky-card .text-muted,
.enquiry-sticky-card p.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.enquiry-sticky-card .form-control, 
.enquiry-sticky-card .form-select {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.enquiry-sticky-card .form-control::placeholder {
    color: #94a3b8;
}

.enquiry-sticky-card .form-control:focus, 
.enquiry-sticky-card .form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.35);
    color: white;
}

.enquiry-sticky-card .form-select option {
    background: #1e293b;
    color: white;
}

.btn-book-premium {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-book-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
    color: white;
}

/* Custom Button Styles */
.btn-teal {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.btn-teal:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: white !important;
}

.btn-outline-teal {
    background-color: transparent !important;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
}

.btn-outline-teal:hover {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

/* Floating Badges & Animations */
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-effect {
    animation: floatAnimation 4s ease-in-out infinite;
}

/* Filter dynamic animation classes for JS loading */
.fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .accommodation-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-wrapper {
        min-height: 280px;
    }
    
    .search-container-wrap {
        margin-top: -30px;
    }
    
    .search-box-elegant {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .accommodation-hero {
        padding: 80px 0 100px;
    }
    
    .accommodation-hero h1 {
        font-size: 2rem;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}
