/* ========================================
   VLO Photography - Booking System Styles
   ======================================== */

/* === Booking Header === */
.booking-header {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(44, 62, 80, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23c9a96e" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    margin-top: 80px;
    text-align: center;
    color: var(--white);
}

.booking-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.booking-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* === Booking Section === */
.booking-section {
    padding: 80px 0;
    background: var(--light-gray);
}

/* === Progress Indicator === */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 10px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.4;
    transition: var(--transition);
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-gray);
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.4);
}

.progress-step.completed .step-number {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
}

.progress-line {
    width: 80px;
    height: 3px;
    background: #ddd;
    margin: 0 10px;
    position: relative;
    top: -20px;
}

.progress-step.completed ~ .progress-line {
    background: var(--gold);
}

/* === Booking Steps === */
.booking-step {
    display: none;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInStep 0.5s ease;
}

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

.booking-step.active {
    display: block;
}

.booking-step h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 40px;
    text-align: center;
}

/* === Package Selection === */
.package-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.package-tab {
    padding: 12px 30px;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--navy);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 15px;
}

.package-tab:hover,
.package-tab.active {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

.package-content {
    display: none;
}

.package-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--light-gray);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 3px solid transparent;
    position: relative;
    cursor: pointer;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.package-card.featured {
    border-color: var(--gold);
    background: var(--white);
}

.package-card.selected {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.1), rgba(201, 169, 110, 0.1));
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--navy);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(201, 169, 110, 0.4);
}

.package-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.package-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.package-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.package-features i {
    color: var(--gold);
    font-size: 1rem;
}

.btn-select {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--navy);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.btn-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

.package-card.selected .btn-select {
    background: var(--navy);
    color: var(--gold);
}

/* === Date & Time Selection === */
.datetime-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.calendar-container,
.timeslots-container {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.5rem;
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.4);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: var(--navy);
    padding: 10px;
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-gray);
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.05);
}

.calendar-day.today {
    border: 2px solid var(--gold);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--navy);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.4);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f0f0f0;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

/* === Time Slots === */
.timeslots-container h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.timeslot-info {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.timeslots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.timeslot {
    padding: 12px;
    background: var(--white);
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.timeslot:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.timeslot.selected {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
}

.timeslot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* === Form Styles === */
.booking-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(201, 169, 110, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gold);
}

.checkbox-group span {
    flex: 1;
    color: var(--text-color);
    line-height: 1.5;
}

/* === Booking Summary === */
.booking-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.summary-section {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
}

.summary-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-section h3 i {
    color: var(--gold);
    font-size: 1.3rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 600;
    color: var(--navy);
}

.summary-item .value {
    color: var(--text-color);
    text-align: right;
}

/* === Step Navigation Buttons === */
.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.step-buttons .btn {
    flex: 1;
    max-width: 200px;
}

/* === Success Modal === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
    position: relative;
}

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

.success-icon {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.7;
}

.modal-content strong {
    color: var(--gold);
    font-weight: 600;
}

.contact-reminder {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.contact-reminder p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-reminder i {
    color: var(--gold);
}

.contact-reminder a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

.contact-reminder a:hover {
    color: var(--gold);
}

.modal-content .btn {
    margin-top: 20px;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .datetime-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .booking-header {
        padding: 120px 0 60px;
    }

    .booking-header h1 {
        font-size: 2.2rem;
    }

    .booking-step {
        padding: 30px 20px;
    }

    .booking-step h2 {
        font-size: 1.8rem;
    }

    .progress-container {
        gap: 5px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .progress-line {
        width: 30px;
        top: -15px;
    }

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

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

    .booking-summary {
        grid-template-columns: 1fr;
    }

    .step-buttons {
        flex-direction: column;
    }

    .step-buttons .btn {
        max-width: 100%;
    }

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

    .modal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .booking-header h1 {
        font-size: 1.8rem;
    }

    .booking-header p {
        font-size: 1rem;
    }

    .package-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .calendar-weekdays div {
        font-size: 0.75rem;
        padding: 5px;
    }

    .calendar-day {
        font-size: 0.85rem;
    }
}