/* Reservation Hero Section */
.reservation-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-image: url('/img/2020-10-06.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.reservation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.reservation-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.reservation-hero h1, .reservation-hero .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: white !important;
}

/* Reservation Card */
.reservation-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

/* Form Styling */
.form-label {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
}

/* Info Boxes */
.info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.info-box i {
    color: var(--primary-color);
}

.info-box h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Date Picker Customization */
input[type="date"] {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 10px;
    cursor: pointer;
    filter: invert(51%) sepia(85%) saturate(2878%) hue-rotate(346deg) brightness(86%) contrast(94%);
}

/* Phone Input */
input[type="tel"] {
    letter-spacing: 0.5px;
}

/* Checkbox Styling */
.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.btn-primary.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Confirmation Modal */
.modal-header.bg-success {
    background-color: var(--primary-color) !important;
}

.reservation-summary {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
}

.reservation-summary h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.reservation-summary .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.reservation-summary .detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Time Slots */
.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.time-slot {
    padding: 0.75rem;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background-color: var(--light-color);
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.time-slot.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Loading State */
.form-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success Animation */
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.success-icon {
    color: #28a745;
    font-size: 4rem;
    animation: successPulse 1s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .reservation-card {
        padding: 2rem 1.5rem;
    }
    
    .reservation-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .btn-primary.btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .time-slot-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Print Styles */
@media print {
    .navbar, footer, .hero-section {
        display: none !important;
    }
    
    .reservation-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 