/* Modern Booking Page - tuned to match Anne Band site */
:root {
    --primary-color: #0f0606;
    --secondary-color: #ff6b6b;
    --accent-color: #ff6b6b;
    --success-color: #1db954;
    --text-primary: #111111;
    --text-secondary: #7f8c8d;
    --text-light: #ffffff;
    --bg-light: #0f0606;
    --bg-card: rgba(12, 5, 5, 0.96);
    --border-color: rgba(255, 255, 255, 0.18);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-medium: 0 12px 30px rgba(0, 0, 0, 0.6);
    --shadow-heavy: 0 22px 70px rgba(0, 0, 0, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Special Elite', cursive;
    background: #0f0606;
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Elements */
.book-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: url('../../assets/book_picture.png') center/cover no-repeat;
    z-index: 0;
}

.book-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, 
        rgba(15,6,6,0.85) 0%, 
        rgba(26,26,26,0.8) 50%, 
        rgba(15,6,6,0.9) 100%);
    backdrop-filter: blur(8px);
    z-index: 1;
}

/* Header */
.book-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(15, 6, 6, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.return-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.return-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.header-logo .logo-mini {
    height: 35px;
    filter: brightness(1.2);
}

/* Main Content */
.book-main {
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Booking Header */
.booking-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.booking-title {
    font-family: 'Special Elite', cursive;
    font-size: 3.2rem;
    color: var(--text-light);
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.booking-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    font-weight: 300;
    max-width: 540px;
    margin-inline: auto;
}

/* Progress Indicator */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #ffd56b);
    border-radius: 2px;
    width: 25%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.step.active {
    color: var(--text-light);
}

.step i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.step.active i {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Form Container */
/* Contact Card */
.contact-card {
    background: rgba(10, 4, 4, 0.96);
    border-radius: 18px;
    padding: 32px 32px 26px 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card-main {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-heading {
    font-family: 'Special Elite', cursive;
    font-size: 2rem;
    margin-bottom: 8px;
}

.contact-lead {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.contact-highlight {
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 18px;
}

.contact-info-block h3 {
    font-family: 'Special Elite', cursive;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.6);
    margin: 10px 0 4px 0;
}

.contact-link {
    display: inline-block;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #ffd56b;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    font-size: 0.98rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.contact-socials a {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.contact-socials a i {
    font-size: 1rem;
    color: #ff6b6b;
}

.contact-socials a:hover {
    color: #ff6b6b;
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.contact-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6b6b;
}

.contact-note {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-family: 'Special Elite', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Input Groups */
.input-group {
    margin-bottom: 25px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-wrapper, .textarea-wrapper, .select-wrapper {
    position: relative;
}

.input-wrapper input,
.textarea-wrapper textarea,
.select-wrapper select {
    width: 100%;
    padding: 18px 50px 18px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

/* Remove default red styling for untouched required fields */
.input-wrapper input:invalid:not(:focus):not(:touched),
.textarea-wrapper textarea:invalid:not(:focus):not(:touched),
.select-wrapper select:invalid:not(:focus):not(:touched) {
    border-color: var(--border-color);
    box-shadow: none;
}

/* Only show validation styling after user interaction */
.input-wrapper input:invalid:focus,
.input-wrapper input:invalid.touched,
.textarea-wrapper textarea:invalid:focus,
.textarea-wrapper textarea:invalid.touched,
.select-wrapper select:invalid:focus,
.select-wrapper select:invalid.touched {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Adjust padding for date and time inputs since they don't have custom icons */
input[type="date"],
input[type="time"] {
    padding: 18px 18px 18px 18px !important;
}

.input-wrapper input:focus,
.textarea-wrapper textarea:focus,
.select-wrapper select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.floating-label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper input:focus + .floating-label,
.input-wrapper input:not(:placeholder-shown) + .floating-label,
.textarea-wrapper textarea:focus + .floating-label,
.textarea-wrapper textarea:not(:placeholder-shown) + .floating-label {
    top: 0;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Specific styling for select elements */
.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 50px;
    cursor: pointer;
    border: 2px solid var(--border-color) !important;
}

.select-wrapper select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1) !important;
}

.select-wrapper select:invalid:not(:focus):not(.touched) {
    border-color: var(--border-color) !important;
    box-shadow: none !important;
    color: #9ca3af;
}

.select-wrapper select:valid {
    color: var(--text-primary);
    border-color: var(--border-color);
}

.select-wrapper select:focus {
    color: #9ca3af;
}

.select-wrapper select option:first-child {
    color: #9ca3af;
}

.select-wrapper select option:not(:first-child) {
    color: var(--text-primary);
}

/* Hide browser default validation messages */
.select-wrapper select:invalid {
    box-shadow: none !important;
}

.select-wrapper select:focus:invalid {
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1) !important;
}

/* Prevent default browser validation tooltips */
.select-wrapper select {
    position: relative;
}

.select-wrapper select:invalid:not(:focus):not(.touched)::after {
    display: none !important;
}

/* Ensure select dropdown appears above floating label */
.select-wrapper {
    position: relative;
    z-index: 10;
}

/* Special floating label behavior for select */
.select-wrapper .floating-label {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.select-wrapper select:focus + .floating-label,
.select-wrapper select:valid + .floating-label {
    opacity: 1;
    visibility: visible;
    top: 0;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Hide the Font Awesome icon for select since we're using custom dropdown arrow */
.select-wrapper .input-icon {
    display: none;
}

/* Hide Font Awesome icons for date and time inputs to avoid duplication with browser icons */
input[type="date"] + .floating-label + .input-highlight + .input-icon,
input[type="time"] + .floating-label + .input-highlight + .input-icon,
.input-wrapper:has(input[type="date"]) .input-icon,
.input-wrapper:has(input[type="time"]) .input-icon {
    display: none;
}

/* Alternative approach for older browsers that don't support :has() */
.input-wrapper input[type="date"] ~ .input-icon,
.input-wrapper input[type="time"] ~ .input-icon {
    display: none;
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    z-index: 10;
    transition: color 0.3s ease;
}

.input-wrapper input:focus ~ .input-icon,
.textarea-wrapper textarea:focus ~ .input-icon,
.select-wrapper select:focus ~ .input-icon {
    color: var(--accent-color);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.input-wrapper input:focus ~ .input-highlight,
.textarea-wrapper textarea:focus ~ .input-highlight,
.select-wrapper select:focus ~ .input-highlight {
    width: 100%;
}

/* Textarea Specific */
.textarea-wrapper textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 18px;
}

.textarea-wrapper .floating-label {
    top: 30px;
}

.textarea-wrapper textarea:focus + .floating-label,
.textarea-wrapper textarea:not(:placeholder-shown) + .floating-label {
    top: 0;
}

/* Checkbox Styling */
.checkbox-group h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark:after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Review Container */
.review-container {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: var(--text-primary);
}

.review-value {
    color: var(--text-secondary);
    text-align: right;
    max-width: 60%;
}

/* Terms Agreement */
.terms-agreement {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.terms-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 15px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.btn-success {
    background: var(--success-color);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-success:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.success-modal {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-heavy);
    animation: modalAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-modal h2 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: 'Special Elite', cursive;
}

.success-modal p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-title {
        font-size: 2.4rem;
    }
    
    .booking-subtitle {
        font-size: 0.98rem;
    }

    .contact-card {
        padding: 28px 22px 24px 22px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .booking-container {
        padding: 20px 15px;
    }
    
    .book-header {
        padding: 15px 20px;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .booking-title {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .success-modal {
        padding: 30px 25px;
    }
}