/* ===================================================================
   3SRB — Bahadursingh Sucharia page specific styles
   =================================================================== */

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

/* scroll-snap-type is set in disciples.css (shared by all disciple profile pages) */

/* ========== 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);
}

/* ========== TIMELINE ========== */
.timeline-section {
    padding: 80px 40px 100px;
    position: relative;
}

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

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(to bottom, var(--secondary), var(--primary), var(--secondary));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding: 0 0 3rem 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-date {
    font-family: var(--font-button);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.timeline-content {
    background: var(--card);
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 16px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

.timeline-content .tag {
    display: inline-block;
    font-family: var(--font-button);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(216, 162, 62, 0.1);
    color: var(--accent);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

/* ========== CAMPS GALLERY ========== */
.camps-section {
    padding: 60px 40px 100px;
    position: relative;
}

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

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

.camps-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
}

.camps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.camp-card {
    background: var(--card);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

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

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

.camp-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;
}

/* ========== OVERRIDE .back-home from common.css ========== */
.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%;
    }
    .timeline {
        padding-left: 30px;
    }
    .timeline-item {
        padding-left: 30px;
    }
    .timeline-dot {
        left: -24px;
        width: 12px;
        height: 12px;
    }
    .hero, .timeline-section, .camps-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ========== DISCIPLES STRIP — moved to common.css ========== */
/* ========== DISCIPLES CARDS ========== */

/* ========== DISCIPLES CARDS ========== */
/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: 60px 40px 100px;
    position: relative;
}

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

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

.gallery-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
}

.gallery-header p {
    color: var(--muted);
    margin-top: 0.5rem;
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-placeholder {
    aspect-ratio: 4 / 3;
    background: var(--card);
    border-radius: 12px;
    border: 2px dashed var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    transition: border-color 0.3s;
}

.gallery-placeholder:hover {
    border-color: var(--secondary);
}

.gallery-icon {
    font-size: 2rem;
    opacity: 0.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .disciples-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .disciples-strip {
        gap: 6px;
        padding: 6px 12px;
        font-size: 0.65rem;
    }
    .strip-label {
        display: none;
    }
    .hero {
        padding-top: calc(var(--nav-height) + 40px + 40px);
    }
}

@media (max-width: 600px) {
    .strip-photo {
        width: 18px;
        height: 18px;
    }
    .hero-portrait img {
        max-width: 180px;
    }
    .timeline-content {
        padding: 18px 20px;
    }
    .camps-grid {
        grid-template-columns: 1fr;
    }
    .quote-banner {
        padding: 50px 24px;
    }
    .disciples-section,
    .gallery-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}
