/* Nearby Hotels Section Styles */
.nearby-hotels-section {
    position: relative;
    padding: 40px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.nearby-hotels-section:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-1.jpg');
    opacity: 0.05;
}

.nearby-hotels-section .section-title {
    margin-bottom: 50px;
}

.nearby-hotels-section .section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #005580;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.nearby-hotels-section .section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 200px;
    height: 3px;
    background: linear-gradient(135deg, #002941, #006798);
    transform: translateX(-50%);
}

.hotels-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.hotel-card {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #002941, #006798);
    opacity: 0;
    transition: all 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(86, 11, 91, 0.15);
}

.hotel-card:hover:before {
    opacity: 1;
}

.hotel-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-image .hotel-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #002941, #006798);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(86, 11, 91, 0.3);
}

.hotel-content {
    padding: 25px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-content:after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(142, 30, 152, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.hotel-card:hover .hotel-content:after {
    opacity: 1;
}

.hotel-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif;
}

.hotel-card:hover .hotel-name {
    color: #006798;
}

.hotel-distances {
    margin-bottom: 20px;
}

.distance-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.distance-item i {
    margin-right: 10px;
    color: #006798;
    width: 16px;
    text-align: center;
}

.distance-value {
    font-weight: 600;
    color: #333;
    margin-left: auto;
}

.hotel-amenities {
    margin-bottom: 20px;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    background: linear-gradient(135deg, rgba(0, 41, 65, 0.1), rgba(0, 103, 152, 0.1));
    color: #005580;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 41, 65, 0.2)
;
}

.hotel-actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 15px;
}

.btn-hotel {
    padding: 12px 35px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Ubuntu', sans-serif;
    min-width: 160px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #002941, #006798);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #006798, #002941);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 41, 65, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hotels-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .nearby-hotels-section .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .nearby-hotels-section {
        padding: 40px 0;
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hotel-card {
        margin-bottom: 20px;
    }
    
    .hotel-image {
        height: 180px;
    }
    
    .hotel-content {
        padding: 20px;
    }
    
    .hotel-name {
        font-size: 18px;
    }
    
    .hotel-actions {
        flex-direction: column;
    }
    
    .btn-hotel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .nearby-hotels-section .section-title h2 {
        font-size: 28px;
    }
}

/* Animation for cards */
@keyframes hotelCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotel-card {
    animation: hotelCardFadeIn 0.6s ease-out forwards;
}

.hotel-card:nth-child(2n) {
    animation-delay: 0.1s;
}

.hotel-card:nth-child(3n) {
    animation-delay: 0.2s;
}

.hotel-card:nth-child(4n) {
    animation-delay: 0.3s;
} 