/* Fixed Booking system styles - Proper image sizing and colors */

.booking-section {
    position: relative;
    z-index: 40;
    background-image: url('/images/reservation-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    overflow-x: hidden;
}

.booking-section .section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.booking-content {
    display: flex;
    gap: 2rem;
    max-width: 100%;
    align-items: stretch; /* FIXED: Make both containers same height */
    margin-top: 2rem;
}

.booking-form-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
    display: flex; /* FIXED: Make it flex container */
    flex-direction: column;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    flex: 1; /* FIXED: Take full height of container */
}

.booking-step {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
}

.booking-step.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

/* Step Progress Indicator */
.step-progress {
    margin-bottom: 1.5rem;
    padding: 0;
    width: 100%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: var(--color-white);
    padding: 0 8px;
    flex: 0 0 auto;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    background: #e0e0e0;
    color: #666;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

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

.progress-step.current .step-number {
    background: var(--color-text);
    color: white;
}

.step-name {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: capitalize;
    white-space: nowrap;
}

.progress-step.completed .step-name,
.progress-step.current .step-name {
    color: var(--color-text);
    font-weight: 600;
}

/* Calendar styles - FIXED hover and selection colors */
.calendar-container {
    flex: 1;
    width: 100%;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}

.nav-button:hover:not(:disabled) {
    background: var(--color-border);
    border-color: var(--color-border);
    color: var(--color-text);
}

.nav-button:hover:not(:disabled) img {
    filter: none;
}

.nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#current-month {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    min-width: 120px;
    text-align: center;
}

.calendar {
    width: 100%;
    margin-bottom: 1rem;
}

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

.day-name {
    text-align: center;
    font-weight: 500;
    color: var(--color-text-light);
    padding: 10px 0;
    font-size: 14px;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    min-height: 40px;
    background: transparent;
    color: var(--color-text);
    border: 2px solid transparent;
    z-index: 1;
}

.calendar-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.calendar-day span,
.calendar-day {
    position: relative;
    z-index: 2;
}

.calendar-day:focus {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
    z-index: 3;
}

.calendar-day:hover:not(.disabled):not(.outside-month):not(.selected)::before {
    background-color: rgba(212, 184, 150, 0.2);
}

.calendar-day:hover:not(.disabled):not(.outside-month):not(.selected) {
    color: var(--color-text);
    border-color: var(--color-border);
}

.calendar-day.selected {
    background-color: var(--color-text) !important;
    color: var(--color-white) !important;
    border-color: var(--color-text) !important;
}

.calendar-day.today {
    font-weight: bold;
    border-color: var(--color-border);
}

.calendar-day.disabled {
    cursor: not-allowed;
    opacity: 0.3;
    background: transparent;
    color: var(--color-text-light);
}

.calendar-day.outside-month {
    color: #ccc;
    opacity: 0.5;
}

.calendar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #E5E5E5;
    padding-top: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.selected-date {
    border-bottom: 2px solid var(--color-text-light);
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    flex: 1;
    min-width: 200px;
}

/* Time and details steps */
.time-container, 
.details-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.time-container h2, 
.details-container h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.time-inputs, 
.details-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.form-label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
}

.form-input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    color: var(--color-text);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-text);
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #E5E5E5;
    padding-top: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #555;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn-success {
    background-color: var(--color-success);
    color: var(--color-white);
}

.btn-success:hover {
    background-color: #45a049;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Photographer selection - Working with specific values */
.photographer-selection {
    margin-top: 1rem;
    width: 100%;
}

.photographer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.75rem;
}

