/* Base Styles and Reset */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-bg: #0A192F;
    --secondary-bg: #112240;
    --accent-gold: #D4AF37;
    --accent-emerald: #10B981;
    --text-primary: #E6F1FF;
    --text-secondary: #8892B0;
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(212, 175, 55, 0.2);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--accent-gold);
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-gold);
}

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

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #112240 0%, #0A192F 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    /* Professional Building/Structure */
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    color: var(--accent-emerald);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.about {
    background: var(--secondary-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Monthly Theme */
.monthly-theme {
    background: var(--primary-bg);
    position: relative;
}

.theme-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.theme-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.theme-month {
    color: var(--accent-emerald);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.theme-topics {
    margin: 2rem 0;
}

.theme-topics li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.theme-topics li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* Devotional Preview */
.preview-section {
    background: var(--secondary-bg);
}

.devotional-card {
    background: var(--primary-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.devotional-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.scripture-box {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--accent-gold);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
}

.section-label {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 1px;
}

/* Subscribe */
.subscribe {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1932&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.subscribe-form {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.subscribe-input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px;
}

.subscribe-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Footer */
footer {
    background: #050d1a;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
}

footer p {
    font-size: 0.9rem;
}

/* Core Theme Highlight */
.core-theme {
    background: var(--primary-bg);
}

.core-theme .theme-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid var(--accent-gold);
}

/* Membership Structure */
.membership-section {
    background: var(--secondary-bg);
}

.membership-section .about-grid {
    gap: 2rem;
}

.membership-section .about-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: var(--transition);
    padding: 3rem;
}

.membership-section .about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Who Section */
.who-section {
    background: var(--primary-bg);
}

.who-section .about-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.who-section h4 {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-bottom: 0;
    transition: var(--transition);
    font-size: 1rem;
}

.who-section h4:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
    transform: scale(1.05);
}

/* Responsive */
@media screen and (max-width: 960px) {
    .navbar {
        padding: 1rem 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(10px);
        padding-top: 5rem;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        margin: 1.5rem 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .who-section .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .theme-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
    }

    .theme-topics li {
        padding-left: 1.2rem;
        text-align: left;
        display: block;
        margin-bottom: 0.5rem;
    }

    .subscribe-form {
        flex-direction: column;
        width: 100%;
    }

    .subscribe-input {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .devotional-card {
        padding: 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 0 1rem;
    }

    .who-section .about-grid {
        grid-template-columns: 1fr;
    }
}