/* ===== St. George Antiochian Orthodox Cathedral – Main Stylesheet ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #8B6914;
  --gold-light:  #c9a84c;
  --gold-pale:   #f7f0e0;
  --burgundy:    #6B1A2A;
  --navy:        #1C2D4A;
  --dark:        #1a1a1a;
  --text:        #2c2c2c;
  --gray-mid:    #d8d0c4;
  --gray-light:  #f5f2ec;
  --white:       #ffffff;
  --footer-bg:   #111820;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: #fff;
}
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }

/* HEADER */
header { background: var(--navy); border-bottom: 3px solid var(--gold-light); padding: 16px 0; }
header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.header-logo img { max-height: 90px; }
.header-tagline { color: var(--gold-light); font-style: italic; font-size: 0.9rem; text-align: right; line-height: 1.5; }
.header-tagline strong { color: #fff; font-style: normal; display: block; font-size: 1rem; }

/* NAV */
nav { background: var(--dark); border-bottom: 2px solid var(--gold); }
nav > .container > ul { list-style: none; display: flex; flex-wrap: wrap; }
nav ul li { position: relative; }
nav ul li a { display: block; padding: 13px 17px; color: #ccc; font-family: Georgia, serif; font-size: 0.88rem; letter-spacing: 0.02em; transition: background 0.2s, color 0.2s; }
nav ul li a:hover, nav ul li a.active { color: var(--gold-light); background: rgba(255,255,255,0.06); text-decoration: none; }
nav ul li ul { display: none; position: absolute; top: 100%; left: 0; background: #1e1e1e; min-width: 240px; z-index: 999; box-shadow: 0 6px 20px rgba(0,0,0,0.5); border-top: 2px solid var(--gold); }
nav ul li:hover > ul { display: flex; flex-direction: column; }
nav ul li ul li a { padding: 10px 18px; font-size: 0.83rem; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* HERO */
.hero { position: relative; overflow: hidden; height: 460px; background: var(--navy); }
.hero-slide { display: none; position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide.active { display: block; animation: fadeIn 0.8s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.58) 100%); }
.hero-text { position: absolute; bottom: 60px; left: 0; right: 0; text-align: center; color: #fff; padding: 0 30px; }
.hero-text h1 { font-size: 2.6rem; text-shadow: 0 2px 8px rgba(0,0,0,0.7); margin-bottom: 8px; }
.hero-text p { font-size: 1.05rem; font-style: italic; color: var(--gold-light); text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: background 0.2s; }
.hero-dot.active { background: var(--gold-light); }

/* WELCOME STRIP */
.welcome-strip { background: var(--gold-pale); border-top: 3px solid var(--gold-light); border-bottom: 3px solid var(--gold-light); padding: 28px 0; text-align: center; }
.welcome-strip h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.welcome-strip p { max-width: 720px; margin: 0 auto; color: #444; }

/* TWO-COL */
.two-col { display: flex; gap: 32px; padding: 40px 0; align-items: flex-start; }
.main-col { flex: 1; min-width: 0; }
.side-col { width: 280px; flex-shrink: 0; }

/* HOME CONTENT BLOCKS */
.home-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0; }
.home-block { background: var(--gray-light); border: 1px solid var(--gray-mid); border-top: 3px solid var(--gold-light); padding: 22px; }
.home-block img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 12px; }
.home-block h3 { color: var(--navy); font-size: 1.02rem; margin-bottom: 8px; }
.home-block p { font-size: 0.9rem; margin-bottom: 12px; }
.home-block a.btn { display: inline-block; background: var(--burgundy); color: #fff; padding: 7px 16px; font-size: 0.82rem; }
.home-block a.btn:hover { background: var(--navy); text-decoration: none; }

/* VIDEO */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 22px 0; border: 2px solid var(--gray-mid); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* AUDIO */
.sermon-entry { border-bottom: 1px solid var(--gray-mid); padding: 18px 0; }
.sermon-entry h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.sermon-entry audio { width: 100%; margin: 8px 0; }
.sermon-entry a { font-size: 0.84rem; }

/* MAP */
.map-embed { margin: 22px 0; }
.map-embed iframe { width: 100%; height: 320px; border: none; }

/* PAGE CONTENT */
.main-col h1 { font-size: 1.9rem; color: var(--navy); border-bottom: 2px solid var(--gold-light); padding-bottom: 12px; margin-bottom: 26px; }
.main-col h2 { font-size: 1.3rem; color: var(--burgundy); margin: 22px 0 10px; }
.main-col h3 { font-size: 1.1rem; color: var(--navy); margin: 18px 0 8px; }
.main-col h4 { font-size: 1rem; color: var(--navy); margin: 14px 0 6px; }
.main-col p { margin-bottom: 14px; }
.main-col ul { padding-left: 22px; margin-bottom: 14px; }
.main-col ul li { margin-bottom: 5px; }
.main-col ol { padding-left: 22px; margin-bottom: 14px; }
.main-col ol li { margin-bottom: 5px; }
hr { border: none; border-top: 1px solid var(--gray-mid); margin: 26px 0; }
.notice-box { background: var(--gold-pale); border-left: 4px solid var(--gold); padding: 16px 20px; margin: 18px 0; }
.notice-box p { margin: 0; }
.inline-img { max-width: 100%; height: auto; margin: 16px 0; }
.inline-img-right { float: right; max-width: 260px; margin: 0 0 16px 24px; }

/* SIDEBAR */
.services-box { background: var(--navy); color: #e0d5be; padding: 22px; margin-bottom: 20px; }
.services-box h3 { font-size: 0.9rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 8px; }
.services-box p { font-size: 0.87rem; margin-bottom: 10px; line-height: 1.6; }
.services-box strong { color: #fff; }
.services-box a { color: var(--gold-light); font-size: 0.82rem; display: inline-block; margin-top: 6px; }
.sidebar-widget { background: var(--gray-light); border: 1px solid var(--gray-mid); border-top: 3px solid var(--gold-light); margin-bottom: 20px; overflow: hidden; }
.sidebar-widget h4 { background: var(--navy); color: var(--gold-light); padding: 10px 16px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; }
.sidebar-widget ul { list-style: none; padding: 12px 16px; }
.sidebar-widget ul li { border-bottom: 1px solid var(--gray-mid); padding: 7px 0; font-size: 0.88rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--burgundy); }
.sidebar-widget .widget-body { padding: 14px 16px; font-size: 0.9rem; }

/* CONTACT FORM */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; margin-bottom: 4px; color: #555; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--gray-mid); font-size: 0.92rem; font-family: Georgia, serif; background: #fff; }
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-submit { background: var(--burgundy); color: #fff; padding: 10px 28px; border: none; font-size: 0.92rem; cursor: pointer; font-family: Georgia, serif; }
.btn-submit:hover { background: var(--navy); }

/* FOOTER */
footer { background: var(--footer-bg); color: #8a9bac; padding: 44px 0 18px; font-size: 0.85rem; }
.footer-grid { display: flex; gap: 36px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-col { flex: 1; min-width: 150px; }
.footer-col h5 { color: var(--gold-light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: #8a9bac; }
.footer-col ul li a:hover { color: var(--gold-light); text-decoration: none; }
.footer-address { line-height: 1.8; }
.footer-address strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; text-align: center; color: #4a5e6e; font-size: 0.78rem; }

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero { height: 260px; }
  .hero-text h1 { font-size: 1.6rem; }
  .two-col { flex-direction: column; }
  .side-col { width: 100%; }
  .home-blocks { grid-template-columns: 1fr; }
  .inline-img-right { float: none; max-width: 100%; margin: 16px 0; }
  .footer-grid { flex-direction: column; }
}
