/* ============================================================
   Contact page — contact.css
   Add to your site stylesheet or import in your Blazor layout.
   ============================================================ */

/* ── Page shell ─────────────────────────────────────────────── */

.contact-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

/* ── Intro block ─────────────────────────────────────────────── */

.contact-eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: .5rem;
}

.contact-headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: .75rem;
}

.contact-subhead {
    font-size: 1rem;
    line-height: 1.7;
    opacity: .7;
    max-width: 520px;
    margin-bottom: 0;
}

.contact-intro {
    max-width: 560px;
    padding-bottom: .5rem;
}

/* ── Divider ─────────────────────────────────────────────────── */

.contact-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 1.12); /* adjust opacity to match your site's rule style */
    margin: 2rem 0;
}

/* ── Section labels ──────────────────────────────────────────── */

.contact-section-label {
    font-size: 1rem;    
    letter-spacing: .08em;
    text-transform: uppercase;
    /*opacity: .5;*/
    margin-bottom: 1rem;
    color: #e7c27a; /* your warm gold */
    font-weight: 600;
}

/* ── Social cards grid ───────────────────────────────────────── */

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, background-color .2s ease;
}

.social-card:hover {
    border-color: rgba(255, 255, 255, .3);
    background-color: rgba(255, 255, 255, .04);
    text-decoration: none;
    color: inherit;
}

.social-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-name {
    font-size: 14px;
    font-weight: 500;
}

.social-handle {
    font-size: 11px;
    opacity: .55;
}

/* ── Email reveal block ──────────────────────────────────────── */

.email-value a {
    color: red;
    text-decoration: none;
}

    .email-value a:hover {
        color: #ff4444;
        text-decoration: underline;
    }

.email-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .03);
}

.email-left {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.email-label {
    font-size: 12px;
    opacity: .55;
    letter-spacing: .04em;
}

.email-value {
    color:yellow;
    font-size: 1rem;
    font-weight: 500;
    font-family: monospace;
    letter-spacing: .02em;
    transition: filter .3s ease;
    user-select: none;
}

.email-value.hidden {
    filter: blur(6px);
    user-select: none;
}

.email-value.revealed {
    filter: none;
    user-select: text;
}

.btn-reveal {
    flex-shrink: 0;
    padding: .5rem 1.1rem;
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
    white-space: nowrap;
}

.btn-reveal:hover {
    background-color: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .4);
}

.btn-reveal:active {
    transform: scale(.98);
}

/* ── FAQ accordion ───────────────────────────────────────────── */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s ease;
}

.faq-item.open {
    border-color: rgba(255, 255, 255, .25);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: inherit;
    font-size: .95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, .04);
}

.faq-chevron {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: currentColor;
    opacity: .5;
    transition: transform .22s ease, opacity .15s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    opacity: .8;
}

.faq-answer {
    font-size: .875rem;
    line-height: 1.7;
    opacity: .7;
    padding: 0 1.25rem 1rem;
    margin: 0;

    /* Entrance animation */
    animation: faq-slide-in .2s ease forwards;
}

@keyframes faq-slide-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: .7;
        transform: translateY(0);
    }
}

/* ── Responsive tweaks ───────────────────────────────────────── */

@media (max-width: 480px) {
    .contact-page {
        padding: 1.5rem 1rem 3rem;
    }

    .email-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-reveal {
        width: 100%;
        text-align: center;
    }

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