/* Faith Center Freeport – theme styles (header, footer, form, fallbacks).
   Home page sections are styled inside Elementor. */

:root {
	--fcf-accent: #FFDF00;
	--fcf-dark: #323E45;
	--fcf-darker: #1E262B;
	--fcf-light: #F5F6F7;
	--fcf-text: #4A5560;
	--fcf-wrap: 1200px;
	--fcf-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--fcf-font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--fcf-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--fcf-dark); }
a:hover { color: #000; }
h1, h2, h3, h4, h5, h6 { font-family: var(--fcf-font); color: var(--fcf-dark); line-height: 1.2; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100000; top: 8px; left: 8px;
	background: var(--fcf-accent); color: var(--fcf-dark); padding: 10px 16px;
}

.fcf-wrap { width: 100%; max-width: var(--fcf-wrap); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.fcf-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--fcf-accent); color: var(--fcf-dark) !important;
	border: 2px solid var(--fcf-accent); border-radius: 0;
	padding: 14px 30px; font: 700 14px/1 var(--fcf-font);
	text-transform: uppercase; letter-spacing: 1px; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.fcf-btn:hover, .fcf-btn:focus-visible { background: var(--fcf-dark); border-color: var(--fcf-dark); color: #fff !important; }

/* Top bar */
.fcf-topbar { background: var(--fcf-darker); color: #C9D1D6; font-size: 14px; }
.fcf-topbar .fcf-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.fcf-topbar i { color: var(--fcf-accent); margin-right: 6px; }
.fcf-topbar a { color: #C9D1D6; text-decoration: none; margin-left: 22px; }
.fcf-topbar a:hover { color: #fff; }

/* Header */
.fcf-header {
	position: sticky; top: 0; z-index: 999;
	background: var(--fcf-dark);
	transition: box-shadow .25s, background .25s;
}
.admin-bar .fcf-header { top: 32px; }
.fcf-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.fcf-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.fcf-header__brand img, .fcf-logo img { display: block; max-height: 52px; width: auto; }
.custom-logo-link img { max-height: 60px; width: auto; display: block; }

.fcf-nav { display: flex; align-items: center; gap: 28px; }
.fcf-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.fcf-menu li { position: relative; }
.fcf-menu a {
	display: block; padding: 10px 12px; color: #fff; text-decoration: none;
	font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .6px;
}
.fcf-menu a::after {
	content: ""; display: block; height: 2px; background: var(--fcf-accent);
	transform: scaleX(0); transition: transform .2s; margin-top: 4px;
}
.fcf-menu a:hover::after, .fcf-menu .current-menu-item > a::after { transform: scaleX(1); }
.fcf-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--fcf-darker); opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s; border-top: 3px solid var(--fcf-accent);
}
.fcf-menu li:hover > .sub-menu, .fcf-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.fcf-menu .sub-menu a { text-transform: none; font-size: 15px; padding: 8px 18px; }
.fcf-menu .sub-menu a::after { display: none; }
.fcf-btn--header { padding: 12px 22px; font-size: 13px; }

.fcf-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.fcf-burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s; }
.fcf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.fcf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fcf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Inner page hero + content */
.fcf-page-hero { background: var(--fcf-dark); color: #fff; padding: 80px 0 70px; border-bottom: 5px solid var(--fcf-accent); }
.fcf-page-hero h1 { color: #fff; margin: 0; font-size: clamp(32px, 5vw, 52px); }
.fcf-content { padding-top: 60px; padding-bottom: 80px; }
.fcf-entry--card { padding: 24px 0; border-bottom: 1px solid #e5e8ea; }

/* Elementor helpers */
.fcf-card { transition: transform .25s, box-shadow .25s; }
.fcf-card:hover { transform: translateY(-6px); }
.fcf-ministry { transition: transform .25s; }
.fcf-ministry:hover { transform: translateY(-4px); }
.fcf-ministry .elementor-heading-title a { color: inherit; }
.fcf-ministry .elementor-heading-title a:hover { color: var(--fcf-accent); }
.fcf-gallery .swiper-slide-image { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.fcf-verse #dailyVersesWrapper { font-size: 20px; line-height: 1.6; color: var(--fcf-dark); font-style: italic; }
.fcf-verse #dailyVersesWrapper a { color: var(--fcf-dark); font-weight: 700; font-style: normal; display: inline-block; margin-top: 10px; }

/* Prayer form */
.fcf-form { display: grid; gap: 16px; text-align: left; }
.fcf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fcf-form label span { display: block; font-size: 14px; font-weight: 700; color: var(--fcf-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.fcf-form input, .fcf-form textarea {
	width: 100%; border: 1px solid #d5dbdf; background: #fff; border-radius: 0;
	padding: 14px 16px; font: 400 16px/1.5 var(--fcf-font); color: var(--fcf-dark);
	transition: border-color .2s, box-shadow .2s;
}
.fcf-form input:focus, .fcf-form textarea:focus { outline: none; border-color: var(--fcf-dark); box-shadow: 0 0 0 3px rgba(255,223,0,.45); }
.fcf-form .fcf-btn { justify-self: center; margin-top: 6px; }
.fcf-hp { position: absolute; left: -9999px; }
.fcf-form-msg { padding: 14px 18px; margin-bottom: 16px; font-weight: 500; }
.fcf-form-msg--ok { background: #e7f6ea; border-left: 4px solid #2e9d4f; color: #1f5e31; }
.fcf-form-msg--err { background: #fdecec; border-left: 4px solid #d43c3c; color: #7c1f1f; }

/* Footer */
.fcf-footer { background: var(--fcf-darker); color: #AEB8BF; font-size: 15px; border-top: 5px solid var(--fcf-accent); }
.fcf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.fcf-footer h4 { color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: 1.5px; margin: 6px 0 20px; }
.fcf-footer a { color: #AEB8BF; text-decoration: none; }
.fcf-footer a:hover { color: var(--fcf-accent); }
.fcf-footer__about img { max-height: 48px; width: auto; margin-bottom: 18px; }
.fcf-footer__menu, .fcf-footer__list { list-style: none; margin: 0; padding: 0; }
.fcf-footer__menu li, .fcf-footer__list li { margin-bottom: 10px; }
.fcf-footer__list i { color: var(--fcf-accent); width: 18px; margin-right: 6px; }
.fcf-footer__list strong { color: #fff; display: block; font-weight: 500; }
.fcf-social { display: flex; gap: 10px; margin-top: 18px; }
.fcf-social a {
	width: 40px; height: 40px; display: grid; place-items: center;
	background: rgba(255,255,255,.07); color: #fff; transition: background .2s, color .2s;
}
.fcf-social a:hover { background: var(--fcf-accent); color: var(--fcf-dark); }
.fcf-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 14px; text-align: center; }

/* Responsive */
@media (max-width: 1100px) {
	.fcf-menu a { padding: 10px 8px; font-size: 14px; }
	.fcf-nav { gap: 16px; }
}
@media (max-width: 1024px) {
	.fcf-burger { display: block; }
	.fcf-nav {
		position: fixed; inset: 124px 0 0 0; background: var(--fcf-dark);
		flex-direction: column; align-items: stretch; gap: 0; padding: 20px;
		transform: translateX(100%); transition: transform .3s; overflow-y: auto;
	}
	.fcf-nav.is-open { transform: none; }
	.fcf-menu { flex-direction: column; }
	.fcf-menu a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
	.fcf-menu a::after { display: none; }
	.fcf-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding-left: 14px; }
	.fcf-btn--header { margin-top: 20px; justify-content: center; }
	.fcf-footer__grid { grid-template-columns: 1fr 1fr; }
	body.fcf-menu-open { overflow: hidden; }
}
@media (max-width: 782px) {
	.admin-bar .fcf-header { top: 0; }
}
@media (max-width: 640px) {
	.fcf-hide-sm { display: none; }
	.fcf-topbar .fcf-wrap { font-size: 13px; }
	.fcf-header__inner { min-height: 70px; }
	.fcf-header__brand img, .fcf-logo img { max-height: 40px; }
	.fcf-nav { inset: 110px 0 0 0; }
	.fcf-form__row, .fcf-footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* v1.1 – inner pages */
.fcf-form__row--3 { grid-template-columns: 2fr 1fr 1fr; }
.elementor-section[id], .fcf-form-wrap { scroll-margin-top: 140px; }
.fcf-page-hero-el .elementor-heading-title { text-wrap: balance; }
.fcf-card .elementor-icon-list-text a, .fcf-card a { text-decoration: none; }
.give-form-wrap, .give-form { max-width: 100%; }
@media (max-width: 640px) {
	.fcf-form__row--3 { grid-template-columns: 1fr; }
}
