/* Base Styles using "Outfit" font similar to modern premium sites */
body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fefefe;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 25px 20px 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin: 20px 0;
    letter-spacing: -0.5px;
    font-family: "Radley", serif;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.7;
    color: #fff;
    margin: 15px auto;
    font-family: "Radley", serif;
}

.hero-subtitle {
    font-family: "Radley", serif;
    color: #fff;
    font-size: 16px;
}

.hero-price {
    font-weight: 600;
    color: #fff;
    font-size: 18px;
}

/* Video Icon */
.video-icon-wrapper {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 20;
    cursor: pointer;
    background: rgb(255 184 158);
    border-radius: 50%;
    padding: 13px 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-icon-wrapper:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.video-icon {
    width: 50px;
    height: 50px;
    fill: rgb(255 0 51);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: block;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
    transition: transform 0.3s;
}

.close-modal:hover {
    transform: scale(1.1);
}

.close-modal-mobile {
    display: none;
}

/* How It Works Section */
.how-it-works {
    width: 90%;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 46px;
    font-weight: 600;
    color: #000;
    margin-bottom: 50px;
    font-family: "Radley", serif;
    margin-top: 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.work-step {
    background-color: #F8ECDC;
    padding: 15px 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 25px;
    font-weight: 600;
    color: #000;
    margin-bottom: 3px;
}

.work-step h3 {
    font-size: 25px;
    font-weight: 600;
    color: #000;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.work-step p {
    font-size: 16px;
    line-height: 1.6;
    color: #1f1e1e;
    margin: 10px 0 0;
}


/* Main Layout for Split Screen */
.main-layout {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.left-panel {
    flex: 1;
    background-color: #f0f0f0;
    position: relative;
    min-height: 500px;
}

.right-panel {
    flex: 1;
    max-width: 600px;
}

/* Slider Styles */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.5s ease;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.6);
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* Product Image Styles for Step 2 */
.product-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: contain;
    background-color: #fff;
    transition: opacity 0.5s ease;
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
    /* Essential for absolute positioning of captions */
}

/* Slider Caption Style */
.slide-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 4px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
    animation: fadeIn 0.5s ease;
}


/* Wizard Container adjustments for split layout */
.wizard-container {
    background: #fff;
    width: 85%;
    box-shadow: none;
    max-width: none;
    padding: 40px;
    border-radius: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-layout {
        max-width: 95% !important;
    }
.step-content-container {
    min-height: 100px !important;
    padding: 0px 0 20px;
}

.step-content{font-size:15px;}
    .steps-container {
        grid-template-columns: repeat(1, 1fr);
max-width: 75vw;
        gap: 25px;
}
 .work-step{padding:35px 25px;}   
.work-step p {
  font-size: 26px;
  line-height: 1.6;
  color: #1f1e1e;
  margin: 10px 0 0;
}
    .work-step h3{Font-size:22px;}
}

