/* Room Section Container */
.room__container {
    padding: 60px 0;
    text-align: center;
}

.room__header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.room__header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 50px;
}

/* Room Grid */
.room__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.room__card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.room__details {
    padding: 20px;
}

.room__details h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.room__details p {
    color: #777;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.room__details h5 {
    color: #007bff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.room__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.room__actions .btn {
    padding: 10px 15px;
    font-size: 0.875rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.room__actions .btn-primary {
    background-color: #007bff;
    color: #fff;
}
.room__details p {
    text-align: center;
}
.room__actions .btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.room__actions .btn:hover {
    opacity: 0.8;
}

/* Media Queries for Responsiveness */

/* For tablets (2 columns) */
@media (max-width: 991px) {
    .room__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For mobile phones (1 column) */
@media (max-width: 767px) {
    .room__grid {
        grid-template-columns: 1fr;
    }

    .room__header h2 {
        font-size: 2rem;
    }

    .room__header p {
        font-size: 0.9rem;
    }

    .room__details h5 {
        font-size: 1.1rem;
    }

    .room__details p {
        font-size: 0.8rem;
    }

    .room__actions .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}


/* Room Card Styling */
.room-card {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    position: relative;
    align-items: center;
    justify-content: space-between; /* Space between elements */
}

.room-image {
    position: relative;
    width: 30%; /* Reduced width to make space for price and button */
}

.room-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.room-image .badge {
    top: 10px;
    left: 10px;
    padding: 8px 12px;
    background-color: #17a2b8;
    color: white;
    font-size: 0.85rem;
}

.room-info {
    width: 70%; /* Adjusted width to accommodate content */
    padding-left: 20px;
}

.room-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.room-info p {
    margin: 5px 0;
}

.amenities {
    margin-top: 10px;
    font-size: 0.9rem;
}

.info-price-booking {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.room-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0056b3;
    white-space: nowrap; /* Ensures the price stays on one line */
}

.btn-primary {
    background-color: #0056b3;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #004a9a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .room-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-price-booking {
        flex-direction: column;
        align-items: flex-start;
    }

    .room-price, .btn-primary {
        margin-top: 10px;
        width: 100%;
    }

    .room-image, .room-info {
        width: 100%;
    }
}
/* transitions */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 3s forwards;
}

/* Animation keyframes */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Cart CSS */
.ui-w-40 {
    width: 180px !important;
    height: auto;
  }
  
  .card{
    box-shadow: 0 1px 15px 1px rgba(52,40,104,.08);    
  }
  
  .ui-product-color {
    display: inline-block;
    overflow: hidden;
    margin: .144em;
    width: .875rem;
    height: .875rem;
    border-radius: 10rem;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
    vertical-align: middle;
  }
  /* Cart CSS */
  .cart-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th, .cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-table th {
    font-size: 18px;
}

.cart-table td img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    margin-right: 15px;
}

.room-details {
    display: flex;
    align-items: center;
}

.room-info h3 {
    font-size: 18px;
    margin: 0;
}

.room-info p {
    margin: 5px 0 0;
    color: #666;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-actions button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cart-actions .checkout-btn {
    background-color: #007bff;
    color: #fff;
}

.cart-actions button:hover {
    opacity: 0.9;
}

   /* form booking */
   body {
    background-color: #f0f4f8;
}
.booking-form {
    background-color: #1a1a2e;
    padding: 30px;
    color: #fff;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.booking-form h3 {
    color: #f9f9f9;
    font-weight: bold;
    margin-bottom: 20px;
}
.booking-form .form-control {
    margin-bottom: 10px;
    border-radius: 8px;
}
.check-btn {
    background-color: #2190da;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    padding: 12px 24px;
}
.check-btn:hover {
    background-color: #0099ff;
}
/* Room */

/* Prfolie CSS */
