/* =========================================
   RESTORE CHURCH - MAIN STYLESHEET
========================================= */

/* --- CSS VARIABLES (BRAND COLORS) --- */
:root {
    --gold: #bfb439; /* Restore Green/Gold */
    --black: #231f20;
    --white: #ffffff;
    --gray: #666666;
    --dark: #1a1a1a;
    --bg-light: #f9f9f9;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --radius-card: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- BASE RESETS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

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

/* --- LAYOUT & CONTAINERS --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- BACKGROUNDS --- */
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-gold { background-color: var(--gold); color: var(--black); }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
    border: none;
}

.btn-primary:hover {
    background-color: #a89f32;
    transform: translateY(-2px);
}

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

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

/* --- NAVIGATION (WHITE HEADER) --- */
header {
    background: var(--white);
    color: var(--black);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .nav-links a.btn {
        margin-left: 0 !important;
    }
}

/* --- HERO SECTIONS --- */
.hero {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('hero-banner.jpg') center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- CARDS --- */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
}

.image-card {
    display: block;
    padding: 60px 30px 30px;
    border-radius: var(--radius-card);
    color: var(--white);
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.image-card:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* --- FOOTER --- */
footer {
    background-color: var(--black);
    color: #999;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-logo-wrapper {
    display: inline-block;
}

/* Footer Social Icons */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
}