/* Custom Reservation Styles */
.reservation-banner {
    background: url('../images/banner-update-2.webp') no-repeat center center / cover;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    /* Adding a fallback background if image doesn't exist */
    background-color: #555;
    background-blend-mode: multiply;
}
.reservation-banner h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
}
.reservation-section {
    padding: 80px 0;
    background: #fdfdfd;
}
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.step-indicator .step {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    position: relative;
    transition: all 0.4s ease;
    z-index: 2;
}
.step-indicator .step.active {
    background: #3b66b4; /* Theme blue from image */
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(59, 102, 180, 0.3);
}
.step-indicator .step.completed {
    background: #3b66b4;
    color: #fff;
}
.step-indicator .line {
    height: 2px;
    width: 100px;
    background: #e9ecef;
    border: 1px dashed #ccc;
    z-index: 1;
    transition: all 0.4s ease;
}
.step-indicator .line.active {
    background: #3b66b4;
    border: 1px solid #3b66b4;
}
.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.form-step.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calendar Styles */
.calendar-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #3b66b4;
}
.calendar-header {
    background: #3b66b4;
    color: #fff;
    padding: 15px;
    border-radius: 15px 15px 0 0;
    margin: -30px -30px 20px -30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}
.calendar-header span {
    margin: 0 20px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
}
.calendar-grid .day-name {
    font-weight: bold;
    color: #555;
    padding-bottom: 10px;
}
.calendar-grid .day {
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}
.calendar-grid .day:hover {
    background: #e0e5f0;
}
.calendar-grid .day.selected {
    background: #3b66b4;
    color: #fff;
    box-shadow: 0 5px 15px rgba(59, 102, 180, 0.4);
}
.calendar-grid .day.in-range {
    background: #d4e0f9;
}
.calendar-grid .day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}
.date-inputs {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.date-inputs .form-group {
    flex: 1;
}
.date-inputs label {
    font-weight: bold;
    color: #3b66b4;
    display: block;
    margin-bottom: 10px;
}
.date-inputs input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    outline: none;
    cursor: pointer;
}
.date-inputs input.date-input {
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23666" class="bi bi-calendar-event" viewBox="0 0 16 16"><path d="M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z"/><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>') no-repeat right 15px center;
}
.date-inputs input.time-input {
    background: #fff;
}
.next-btn-wrapper {
    display: flex;
    align-items: flex-end;
}
.next-btn {
    background: #3b66b4;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    font-weight: bold;
    height: 48px;
}
.next-btn:hover:not(:disabled) {
    background: #2a4b8a;
    box-shadow: 0 5px 15px rgba(42, 75, 138, 0.4);
}
.next-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Styles */
.reservation-form h3 {
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
}
.form-control-custom {
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    transition: 0.3s;
}
.form-control-custom:focus {
    border-color: #3b66b4;
    box-shadow: 0 0 0 0.2rem rgba(59, 102, 180, 0.25);
    outline: none;
}
.reservation-form label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    display: block;
}
.btn-group-custom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.btn-back {
    background: #e9ecef;
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.btn-back:hover {
    background: #ced4da;
}

/* Summary Styles */
.summary-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}
.summary-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}
.summary-item strong {
    color: #3b66b4;
}
.summary-total {
    text-align: right;
    margin-top: 20px;
}
.summary-total h4 {
    color: #333;
    font-weight: bold;
    font-size: 1.5rem;
}
.summary-total h4 span {
    color: #28a745;
}

/* Confirmation Styles */
.confirmation-box {
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.confirmation-box i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounceIn 1s;
}
@keyframes bounceIn {
    0% { transform: scale(0.1); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}
.confirmation-box h3 {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}
.confirmation-box p {
    color: #666;
    font-size: 1.1rem;
}

/* Resort Selection Cards */
.resort-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.resort-card {
    cursor: pointer;
    margin: 0;
}
.resort-card input[type="radio"] {
    display: none;
}
.resort-card-content {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.resort-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.resort-card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(59, 102, 180, 0);
    transition: 0.3s;
}
.resort-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.resort-card:hover .resort-card-content {
    border-color: #aec4eb;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.resort-card input[type="radio"]:checked + .resort-card-content {
    border-color: #3b66b4;
    background: #f0f4fc;
    box-shadow: 0 10px 25px rgba(59, 102, 180, 0.2);
    transform: translateY(-5px);
}
.resort-card input[type="radio"]:checked + .resort-card-content .resort-card-image::after {
    background: rgba(59, 102, 180, 0.2);
}
.resort-card input[type="radio"]:checked + .resort-card-content::after {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    color: #3b66b4;
    background: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 2;
}
.resort-header {
    margin-bottom: 15px;
}
.resort-header h4 {
    color: #333;
    font-weight: bold;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}
.resort-header .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #3b66b4;
    background: #e6edfa;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}
.resort-features {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    flex: 1;
}
.resort-features li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.resort-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b66b4;
    font-weight: bold;
    font-size: 1.2rem;
    top: -2px;
}

/* Summary Image */
.summary-image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


