/* Arangaon Grampanchayat — Static Site Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fbf7ef;
  --fg: #2a1f15;
  --muted: #6b6256;
  --muted-bg: #f3eee3;
  --card: #ffffff;
  --border: #e6dfd1;
  --primary: #c1671c;
  --primary-fg: #fffdf8;
  --secondary: #4a8a3f;
  --secondary-fg: #fffdf8;
  --accent: #f5e2b8;
  --accent-fg: #3a2510;
  --shadow-card: 0 4px 20px -8px rgba(60, 30, 10, 0.18);
  --shadow-elegant: 0 10px 40px -12px rgba(193, 103, 28, 0.28);
  --gradient-hero: linear-gradient(135deg, #c1671c 0%, #4a8a3f 100%);
  --gradient-warm: linear-gradient(180deg, #fffdf8 0%, #f5e8d0 100%);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a.link { color: var(--primary); }
a.link:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Top utility bar */
.utility {
  background: var(--secondary);
  color: var(--secondary-fg);
  font-size: 0.78rem;
}
.utility .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.utility a { display: inline-flex; align-items: center; gap: 0.4rem; }
.utility a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img {
  height: 48px; width: 48px; border-radius: 999px;
  object-fit: contain; background: var(--card);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
}
.brand .name { font-weight: 700; font-size: 1.05rem; }
.brand .loc { font-size: 0.72rem; color: var(--muted); }
.nav { display: flex; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 0.8rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover, .nav a.active {
  background: var(--accent); color: var(--accent-fg);
}
@media (max-width: 768px) {
  .nav { display: none; }
}

/* Page header / hero */
.page-header {
  background: var(--gradient-hero);
  color: white;
}
.page-header .container {
  padding-top: 3rem; padding-bottom: 3rem;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #000;
}
.page-header p {
  margin-top: 0.5rem;
  max-width: 42rem;
  color: #000;
}

/* Sections */
section { padding: 3rem 0; }
section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.5rem; }
section h3 { font-size: 1.15rem; font-weight: 700; }
.muted { color: var(--muted); }

/* Cards & grids */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.2rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 1px solid transparent; transition: opacity 0.15s, background 0.15s;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 4px 12px rgba(193,103,28,0.3); }
.btn-primary:hover { opacity: 0.92; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--muted-bg); }
.btn-white { background: white; color: var(--primary); }

/* Hero on home */
.hero-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero-image img {
  width: 100%; height: clamp(320px, 50vw, 520px); object-fit: cover;
}
.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
}
.hero-title {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  max-width: 48rem;
  line-height: 1.15;
}
.hero-sub {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-cta { margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Highlights */
.warm-band {
  background: var(--gradient-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.icon-box {
  height: 40px; width: 40px; border-radius: 8px;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center; margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

/* Gallery */
.gallery-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid figure {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  box-shadow: var(--shadow-card);
}
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; }
.gallery-grid figcaption { padding: 1rem; font-size: 0.88rem; color: var(--muted); }

/* History */
.history-card {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  box-shadow: var(--shadow-elegant);
}
.history-card .img-wrap { background: var(--muted-bg); display: flex; align-items: center; justify-content: center; }
.history-card img { width: 100%; height: 28rem; object-fit: cover; }
.history-card img.contain { object-fit: contain; }
.history-card .body { padding: 1.25rem; }
.history-card .body p { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.section-tinted { background: rgba(74, 138, 63, 0.08); border-bottom: 1px solid var(--border); }
.quote-box {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(193,103,28,0.06);
  padding: 1.5rem; text-align: center; font-style: italic;
}

/* About committee */
.member {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 1rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.member .role { color: var(--primary); font-weight: 600; font-size: 0.85rem; }

/* Aside */
aside.info {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
aside.info dt { color: var(--muted); font-size: 0.85rem; margin-top: 0.7rem; }
aside.info dd { font-weight: 600; }

/* Services */
.service {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.service:hover { box-shadow: var(--shadow-card); }
.service .check { color: var(--secondary); font-size: 1.4rem; }
.service h3 { margin-top: 0.7rem; }
.service p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--muted); }
.help-band {
  margin: 0 auto;
  border-radius: 12px;
  background: #000;
  color: #fff;
  padding: 1.75rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: var(--shadow-elegant);
}

/* Contact */
.contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 1.25rem;
}
.contact-row .ic {
  height: 40px; width: 40px; border-radius: 8px;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center; flex-shrink: 0;
}
form.contact-form {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
form.contact-form label { display: block; font-size: 0.9rem; font-weight: 500; margin-top: 0.9rem; }
form.contact-form input, form.contact-form textarea {
  width: 100%; margin-top: 0.35rem;
  padding: 0.6rem 0.8rem; border: 1px solid var(--border);
  border-radius: 6px; background: var(--bg); font: inherit;
}

/* Quick links cards */
.qcard {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; padding: 1.5rem; display: block;
  transition: box-shadow 0.2s;
}
.qcard:hover { box-shadow: var(--shadow-elegant); }
.qcard h3:hover { color: var(--primary); }
.qcard .more { display: inline-flex; gap: 0.25rem; color: var(--primary); font-weight: 500; margin-top: 1rem; font-size: 0.9rem; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--primary-fg);
  margin-top: 3rem;
}
.site-footer .container { padding-top: 2.5rem; padding-bottom: 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; font-size: 0.9rem; opacity: 0.92; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 2rem; padding-top: 1rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  font-size: 0.78rem; opacity: 0.85;
}

/* Helpers */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.prose p + h2 { margin-top: 2rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose ul { margin-top: 0.5rem; padding-left: 1.25rem; color: var(--muted); }
.prose ul li { margin-bottom: 0.3rem; }
/* Professional Form Styling */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #1f2937;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-control:focus {
  outline: none;
  border-color: #059669; /* Green focus ring */
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.btn-submit {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #16a34a; /* Professional Green */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.2);
}

.btn-submit:hover {
  background-color: #15803d; /* Darker green on hover */
  box-shadow: 0 6px 8px -1px rgba(22, 163, 74, 0.3);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive fixes for the form */
@media(max-width:900px){
  .contact-form-card {
    padding: 1.5rem;
  }
}/* about.html two-column layout */
.about-two-col { display:grid; gap:2.5rem; grid-template-columns:2fr 1fr; }
@media(max-width:900px) { .about-two-col { grid-template-columns:1fr; } }

/* history.html two-column layout */
.history-two-col { display:grid; gap:2.5rem; grid-template-columns:1fr 1fr; }
@media(max-width:900px) { .history-two-col { grid-template-columns:1fr; } }
