/* ===================================================================
   3SRB — Disciple Profile Pages (shared styles)
   Used by: bahadursingh, rajenvakil, darabhesania
   =================================================================== */

:root {
    --section-max: 1100px;
}

html {
    scroll-snap-type: y mandatory;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 40px 60px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: var(--section-max);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.hero-portrait img {
    width: 100%;
    max-width: 340px;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.08);
    transition: transform 0.6s ease;
}

.hero-portrait img:hover {
    transform: translateY(-6px) scale(1.01);
}

.hero-portrait figcaption {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    font-weight: 400;
}

.hero-portrait figcaption strong {
    color: var(--text);
    font-weight: 500;
}

.hero-text .label {
    font-family: var(--font-button);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 500;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 0.3em;
}

.hero-text .subtitle {
    font-family: var(--font-subheading);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-style: italic;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-text .intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 540px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-family: var(--font-button);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.4;
}

.hero-scroll-indicator .scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    padding: 80px 40px 100px;
    position: relative;
}

.content-inner {
    max-width: var(--section-max);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 500;
    margin-bottom: 0.3em;
}

.content-header p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

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

.content-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text);
}

.content-body p:last-child {
    margin-bottom: 0;
}

/* ========== EXTERNAL LINKS ========== */
.links-section {
    padding: 60px 40px 100px;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: var(--section-max);
    margin: 2rem auto 0;
}

.link-card {
    background: var(--card);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.320, 1), border-color 0.3s ease;
    text-decoration: none;
    display: block;
    color: var(--text);
}

.link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: rgba(184, 134, 11, 0.15);
}

.link-card .link-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.link-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.link-card p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ========== QUOTE BANNER ========== */
.quote-banner {
    padding: 80px 40px;
    text-align: center;
    background: var(--card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.quote-banner blockquote {
    font-family: var(--font-subheading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: var(--primary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.quote-banner cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: normal;
    color: var(--muted);
    margin-top: 1rem;
}

/* ========== BACK HOME ========== */
.back-home {
    text-align: center;
    padding: 40px;
}

.back-home a {
    font-family: var(--font-button);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 24px;
    border: 1px solid rgba(92, 35, 35, 0.15);
    border-radius: 4px;
    transition: background 0.3s, border-color 0.3s;
    display: inline-block;
}

.back-home a:hover {
    background: rgba(92, 35, 35, 0.04);
    border-color: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-portrait img {
        max-width: 240px;
    }
    .hero-text .intro {
        max-width: 100%;
    }
    .hero, .content-section, .links-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 600px) {
    .hero-portrait img {
        max-width: 180px;
    }
    .links-grid {
        grid-template-columns: 1fr;
    }
}
