/* Thank You Page Styling - Coral Bathrooms Theme */
/* Matches brand colors: #A79777 (primary taupe) and #082A3E (dark navy) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.coral-thank-you-page {
    background: linear-gradient(135deg, rgba(8, 42, 62, 0.95), rgba(8, 42, 62, 0.98));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===== CONTAINER ===== */
.thank-you-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content {
    background: white;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.6s ease-out;
}

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

/* ===== SUCCESS ICON ===== */
.success-icon {
    margin-bottom: 30px;
    display: inline-block;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon svg {
    width: 80px;
    height: 80px;
}

/* ===== MAIN TITLE ===== */
.thank-you-title {
    font-size: 48px;
    font-weight: 700;
    color: #082A3E;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* ===== SUBTITLE ===== */
.thank-you-subtitle {
    font-size: 22px;
    color: #A79777;
    font-weight: 600;
    margin-bottom: 30px;
}

/* ===== MESSAGE ===== */
.thank-you-message {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #A79777;
}

.thank-you-message p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.thank-you-message strong {
    color: #A79777;
    font-weight: 600;
}

/* ===== NEXT STEPS SECTION ===== */
.next-steps {
    margin-bottom: 40px;
    text-align: left;
}

.next-steps h2 {
    font-size: 24px;
    color: #082A3E;
    margin-bottom: 30px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.step {
    background: white;
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-align: center;
}

.step:hover {
    border-color: #A79777;
    box-shadow: 0 4px 15px rgba(167, 151, 119, 0.1);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #A79777, #8f7f5f);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 16px;
    color: #082A3E;
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    background: #f0f8f5;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #d4edda;
}

.contact-info p {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
}

.phone-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #A79777;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #A79777;
    border-radius: 50px;
}

.phone-link:hover {
    background: #A79777;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(167, 151, 119, 0.3);
}

/* ===== HOME BUTTON ===== */
.btn-home {
    display: inline-block;
    background: #A79777;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(167, 151, 119, 0.4);
}

.btn-home:hover {
    background: #8f7f5f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 151, 119, 0.5);
}

.btn-home:active {
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .thank-you-content {
        padding: 40px 25px;
    }

    .thank-you-title {
        font-size: 36px;
    }

    .thank-you-subtitle {
        font-size: 18px;
    }

    .next-steps h2 {
        font-size: 20px;
    }

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

    .step {
        padding: 20px 15px;
    }

    .btn-home {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .phone-link {
        font-size: 16px;
        padding: 8px 16px;
    }

    .thank-you-message {
        padding: 20px;
    }

    .contact-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .thank-you-content {
        padding: 30px 20px;
    }

    .thank-you-title {
        font-size: 28px;
    }

    .thank-you-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .success-icon svg {
        width: 60px;
        height: 60px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .step h3 {
        font-size: 14px;
    }

    .step p {
        font-size: 12px;
    }

    .contact-info p {
        font-size: 14px;
    }

    .phone-link {
        font-size: 14px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .thank-you-content,
    .success-icon {
        animation: none;
    }

    .step,
    .btn-home,
    .phone-link {
        transition: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white;
    }

    .thank-you-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .btn-home,
    .phone-link {
        display: none;
    }
}