:root {
  --skibo-red: #931120;
  --brick-beige: #e4dac3;
  --gold-thread: #fdb513;
  --blue-thread: #033572;

  --bg-main: #fffaef;
  --border: #ddd;
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  background: var(--bg-main);
  color: #111;
  line-height: 1.7;
}

/* GLOBAL WIDTH CONTROL */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  background: var(--bg-main);
}

/* NAV */
.nav-inner {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg-main);
  border-bottom: 3px solid var(--skibo-red);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 24px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav,
.hero {
  width: 100%;
}

.nav > * {
  max-width: 1200px;
  margin: 0 auto;
}

.hero > * {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--skibo-red);
  white-space: nowrap;
}

.nav-brand img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  margin: 0; /* remove old spacing */
  text-decoration: none;
  color: var(--blue-thread);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--skibo-red);
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  display: inline-block;
  padding: 18px 44px;
  font-size: 1.125rem;
  border-radius: 999px;
  font-weight: 800;
  background: var(--skibo-red);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 20px rgba(147, 17, 32, 0.25); /* subtle lift */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  background: #7d0f1b;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(147, 17, 32, 0.35);
}

.hero .btn-primary {
  font-size: 1.25rem;
  padding: 20px 52px;
}

.btn-secondary {
  background: var(--gold-thread);
  color: #000;
}

/* SECTIONS — FULL WIDTH */
.section {
  width: 100%;
  background: var(--bg-main);
  padding: 48px 0;
}

.section.alt {
  background: var(--bg-main); /* keep white */
}

.section h2 {
  text-align: center;
  color: var(--skibo-red);
  margin-bottom: 48px;
}

.section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  padding: 32px;
  border-radius: 14px;
  border-top: 6px solid var(--gold-thread);
}

.card h3 {
  margin-top: 0;
  color: var(--blue-thread);
}

/* BOARD TILES */
.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.board-tile {
  background: #fff;
  border-radius: 14px;
  border-top: 6px solid var(--skibo-red);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.board-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(147, 17, 32, 0.12);
}

/* Placeholder — swap for <img class="board-photo"> when photos are ready */
.board-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--brick-beige);
  /* silhouette icon via CSS */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='28' r='14' fill='%23c8bfa8'/%3E%3Cellipse cx='40' cy='62' rx='22' ry='14' fill='%23c8bfa8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: 60%;
}

/* When you swap in real photos, this keeps them square and cropped */
.board-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.board-info {
  padding: 16px 12px 20px;
}

.board-name {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1.5rem;
  color: #111;
}

.board-role {
  margin: 0;
  font-size: 1.25rem;
  color: var(--skibo-red);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.board-degree {
  margin: 0;
  font-weight: 500;
  font-size: 0.875rem;
  color: #111;
}

/* Mobile: stack to single column */
@media (max-width: 500px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}

/* EVENTS */
.event {
  max-width: 700px;
  margin: 0 auto 32px auto;
  text-align: center;
}

.event h3 {
  color: var(--blue-thread);
}

/* CTA — FULL BLEED */
.cta {
  width: 100%;
  background: var(--skibo-red);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* FOOTER — FULL WIDTH */
footer {
  width: 100%;
  background: var(--bg-main);
  color: #111;
  border-top: 1px solid #eee;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 48px 24px;
  background: var(--bg-main);
  color: #111;
  gap: 32px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-col {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-thread);
}

.footer-col a {
  text-decoration: none;
  color: var(--blue-thread);
}

.footer-col a:hover {
  color: var(--skibo-red);
}

.footer-logo {
  width: 80px;
  height: auto;
  margin-bottom: 12px;
}


.footer-content a {
  color: #fff;
  text-decoration: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

/* Social icons inside footer */
.social {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}

.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--skibo-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social a:hover {
  background: var(--gold-thread);
  transform: translateY(-2px);
}

.social svg {
  width: 22px;
  height: 22px;
  stroke: #fff !important;
  fill: none !important;
  stroke-width: 2;
  display: block;
}


/* SUBTLE GOLD DIVIDER */
.section-divider {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-divider::before {
  content: "";
  width: 120px;
  height: 3px;
  background: var(--gold-thread);
  border-radius: 2px;
  opacity: 0.8;
}

/* Image divider */
.section-image-divider {
  width: 100%;
  height: clamp(240px, 40vh, 420px);

  background-image: url("assets/Gallery Pics/ramadan_fence_2023.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* subtle polish */
  position: relative;
}

/* optional soft overlay for consistency */
.section-image-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
}

.copyright {
  margin-top: 24px;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 140px 24px;
  text-align: center; */
  overflow: hidden;

  padding: clamp(80px, 10vh, 160px) clamp(16px, 5vw, 64px);

  background-image: url("assets/plaid.png");
  background-repeat: repeat;
  /* background-size: 1600px auto; */
  background-position: center top;
}

/* collage layer */
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  padding: 80px;
}

/* individual photos */
.hero-photo {
  position: relative;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  transform: rotate(var(--tilt));
  transition: transform 0.3s ease;
  background-color: var(--skibo-red);
  overflow: hidden;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: inherit;
  background-size: cover;
  background-position: center;

  filter: blur(1px);
  transform: scale(1.1);

  z-index: 1;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;

  /* mask that hides blur in the center */
  mask-image: radial-gradient(
    ellipse at center,
    transparent 45%,
    black 75%
  );

  -webkit-mask-image: radial-gradient(
    ellipse at center,
    transparent 45%,
    black 75%
  );

  background: transparent;
  z-index: 2;
}

.hero-photo {
  background-blend-mode: normal;
}


/* feature image */
.hero-photo:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* content sits on top */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-logo {
  width: 200px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  color: var(--skibo-red);
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 32px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gold-thread);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Soft white overlay above photos */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 235, 0.55);
  z-index: 2;
  pointer-events: none;
}

/* MOBILE */
@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-collage {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px;
  }

  .hero-photo:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .section {
    padding: 56px 16px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-col {
    align-items: center;
  }

  .footer-col {
    flex: none;
  }

  .social {
    justify-content: center;
  }
}
