/* =====================================================
   GURUDWARA SAHIB DURHAM REGION
   assets/css/app.css
   Bright, warm, rich Sikh community theme
   ===================================================== */

:root {
	--gold:       #C9820A;
	--gold-light: #F5C842;
	--gold-pale:  #FFF4D6;
	--orange:     #E07B1A;
	--brown:      #7B3F00;
	--cream:      #FFFBF0;
	--white:      #FFFFFF;
	--text-dark:  #1A1A1A;
	--text-mid:   #4A4A4A;
	--text-light: #888888;
	--border:     #EDE0C4;
	--shadow-sm:  0 2px 12px rgba(201,130,10,0.10);
	--shadow:     0 4px 24px rgba(201,130,10,0.13);
	--shadow-lg:  0 8px 40px rgba(201,130,10,0.20);
	--radius:     12px;
	--radius-sm:  7px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
	font-family: 'Nunito', sans-serif;
	background: var(--cream);
	color: var(--text-dark);
	line-height: 1.75;
	font-size: 16px;
}

h1, h2, h3 {
	font-family: 'Playfair Display', serif;
	line-height: 1.25;
}

p { margin-bottom: 1rem; color: var(--text-mid); }
a { color: var(--gold); }

img { max-width: 100%; }

/* ---- UTILITY ---- */
.hideAll     { display: none !important; }
.text-right  { text-align: right; }
.text-center { text-align: center; }
.pointer     { cursor: pointer; }
.section-pad { padding: 5rem 0; }
.section-alt { background: #fff; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(255,255,255,0.98);
	border-bottom: 2px solid var(--gold-pale);
	box-shadow: 0 2px 16px rgba(0,0,0,0.07);
	padding: 0.8rem 0;
}

.header__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
}

.header__khanda {
	font-size: 2.2rem;
	color: var(--gold);
	line-height: 1;
}

.header__text strong {
	display: block;
	font-family: 'Playfair Display', serif;
	font-size: 1.1rem;
	color: var(--gold);
	line-height: 1.2;
}

.header__text span {
	display: block;
	font-size: 0.72rem;
	color: var(--text-light);
	letter-spacing: 0.5px;
}

/* ---- DESKTOP NAV ---- */
.main-nav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.1rem;
	flex-wrap: wrap;
}

.nav-link {
	text-decoration: none;
	color: var(--text-mid);
	font-weight: 700;
	font-size: 0.875rem;
	padding: 0.4rem 0.85rem;
	border-radius: 6px;
	transition: all 0.18s;
	display: inline-block;
}

.nav-link:hover { color: var(--gold); background: var(--gold-pale); }

.nav-link.active {
	color: var(--gold);
	background: var(--gold-pale);
}

.nav-link--donate {
	background: var(--gold);
	color: #fff !important;
	border-radius: 50px;
	padding: 0.4rem 1rem;
	margin-left: 0.5rem;
}

