/* Bookings Page Specific Styles */

/* Override container width for bookings dashboard */
.container {
    max-width: 1200px;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Page Sections */
.section {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Main Calendar Container */
.calendar-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.calendar-embed {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    background: #f8f9fa;
}

/* Room Cards Grid */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.room-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Room Card Header */
.room-header {
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.room-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.room-features {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Room Title Links */
.room-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.room-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Room Images - FIXED */
.room-thumbnail {
    width: 100%;
    height: 250px; /* Increased height */
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.room-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows full image without cropping */
    object-position: center;
    background: white;
    transition: transform 0.3s ease;
}

/* Subtle hover effect on images */
.room-card:hover .room-thumbnail img {
    transform: scale(1.02); /* Subtle zoom instead of 1.05 */
}

/* Remove the gradient overlay that was making images ugly */
.room-thumbnail::before {
    display: none; /* Disable the overlay */
}

/* Room Calendar Section */
.room-calendar {
    padding: 20px;
}

.room-calendar iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    background: #f8f9fa;
}

/* Staff Authentication Notice */
.auth-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out forwards;
}

.auth-notice h3 {
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-notice p {
    opacity: 0.9;
    font-weight: 300;
}

/* Quick Action Buttons */
.quick-actions {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out forwards;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 10px;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Staggered Animation Delays */
.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }

.room-card:nth-child(1) { animation-delay: 0.1s; }
.room-card:nth-child(2) { animation-delay: 0.2s; }
.room-card:nth-child(3) { animation-delay: 0.3s; }
.room-card:nth-child(4) { animation-delay: 0.4s; }
.room-card:nth-child(5) { animation-delay: 0.5s; }
.room-card:nth-child(6) { animation-delay: 0.6s; }
.room-card:nth-child(7) { animation-delay: 0.7s; }
.room-card:nth-child(8) { animation-delay: 0.8s; }
.room-card:nth-child(9) { animation-delay: 0.9s; }

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .section h2 {
        font-size: 1.75rem;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calendar-embed {
        height: 500px;
    }

    .room-calendar iframe {
        height: 350px;
    }

    .calendar-container {
        padding: 20px;
    }

    .btn {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .room-thumbnail {
        height: 200px; /* Smaller on mobile */
    }
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);  /* 50% transparent */
    color: #333;
    border: none;
    font-size: 2.5rem;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.7);  /* 70% on hover */
    transform: translateY(-50%) scale(1.1);
}