@charset "UTF-8";

/* ================================
   MODERN ROOM DETAILS GALLERY
   Using Lightgallery
   ================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #1f2937;
    --gray: #6b7280;
--light: #f3f4f6;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================
   GALLERY SECTION
   ================================ */

.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Main Gallery Wrapper */
.main-gallery-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 7 / 6;
 background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.main-gallery-wrapper:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.lg-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-container a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: var(--transition);
}

.lg-container a.active-main,
.lg-container a:first-child {
 opacity: 1;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.gallery-img:hover {
    filter: brightness(1.05);
}

/* No Image Placeholder */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
  flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray);
}

.no-image-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
}

.no-image-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Gallery Overlay Controls */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 20;
}

.main-gallery-wrapper:hover .gallery-overlay {
  opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.2);
}

/* Navigation Buttons (Prev/Next) */
.nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
}

.prev-btn {
    left: 1.5rem;
}

.next-btn {
    right: 1.5rem;
}

.nav-btn:hover {
  background: #ffffff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Gallery Buttons */
.gallery-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    font-size: 1.25rem;
cursor: pointer;
    display: flex;
    align-items: center;
  justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    position: absolute;
}

.zoom-btn {
    top: 1.5rem;
    right: 1.5rem;
}

.fullscreen-btn {
    top: 1.5rem;
  right: 5.5rem;
}

.gallery-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.gallery-btn:active {
    transform: scale(0.95);
}

.gallery-btn.active-btn {
    background: var(--primary);
    color: white;
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 1.5rem;
 left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
  color: white;
    padding: 0.75rem 1.25rem;
  border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navigation Dots */
.nav-dots {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.4);
}

.dot.active-dot {
    background: white;
    border-color: white;
    transform: scale(1.3);
 box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.thumbnail-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
}

.thumbnail-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-scroll::-webkit-scrollbar-track {
  background: var(--light);
    border-radius: 10px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.thumbnail-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
    background: var(--light);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.thumbnail-item:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition);
}

.thumbnail-item:hover .thumb-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active-thumb {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ================================
ROOM DETAILS SECTION
   ================================ */

.room-details-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Room Header */
.room-header {
    border-bottom: 2px solid var(--light);
    padding-bottom: 1.5rem;
}

.room-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.room-number {
  color: var(--gray);
    font-size: 0.95rem;
}

.room-number strong {
    color: var(--primary);
    font-weight: 600;
}

/* Features Section */
.features-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f0f7ff 0%, #dbeafe 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-item.price-feature {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    border: none;
}

.feature-item.price-feature:hover {
  box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
 width: 44px;
    height: 44px;
    border-radius: 10px;
    background: white;
    color: var(--primary);
display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-item.price-feature .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-label {
font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    opacity: 0.8;
}

.feature-item.price-feature .feature-label {
 color: rgba(255, 255, 255, 0.8);
}

.feature-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.feature-item.price-feature .feature-value {
    color: white;
}

.feature-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.feature-unit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ================================
   DESCRIPTION & SECTIONS
   ================================ */

.description-section {
padding: 1.25rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.section-title {
  font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-text {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.roomtype-section {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.roomtype-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Subsection */
.subsection {
    margin-bottom: 1rem;
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subsection-title i {
    color: var(--primary);
}

/* Badges Container */
.badges-container {
    display: flex;
 flex-wrap: wrap;
    gap: 0.75rem;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.badge-custom:hover {
    background: var(--light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge-custom i {
    color: var(--success);
    font-weight: 700;
}

/* ================================
   RESERVATION FORM
   ================================ */

.reservation-card {
    padding: 1.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.reservation-card .section-title {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
 display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Price Summary */
.price-summary {
    background: white;
  padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--dark);
    font-weight: 500;
}

.price-row:not(:last-child) {
 border-bottom: 1px solid var(--light);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
}

.price-label {
    color: var(--gray);
    font-weight: 500;
}

.price-value {
  color: var(--success);
    font-weight: 700;
    font-size: 1rem;
}

.price-row.total-row {
    padding-top: 0.75rem;
    border: none;
}

.price-row.total-row .price-label {
    font-weight: 700;
    color: var(--dark);
}

.price-row.total-row .total-price {
    font-size: 1.5rem;
    color: var(--success);
}

/* Reserve Button */
.btn-reserve {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.btn-reserve:hover {
    transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-reserve:active {
    transform: translateY(0);
}

.btn-reserve i {
    font-size: 1.1rem;
}

/* ================================
   LIGHTGALLERY CUSTOMIZATIONS
   ================================ */

.lg-outer {
    background: rgba(0, 0, 0, 0.95) !important;
}

.lg-backdrop {
    background: rgba(0, 0, 0, 0.95) !important;
}

.lg-thumb-item {
    height: 80px !important;
}

.lg-thumb-item img {
    border-radius: 8px !important;
}

.lg-toolbar {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px) !important;
}

.lg-toolbar .lg-icon {
    color: white !important;
    font-size: 1.25rem !important;
}

.lg-toolbar .lg-icon:hover {
    color: var(--primary) !important;
}

.lg-counter {
    color: white !important;
    font-weight: 600 !important;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-item.price-feature {
        grid-column: 1;
  }

    .room-name {
        font-size: 1.5rem;
    }

    .main-gallery-wrapper {
    aspect-ratio: 4 / 3;
    }

    .nav-dots {
    display: none;
    }

    .thumbnail-item {
        width: 70px;
     height: 70px;
    }

  .gallery-btn {
     width: 40px;
        height: 40px;
    font-size: 1rem;
    }

    .zoom-btn {
        right: 1rem;
        top: 1rem;
  }

    .fullscreen-btn {
  right: 4rem;
   top: 1rem;
    }
}

@media (max-width: 576px) {
    .room-details-card {
        padding: 1.5rem;
    }

 .main-gallery-wrapper {
        border-radius: 12px;
        aspect-ratio: 3 / 2;
    }

    .image-counter {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .feature-item {
     padding: 1rem;
    }

    .thumbnail-scroll {
        gap: 0.5rem;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .reservation-card {
        padding: 1.5rem;
    }

    .btn-reserve {
        padding: 0.875rem;
   font-size: 0.95rem;
    }
}