.nav-link--donate:hover { background: var(--orange); color: #fff; }

/* ---- MOBILE MENU BUTTON ---- */
.mobile-menu-btn {
	background: none;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.3rem 0.7rem;
	font-size: 1.25rem;
	color: var(--gold);
	cursor: pointer;
	line-height: 1.4;
}

/* ---- MOBILE NAV ---- */
.mobile-nav {
	background: #fff;
	border-bottom: 2px solid var(--gold-pale);
	padding: 0.75rem 1.5rem 1rem;
}

.mobile-nav a {
	display: block;
	text-decoration: none;
	color: var(--text-mid);
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child { border-bottom: none; }

.donate-link-mobile {
	color: var(--gold) !important;
	font-weight: 800 !important;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
	position: relative;
	background: linear-gradient(135deg, var(--brown) 0%, #A0600E 40%, var(--gold) 75%, var(--gold-light) 100%);
	padding: 7rem 0 6rem;
	text-align: center;
	overflow: hidden;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 15% 85%, rgba(255,255,255,0.07) 0%, transparent 50%),
		radial-gradient(ellipse at 85% 15%, rgba(255,255,255,0.07) 0%, transparent 50%);
	pointer-events: none;
}

.hero__khanda {
	font-size: 5rem;
	color: rgba(255,255,255,0.80);
	display: block;
	margin-bottom: 1rem;
	position: relative;
	z-index: 1;
}

.hero__title {
	font-size: clamp(1.6rem, 3.5vw, 2.8rem);
	font-weight: 900;
	color: #fff;
	margin-bottom: 0.75rem;
	position: relative;
	z-index: 1;
	line-height: 1.3;
}

.hero__title span {
	display: block;
	font-size: 0.65em;
	color: var(--gold-light);
	font-weight: 500;
	margin-top: 0.3rem;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 0.5px;
}

.hero__tagline {
	color: rgba(255,255,255,0.85);
	font-size: 0.95rem;
	margin-bottom: 2rem;
	position: relative;
	z-index: 1;
}

.hero__buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.hero__wave {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	line-height: 0;
}
.hero__wave svg { width: 100%; display: block; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
	display: inline-block;
	background: #fff;
	color: var(--gold);
	border: 2px solid #fff;
	padding: 0.72rem 2rem;
	border-radius: 50px;
	font-weight: 800;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--gold-light);
	border-color: var(--gold-light);
	color: var(--brown);
}

.btn-secondary {
	display: inline-block;
	background: transparent;
	color: var(--gold);
	border: 2px solid var(--gold);
	padding: 0.72rem 2rem;
	border-radius: 50px;
	font-weight: 800;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
}

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

.btn-donate {
	display: inline-block;
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,0.75);
	padding: 0.72rem 2rem;
	border-radius: 50px;
	font-weight: 800;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-donate:hover { background: rgba(255,255,255,0.18); }

.btn-donate-big {
	display: inline-block;
	background: #fff;
	color: var(--gold);
	border: 2px solid #fff;
	padding: 0.85rem 2.5rem;
	border-radius: 50px;
	font-weight: 800;
	font-size: 1rem;
	text-decoration: none;
	margin-top: 1.25rem;
	transition: all 0.2s;
}

.btn-donate-big:hover {
	background: var(--gold-light);
	border-color: var(--gold-light);
	color: var(--brown);
}

/* =====================================================
   INFO STRIP
   ===================================================== */
.info-strip {
	background: var(--cream);
	padding: 2rem 0;
	border-bottom: 1px solid var(--border);
}

.info-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.9rem 1rem;
	margin-bottom: 0.75rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s;
}

.info-item:hover { transform: translateY(-2px); }
.info-item > span { font-size: 1.7rem; }
.info-item strong { display: block; font-size: 0.85rem; color: var(--gold); }
.info-item small  { font-size: 0.78rem; color: var(--text-light); display: block; }

/* =====================================================
   SECTION LABELS & HEADINGS
   ===================================================== */
.section-badge {
	display: inline-block;
	background: var(--gold-pale);
	color: var(--gold);
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 0.3rem 1rem;
	border-radius: 50px;
	border: 1px solid #F5C84250;
	margin-bottom: 0.6rem;
}

.section-heading {
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.section-sub {
	color: var(--text-light);
	max-width: 520px;
	margin: 0 auto 0.5rem;
}

.content-heading {
	font-size: 1.4rem;
	color: var(--text-dark);
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--gold-pale);
}

/* =====================================================
   PRINCIPLE CARDS (home page)
   ===================================================== */
.principle-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem 1.4rem;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: all 0.22s;
	height: 100%;
}

.principle-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--gold-light);
}

.principle-card__icon { font-size: 2.4rem; margin-bottom: 0.6rem; }

.principle-card h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1rem;
	color: var(--gold);
	margin-bottom: 0.4rem;
}

.principle-card p { font-size: 0.88rem; color: var(--text-mid); margin: 0; }

/* =====================================================
   HOME IMAGE BLOCK
   ===================================================== */
.home-image-block { padding: 1rem 0; }

.home-image-placeholder {
	background: linear-gradient(135deg, var(--gold-pale), #FFE8A0);
	border: 2px solid var(--gold-light);
	border-radius: var(--radius);
	min-height: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--gold);
	font-size: 4rem;
	box-shadow: var(--shadow);
}

