/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e1e5e9;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.header-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 500;
}

.header-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.7;
}

.credentials {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.credentials p {
    margin: 0;
    font-weight: 500;
}

.credentials i {
    margin-right: 8px;
    color: #ffd700;
}

/* Main Content */
.main-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.booking-form {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.form-section:nth-child(2) {
    animation-delay: 0.1s;
}

.form-section:nth-child(3) {
    animation-delay: 0.2s;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e1e5e9;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation: slideIn 0.8s ease-out;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.4s ease-out;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #b0b0b0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #2a2a3e;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(42, 42, 62, 0.8);
    color: #e1e5e9;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    background: rgba(42, 42, 62, 1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #808080;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.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;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

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

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: #1a1a2e;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    margin-bottom: 20px;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 15px;
    animation: bounceIn 0.6s ease-out;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: #e1e5e9;
    margin-bottom: 10px;
}

.modal-content p {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-close-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

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

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 50px;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 30px 20px;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .booking-form {
        padding: 30px 20px;
    }
    
    .form-section {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
    }
    
    .success-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 1.8rem;
    }
    
    .header-description {
        font-size: 1rem;
    }
    
    .credentials {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .booking-form {
        padding: 25px 15px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}

/* Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation Styles */
.form-input.error,
.form-select.error {
    border-color: #f5576c;
    box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.2);
}

.error-message {
    color: #f5576c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
} 