/* Project Estimates Plugin Styles */

/* Container and Layout */
.project-estimates-container {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1b1c17 0%, #2a2b1f 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1b1c17, #2a2b1f);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 20%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    font-size: 0.9rem;
    color: #999;
    position: relative;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.step.active {
    color: #1b1c17;
    background: rgba(27, 28, 23, 0.1);
    font-weight: 600;
}

.step.completed {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

/* Step Containers */
.step-container {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.step-container h2 {
    font-family: 'Syne', sans-serif;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2rem;
    font-weight: 400;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card.selected {
    border-color: #1b1c17;
    background: rgba(27, 28, 23, 0.05);
}

.service-card i {
    font-size: 3rem;
    color: #1b1c17;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
}

.service-card .price {
    font-weight: 600;
    color: #1b1c17;
    font-size: 1.1rem;
}

/* Feature Sections */
.feature-section {
    margin-bottom: 40px;
}

.feature-section h3 {
    font-family: 'Syne', sans-serif;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.thank-you-message {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1b1c17;
}

.thank-you-message p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

.quote-header i {
    font-size: 3rem;
    color: #1b1c17;
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-item:hover {
    background: #e9ecef;
    border-color: #1b1c17;
}

.feature-item input[type="checkbox"],
.feature-item input[type="radio"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.checkmark.radio {
    border-radius: 50%;
}

.feature-item input[type="checkbox"]:checked+.checkmark,
.feature-item input[type="radio"]:checked+.checkmark {
    background: #1b1c17;
    border-color: #1b1c17;
}

.feature-item input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.feature-item input[type="radio"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.feature-content {
    flex: 1;
}

.feature-content strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.feature-content .price {
    color: #1b1c17;
    font-weight: 600;
}

/* SEO Package Descriptions */
.seo-description {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* SEO Package Layout Improvements */
#seo-features .feature-grid {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

#seo-features .feature-item {
    min-height: auto;
    height: auto;
    align-items: flex-start;
    padding: 20px;
    flex-shrink: 0;
    width: 320px;
}

#seo-features .feature-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    white-space: nowrap;
}

#seo-features .feature-content strong {
    font-size: 1.1rem;
    margin-bottom: 5px;
    white-space: nowrap;
}

#seo-features .feature-content .price {
    font-size: 1.2rem;
    white-space: nowrap;
}

#seo-features .seo-description {
    flex: 1;
    margin-top: 0;
}

.seo-description ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.seo-description li {
    margin-bottom: 8px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.seo-description li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1b1c17;
    font-weight: bold;
}

.seo-description li:first-child {
    font-weight: 600;
    color: #1b1c17;
    margin-bottom: 12px;
}

/* Cost Summary */
.cost-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.cost-breakdown h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.total-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.total-line:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #1b1c17;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1b1c17;
}

/* Final Quote */
.final-quote {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.quote-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.quote-header i {
    font-size: 3rem;
    color: #1b1c17;
    margin-bottom: 15px;
}

.quote-header h3 {
    margin-bottom: 10px;
    color: #333;
}

.quote-date {
    color: #666;
    font-style: italic;
}

.quote-details {
    margin-bottom: 30px;
}

.quote-details h4 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.quote-total {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #1b1c17;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b1c17;
    margin-bottom: 10px;
}

.timeline-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.quote-actions {
    text-align: center;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #1b1c17, #2a2b1f);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 28, 23, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.button-group {
    text-align: center;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .step-container {
        padding: 25px;
    }

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

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

    .progress-steps {
        flex-direction: column;
        gap: 10px;
    }

    .progress-tracker {
        flex-direction: column;
        gap: 10px;
    }

    .step {
        min-width: auto;
        width: 100%;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* SEO Package Mobile Layout */
    #seo-features .feature-grid {
        flex-direction: column;
        gap: 15px;
    }

    #seo-features .feature-item {
        width: 100%;
        min-width: auto;
    }

    #seo-features .seo-description {
        margin-top: 10px;
        margin-bottom: 20px;
        width: 100%;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

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

    .step-container {
        padding: 20px;
    }

    .service-card {
        padding: 20px;
    }
}