/* DISCIPLES' HOUSE - Go Deeper Edition */

:root {
    --bg: #F8F9FA;
    --dark: #1A1A1A;
    --text: #333;
    --muted: #666;
    --red: #B91C1C;
    --serif: 'Libre Baskerville', Georgia, serif;
    --body: 'Crimson Pro', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 19px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248,249,250,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo { height: 36px; }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--serif);
    font-size: 0.9rem;
    color: var(--dark);
    text-decoration: none;
}

.nav-links a:hover { color: var(--red); }

.nav-cta {
    background: var(--red) !important;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}

.lang-switch {
    opacity: 0.6;
    font-size: 0.85rem;
    padding-left: 1rem;
    border-left: 1px solid #CCC;
}

.lang-switch:hover { opacity: 1; }

/* HAMBURGER */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-top: 100px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 280px;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--muted);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 0.9rem 2rem;
    font-family: var(--serif);
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.btn:hover { background: #991B1B; }

.btn-outline {
    background: transparent;
    border: 2px solid var(--red);
    color: var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: white;
}

.section.dark .btn-outline {
    border-color: #EF4444;
    color: #EF4444;
}

.section.dark .btn-outline:hover {
    background: #EF4444;
    color: white;
}

/* SECTIONS */
.section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--bg);
}

.section.dark {
    background: var(--dark);
    color: #EEE;
}

.section.dark h2,
.section.dark h3,
.section.dark h4 { color: #FFF; }

.section.dark p { color: #CCC; }

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.container.centered { text-align: center; }

h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

h4 {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

h4:first-child { margin-top: 0; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

p.lead {
    font-size: 1.2rem;
    color: var(--muted);
}

.section.dark p.lead { color: #BBB; }

p.statement {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0;
}

.red { color: var(--red); }

/* REVEAL SYSTEM (Eraser Effect) */
.section-reveal {
    position: relative;
}

.reveal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    transition: none;
}

/* Fix background during Go Deeper expansion */
.reveal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    min-height: 100vh;
}

.section-reveal {
    min-height: auto;
}

.bg-img.sepia { filter: sepia(70%) contrast(1.1); }
.bg-img.bw { filter: grayscale(100%) contrast(1.2); }
.bg-img.warm { filter: saturate(1.1); }

.hero .bg-img {
    opacity: 0.4;
    filter: none;
}

.reveal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* GO DEEPER SYSTEM */
.go-deeper-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--red);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 1.5rem;
    transition: gap 0.2s;
}

.go-deeper-trigger:hover {
    gap: 0.75rem;
}

.go-deeper-trigger .arrow {
    transition: transform 0.3s;
}

.go-deeper-trigger.open .arrow {
    transform: rotate(90deg);
}

.section.dark .go-deeper-trigger {
    color: #F87171;
}

.deeper-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 1.2s ease-out, opacity 0.8s ease;
    opacity: 0;
}

.deeper-content > .deeper-inner {
    overflow: hidden;
}

.deeper-content.open {
    grid-template-rows: 1fr;
    opacity: 1;
}

.deeper-inner {
    overflow: hidden;
    background: rgba(185, 28, 28, 0.05);
    border-left: 3px solid var(--red);
    padding: 2rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.section.dark .deeper-inner {
    background: rgba(255,255,255,0.05);
    border-left-color: #F87171;
}

.deeper-inner h4 {
    color: var(--red);
}

.section.dark .deeper-inner h4 {
    color: #F87171;
}

.collapse-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 1.5rem;
}

.collapse-trigger:hover {
    color: var(--text);
}

.section.dark .collapse-trigger {
    color: rgba(255,255,255,0.5);
}

.section.dark .collapse-trigger:hover {
    color: rgba(255,255,255,0.8);
}

/* GATHERINGS GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.gather-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 1.25rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: background 0.2s, transform 0.2s;
}

.gather-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

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

.gather-card h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1.05rem;
    color: white;
}

.gather-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* Light section cards */
.section:not(.dark) .gather-card {
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--dark);
}

.section:not(.dark) .gather-card:hover {
    background: rgba(0,0,0,0.07);
}

.section:not(.dark) .gather-card h4 {
    color: var(--dark);
}

.section:not(.dark) .gather-card p {
    color: var(--muted);
}

/* SERVE GRID */
.serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.serve-item {
    text-align: left;
}

.serve-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.serve-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* FORM */
.form {
    max-width: 400px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form input,
.form textarea,
.form select {
    padding: 0.8rem 1rem;
    font-family: var(--body);
    font-size: 1rem;
    border: 1px solid #DDD;
    border-radius: 4px;
    background: white;
}

.form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: none;
    border-color: var(--red);
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: #999;
    padding: 3rem;
    text-align: center;
}

.footer p { margin-bottom: 0.5rem; }

.footer a { color: #EF4444; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(248,249,250,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    .lang-switch { border-left: none; padding-left: 0; }
    
    body { font-size: 17px; }
    .hero { padding-top: 80px; }
    .hero-logo { max-width: 200px; }
    .section { padding: 60px 0; }
    .container { padding: 0 1.5rem; }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gather-card {
        padding: 1rem 0.75rem;
    }
    
    .gather-card .icon {
        font-size: 1.75rem;
    }
    
    .gather-card h4 {
        font-size: 0.95rem;
    }
    
    .gather-card p {
        font-size: 0.85rem;
    }
    
    .serve-grid {
        grid-template-columns: 1fr;
    }
    
    .deeper-inner { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gather-card {
        padding: 0.85rem 0.5rem;
    }
}
