/*
Theme Name: 633 Outreach Church Theme
Theme URI: https://citywidetech.com
Author: Carlos - CityWide Tech
Author URI: https://citywidetech.com
Description: A beautiful, modern WordPress theme designed for 633 Outreach Church featuring prayer requests, donations, and community outreach.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.9.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: outreach-church
Tags: church, ministry, community, donation, prayer
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #C9A961;
    --dark-gold: #B39652;
    --black: #1a1a1a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #666666;
    --success: #28a745;
    --error: #dc3545;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--dark-gold);
}

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

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-dark {
    background-color: var(--black);
    color: var(--white);
}

.section-light {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

/* ===================================
   HEADER
   =================================== */
.site-header {
    background-color: var(--black);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    max-width: 120px;
    height: auto;
}

.site-title {
    color: var(--gold);
    font-size: 1.8rem;
    margin: 0;
}

/* ===================================
   NAVIGATION
   =================================== */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: var(--gold);
    margin-bottom: 20px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    display: block;
}

/* ===================================
   SERVICES/OUTREACH SECTION
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--black);
    margin-bottom: 15px;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--black);
}

/* When service card is a link */
a.service-card {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.service-card:hover {
    text-decoration: none;
}

/* ===================================
   RSS FEED SECTION (Word of the Day)
   =================================== */
.rss-feed-container {
    max-width: 800px;
    margin: 0 auto;
}

.rss-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--gold);
}

.rss-item:last-child {
    margin-bottom: 0;
}

.rss-title {
    margin-bottom: 15px;
}

.rss-title a {
    color: var(--gold);
    font-size: 1.5rem;
    text-decoration: none;
}

.rss-title a:hover {
    color: var(--dark-gold);
    text-decoration: underline;
}

.rss-content {
    line-height: 1.8;
    margin-bottom: 15px;
}

.rss-content p {
    margin-bottom: 1rem;
}

.rss-date {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0;
}

/* ===================================
   FORMS (Contact & Prayer)
   =================================== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-dark .form-container {
    background-color: #2d2d2d;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

.section-dark .form-group label {
    color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.section-dark .form-group input,
.section-dark .form-group textarea,
.section-dark .form-group select {
    background-color: #3d3d3d;
    border-color: #555;
    color: var(--white);
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

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

.form-submit button {
    cursor: pointer;
    border: none;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===================================
   DONATION SECTION
   =================================== */
.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.donation-option {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 3px solid var(--gold);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donation-option:hover {
    background-color: var(--gold);
    transform: scale(1.05);
}

.donation-option:hover h3,
.donation-option:hover p {
    color: var(--black);
}

.donation-amount {
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 10px;
}

.donation-option:hover .donation-amount {
    color: var(--black);
}

.custom-amount {
    max-width: 400px;
    margin: 30px auto;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--gold);
    color: var(--black);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--white);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--black);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    .form-container {
        padding: 20px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}
