/* Gallery Modal Styles */
.modal-content.modal-large {
    max-width: 95vw;
    width: 800px;
    padding: 20px;
    overflow-y: auto;
    max-height: 90vh;
    background-color: #fff;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Gallery Header */
.modal-content.modal-large h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 25px;
    padding-top: 10px;
}

/* Gallery Image Container */
.gallery-image-container {
    margin-bottom: 25px;
}

/* Image Styles */
.modal-content.modal-large picture {
    width: 100%;
    display: block;
}

.modal-content.modal-large img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: white;
    border-radius: 4px;
}

/* Caption Styles */
.image-caption {
    text-align: center;
    color: #fff;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
}

/* Close Button */
.modal-content.modal-large .close {
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #2c3e50;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Collapsible Menu Styles */
.collapsible-header {
    cursor: pointer;
    padding: 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.collapsible-header:hover {
    background: rgba(0, 0, 0, 0.08);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
}

.collapsible-content.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

/* Smooth scroll for anchor links */
[id] {
    scroll-margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content.modal-large {
        width: 100%;
        padding: 15px;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 30px;
    }
    
    .modal-content.modal-large img {
        max-height: 60vh;
    }
    
    .image-caption {
        font-size: 14px;
    }

    .collapsible-content.active {
        max-height: 1500px;
    }
}

/* Emergency Contacts Styling */
.emergency-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.contact-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
}

/* Booking Options Styling */
.booking-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-platform {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s;
}

.booking-platform:hover {
    transform: translateY(-2px);
}

/* Attractions Styling */
.attractions-grid {
    display: grid;
    gap: 2rem;
    padding: 1rem;
}

.attraction-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.attraction-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.attraction-content p {
    color: #666;
    line-height: 1.6;
}

/* Amenities Modal Styling */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.amenity-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.amenity-category h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenity-category h3 i {
    color: #3498db;
}

.amenity-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-category li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #666;
}

.amenity-category li i {
    color: #3498db;
    width: 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .amenity-category {
        padding: 1rem;
    }
}

/* Gallery Section Styling */
.gallery-section {
    margin-bottom: 2rem;
    padding: 1rem;
}

.gallery-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-section h3 i {
    color: #3498db;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .gallery-item img {
        height: 180px;
    }
}

/* Gallery Filters */
.gallery-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border: none;
    border-radius: 20px;
    background: #f8f9fa;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    white-space: nowrap;
    width: 100%;
    min-height: 36px;
}

.filter-btn i {
    font-size: 14px;
}

.filter-btn:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.filter-btn.active {
    background: #3498db;
    color: white;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .gallery-filters {
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
        gap: 6px;
    }
    
    .filter-btn {
        padding: 6px 8px;
        font-size: 11px;
        min-height: 32px;
    }

    .filter-btn i {
        font-size: 13px;
    }
}

/* Larger screens */
@media (min-width: 768px) {
    .gallery-filters {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Gallery Container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    width: 100%;
}

.gallery-item {
    aspect-ratio: 3/2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
        padding: 0.8rem;
    }
}

/* Menu Styling */
.menu-note {
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 0 16px 24px;
}

.menu-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-note li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.menu-note li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
}

/* Menu Sections */
.menu-sections {
    padding: 0 16px;
}

.menu-section {
    margin-bottom: 32px;
}

.menu-section h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
}

.menu-section h4 {
    color: #34495e;
    font-size: 16px;
    margin: 20px 0 12px;
}

/* Table Styling */
.menu-table {
    margin-bottom: 20px;
    overflow-x: auto;
}

.menu-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

.menu-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.menu-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.menu-table td:last-child {
    text-align: right;
    color: #2c3e50;
    font-weight: 500;
}

.table-note {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .menu-note {
        margin: 0 12px 20px;
        padding: 12px 16px;
    }

    .menu-sections {
        padding: 0 12px;
    }

    .menu-table {
        margin: 0 -12px;
        padding: 0 12px;
    }

    .menu-table table {
        font-size: 13px;
    }

    .menu-table th,
    .menu-table td {
        padding: 10px 8px;
    }
}

/* Gallery item visibility */
.gallery-item {
    display: none; /* Hidden by default */
}

.gallery-item.show {
    display: block; /* Show when filtered */
}

/* Reviews Modal Styling */
.review-platform-links {
    display: flex;
    justify-content: center;
    margin: 20px 0 32px;
}

.platform-button.google {
    background: #fff;
    color: #4285f4;
    border: 2px solid #4285f4;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.platform-button.google:hover {
    background: #4285f4;
    color: #fff;
}

.platform-button i {
    font-size: 18px;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    gap: 24px;
    padding: 0 16px;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.review-card:hover {
    transform: translateY(-2px);
}

.review-header {
    margin-bottom: 16px;
}

.rating {
    display: flex;
    gap: 4px;
}

.rating i {
    color: #ffc107;
    font-size: 16px;
}

.review-content {
    color: #444;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.reviewer-name {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .reviews-grid {
        gap: 16px;
        padding: 0 12px;
    }

    .review-card {
        padding: 20px;
    }

    .review-text {
        font-size: 14px;
    }

    .platform-button.google {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Larger Screens */
@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* WiFi Section Styling */
.wifi-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.wifi-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.wifi-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wifi-item .label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
}

.wifi-item .value {
    color: #3498db;
    font-family: monospace;
    font-size: 15px;
}

/* Rules List Styling */
.rules-section {
    margin-bottom: 24px;
}

.rules-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
}

.rules-section h3 i {
    color: #3498db;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rule-item i {
    color: #3498db;
    font-size: 16px;
    margin-top: 3px;
}

.rule-item p {
    margin: 0;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .wifi-section {
        padding: 16px;
        margin: 0 12px 20px;
    }

    .rules-list {
        gap: 12px;
        margin: 0 12px;
    }

    .rule-item {
        padding: 10px;
    }

    .rule-item p {
        font-size: 13px;
    }
}
