/* Public styles for Artis Resort Booking */
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;700;900&display=swap');

.artis-resort-room-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 25px; 
    padding: 20px 0;
    font-family: 'Geologica', sans-serif;
}

.artis-resort-room-card { 
    background: #ffffff; 
    border-radius: 32px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
}

.artis-resort-room-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.12); 
}

.room-image { 
    position: relative; 
    height: 240px; 
    overflow: hidden;
}

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

.artis-resort-room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-price-badge { 
    position: absolute; 
    bottom: 20px; 
    right: 20px; 
    background: #161616; 
    color: #fff; 
    padding: 12px 20px; 
    border-radius: 20px; 
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.price-val { font-size: 20px; }
.price-label { font-size: 10px; color: #FF070B; text-transform: uppercase; margin-top: 4px; }

.room-details { padding: 30px; }

.room-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
}

.room-header h3 { 
    margin: 0; 
    font-size: 22px; 
    font-weight: 900; 
    color: #161616;
    letter-spacing: -0.5px;
}

.room-capacity {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.room-desc { 
    color: #64748b; 
    font-size: 14px; 
    line-height: 1.6;
    margin-bottom: 25px;
}

.room-footer {
    display: flex;
    justify-content: center;
}

.artis-resort-book-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    background: #780316; 
    color: #fff !important; 
    text-decoration: none !important; 
    padding: 16px 30px; 
    border-radius: 18px; 
    font-weight: 900; 
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(120, 3, 22, 0.2);
    border: none;
    cursor: pointer;
}

.artis-resort-book-btn:hover { 
    background: #FF070B; 
    transform: scale(1.02);
    box-shadow: 0 12px 20px rgba(255, 7, 11, 0.3);
}

/* Slider Overrides */
.artis-resort-room-slider {
    padding-bottom: 50px;
}

/* Single Room Page Injection */
.artis-resort-book-now-wrapper {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid #e9ecef;
}

/* Checkout Page Styles */
.artis-resort-checkout {
    padding: 40px 0;
    font-family: 'Geologica', sans-serif;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.checkout-form-side {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.checkout-form-side h3 {
    margin: 0 0 25px 0;
    font-weight: 900;
    color: #161616;
}

.form-row {
    margin-bottom: 20px;
}

.form-row input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-row input:focus {
    border-color: #780316;
    outline: none;
    box-shadow: 0 0 0 4px rgba(120, 3, 22, 0.1);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #e1e2e6;
}

.payment-method input[type="radio"]:checked + span {
    color: #780316;
    font-weight: 700;
}

.payment-method:has(input:checked) {
    background: #fff;
    border-color: #780316;
    box-shadow: 0 4px 12px rgba(120, 3, 22, 0.1);
}

.artis-resort-confirm-btn {
    width: 100%;
    background: #780316;
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 18px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.artis-resort-confirm-btn:hover {
    background: #FF070B;
    transform: translateY(-2px);
}

.checkout-summary-side .summary-card {
    background: #161616;
    color: #fff;
    padding: 40px;
    border-radius: 24px;
    position: sticky;
    top: 40px;
}

.summary-card h3 {
    margin: 0 0 25px 0;
    font-weight: 900;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}

.summary-item.total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 28px;
    font-weight: 900;
    color: #FF070B;
}

@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}
