.gallery-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-main-image {
    position: relative;
    grid-row: 1 / -1;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.room-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.badge-price {
    background: #142b1c;
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-price small {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 400;
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 3;
    transition: transform 0.3s ease;
}

.gallery-main-image:hover .gallery-zoom {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-zoom a {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.gallery-zoom a:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-secondary-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #f5f5f5;
}

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

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay a {
    transform: scale(1);
}

/* Creative Tabs */
.creative-tabs {
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 30px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.creative-tabs .nav-link {
    border: none;
    padding: 15px 25px;
    font-weight: 500;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
    font-size: 15px;
}

.creative-tabs .nav-link::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.creative-tabs .nav-link.active {
    color: #111;
}

.creative-tabs .nav-link.active::before,
.creative-tabs .nav-link:hover::before {
    width: 60%;
}

.creative-tab-content {
    padding: 30px;
    background: white;
    border: 1px solid #f0f0f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Room Description */
.room-description .description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.room-description .description-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.room-type-badge {
    background: #f5f5f5;
    color: #333;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-text {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    border-left: 3px solid #ddd;
    padding-left: 25px;
    margin-bottom: 25px;
    font-style: italic;
}

/* Quick Facts */
.fact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.fact-item:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.fact-item i {
    font-size: 22px;
    color: #333;
    margin-right: 15px;
    opacity: 0.7;
}

.fact-content h5 {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fact-content span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Amenities Grid */
.amenity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.amenity-item:hover {
    background: white;
    border-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.amenity-item i {
    color: #333;
    margin-right: 12px;
    font-size: 16px;
    opacity: 0.6;
}

.amenity-item span {
    font-size: 15px;
    color: #444;
}

/* Room Details List */
.room-details-list .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.room-details-list .detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #666;
    font-size: 15px;
}

.detail-value {
    font-weight: 600;
    color: #333;
    background: #fafafa;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
}

/* Booking Card */
.booking-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: sticky;
    top: 20px;
    border: 1px solid #f0f0f0;
}

.booking-card-header {
    background: #142b1c;
    color: white;
    padding: 30px;
    text-align: center;
}

.booking-card-header h3 {
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 22px;
}

.price-tag {
    font-size: 32px;
    font-weight: 700;
}

.price-tag .currency {
    font-size: 20px;
    vertical-align: super;
    opacity: 0.7;
}

.price-tag .period {
    font-size: 15px;
    opacity: 0.7;
    font-weight: 400;
}

.booking-card-body {
    padding: 30px;
}

.booking-card-body .form-group {
    margin-bottom: 20px;
}

.booking-card-body label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.booking-card-body label i {
    margin-right: 5px;
}

.booking-card-body .form-control {
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.booking-card-body textarea.form-control {
    height: auto;
}

.booking-card-body .form-control:focus {
    background: white;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    outline: none;
}

.btn-dark {
    background: #111;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-dark:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Price Breakdown */
.price-breakdown {
    font-size: 14px;
    color: #666;
}

.price-breakdown hr {
    border-color: #f0f0f0;
}

.total-price {
    font-size: 16px;
    color: #111;
}

.price-preview {
    transition: all 0.3s ease;
}

.review-summary {
    text-align: center;
    padding: 30px;
}

.review-rating h2 {
    font-size: 48px;
    color: #111;
    margin-bottom: 10px;
    font-weight: 700;
}

.stars {
    margin: 15px 0;
}

.stars i {
    color: #ffc107;
    font-size: 20px;
    margin: 0 2px;
}

.review-rating p {
    font-size: 14px;
    color: #999;
}

/* Alert Styles */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 200px 200px;
    }

    .gallery-main-image {
        grid-row: 1;
    }

    .creative-tabs .nav-link {
        padding: 12px 18px;
        font-size: 14px;
    }

    .booking-card {
        position: relative;
        top: 0;
        margin-top: 30px;
    }

    .room-description .description-header h3 {
        font-size: 24px;
    }

    .creative-tab-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .gallery-secondary-images {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .creative-tabs {
        flex-direction: column;
        gap: 0;
    }

    .creative-tabs .nav-link {
        border-radius: 4px;
        margin-bottom: 5px;
    }

    .creative-tabs .nav-link::before {
        display: none;
    }

    .creative-tabs .nav-link.active {
        background: #f5f5f5;
    }
}
