.hotel-info {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.hotel-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hotel-area {
    color: white;
    margin-bottom: 8px;
    font-size: 1rem;
    font-style: italic;
}

.hotel-website, .hotel-address {
    color: white;
    margin-bottom: 8px;
    font-size: 1rem;
}

.accepted-cards {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.accepted-cards-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-right: 6px;
}

.accepted-cards .card-logo {
    height: 24px;
    width: auto;
    background: #fff;
    border-radius: 4px;
    padding: 2px 4px;
}

.hotel-website a {
    color: #007bff;
    text-decoration: none;
}

.hotel-website a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.directions-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.directions-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    color: white;
    text-decoration: none;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Modal Styles */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
    max-width: 800px;
    max-height: 600px;
    cursor: default;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: #ccc;
}

/* Navigation Arrows */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover {
    background: rgba(0,0,0,0.9);
}

.prev-nav {
    left: -70px;
}

.next-nav {
    right: -70px;
}

/* Carousel Styles */
.carousel-container {
    display: flex;
    align-items: center;
    width: 300%;
    height: 100%;
    transition: transform 0.4s ease-out;
    will-change: transform;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-color: rgba(58, 54, 54, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-photo {
    flex: 1;
    max-width: 33.333%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    will-change: transform, opacity;
    touch-action: pan-y pinch-zoom;
    opacity: 0.6;
    transform: scale(0.8);
    pointer-events: none;
}

.carousel-photo[data-index="0"],
.carousel-photo[data-index="1"],
.carousel-photo[data-index="2"] {
    opacity: 1;
    transform: scale(1);
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    will-change: transform, opacity;
    touch-action: pan-y pinch-zoom;
    opacity: 1;
}

#modalImageOne {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    will-change: transform, opacity;
    touch-action: pan-y pinch-zoom;
    opacity: 1;
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 20px;
    transition: opacity 0.3s ease-out;
}

.photo-counter {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    background: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 15px;
    transition: opacity 0.3s ease-out;
}

/* Exit Button Styles */
.modal-exit-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    min-width: 35px;
    height: 35px;
    z-index: 1002;
}

.modal-exit-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.exit-icon {
    font-size: 16px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .photo-item img {
        height: 150px;
    }
    
    .modal-content {
        width: 95%;
        height: 95%;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .prev-nav {
        left: 10px;
    }
    
    .next-nav {
        right: 10px;
    }
    
    .modal-exit-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 30px;
        height: 30px;
        top: 15px;
        right: 15px;
    }
    
    .exit-icon {
        font-size: 14px;
    }
}