/* ======================================
   ROOT VARIABLES
====================================== */

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;

  --text-color: #1f2937;
  --muted-color: #6b7280;

  --bg-color: #f8fafc;

  --white: #ffffff;

  --gray-light: #e5e7eb;

  --dark: #111827;

  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  --radius: 14px;

  --transition: all 0.3s ease;
}

/* ======================================
   RESET
====================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;

  color: var(--text-color);

  background: var(--bg-color);
}

/* ======================================
   ACCESSIBILITY
====================================== */

.skip-link {
  position: absolute;

  top: -50px;

  left: 10px;

  background: var(--dark);

  color: white;

  padding: 10px 15px;

  z-index: 2000;
}

.skip-link:focus {
  top: 10px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #93c5fd;

  outline-offset: 3px;
}

/* ======================================
   HEADER / NAVIGATION
====================================== */

.site-header {
  background: var(--white);

  position: sticky;

  top: 0;

  z-index: 1000;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar {
  max-width: 1200px;

  margin: auto;

  padding: 1rem 2rem;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.logo-img {
  width: auto;

  height: 60px;

  display: block;
}

.nav-links {
  display: flex;

  list-style: none;

  gap: 2rem;
}

.nav-links a {
  text-decoration: none;

  color: var(--text-color);

  font-weight: 600;

  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--primary-color);
}

/* ======================================
   GENERAL CONTENT
====================================== */

main {
  min-height: 70vh;
}

section {
  max-width: 1200px;

  margin: auto;

  padding: 4rem 2rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

/* ======================================
   FEATURES ("Why DSS?")
====================================== */

.features {
  text-align: center;
}

.features h2 {
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 2rem;
}

.features-grid .card {
  text-align: center;
}

/* ======================================
   HERO
====================================== */

.hero {
  min-height: 650px;

  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

  color: white;

  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
    url("../images/background.jpg");

  background-size: cover;

  background-position: center;
}

.hero .content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);

  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

/* ======================================
   BUTTONS
====================================== */

.btn {
  display: inline-block;

  padding: 0.75rem 1.5rem;

  background: white;

  color: var(--primary-color);

  border-radius: 8px;

  font-weight: 700;

  text-decoration: none;

  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

/* ======================================
   CARDS
====================================== */

.card,
.contact-card,
.stat-card {
  background: white;

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.card {
  padding: 2rem;
}

/* ======================================
   ABOUT INTRO
====================================== */

.about-intro {
  text-align: center;
}

.about-intro .card {
  max-width: 800px;

  margin: 0 auto;

  text-align: justify;

  hyphens: auto;
}

/* ======================================
   MEMBERS
====================================== */

.committee-row {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 2rem;

  margin-bottom: 2rem;
}

.member-card {
  max-width: 320px;

  transition: var(--transition);
}

.member-card:hover {
  transform: translateY(-6px);
}

.member-card img {
  width: 100%;

  height: auto;

  aspect-ratio: 3 / 4;

  object-fit: contain;

  background: #f1f5f9;

  display: block;

  border-radius: 12px;

  box-shadow: var(--shadow);
}

.member-card figcaption {
  text-align: center;

  margin-top: 0.75rem;
}

.member-card .member-name {
  display: block;

  font-weight: 700;

  color: var(--text-color);
}

.member-card .member-role {
  display: block;

  font-size: 0.9rem;

  color: var(--muted-color);
}

/* ======================================
   CONTACT
====================================== */

.contact-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 2rem;
}

/* ======================================
   CONTACT INTRO
====================================== */

.contact-section h1 {
  text-align: center;
}

.contact-section .section-intro {
  max-width: 700px;

  margin: 0 auto 2.5rem;

  text-align: center;
}

.contact-card {
  padding: 2rem;

  text-align: center;
}

.map-container iframe {
  width: 100%;

  height: 350px;

  border: 0;

  border-radius: 12px;
}

/* ======================================
   FORMS
====================================== */

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

.form-group label {
  display: block;

  font-weight: 600;

  margin-bottom: 0.5rem;
}

input,
textarea,
select {
  width: 100%;

  padding: 0.8rem;

  border: 1px solid var(--gray-light);

  border-radius: 8px;

  font-size: 1rem;
}

.submit-btn {
  background: var(--primary-color);

  color: white;

  border: 0;

  padding: 0.8rem 1.5rem;

  border-radius: 8px;

  cursor: pointer;
}

.submit-btn:hover {
  background: var(--secondary-color);
}

/* ======================================
   FOOTER
====================================== */

.site-footer,
footer {
  background: var(--dark);

  color: white;

  text-align: center;

  padding: 2rem;

  margin-top: 4rem;
}

/* ======================================
   HIGHLIGHT
====================================== */

mark {
  background: #dbeafe;

  color: #1e3a8a;

  padding: 3px 6px;

  border-radius: 4px;
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;

    gap: 1rem;

    padding: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;

    justify-content: center;

    gap: 1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .hero {
    min-height: 500px;
  }

  .card {
    padding: 1.3rem;
  }
}

/* ======================================
   REDUCED MOTION
====================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;

    transition: none !important;

    scroll-behavior: auto;
  }
}

/* ==============================
   BRANDING
================================ */

.brand {
  display: flex;

  align-items: center;

  gap: 12px;

  text-decoration: none;

  color: var(--primary-color);
}

.brand-name {
  font-size: 1.25rem;

  font-weight: 700;

  white-space: nowrap;
}

/* Mobile */

@media (max-width: 768px) {
  .brand-name {
    font-size: 1.1rem;
  }
}