.photographer-option {
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.photographer-label {
    display: block;
    cursor: pointer;
    position: relative;
}

.photographer-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* DEFAULT STATES - All light except empty value (No photographer) */
.photographer-info {
    padding: 1.25rem;
    background: #ffffff; /* Light by default */
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    color: #333333; /* Dark text */
}

/* No photographer option (empty value) - Dark by default */
.photographer-info:has(input[value=""]),
.photographer-label:has(input[value=""]) .photographer-info {
    background: #333333; /* Dark background */
    border-color: #333333;
    color: #ffffff; /* Light text */
}

/* HOVER STATES */
/* Light options get slightly darker on hover */
.photographer-info:has(input[value="Lon94"]:not(:checked)):hover,
.photographer-info:has(input[value="Vahe-Step"]:not(:checked)):hover,
.photographer-label:has(input[value="Lon94"]:not(:checked)):hover .photographer-info,
.photographer-label:has(input[value="Vahe-Step"]:not(:checked)):hover .photographer-info {
    background: #f0f0f0; /* Slightly darker */
    border-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    color: #333333;
}

/* Dark option (No photographer) gets slightly lighter on hover */
.photographer-info:has(input[value=""]:not(:checked)):hover,
.photographer-label:has(input[value=""]:not(:checked)):hover .photographer-info {
    background: #444444; /* Slightly lighter dark */
    border-color: #444444;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* SELECTED STATES - All selected options become dark */
.photographer-info:has(input[type="radio"]:checked),
.photographer-label:has(input[type="radio"]:checked) .photographer-info {
    background: #333333; /* Dark when selected */
    border-color: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff; /* Light text when selected */
}

/* SELECTED + HOVER */
.photographer-info:has(input[type="radio"]:checked):hover,
.photographer-label:has(input[type="radio"]:checked):hover .photographer-info {
    background: #444444; /* Slightly lighter on hover */
    border-color: #444444;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Fallback for browsers without :has() support */
@supports not (selector(:has(*))) {
    /* Fallback: Basic styling without specific targeting */
    .photographer-info {
        background: #ffffff;
        color: #333333;
    }
    
    .photographer-label input[type="radio"]:checked + .photographer-info {
        background: #333333;
        color: #ffffff;
    }
}

/* Text and button styling */
.photographer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.photographer-header h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.portfolio-btn {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.photographer-info p {
    margin: 0;
    color: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.9;
}


/* Summary styles */
.booking-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.booking-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.summary-label {
    font-weight: 500;
    color: var(--color-text-light);
}

.summary-value {
    font-weight: 600;
    color: var(--color-text);
    text-align: right;
}

.summary-empty {
    color: var(--color-text-light);
    font-style: italic;
    text-align: center;
    padding: 1.25rem;
}

/* Success step styles */
.success-step {
    text-align: center;
    padding: 2rem 1rem;
    justify-content: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

.success-message h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-success);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.booking-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--color-success);
    text-align: left;
}

.booking-details h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Booking image - FIXED to match form height exactly */
.booking-image {
    position: relative;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex; /* FIXED: Make it flex container */
    align-items: stretch; /* FIXED: Stretch to match form height */
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* FIXED: Cover entire container */
    object-position: center; /* FIXED: Center the image */
}

/* Time Carousel Styles - Simplified for booking section */
.time-carousel-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

.carousel-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.carousel-label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.time-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.time-carousel:focus-within {
    border-color: var(--color-text);
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.carousel-btn {
    background: var(--color-white);
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover:not(.disabled) {
    background: var(--color-text);
    border-color: var(--color-text);
    transform: scale(1.05);
}

.carousel-btn:hover:not(.disabled) img {
    filter: brightness(0) invert(1);
}

.carousel-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-track-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 50px;
    border-radius: 8px;
    background: var(--color-white);
    cursor: grab;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.carousel-slide {
    flex-shrink: 0;
    min-width: 70px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.carousel-slide:hover:not(.unavailable):not(.placeholder) {
    background: #e3f2fd;
    border-color: var(--color-text);
    transform: translateY(-1px);
}

.carousel-slide.selected {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.carousel-slide.unavailable {
    background: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
    cursor: not-allowed;
    opacity: 0.6;
}

.carousel-slide.placeholder {
    background: #f5f5f5;
    color: #999;
    cursor: default;
    border-style: dashed;
    font-size: 12px;
    min-width: 180px;
    text-align: center;
}

/* Availability status */
.availability-status {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-available {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.status-unavailable {
    background: linear-gradient(135deg, #f8d7da 0%, #f1b2b8 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.status-icon {
    margin-right: 8px;
    font-weight: bold;
}

/* Portfolio modal styles - FIXED colors and contrast */
.modal-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;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.modal-open {
    opacity: 1;
}

.modal-content {
    background: var(--color-white);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    overflow: hidden;
    transform: scale(0.9) translateY(50px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay.modal-open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    background: #ffffff;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--color-text);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--color-white);
    color: var(--color-text);
}

/* Portfolio gallery - FIXED image sizing and display */
.portfolio-gallery {
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: start;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f5f5f5;
    /* FIXED: Remove fixed height constraint */
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: auto; /* FIXED: Allow natural height */
    max-height: 400px; /* FIXED: Set reasonable max height */
    object-fit: contain; /* FIXED: Show full image without cropping */
    object-position: center;
    transition: all 0.3s ease;
    display: block; 
}

.portfolio-item img.enlarged {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1001;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

/* Form validation styles */
.form-input.valid {
    border-color: var(--color-success);
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.form-input.invalid {
    border-color: var(--color-error);
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
}

.form-input.valid:focus {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-input.invalid:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* Loading spinner */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive styles */
@media (max-width: 1200px) {
    .booking-section .section-container {
        padding: 60px 40px;
    }
    
    .booking-content {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .booking-section .section-container {
        padding: 40px 20px;
    }
    
    .booking-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    
    .booking-form-container {
        max-width: 100%;
        width: 100%;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .booking-image {
        display: none; /* Hide on mobile */
    }
    
    .calendar-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .calendar-header h2 {
        text-align: center;
        font-size: 1.25rem;
    }
    
    .calendar-nav {
        justify-content: center;
    }
    
    .calendar-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .selected-date {
        text-align: center;
        min-width: 100%;
    }
    
    .step-footer {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    .step-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .time-carousel {
        flex-direction: row !important; /* Horizontal layout */
        gap: 0.5rem !important;
        padding: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .carousel-nav-container {
        display: flex;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
        order: 2;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .carousel-track-container {
        flex: 1 !important;
        max-width: calc(100% - 80px) !important; /* Leave space for buttons */
        height: 44px !important;
        margin: 0 0.5rem !important;
        box-sizing: border-box !important;
        order: initial !important;
    }

    .carousel-track {
        gap: 0.25rem !important;
        padding: 0 0.5rem !important;
    }

    .carousel-btn {
        flex-shrink: 0 !important;
        width: 32px !important;
        height: 32px !important;
        order: initial !important; /* Reset any order */
    }

    .carousel-slide {
        min-width: 50px !important;
        max-width: 50px !important;
        height: 32px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }

    .carousel-nav-container {
        display: none !important;
    }

    .carousel-slide.placeholder {
        min-width: 120px !important;
        max-width: 120px !important;
        font-size: 10px !important;
    }
    
    .photographer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .photographer-info {
        padding: 1rem;
    }
    
    .progress-steps {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .step-name {
        display: none;
    }
    
    .booking-details-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .success-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .portfolio-item img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .booking-section .section-container {
        padding: 20px 16px;
    }
    
    .booking-form {
        padding: 1rem;
        gap: 1rem;
    }
    
    .booking-step {
        min-height: 300px;
    }
    
    .calendar-header h2 {
        font-size: 1.125rem;
    }

    .time-carousel {
        padding: 0.5rem !important;
        gap: 0.25rem !important;
    }
    
    .time-container h2,
    .details-container h2 {
        font-size: 1.125rem;
    }
    
    .carousel-btn {
        width: 28px !important;
        height: 28px !important;
    }
    
    .carousel-btn img {
        width: 12px;
        height: 12px;
    }
    
    .carousel-track-container {
        max-width: calc(100% - 70px) !important;
        height: 40px !important;
        margin: 0 0.25rem !important;
    }
    
    .carousel-slide {
        min-width: 45px !important;
        max-width: 45px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
    
    .carousel-slide.placeholder {
        min-width: 100px !important;
        max-width: 100px !important;
        font-size: 9px !important;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .success-message h2 {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        background: #ffffff;
    }
    
    .modal-body {
        padding: 16px;
    }

    .portfolio-item img {
        max-height: 250px;
    }

    .time-carousel {
        padding: 0.75rem !important;
        gap: 0.5rem !important;
    }

    .carousel-nav-container {
        padding: 0 0.5rem;
    }

}