/* layout.css – page layout, grid, hero, main content, responsive adjustments */

/* Base typography */
body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--color-dark);
  background: var(--color-gray);
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: var(--font-weight-bold);
  margin-top: 0;
}

p {
  margin: 0 0 1rem 0;
}


/* Layout adjustments for top header */
@media (min-width: 1024px) {
  body {
    margin: 0;
  }
  main#main-content {
    margin-top: 80px; /* height of the fixed header */
    padding: 2rem;
    background: var(--color-gray);
  }
}

/* Mobile – no left menu, full‑width content */
@media (max-width: 1023px) {
  main#main-content {
    padding: 1rem;
    margin-left: 0;
  }
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.hero picture,
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
}

.hero-cta .btn {
  margin: 0 0.5rem;
}

/* Institutional bar (counters) */
.institutional-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  background: var(--color-gray);
  padding: 2rem 0;
}

.counter-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1 1 200px;
  text-align: center;
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: var(--font-weight-medium);
}

/* Footer spacing */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 2rem 0;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns .col {
  flex: 1 1 200px;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}
