/* Reservation Page Styles - Modern Redesign */

.reservation-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 60%, #3B82F6 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

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

.reservation-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.reservation-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
    animation: slideInUp 1s ease-out 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reservation-form-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F9FAFB 0%, #ffffff 100%);
    position: relative;
}

.reservation-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: relative;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.form-header {
    background: linear-gradient(135deg, #3B82F6, #6366F1);
    color: white;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 15s linear infinite;
}

.form-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.form-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    font-weight: 300;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 40px;
    background: rgba(59, 130, 246, 0.05);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.progress-step.active {
    color: #3B82F6;
    font-weight: 600;
}

.progress-step.completed {
    color: #22c55e;
}

.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #3B82F6;
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-circle {
    background: #22c55e;
    color: white;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.progress-line.completed {
    background: #22c55e;
}

.reservation-form {
    padding: 50px;
}

.form-section {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    position: relative;
}

.form-section h3::before {
    content: '';
    width: 5px;
    height: 25px;
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    margin-right: 15px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 1);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: #3B82F6;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '⚠';
    font-size: 0.8rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-group > label {
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.checkbox-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.checkbox-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.checkbox-item:hover::before {
    left: 100%;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #3B82F6;
    border-radius: 4px;
}

.checkbox-item input[type="checkbox"]:checked + label {
    color: #3B82F6;
    font-weight: 600;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.file-upload {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
}

.file-upload:hover {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.02);
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    pointer-events: none;
    color: #64748b;
}

.file-upload-text span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.file-upload-text small {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-submit {
    text-align: center;
    padding: 40px 0 20px;
}

.submit-btn {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #64748b;
    font-style: italic;
}

.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Animation delays for form sections */
.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }
.form-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .reservation-hero {
        padding: 100px 0 60px;
        min-height: 50vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .reservation-form-section {
        padding: 60px 0;
    }

    .form-wrapper {
        margin: 0 20px;
        border-radius: 20px;
    }

    .form-header {
        padding: 30px 20px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .reservation-form {
        padding: 30px 20px;
    }

    .form-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-item {
        padding: 12px 16px;
    }

    .submit-btn {
        padding: 16px 40px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .progress-indicator {
        padding: 20px;
    }

    .progress-steps {
        gap: 10px;
    }

    .progress-step {
        font-size: 0.8rem;
    }

    .step-circle {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .progress-line {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-header h2 {
        font-size: 1.8rem;
    }

    .form-section h3 {
        font-size: 1.3rem;
    }

    .reservation-form {
        padding: 20px;
    }

    .form-header {
        padding: 25px 20px;
    }

    .form-wrapper {
        margin: 0 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .reservation-form-section {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }

    .form-wrapper {
        background: rgba(30, 41, 59, 0.95);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .form-section {
        background: rgba(51, 65, 85, 0.7);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .form-section h3 {
        color: #f1f5f9;
    }

    .form-group label {
        color: #cbd5e1;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(255, 255, 255, 0.1);
        color: #f1f5f9;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: rgba(30, 41, 59, 1);
    }

    .checkbox-item {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .checkbox-item:hover {
        background: rgba(59, 130, 246, 0.1);
    }

    .checkbox-item label {
        color: #cbd5e1;
    }

    .file-upload {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .file-upload-text {
        color: #94a3b8;
    }

    .file-upload-text span {
        color: #cbd5e1;
    }

    .form-note {
        color: #94a3b8;
    }

    .progress-indicator {
        background: rgba(59, 130, 246, 0.1);
    }
} 