/* Hotels Section Enhanced Styles */

.hotels-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.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="%23ff7200" opacity="0.1"/></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: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.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(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

/* Featured Card */
.hotel-category-card.featured {
    border-color: #ff7200;
    background: linear-gradient(135deg, #fff 0%, #fff8f4 100%);
}

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

/* Premium Card */
.hotel-category-card.premium {
    border-color: #49a46b;
    background: linear-gradient(135deg, #fff 0%, #f8fdf9 100%);
}

.hotel-category-card.premium:hover {
    border-color: #3d8a5a;
    box-shadow: 0 20px 40px rgba(73, 164, 107, 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: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #ff7200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.hotel-category-card.premium .category-icon {
    background: linear-gradient(135deg, #49a46b, #6bc77a);
}

.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.1) rotate(10deg);
}

/* Category Content */
.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.hotel-category-card.premium .category-title {
    color: #49a46b;
}

/* 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: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.feature-badge {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.hotel-category-card.premium .feature-badge {
    background: rgba(73, 164, 107, 0.1);
    color: #49a46b;
}

.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);
}
