/*
Theme Name: Utshab New England Pro
Theme URI: https://utshab.org/
Author: OpenAI
Author URI: https://openai.com/
Description: A custom WordPress theme for Utshab – New England Hindu Society with integrated logo, event photography, gallery, committee section, donation call-to-action, and contact details.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: utshab-pro
*/

:root {
  --bg: #fbf5ee;
  --surface: #fffdf9;
  --text: #2c211d;
  --muted: #6c5a52;
  --brand: #8a1f23;
  --brand-2: #d76a00;
  --gold: #d3a33f;
  --border: #eddcca;
  --shadow: 0 18px 40px rgba(44, 33, 29, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.section { padding: 82px 0; }
.section-soft { background: linear-gradient(180deg, #fffdf9 0%, #f9f1e7 100%); }
.section-band {
  background: linear-gradient(rgba(77, 19, 21, 0.84), rgba(77, 19, 21, 0.84)), url('assets/images/slide-3.jpg') center/cover no-repeat;
}
.section-title { font-size: clamp(2rem, 4vw, 3.35rem); margin: 0 0 14px; }
.section-subtitle { color: var(--muted); max-width: 860px; margin: 0 0 30px; font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.narrow { max-width: 760px; }
.light-text { color: #fff; }
.light-subtitle { color: rgba(255,255,255,0.84); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-outline { border-color: var(--brand); background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-outline.light { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline.light:hover { background: #fff; color: var(--brand); }
.btn-primary.alt { background: linear-gradient(135deg, #fff, #f7dfae); color: var(--brand); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,253,249,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237,220,202,0.95);
}
.header-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.branding { display: flex; align-items: center; gap: 14px; color: inherit; }
.site-logo-wrap img,
.custom-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.site-title { display: block; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.site-tagline { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
.nav-menu { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(44,33,29,.08);
}
.header-inner nav {
	
	
}
.header-inner .nav-menu {
	
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transition: transform .25s ease, opacity .2s ease;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu a { font-weight: 700; color: var(--text); }
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: url('assets/images/slide-1.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(41,18,14,.74) 0%, rgba(41,18,14,.45) 42%, rgba(41,18,14,.20) 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; color: #fff; padding: 72px 0; }
.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.04; margin: 0 0 16px; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.two-col { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: center; }
.about-logo-card { padding: 28px; }
.about-logo { width: 100%; border-radius: 20px; object-fit: contain; background: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.compact-grid .info-card { padding: 24px; }
.info-card h3, .feature-body h3, .committee-card h3, .contact-card h3 { margin-top: 0; }
.feature-card { overflow: hidden; }
.feature-image img { width: 100%; height: 320px; object-fit: cover; }
.feature-body { padding: 24px; }
.tag {
  display: inline-block;
  padding: 6px 10px;
  background: #fff7e7;
  border: 1px solid var(--border);
  color: var(--brand);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.committee-grid .committee-card { padding: 24px; }
.committee-role {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  background: #fff9ef;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .82rem;
  font-weight: 700;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 20px;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.gallery-item.large { grid-row: span 2; min-height: 580px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.donate-section { padding-top: 20px; }
.donate-wrap {
  padding: 34px;
  background: linear-gradient(135deg, rgba(138,31,35,.97), rgba(215,106,0,.92));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.donate-wrap p { max-width: 700px; color: rgba(255,255,255,.9); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 28px; }
.contact-meta { color: var(--muted); }
.notice {
  padding: 14px 16px;
  background: #fff9ed;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}
.site-footer {
  background: #2c211d;
  color: rgba(255,255,255,.85);
  padding: 28px 0;
}
.site-footer a { color: #f7d98e; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.page-content-wrap { padding: 52px 0; }
.entry-content { width: min(100% - 32px, 850px); margin: 0 auto; }

@media (max-width: 1100px) {
  .two-col { grid-template-columns: 260px 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-2, .grid-3, .contact-grid, .gallery-grid, .two-col { grid-template-columns: 1fr; }
  .gallery-item.large { grid-row: auto; min-height: 360px; }
  .feature-image img { height: 260px; }
  .donate-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 980px) {
  .header-inner { min-height: 78px; gap: 14px; position: relative; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 16px;
    background: rgba(255,253,249,0.98);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f2e5d7;
  }
  .menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .header-inner, .footer-inner, .hero-actions { flex-direction: column; align-items: flex-start; }
  .branding { width: 100%; padding-right: 60px; }
  .menu-toggle { position: absolute; top: 13px; right: 0; }
  .site-title { font-size: 1.12rem; }
  .site-tagline { font-size: 0.88rem; }
  .hero { min-height: 72vh; }
  .hero-copy { padding: 56px 0; }
  .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 981px) {
  .nav-menu { display: flex !important; }
}

