/*
================================================================================
THE WORD MINER MINISTRIES - MAIN STYLESHEET
File: assets/css/main.css
================================================================================
*/

/* CSS Variables */
:root {
    --black: #000000;
    --vivid-red: #ff1616;
    --orange: #fdbb58;
    --dark-brown: #5f3d1e;
    --white: #ffffff;
    --gray-light: rgba(255, 255, 255, 0.1);
    --gray-medium: rgba(255, 255, 255, 0.5);
    --gray-dark: rgba(255, 255, 255, 0.8);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Alata', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vivid-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--dark-brown);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.custom-logo-link img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--vivid-red);
}

.cta-nav-btn {
    background: var(--vivid-red);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.cta-nav-btn:hover {
    background: var(--orange);
    color: var(--black) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--orange);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, var(--black) 0%, #1a0a00 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 22, 22, 0.05) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

.hero-content .highlight {
    color: var(--vivid-red);
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--orange);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-content .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--gray-dark);
}

.tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--orange);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Alata', sans-serif;
}

.btn-primary {
    background: var(--vivid-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 22, 22, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: var(--orange);
    color: var(--black);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-primary {
    margin-top: 2rem;
}

.cta-subtext {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-top: 1rem;
}

/* Sanctuary Box */
.sanctuary-box {
    background: linear-gradient(135deg, rgba(95, 61, 30, 0.3) 0%, rgba(255, 22, 22, 0.1) 100%);
    border: 2px solid var(--dark-brown);
    border-radius: 8px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.sanctuary-box h3 {
    font-size: 1.8rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sanctuary-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--vivid-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.feature-content h4 {
    color: var(--orange);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--gray-dark);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-text {
    font-size: 0.8rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--orange);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    50% { top: 24px; opacity: 0.5; }
    100% { top: 8px; opacity: 1; }
}

/* Problem Section */
.problem-section {
    padding: 6rem 5%;
    background: var(--black);
}

.problem-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-header .subtitle {
    font-size: 1.2rem;
    color: var(--orange);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: linear-gradient(135deg, rgba(95, 61, 30, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid var(--dark-brown);
    border-left: 4px solid var(--vivid-red);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--orange);
}

.problem-card h3 {
    color: var(--orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.problem-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* Email Signup */
.email-signup {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--black) 100%);
    border: 2px solid var(--vivid-red);
    border-radius: 8px;
    padding: 3rem;
    max-width: 800px;
    margin: 4rem auto;
}

.email-signup h3 {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 1rem;
    text-align: center;
}

.email-signup p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--dark-brown);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-family: 'Alata', sans-serif;
}

.signup-form input::placeholder {
    color: var(--gray-medium);
}

.signup-form button {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

/* Latest Posts Section */
.latest-posts {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #0a0000 0%, var(--black) 100%);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: linear-gradient(135deg, rgba(95, 61, 30, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid var(--dark-brown);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 22, 22, 0.2);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card .post-content {
    padding: 2rem;
}

.post-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-card h3 a {
    color: var(--white);
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--orange);
}

.post-meta {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.post-excerpt {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.read-more {
    color: var(--vivid-red);
    font-weight: 600;
    display: inline-block;
}

.read-more:hover {
    color: var(--orange);
}

.view-all-posts {
    text-align: center;
    margin-top: 3rem;
}

/* Page Content */
.page-content,
.site-main {
    padding: 8rem 0 4rem;
}

.content-area {
    flex: 1;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 3rem;
    color: var(--white);
}

.entry-meta {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.entry-meta span {
    margin-right: 1.5rem;
}

.entry-content {
    color: var(--gray-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2 {
    color: var(--orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content h3 {
    color: var(--orange);
    margin-top: 1.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--vivid-red);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(95, 61, 30, 0.2);
    font-style: italic;
    color: var(--gray-dark);
}

/* Sidebar */
.sidebar {
    width: 300px;
    margin-left: 4rem;
}

.widget {
    background: linear-gradient(135deg, rgba(95, 61, 30, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid var(--dark-brown);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--orange);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--dark-brown);
    padding-bottom: 0.5rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--gray-dark);
    text-decoration: none;
}

.widget ul li a:hover {
    color: var(--orange);
}

/* Footer */
.site-footer {
    background: var(--black);
    border-top: 2px solid var(--dark-brown);
    padding: 4rem 5% 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--orange);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-dark);
    line-height: 1.7;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--gray-dark);
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--orange);
}

.footer-newsletter input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--dark-brown);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: 4px;
}

.footer-newsletter button {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid var(--dark-brown);
    padding-top: 2rem;
    text-align: center;
}

.footer-credits p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Comments */
.comments-area {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--dark-brown);
}

.comments-title {
    color: var(--orange);
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: rgba(95, 61, 30, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--vivid-red);
}

.comment-author {
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-metadata {
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.comment-content {
    color: var(--gray-dark);
}

/* 404 Error Page */
.error-404 {
    text-align: center;
    padding: 10rem 5%;
}

.error-404 h1 {
    font-size: 10rem;
    color: var(--vivid-red);
    margin-bottom: 1rem;
}

.error-404 h2 {
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.error-search {
    max-width: 500px;
    margin: 3rem auto;
}

.error-links ul {
    list-style: none;
    padding: 0;
    max-width: 400px;
    margin: 2rem auto;
}

.error-links li {
    margin: 1rem 0;
}

.error-links a {
    color: var(--orange);
    font-size: 1.1rem;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--dark-brown);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border-radius: 4px;
}

.search-submit {
    padding: 0.8rem 1.5rem;
    background: var(--vivid-red);
    border: none;
    color: var(--white);
    border-radius: 4px;
    cursor: pointer;
}

.search-submit:hover {
    background: var(--orange);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .signup-form {
        flex-direction: column;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 600px) {
    .hero {
        padding: 6rem 5% 4rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .email-signup,
    .scroll-indicator {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}