.home-image-placeholder p {
	font-size: 0.85rem;
	color: var(--text-light);
	margin: 0.5rem 0 0;
	font-family: 'Nunito', sans-serif;
}

/* =====================================================
   EVENT / PROGRAM CARDS
   ===================================================== */
.events-loading {
	text-align: center;
	padding: 2.5rem;
	color: var(--text-light);
	font-size: 0.9rem;
	width: 100%;
}

.events-loading img { vertical-align: middle; margin-right: 0.4rem; }

.no-events {
	text-align: center;
	padding: 3rem;
	color: var(--text-light);
	width: 100%;
}

.event-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.22s;
	height: 100%;
}

.event-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--gold-light);
}

.event-card__poster {
	width: 100%;
	height: 175px;
	object-fit: cover;
	display: block;
}

.event-card__placeholder {
	width: 100%;
	height: 175px;
	background: linear-gradient(135deg, var(--gold-pale), #FFE094);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3.5rem;
}

.event-card__body { padding: 1.1rem 1.3rem 1.4rem; }

.event-card__date {
	display: inline-block;
	background: var(--gold-pale);
	color: var(--gold);
	font-weight: 800;
	font-size: 0.73rem;
	padding: 0.2rem 0.7rem;
	border-radius: 50px;
	margin-bottom: 0.45rem;
}

.event-card h3 {
	font-family: 'Playfair Display', serif;
	font-size: 0.98rem;
	color: var(--text-dark);
	margin-bottom: 0.35rem;
}

.event-card p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }

.event-card__time {
	font-size: 0.78rem;
	color: var(--gold);
	font-weight: 700;
	margin-top: 0.45rem;
}

/* =====================================================
   PAGE HERO (inner pages — about, programs, contact)
   ===================================================== */
.page-hero {
	background: linear-gradient(135deg, var(--brown) 0%, var(--gold) 100%);
	padding: 4rem 0 3rem;
	text-align: center;
}

.page-hero__title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	color: #fff;
	margin-bottom: 0.4rem;
}

.page-hero__sub {
	color: rgba(255,255,255,0.82);
	font-size: 0.95rem;
	max-width: 450px;
	margin: 0 auto;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1.4rem;
}

.contact-item > span { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--gold); font-size: 0.85rem; font-weight: 800; }
.contact-item p { color: var(--text-mid); font-size: 0.92rem; margin: 0; }
.contact-item a { color: var(--gold); }

.donate-card {
	background: linear-gradient(135deg, var(--brown), var(--gold));
	border-radius: var(--radius);
	padding: 2.5rem 2rem;
	text-align: center;
	color: #fff;
	box-shadow: var(--shadow-lg);
}

.donate-card__symbol { font-size: 3rem; margin-bottom: 0.75rem; opacity: 0.85; }

.donate-card h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.35rem;
	color: #fff;
	margin-bottom: 0.75rem;
}

.donate-card p { color: rgba(255,255,255,0.88); font-size: 0.92rem; margin-bottom: 0.5rem; }
.donate-card em { color: rgba(255,255,255,0.75); font-size: 0.88rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
	background: var(--brown);
	padding: 3rem 0 1.5rem;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.footer-khanda { font-size: 1.8rem; color: var(--gold-light); }
.footer-logo strong { color: #fff; font-size: 0.95rem; }
.footer-logo small  { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.footer-links a {
	color: rgba(255,255,255,0.70);
	text-decoration: none;
	font-size: 0.85rem;
	transition: color 0.15s;
}

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

.footer-social {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.footer-social a {
	color: rgba(255,255,255,0.70);
	text-decoration: none;
	font-size: 0.85rem;
	transition: color 0.15s;
}

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

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding-top: 1.25rem;
	text-align: center;
}

.footer-bottom p { color: rgba(255,255,255,0.50); font-size: 0.78rem; margin-bottom: 0.2rem; }

/* =====================================================
   RESPONSIVE — small screens
   ===================================================== */
@media screen and (max-width: 640px) {
	.section-pad  { padding: 3rem 0; }
	.hero         { padding: 5rem 0 4.5rem; }
	.hero__khanda { font-size: 3.5rem; }
	.footer-bottom { text-align: left; }
}
