/* styles.css — TRUE light theme, family-friendly, crimson accents */

:root{
  --bg: #ffffff;
  --bg-2: #fbfbfd;        /* very light gray */
  --card: #ffffff;

  --text: #14121a;        /* near-black text */
  --muted: rgba(20,18,26,0.68);
  --line: rgba(20,18,26,0.10);

  --accent: #c1121f;      /* crimson */
  --accent-2: #e11d2e;    /* hover */
  --accent-wash: rgba(193,18,31,0.08);

  --radius: 18px;
  --shadow: 0 14px 36px rgba(17, 12, 21, 0.10);
  --shadow-soft: 0 10px 24px rgba(17, 12, 21, 0.08);

  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: ui-rounded, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  line-height: 1.6;

  /* Light background with a very subtle warm tint */
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(193,18,31,0.06), transparent 55%),
    radial-gradient(800px 520px at 85% 5%, rgba(193,18,31,0.04), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--accent-2); }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.logo-mark{
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #7b0f18);
  box-shadow: 0 8px 18px rgba(193,18,31,0.18);
}

/* Logo image sizing */
.logo img {
  height: 48px;      /* Adjust if your header gets taller/shorter */
  width: auto;
  display: block;
}


.logo-text{ color: var(--text); }

.nav-links{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: rgba(20,18,26,0.72);
}

.nav-links a{
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-links a:hover{
  background: var(--accent-wash);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 12, 21, 0.06);
}

/* Page */
.page{ padding-bottom: 44px; }

/* Hero */
.hero{
  border-bottom: 1px solid var(--line);
}

/* Hero layout adjustment */
.hero-inner {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom:60px;
}

/* Centered logo above title */
.hero-logo {
  margin-bottom: 24px;
}

.hero-logo img {
  max-width: 320px;   /* Keeps it from being huge on desktop */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Keep hero text nicely constrained */
.hero-inner h1,
.hero-inner p {
  max-width: 750px;
}


.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.4px;
}

.hero p{
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
}

.hero-actions{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.15px;
  box-shadow: var(--shadow-soft);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(193,18,31,0.25);
  box-shadow: var(--shadow);
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent), #a1141f);
  color: #fff;
  border-color: rgba(193,18,31,0.45);
}

.btn.primary:hover{
  background: linear-gradient(135deg, var(--accent-2), #b1121f);
}

.btn.ghost{
  background: rgba(255,255,255,0.92);
}

/* Sections */
.section{ padding: 44px 0; }

.section-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.section-head{ margin-bottom: 18px; }

.section h2{
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.1px;
}

.muted{
  margin: 0;
  color: var(--muted);
}

/* Signup block */
.signup{
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.signup p{
  color: var(--muted);
  margin: 0 0 14px;
}

/* Events grid */
.events-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-tile{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.event-tile:hover{
  transform: translateY(-4px);
  border-color: rgba(193,18,31,0.22);
  box-shadow: var(--shadow);
}

.event-tile img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  background: #f1f2f6;
}

.event-meta{
  padding: 14px 14px 16px;
}

.event-meta h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

.subtitle{
  margin: 0 0 8px;
  color: rgba(20,18,26,0.64);
  font-size: 13px;
}

.date{
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
}

.date::before{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7b0f18);
  box-shadow: 0 0 0 3px rgba(193,18,31,0.10);
}

/* About */
.about{
  border-top: 1px solid var(--line);
  padding-top: 54px;
}

.about p{
  color: var(--muted);
  max-width: 80ch;
}

/* Contact card */
.contact-card{
  margin-top: 18px;
  background: var(--accent-wash);
  border: 1px solid rgba(193,18,31,0.18);
  border-radius: 22px;
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
}

.contact-title{
  margin: 0 0 6px;
  font-weight: 950;
  letter-spacing: 0.2px;
}

.contact-line{
  margin: 0;
  font-weight: 750;
}

.contact-line a{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(20,18,26,0.25);
}

.contact-line a:hover{
  color: var(--accent-2);
  text-decoration-color: rgba(225,29,46,0.45);
}

/* Responsive */
@media (max-width: 980px){
  .events-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px){
  .events-grid{ grid-template-columns: 1fr; }
  .nav-links{ gap: 6px; }
  .nav-links a{ padding: 8px 10px; }
}
