*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #F4B942;
  --gold-dark: #e5a830;
  --navy: #1B2A4A;
  --cream: #FFF8E7;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #718096;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(27,42,74,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.scrolled .logo { color: var(--navy); }

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.scrolled .nav a { color: var(--navy); }
.nav a:hover { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.scrolled .hamburger span { background: var(--navy); }

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.85), rgba(27,42,74,0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: 700;
}

.section-light { background: var(--white); }

.section-dark {
  background: var(--cream);
}

.section-dark h2 { color: var(--navy); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text { font-size: 1.05rem; }
.about-text p { margin-bottom: 1rem; }

.about-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(27,42,74,0.12);
}

/* Platform */
.platform-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.05rem;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.serve-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(27,42,74,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.serve-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27,42,74,0.1);
}

.serve-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.serve-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.serve-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Efforts */
.efforts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.effort-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(27,42,74,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.effort-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27,42,74,0.1);
}

.effort-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.effort-body {
  padding: 1.5rem;
}

.effort-body h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.effort-body p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.effort-link {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.effort-link:hover { text-decoration: underline; }

/* Gallery */
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}

.gallery-item {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27,42,74,0.15);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-item .gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-caption { opacity: 1; }

/* Connect */
.connect-section { text-align: center; }

.connect-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.connect-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.connect-link svg {
  width: 20px;
  height: 20px;
}

.connect-link:hover {
  background: var(--gold-dark);
  color: var(--navy);
  transform: translateY(-2px);
}

/* 404 Page */
.not-found-page {
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  padding-top: 6rem;
}

.not-found-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.not-found-page p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 2rem;
}

.not-found-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.not-found-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 85vw;
  max-height: 78vh;
  border-radius: 8px;
  object-fit: contain;
  transition: opacity 0.25s;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}

.lightbox-nav:hover {
  opacity: 1;
  background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.lightbox-counter {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .serve-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    color: var(--navy);
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo { order: -1; }

  .about-photo img { max-width: 300px; margin: 0 auto; display: block; }

  .serve-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .serve-card { padding: 1.5rem 1rem; }

  .efforts-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid { columns: 2; }

  .lightbox-nav { padding: 0.5rem 0.75rem; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .serve-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .section { padding: 3rem 0; }

  .lightbox-nav { display: none; }
}
