/* Hero Header Styles */
.hostel-hero-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

/* Hero with Background Image */
.hostel-hero-header.hero-with-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hostel-hero-header .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hostel-hero-header.hero-with-bg-image .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.hostel-hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
}

/* Filter Bar */
.filter-bar {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Modern Hostel Card */
.modern-hostel-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.modern-hostel-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

/* Image Wrapper */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-hostel-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 105, 180, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-hostel-card:hover .card-overlay {
    opacity: 1;
}

/* Location Badge */
.location-badge {
    display: inline-flex;
    align-items: center;
    background: #fff0f1;
    color: #FF69B4;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Card Title */
.card-title {
    color: #1a202c;
    font-size: 1.4rem;
    line-height: 1.4;
}

/* Tagline */
.tagline-text {
    color: #FF69B4;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 500;
}

/* Description */
.card-description {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.stat-box i {
    color: #FF69B4;
    font-size: 1.2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.stat-content strong {
    color: #1a202c;
    font-size: 1rem;
}

.stat-content small {
    color: #718096;
    font-size: 0.75rem;
}

/* Policies Summary */
.policies-summary {
    padding: 16px;
    background: #fff5f5;
    border-radius: 12px;
    border-left: 4px solid #FF69B4;
    margin-top: 1rem;
}

.policies-header {
    color: #FF69B4;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.policies-text {
    color: #4a5568;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Card Footer */
.card-footer-modern {
    padding: 20px 24px;
    background: #fafbff;
}

/* Book Now Button */
.card-footer-modern .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.card-footer-modern .btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1ba87c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #FFB6D9 0%, #FF69B4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
    color: white;
}

/* Empty State */
.empty-state {
    max-width: 500px;
    margin: 80px auto;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 3.5rem;
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    padding: 80px 0;
    margin-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .hostel-hero-header {
        padding: 60px 0;
    }

    .hero-stats {
        margin-top: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .card-image-wrapper {
        height: 220px;
    }

    .stats-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* AOS Animation Support */
[data-aos] {
    pointer-events: auto;
}
