/* quote-style.css - Quote Page Styles */

/* =========================================== */
/* QUOTE PAGE STYLES */
/* =========================================== */

/* Page Header */
.page-header {
    text-align: center;
    padding: 30px 20px 20px;
    margin: 80px 0 20px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 10px;
}

.page-header p {
    color: #6B7280;
    font-size: 16px;
    line-height: 1.5;
}

/* Quote Container */
.quote-container {
    background: white;
    margin: 0 15px 30px;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: #E5E7EB;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 3px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6B7280;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step.active .step-number {
    border-color: #2563EB;
    background: #2563EB;
    color: white;
}

.step.completed .step-number {
    border-color: #10B981;
    background: #10B981;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #6B7280;
    font-weight: 600;
}

.step.active .step-label {
    color: #2563EB;
}

/* Form Sections */
.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1F2937;
}

.section-subtitle {
    color: #6B7280;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Service Options */
.service-options {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.service-option {
    border: 2px solid #E5E7EB;
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.service-option input {
    display: none;
}

.service-option.selected {
    border-color: #2563EB;
    background: rgba(37, 99, 235, 0.03);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-icon i {
    font-size: 24px;
    color: #2563EB;
}

.option-details {
    flex: 1;
}

.option-details h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1F2937;
}

.option-details p {
    font-size: 14px;
    color: #6B7280;
}

.option-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.3s;
}

.service-option.selected .option-check {
    background: #2563EB;
    border-color: #2563EB;
    color: white;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Timeline Options */
.timeline-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline-option {
    flex: 1;
    min-width: 120px;
}

.timeline-option input {
    display: none;
}

.timeline-option span {
    display: block;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.timeline-option input:checked + span {
    border-color: #2563EB;
    background: rgba(37, 99, 235, 0.05);
    color: #2563EB;
    font-weight: 600;
}

/* Budget Slider */
.budget-slider {
    margin-top: 10px;
}

.budget-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
    outline: none;
    -webkit-appearance: none;
}

.budget-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563EB;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.budget-value {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
}

#budget-display {
    font-weight: 700;
    color: #2563EB;
    font-size: 18px;
}

.budget-range {
    color: #6B7280;
}

/* File Upload */
.file-upload input[type="file"] {
    display: none;
}

.upload-area {
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.upload-area:hover {
    border-color: #2563EB;
    background: rgba(37, 99, 235, 0.02);
}

.upload-area i {
    font-size: 48px;
    color: #9CA3AF;
    margin-bottom: 15px;
}

.upload-area p {
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.upload-area span {
    font-size: 12px;
    color: #6B7280;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.file-item i.fa-file {
    color: #6B7280;
}

.file-item span {
    flex: 1;
    font-size: 14px;
    color: #374151;
}

.file-item button {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
}

.file-item button:hover {
    color: #EF4444;
}

/* Review Summary */
.review-summary {
    background: #F9FAFB;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-item.full-width {
    flex-direction: column;
}

.summary-label {
    font-weight: 600;
    color: #374151;
    min-width: 140px;
}

.summary-value {
    flex: 1;
    color: #6B7280;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-prev, .btn-next, .btn-submit {
    padding: 15px 30px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-prev {
    background: white;
    color: #374151;
    border: 2px solid #E5E7EB;
}

.btn-prev:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.btn-next {
    background: #2563EB;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-next:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    flex: 1;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1F2937;
}

.success-message p {
    color: #6B7280;
    margin-bottom: 15px;
    line-height: 1.6;
}

.success-id {
    font-size: 18px;
    color: #1F2937;
    margin: 25px 0;
}

.btn-home {
    display: inline-block;
    background: #2563EB;
    color: white;
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s;
}

.btn-home:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* Quick Contact */
.quick-contact {
    padding: 0 20px 40px;
}

.contact-card {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.contact-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.contact-btn {
    flex: 1;
    max-width: 160px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.contact-btn.call {
    background: white;
    color: #2563EB;
}

.contact-btn.call:hover {
    background: #F9FAFB;
    transform: translateY(-2px);
}

.contact-btn.whatsapp {
    background: #25D366;
    color: white;
}

.contact-btn.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* =========================================== */
/* RESPONSIVE DESIGN */
/* =========================================== */

@media (max-width: 768px) {
    .quote-container {
        margin: 0 10px 20px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .progress-steps {
        margin-bottom: 30px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .timeline-options {
        flex-direction: column;
    }
    
    .timeline-option {
        min-width: 100%;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 70px;
        padding: 20px 15px 15px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .option-content {
        gap: 12px;
    }
    
    .option-icon {
        width: 45px;
        height: 45px;
    }
    
    .option-icon i {
        font-size: 20px;
    }
    
    .option-details h4 {
        font-size: 14px;
    }
    
    .option-details p {
        font-size: 12px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        width: 100%;
    }
    
    .upload-area {
        padding: 30px 15px;
    }
    
    .upload-area i {
        font-size: 36px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
}