/**
 * Calendar Room CSS
 * Beautiful styling for room details, image slider, and room-related components
 */

/* Enhanced Room Details Container */
.enhanced-room-details {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

/* Gallery Section */
.room-gallery-section {
    margin-bottom: 30px;
}

.gallery-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.gallery-icon {
    margin-right: 8px;
}

/* Room Image Display */
.room-image-display {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.slide-simple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    transition: all 0.3s ease;
}

.slide-simple.active {
    display: block;
}

.room-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.room-detail-image:hover {
    transform: scale(1.02);
}

/* No Images State */
.no-images {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.no-images-icon {
    font-size: 4em;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.no-images-text {
    color: #7f8c8d;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* Slider Navigation */
.slider-navigation {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nav-button {
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    transform: translateY(0);
    color: white;
}

.nav-prev {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.nav-prev:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.nav-next {
    background: linear-gradient(135deg, #4ecdc4, #1dd1a1);
    box-shadow: 0 4px 15px rgba(29, 209, 161, 0.3);
}

.nav-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 209, 161, 0.4);
}

.nav-arrow {
    font-size: 12px;
}

.slide-counter {
    margin: 0 20px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Dots Navigation */
.dots-navigation {
    text-align: center;
    margin-top: 15px;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #bdc3c7;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(189, 195, 199, 0.3);
    transform: scale(1);
}

.dot:hover {
    background: #95a5a6;
    transform: scale(1.1);
}

.dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
    transform: scale(1.2);
}

/* Room Information Grid */
.room-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .room-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Info Cards */
.info-card {
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    color: white;
}

.basic-info {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
}

.pricing-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.info-title {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.info-icon {
    margin-right: 10px;
}

.info-content {
    space-y: 12px;
}

.info-row {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

/* Pricing Specific Styles */
.price-main {
    text-align: center;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.price-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-period {
    font-size: 14px;
    opacity: 0.9;
}

.price-extras {
    font-size: 13px;
}

.price-extra {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.price-value {
    font-weight: 600;
}

/* Room Description */
.room-description-section {
    margin-top: 35px;
}

.description-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.description-icon {
    margin-right: 8px;
}

.description-content {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(252, 182, 159, 0.3);
    line-height: 1.6;
    font-size: 16px;
    color: #2c3e50;
}

/* Booking CTA */
.booking-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
}

.book-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    transform: translateY(0);
}

@media (hover: hover) {
    .book-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    }
}

.book-icon {
    margin-right: 8px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .room-image-display {
        height: 300px;
    }

    .slider-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .nav-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .slide-counter {
        margin: 0;
        font-size: 14px;
    }

    .info-card {
        padding: 20px;
    }

    .price-amount {
        font-size: 24px;
    }

    .book-button {
        padding: 15px 35px;
        font-size: 16px;
    }
}

/* Animation for modal entrance */
.enhanced-room-details {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Occupancy ring */
td.calendar-day {
    position: relative;
}

.occ-ring {
    display: block;
    transition: opacity 0.2s;
}

td.calendar-day.past .occ-ring,
td.calendar-day.fully-booked .occ-ring {
    opacity: 0.5;
}

@media (hover: hover) {
    td.calendar-day:hover .occ-ring {
        opacity: 1;
    }
}

/* Touch feedback za dugmad */
@media (hover: none) {
    .book-button:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
    .nav-button:active {
        transform: scale(0.95);
    }
}
