/* ============================================
   REUSABLE COMPONENTS
   Cards, buttons, tags, grids - used across multiple pages
   ============================================ */

/* === Buttons === */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--dark-burgundy);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--dark-burgundy);
    color: white;
    border-color: var(--dark-burgundy);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 18, 19, 0.4);
}

/* Back Button */
.back-button {
    display: inline-block;
    background: var(--dark-burgundy);
    color: #ffffff;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(58, 18, 19, 0.25);
}

.back-button:hover {
    background: var(--rust);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(117, 53, 45, 0.32);
}

/* Primary Action Button (blue) */
.primary-button {
    display: inline-block;
    background: var(--soft-blue);
    color: #ffffff;
    padding: 0.65rem 1.3rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(61, 92, 140, 0.30);
}

.primary-button:hover {
    background: #3d5c8c;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(61, 92, 140, 0.35);
}

/* === Tags === */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tag {
    background-color: var(--soft-blue);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid var(--soft-blue);
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: white;
    color: var(--soft-blue);
    border-color: var(--soft-blue);
}

/* === Generic Card === */
.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem 2.1rem;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(0, 0, 0, 0.06);
}

.card h3 {
    font-size: 1.25rem;
    color: var(--dark-burgundy);
    margin-bottom: 0.65rem;
}

.card p {
    font-size: 0.98rem;
    color: #5a4942;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

/* === Warm Card (cream/beige background) === */
.warm-card {
    background: #f7efe8;
    border-radius: 18px;
    padding: 1.8rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    transition: all 0.22s ease;
}

.warm-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(188, 188, 188, 0.30);
    background: #fefcf8;
}

.warm-card--featured {
    border-left: 4px solid var(--soft-blue);
    padding-left: 1.7rem;
}

.warm-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-burgundy);
    margin-bottom: 0.25rem;
}

.warm-card p {
    font-size: 0.98rem;
    color: #4f3f39;
    line-height: 1.65;
}

/* Card subtitle/eyebrow */
.card-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rust);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

/* Card meta (e.g., "Coming soon") */
.card-meta {
    display: inline-block;
    margin-top: 0.3rem;
    color: var(--rust);
    font-style: italic;
    font-size: 0.9rem;
}

/* === Grids === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

/* === Placeholder Containers === */
.placeholder {
    background: linear-gradient(135deg, rgba(146, 164, 210, 0.1), white);
    border: 2px dashed var(--soft-blue);
    border-radius: 8px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-blue);
    font-style: italic;
    text-align: center;
}

/* === Section Divider === */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--soft-blue), transparent);
    margin: 2.5rem 0;
    opacity: 0.3;
}

/* === Responsive === */
@media (max-width: 768px) {
    .cards-grid,
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
