/*
Theme Name: Church of Acts
Theme URI: https://yourchurch.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A modern, responsive church theme with live streaming, sermon support, and Facebook integration.
Version: 1.0
License: GPL v2 or later
Text Domain: church-of-acts
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { color: #d4a017; text-decoration: none; }
a:hover { color: #b3870f; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
.site-header { background: #1a1a1a; color: #fff; padding: 15px 0; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-branding .site-title { font-size: 1.8rem; font-weight: 700; color: #fff; }
.site-branding .site-title a { color: inherit; }
.main-navigation ul { list-style: none; display: flex; gap: 25px; }
.main-navigation a { color: #ccc; font-weight: 500; transition: color 0.3s; }
.main-navigation a:hover { color: #d4a017; }

/* ========== HERO (front page) ========== */
.hero { background: url('images/hero-bg.jpg') center/cover no-repeat; min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; color: #fff; }
.hero::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }
.button { display: inline-block; background: #d4a017; color: #fff; padding: 12px 30px; border-radius: 5px; font-weight: 600; margin: 0 8px; transition: background 0.3s; }
.button:hover { background: #b3870f; color: #fff; }
.button-outline { background: transparent; border: 2px solid #d4a017; }
.button-outline:hover { background: #d4a017; }

/* ========== SECTIONS ========== */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2rem; color: #1a1a1a; }

/* ========== SERVICE TIMES CARD ========== */
.service-times { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.time-card { background: #f7f7f7; padding: 25px; border-radius: 8px; text-align: center; min-width: 180px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* ========== LATEST SERMON GRID ========== */
.sermon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.sermon-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.sermon-card img { width: 100%; height: 180px; object-fit: cover; }
.sermon-card .sermon-details { padding: 20px; }
.sermon-card h3 { margin-bottom: 8px; }

/* ========== FOOTER ========== */
.site-footer { background: #1a1a1a; color: #ccc; padding: 40px 0; text-align: center; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-menu ul { display: flex; gap: 20px; list-style: none; }
.footer-menu a { color: #ccc; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .main-navigation ul { flex-direction: column; gap: 10px; }
  .hero h1 { font-size: 2.2rem; }
  .site-footer .container { flex-direction: column; gap: 15px; }
}