/* Hotels Grid Section */
.hotels-grid-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hotels-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/kaaba-bg.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hotels-grid-container {
    position: relative;
    z-index: 2;
}

.hotels-grid-title {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.hotels-grid-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hotels-grid-title p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Hotels Scrollable Container */
.hotels-scroll-wrapper {
    position: relative;
    padding: 0 60px; /* Space for scroll buttons */
}

.hotels-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.hotels-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.hotels-grid {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    min-width: max-content;
    width: auto;
}

/* Hotel Card */
.hotel-card {
    width: 350px;
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hotel-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hotel-card:hover .hotel-card-image img {
    transform: scale(1.05);
}

.hotel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hotel-card-info {
    padding: 25px;
}

.hotel-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hotel-card-location {
    display: flex;
    align-items: center;
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.hotel-card-location i {
    margin-left: 8px;
    color: #667eea;
}

.hotel-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.hotel-stars {
    display: flex;
    gap: 2px;
}

.hotel-stars i {
    color: #ffd700;
    font-size: 0.9rem;
}

.hotel-stars i.text-muted {
    color: #e2e8f0;
}

.hotel-rating-text {
    font-size: 0.85rem;
    color: #718096;
}

.hotel-card-description {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.amenity-tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.amenity-tag:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.hotel-card-actions {
    display: flex;
    gap: 10px;
}

.hotel-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hotel-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.hotel-btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.hotel-btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.hotel-btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Scroll Controls */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.scroll-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    color: #764ba2;
}

.scroll-btn-left {
    left: 10px;
}

.scroll-btn-right {
    right: 10px;
}

/* View All Button */
.view-all-hotels {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.view-all-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hotels-grid-section {
        padding: 60px 0;
    }
    
    .hotels-grid-title h2 {
        font-size: 2rem;
    }
    
    .hotels-scroll-wrapper {
        padding: 0 20px;
    }
    
    .hotel-card {
        width: 300px;
    }
    
    .hotels-grid {
        gap: 20px;
        padding: 0 10px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-btn-left {
        left: 5px;
    }
    
    .scroll-btn-right {
        right: 5px;
    }
}

@media (max-width: 576px) {
    .hotel-card {
        width: 280px;
    }
    
    .hotel-card-info {
        padding: 20px;
    }
    
    .hotel-card-title {
        font-size: 1.2rem;
    }
    
    .hotel-card-image {
        height: 180px;
    }
    
    .hotel-card-actions {
        flex-direction: column;
    }
}