/* Article Page Styles */
/* Beautiful, elegant styling for resource articles */

/* ============================================================================
   Article Hero
   ============================================================================ */
.article-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/article-rsvp-wording.png') center center / cover no-repeat;
    z-index: 1;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(90, 63, 122, 0.9) 0%,
            rgba(90, 63, 122, 0.75) 50%,
            rgba(58, 37, 80, 0.85) 100%);
    z-index: 2;
}

.article-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 80px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.article-category {
    background: var(--rose-gold-500);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.article-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.article-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================================
   Article Content
   ============================================================================ */
.article-content {
    padding: 60px 0;
    background: white;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body .lead {
    font-size: 1.25rem;
    color: var(--neutral-700);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Quick Jump Navigation */
.quick-jump {
    background: linear-gradient(135deg, var(--primary-50), var(--neutral-50));
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 50px;
    border: 1px solid var(--primary-100);
}

.quick-jump h4 {
    color: var(--primary-700);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.quick-jump ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-jump a {
    color: var(--primary-700);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.quick-jump a:hover {
    color: var(--rose-gold-600);
    text-decoration: none;
}

/* ============================================================================
   Article Sections
   ============================================================================ */
.article-section {
    margin-bottom: 60px;
    padding-top: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-200);
    line-height: 1;
}

.article-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-800);
    margin: 0;
}

.article-section>p {
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ============================================================================
   Example Cards - THE STAR OF THE SHOW
   ============================================================================ */
.example-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.example-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--neutral-100);
}

.example-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Style-specific colors */
.example-card.formal .example-label {
    color: var(--primary-700);
}

.example-card.formal .example-header {
    background: var(--primary-50);
}

.example-card.modern .example-label {
    color: var(--rose-gold-700);
}

.example-card.modern .example-header {
    background: var(--rose-gold-50);
}

.example-card.casual .example-label {
    color: var(--secondary-700);
}

.example-card.casual .example-header {
    background: var(--secondary-50);
}

.example-card.dietary .example-label {
    color: var(--success-700);
}

.example-card.dietary .example-header {
    background: var(--success-50);
}

.example-card.digital .example-label {
    color: var(--info-700);
}

.example-card.digital .example-header {
    background: var(--info-50);
}

.copy-btn {
    background: white;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--neutral-600);
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    color: white;
}

.example-content {
    padding: 32px;
    text-align: center;
    background: linear-gradient(180deg, var(--neutral-50) 0%, white 100%);
}

.example-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--neutral-800);
    margin-bottom: 16px;
}

.example-text-small {
    font-size: 1rem;
    color: var(--neutral-600);
    margin-bottom: 0;
}

.response-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--neutral-300);
}

.response-options p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--neutral-700);
    margin-bottom: 8px;
}

.response-options p:last-child {
    margin-bottom: 0;
}

.meal-options p {
    text-align: left;
    padding-left: 40px;
}

.example-tip {
    background: var(--info-50);
    padding: 12px 24px;
    font-size: 13px;
    color: var(--info-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================================
   Pro Tips
   ============================================================================ */
.pro-tip {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, var(--warning-50), var(--rose-gold-50));
    border-radius: 16px;
    padding: 24px;
    margin: 30px 0;
    border-left: 4px solid var(--rose-gold-500);
}

.pro-tip-icon {
    font-size: 24px;
    color: var(--rose-gold-600);
}

.pro-tip-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 8px;
}

.pro-tip-content p {
    color: var(--neutral-700);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================================
   Tips Grid
   ============================================================================ */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tip-card {
    background: var(--neutral-50);
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.tip-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.tip-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-800);
    margin-bottom: 8px;
    padding-right: 40px;
}

.tip-card p {
    font-size: 14px;
    color: var(--neutral-600);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================================
   CTA Box
   ============================================================================ */
.cta-box {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.cta-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.btn-cta {
    background: var(--rose-gold-500);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 175, 119, 0.3);
}

.btn-cta:hover {
    background: var(--rose-gold-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 119, 0.4);
    color: white;
}

/* ============================================================================
   Article Conclusion
   ============================================================================ */
.article-conclusion {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--neutral-200);
    margin-top: 40px;
}

.article-conclusion h2 {
    font-size: 2rem;
    color: var(--primary-800);
    margin-bottom: 16px;
}

.article-conclusion>p {
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.conclusion-cta .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.cta-subtext {
    font-size: 13px;
    color: var(--neutral-500);
    margin-top: 12px !important;
}

/* ============================================================================
   Related Articles
   ============================================================================ */
.related-articles {
    background: var(--neutral-50);
    padding: 60px 0;
}

.related-articles h3 {
    font-size: 1.5rem;
    color: var(--primary-800);
    margin-bottom: 30px;
}

.related-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.related-image {
    height: 140px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-600);
    letter-spacing: 0.5px;
}

.related-content h4 {
    font-size: 1rem;
    color: var(--neutral-800);
    margin: 8px 0 0;
    line-height: 1.4;
}

/* ============================================================================
   Footer (matches resources page)
   ============================================================================ */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: var(--neutral-400);
    margin-bottom: 24px;
    max-width: 400px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--neutral-700);
    text-align: center;
    color: var(--neutral-500);
}

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 768px) {
    .article-hero {
        min-height: 350px;
    }

    .article-hero-content {
        padding: 60px 0;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    .quick-jump ul {
        flex-direction: column;
        gap: 10px;
    }

    .section-number {
        font-size: 2rem;
    }

    .article-section h2 {
        font-size: 1.35rem;
    }

    .example-text {
        font-size: 1.25rem;
    }

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

    .cta-box {
        padding: 30px 20px;
    }
}
