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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #222;
  background-color: #f7f7f7;
}

/* GLOBAL ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 2.5rem 0;
}

.section-light {
  background-color: #ffffff;
}

a {
  color: inherit;
}

/* HEADER ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e2e2;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: #444;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-color: #222;
}

.main-nav a.active {
  border-color: #f5a623;
}

/* HERO -------------------------------------------------------- */
.hero {
  position: relative;
  height: 60vh;
  min-height: 320px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/hero.jpg"); /* your top image */
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: brightness(0.85);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.45)
  );
}

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

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  color: #f1f1f1;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-date {
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* CARDS ------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background-color: #ffffff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.25rem 1.4rem 1.4rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  background-color: #222;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.card-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #f5a623;
  font-weight: 600;
}

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

/* ABOUT & CONTACT --------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.about-photo {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
}

.about-role {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.2rem;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.about-contact h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.field span {
  margin-bottom: 0.25rem;
  color: #555;
}

.field input,
.field textarea {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border-radius: 3px;
  border: 1px solid #d6d6d6;
  background-color: #fafafa;
}

.field textarea {
  resize: vertical;
}

.btn-disabled {
  margin-top: 0.25rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 3px;
  border: none;
  background-color: #e0e0e0;
  color: #777;
  cursor: not-allowed;
}

/* FOOTER ------------------------------------------------------ */
.site-footer {
  border-top: 1px solid #e2e2e2;
  background-color: #ffffff;
}

.footer-inner {
  padding: 0.9rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

/* RESPONSIVE -------------------------------------------------- */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    flex-wrap: wrap;
    row-gap: 0.3rem;
  }
}

@media (max-width: 500px) {
  .hero {
    height: 50vh;
    min-height: 260px;
  }

  .card-image img {
    height: 170px;
  }
}
