/* Thank You Page Styles */

.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-20) var(--space-5);
    background: linear-gradient(135deg, #f5f0eb 0%, #e8dfd5 100%);
}

.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-content {
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* Icon */
.thank-you-icon {
    margin: 0 auto var(--space-6);
    animation: checkmark-pop 0.6s ease-out;
}

@keyframes checkmark-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-icon svg {
    display: block;
    margin: 0 auto;
}

/* Title */
.thank-you-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--dark-grey);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

/* Message */
.thank-you-message {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline */
.thank-you-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
    padding: var(--space-8) 0;
    border-top: 1px solid rgba(139, 115, 85, 0.2);
    border-bottom: 1px solid rgba(139, 115, 85, 0.2);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4c4b0 0%, #c4b4a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--dark-grey);
    margin-bottom: var(--space-1);
}

.timeline-content p {
    font-size: var(--text-sm);
    color: var(--light-grey);
    margin: 0;
    line-height: 1.5;
}

/* Actions */
.thank-you-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.thank-you-actions .cta-button {
    min-width: 240px;
}

.thank-you-actions .cta-link {
    color: var(--soft-clay);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: color 0.3s ease;
}

.thank-you-actions .cta-link:hover,
.thank-you-actions .cta-link:focus {
    color: var(--warm-brown);
    text-decoration: underline;
}

/* Note */
.thank-you-note {
    background: var(--blush-pink);
    border-radius: var(--border-radius-card);
    padding: var(--space-6);
    margin-top: var(--space-6);
}

.thank-you-note p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--dark-grey);
    margin: 0;
}

.thank-you-note strong {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
    color: var(--soft-clay);
}

/* Responsive Design */
@media (max-width: 768px) {
    .thank-you-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .thank-you-section {
        padding: var(--space-12) var(--space-4);
    }
    
    .thank-you-content {
        padding: var(--space-8) var(--space-5);
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .thank-you-actions {
        width: 100%;
    }
    
    .thank-you-actions .cta-button {
        width: 100%;
        max-width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .thank-you-icon {
        animation: none;
    }
}
