/* Global resets and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #222;
    background-color: #af5019;
}

/* Layout wrapper elements */
.site-header {
    width: 100%;
}

/* Banner / hero */
.banner {
    display: flex;
    width: 100%;
    max-height: 35%;
    overflow: hidden;
    position: relative;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-logo-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(rgb(78, 141, 224));
    font-weight: bold;
    font-size: x-large;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.3)
    );
}

.banner .banner-logo-img {     /* More specific selector */
  height: 350px;
  width: 850px;
  max-width: 100%;
}

.banner-text h1 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin-bottom: 0.5rem;
}

.banner-text p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Navigation tabs */
.main-nav {
    display: flex;
    justify-content: center;
    background-color: #222;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    gap: 2rem;
}

.main-nav li {
    /**/
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: rgb(78, 141, 224);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: 'jh-fallout';
    font-size: 1rem;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: rgb(78, 141, 224);
    color: #222;
}

.content {
    max-width: 2600px;
    margin: 1rem;
    padding: 0 1rem;
}

.content-section-home {
    max-width: 2600px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    background-color: #222;
    color:#af5019;
    padding: 2rem;
}

.content-section-recruitment {
    max-width: 2600px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    background-color: #222;
    color:#af5019;
    padding: 2rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.content-section h2 {
    justify-self: center;
    margin-bottom: 0.75rem;
    font-size: 5rem;
    font-family: 'Big Shoulders Stencil', sans-serif;
}

.content-section h3 {
    justify-self: center;
    margin-bottom: 0.5rem;
    font-size: 4rem;
    font-family: 'Big Shoulders Stencil', sans-serif;
}

.content-section p {
    margin-bottom: 1rem;
    justify-self: center;
    font-family: 'jh-fallout';
    font-size: 25px;
}

.content-faq {
    max-width: 2600px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.content-section-faq {
    justify-self: center;
    margin-bottom: 0.75rem;
    font-size: 3rem;
    font-family: 'Big Shoulders Stencil', sans-serif;
    padding-top: 1rem;
}

.content-section-faq h2 {
    justify-self: center;
    margin-bottom: 2rem;
    font-size: 5rem;
    font-family: 'Big Shoulders Stencil', sans-serif;
}

.content-section-faq p {
    width: 100%;
    font-family: 'jh-fallout';
    font-size: 20px;
    background-color: #222;
    color: #af5019;
    padding: 1.5rem;
}

.content-section-faq-question {
    font-weight: bold;
    font-size: 22px;
    text-decoration: underline;
    color: rgb(78, 141, 224);
}

.image-section {
    width: 100%;
    padding: 2rem 0;
    background-color: #222;
    margin-top: 2rem;
}

.image-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 32%));  /* Wider columns */
    gap: 2rem;
    justify-content: center;  /* Centers the entire grid */
}

.image-grid figure {
    height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
}

.image-grid img {
    width: 100%;
    height: 85%;
    object-fit: scale-down;
    flex-shrink: 0;
}

.image-grid figcaption {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    color: rgb(78, 141, 224);
    font-family: 'jh-fallout';
    font-size: 0.95rem;
}

/* Footer with social links */
.site-footer {
    background-color: #222;
    color: rgb(78, 141, 224);
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: auto;
}

.site-footer p {
    margin-bottom: 0.75rem;
    font-family: 'jh-fallout';
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.social-links a {
    color: rgb(78, 141, 224);
    text-decoration: none;
    border: 1px solid rgb(78, 141, 224);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background-color: rgb(78, 141, 224);
  color: #222;
}

/* Basic responsive tweaks */
@media (max-width: 600px) {
  .main-nav ul {
    justify-content: center;
  }

  .banner-text {
    padding: 0.75rem;
  }
}

/* FONTS */

@font-face {
  font-family: 'Big Shoulders Stencil', sans-serif;
  src: url('Fonts/static/BigShouldersStencil_24pt-Black.ttf') format('woff2');
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

@font-face {
    font-family: 'JH-Fallout';
    src: url('Fonts/JH_FALLOUT.TTF');
}

@font-face {
    font-family: 'fallouty';
    src: url('Fonts/r_fallouty.ttf');
}