@media (max-width: 900px) {
    .hero-section {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .how-it-works h2 {
        font-size: 28px;
    }

    .main-layout {
        flex-direction: column;
    }

    .left-panel {
        min-height: 300px;
    }

    .placeholder-image {
        min-height: 300px;
    }

    .product-image {
        min-height: 300px;
    }

    .right-panel {
        max-width: 100%;
    }

    .wizard-container {
       padding: 30px 10px;
    width: 91%;
    }

    .close-modal {
        display: block;
        /* Hide standard close button on mobile */
        right: 10px;
        top: 10px;
    }

    .close-modal-mobile {
        display: block;
        position: absolute;
        top: -40px;
        right: 0;
        color: #fff;
        font-size: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
    }

    .video-modal .modal-content {
        width: 95%;
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: 350px;
    }

    .hero-content {
        padding: 30px 15px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .hero-price {
        font-size: 16px;
    }

.how-it-works {
  width: 80%;
  }
    .how-it-works h2 {
        font-size: 34px;
        font-weight: 500;
        margin-bottom: 30px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .work-step {
        padding: 30px 16px;
    }
    .work-step h3 {
    	margin: 1px 0; 
        font-size: 20px;
    }
    .work-step p {
  font-size: 16px; 
  }
    .step-number { font-size: 20px; }

    .stepper-wrapper {
        width: 100%;
    }

    .step-counter {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .stepper-line {
        margin: 0 5px;
    }
}


/* Form Styles */
.form-group {
    margin-top: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    -webkit-appearance: none;
    /* Make it look custom */
    appearance: none;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>') no-repeat right 10px center;
}

/* Ritual Description Styling */
.ritual-description {
    margin-top: 12px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-left: 3px solid #c58c76;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 4px;
}

/* Stepper Styles */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
    /* Match visual width relative to container */
    margin-left: auto;
    margin-right: auto;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0;
}

.step-counter {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #cbb09c;
    /* Light brownish border */
    color: #cbb09c;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    z-index: 2;
    transition: all 0.3s ease;
}

.stepper-item.active .step-counter {
    border-color: #333;
    /* Active is dark/black circle based on common patterns, or we can use the brown if preferred. Let's stick to the subtle style in image */
    color: #333;
    font-weight: 600;
}

/* The lines between steps */
.stepper-line {
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 2px;
}

/* Step Content */
.step-content-container {
    min-height: 200px;
    padding: 20px 0;
}

.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 500;
    color: #000;
}

/* File Upload Styles (Step 5) */
.upload-container {
    margin-top: 10px;
}

.file-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 100%;
    max-width: 500px;
    position: relative;
    background: #fff;
    box-sizing: border-box;
    /* Important for padding */
}

/* Hide the actual input but keep it functional */
input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.btn-choose {
    background-color: #eee;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 15px;
    border-radius: 2px;
    font-size: 14px;
    margin-right: 15px;
    cursor: pointer;
    pointer-events: none;
    /* Let the input handle the click */
}

#file-chosen-text {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.upload-hint {
    margin-top: 15px;
    font-size: 13px;
    color: #888;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Navigation Buttons */
.wizard-footer {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.btn-secondary {
    background-color: #c58c76;
    /* Match the brownish/clay color from screenshot */
    color: #fff;
}

.btn-secondary:disabled {
    background-color: #e0c8be;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #c58c76;
    /* Match the brownish/clay color from screenshot */
    color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover:not(:disabled) {
    background-color: #b07a65;
}

/* Form Row Layouts for Steps 7 & 8 */
.form-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.form-group.half-width {
    flex: 1;
    margin-top: 0;
}

.form-group.country-code {
    flex: 0 0 120px;
    margin-top: 0;
}

.form-group.phone-input {
    flex: 1;
    margin-top: 0;
}

/* Price Display (Step 6) */
#price-display {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin: 60px 0;
}

/* Textarea styling */
textarea.form-control {
    resize: vertical;
    min-height: 80px;
    background: #fff;
}

/* Remove dropdown arrow from text inputs */
input.form-control {
    background: #fff;
}

/* Date Input Styling */
input[type="date"].form-control {
    position: relative;
    padding-right: 40px;
    color: #333;
    font-weight: 500;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Style for date input when focused */
input[type="date"].form-control:focus {
    border-color: #c58c76;
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 140, 118, 0.1);
}

/* Custom styling for webkit browsers to indicate disabled dates */
input[type="date"].form-control::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="date"].form-control::-webkit-datetime-edit-text {
    color: #333;
    padding: 0 2px;
}

input[type="date"].form-control::-webkit-datetime-edit-month-field,
input[type="date"].form-control::-webkit-datetime-edit-day-field,
input[type="date"].form-control::-webkit-datetime-edit-year-field {
    color: #333;
}

/* Add a subtle hint below date input */
.date-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

/* Flatpickr Custom Styling for Disabled Weekends */
.flatpickr-calendar {
    font-family: "Montserrat", sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.flatpickr-day {
    border-radius: 4px;
    font-weight: 500;
}

.flatpickr-day:hover:not(.flatpickr-disabled) {
    background: #c58c76;
    border-color: #c58c76;
    color: #fff;
}

.flatpickr-day.selected {
    background: #c58c76;
    border-color: #c58c76;
    color: #fff;
}

.flatpickr-day.today {
    border-color: #c58c76;
}

/* Style for disabled weekend dates - LIGHT/MUTED COLOR */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.weekend-disabled {
    color: #d0d0d0 !important;
    /* Light gray color for disabled weekends */
    cursor: not-allowed !important;
    opacity: 0.5;
}

.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.weekend-disabled:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: #d0d0d0 !important;
}

/* Month navigation styling */
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #c58c76;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-current-month .numInputWrapper:hover {
    background: rgba(197, 140, 118, 0.1);
}




@media screen and (max-width: 768px) {
    .slide-caption {
        position: absolute;
        bottom: 45px;
        right: 8px;
        background-color: rgb(255 255 255 / 89%);
        padding: 3px 9px;
        border-radius: 7px;
        color: #333;
        font-size: 14px;
    }

    .slider-dots {
        bottom: 8px;
    }

    .dot.active {
        background-color: #777;
    }

    .dot {
        background-color: #dfad7c;
    }
}