/* Hotels Section Enhanced Styles */

.hotels-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hotels-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hotel-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ff9a44" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23hotel-pattern)"/></svg>');
    z-index: 0;
}

.hotels-section .container {
    position: relative;
    z-index: 1;
}

/* Hotel Categories Cards */
.hotel-categories {
    margin-bottom: 3rem;
}

.hotel-category-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.9) 100%);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 154, 68, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2), 0 5px 15px rgba(255, 154, 68, 0.1);
    backdrop-filter: blur(15px);
    color: #1a1a2e;
}

.hotel-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.hotel-category-card:hover::before {
    left: 100%;
}

.hotel-category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 10px 25px rgba(255, 154, 68, 0.3);
    border-color: #ff9a44;
    background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(255, 248, 244, 0.95) 100%);
}

/* Featured Card */
.hotel-category-card.featured {
    border-color: #ff7200;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255, 248, 244, 0.95) 100%);
    box-shadow: 0 15px 35px rgba(255, 114, 0, 0.2), 0 5px 15px rgba(255, 114, 0, 0.1);
}

.hotel-category-card.featured:hover {
    border-color: #e56500;
    box-shadow: 0 25px 50px rgba(255, 114, 0, 0.3), 0 10px 25px rgba(255, 114, 0, 0.2);
}

/* Premium Card */
.hotel-category-card.premium {
    border-color: #16213e;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(22, 33, 62, 0.05) 100%);
    box-shadow: 0 15px 35px rgba(22, 33, 62, 0.2), 0 5px 15px rgba(22, 33, 62, 0.1);
}

.hotel-category-card.premium:hover {
    border-color: #0f3460;
    box-shadow: 0 25px 50px rgba(22, 33, 62, 0.3), 0 10px 25px rgba(22, 33, 62, 0.2);
}

/* Category Ribbon */
.category-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #ff7200, #ff9a44);
    color: white;
    padding: 5px 35px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Category Icon */
.category-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff9a44, #ff7200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(255, 154, 68, 0.3);
    border: 4px solid rgba(255,255,255,0.8);
}

.hotel-category-card.featured .category-icon {
    background: linear-gradient(135deg, #ff7200, #ff9a44);
}

.hotel-category-card.premium .category-icon {
    background: linear-gradient(135deg, #16213e, #0f3460);
}

.category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hotel-category-card:hover .category-icon::before {
    transform: translateX(100%);
}

.hotel-category-card:hover .category-icon {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.6);
}

/* Category Content */
.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff7200;
    margin-bottom: 1rem;
}

.hotel-category-card.featured .category-title {
    color: #ff7200;
}

.hotel-category-card.premium .category-title {
    color: #16213e;
}

/* Stars Display */
.stars-display {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.stars-display .fas.fa-star {
    color: #ffc107;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.stars-display .far.fa-star {
    color: #dee2e6;
}

/* Category Description */
.category-description {
    color: #1a1a2e;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* Feature Badges */
.category-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 154, 68, 0.15);
    color: #ff7200;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 154, 68, 0.3);
}

.hotel-category-card.featured .feature-badge {
    background: rgba(255, 114, 0, 0.15);
    color: #ff7200;
    border-color: rgba(255, 114, 0, 0.3);
}

.hotel-category-card.premium .feature-badge {
    background: rgba(22, 33, 62, 0.15);
    color: #16213e;
    border-color: rgba(22, 33, 62, 0.3);
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-badge i {
    margin-left: 0.3rem;
}

/* Dark Mode Support */
body.dark-mode .hotels-section {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
}

body.dark-mode .hotel-category-card {
    background: var(--dark-card);
    color: var(--dark-text);
}

body.dark-mode .category-title {
    color: #ff9a44;
}

body.dark-mode .hotel-category-card.featured .category-title {
    color: #ff9a44;
}

body.dark-mode .hotel-category-card.premium .category-title {
    color: #6bc77a;
}

body.dark-mode .category-description {
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hotel-category-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .stars-display {
        font-size: 1rem;
    }
    
    .category-features {
        gap: 0.3rem;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 576px) {
    .hotels-section {
        padding: 3rem 0;
    }
    
    .hotel-category-card {
        padding: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 1rem;
    }
}

/* Animation Classes */
.hotel-category-card.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects for Better UX */
.hotel-category-card {
    cursor: pointer;
}

.hotel-category-card:active {
    transform: translateY(-5px) scale(0.98);
}

/* Hotel Cards Styling */
.hotel-card .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    border-color: #ff7200 !important;
}

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

.hotel-card .btn:hover {
    background: linear-gradient(135deg, #ff7200, #e56500) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 68, 0.4) !important;
}

/* Section Title Enhancement */
.hotels-section .section-title {
    position: relative;
    display: inline-block;
}

.hotels-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff9a44, #ff7200);
    border-radius: 2px;
}

/* Enhanced Alert Styling */
.hotels-section .alert {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255, 154, 68, 0.3);
    border-radius: 15px;
    color: #1a1a2e;
    backdrop-filter: blur(10px);
}

/* Button Enhancement */
.hotels-section .btn-outline-primary {
    border: 2px solid #ff9a44;
    color: #ff9a44;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hotels-section .btn-outline-primary:hover {
    background: linear-gradient(135deg, #ff9a44, #ff7200);
    border-color: #ff7200;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 154, 68, 0.3);
}
