
/* Make outer header area tall enough */
.outer {
  background-size: cover;
  background-position: center;
  padding-top: 75px;
  padding-bottom: 75px;
  position: relative;
  z-index: 1;
}

/* Optional: Increase spacing inside inner */
.inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-tagline {
  font-style: italic;
  font-weight: 600;
}


/* Header content should not constrain submenu */
.site-header-content {
  text-align: center;
  position: relative;
  z-index: 2;  /* so it appears above background */
  margin-top: 20px;
  padding-top: 100px; /* space for fixed header */
  font-size: 1.8rem;                      /* adjust size */
  font-weight: 550;   
}

.site-header.outer {
  height: auto;              /* Let it grow */
  overflow: visible;         /* Don’t clip children */
  display: flex;
  align-items: center;       /* Optional: center items vertically */
  padding: 1rem 2rem;        /* Add spacing if needed */
  flex-wrap: wrap;           /* Allow multiple lines if needed */
  min-height: 200px;

}
/* === Sidebar basics === */
.sidebar {
  position: fixed;
  top: 0;
  right: -250px;  /* start offscreen to the right */
  width: 250px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  padding: 60px 20px 20px;
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

/* === When menu is open === */
body.menu-open .sidebar {
  right: 0;
}

body.menu-open .site-wrapper {
  transform: translateX(-250px); /* push site left */
}

.site-wrapper {
  transition: transform 0.3s ease;
}

/* === Hamburger === */
.menu-toggle {
  color: #9e9e9e;
  font-size: 28px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
}

/* When menu is open, make it black */
body.menu-open .menu-toggle {
  color: black;
}

/* === Navigation item === */
.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* === Submenu toggle button === */
.submenu-toggle {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0 5px;
  line-height: 1;
}

/* === Submenu item === */
.submenu-item {
  display: block;
  text-decoration: none;
  color: black;
  padding: 4px 0;
}

/* Submenu */
.submenu {
  margin-left: 15px;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.submenu.collapsed {
  display: none;
}

/* Base style for all nav items: links and buttons */
.nav-parent-toggle,
.nav-item a {
  display: flex;
  align-items: center;
  color: black;
  text-decoration: none;
  font-size: 18px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

/* Hover underline effect */
.nav-item a:hover,
.nav-parent-toggle:hover {
  text-decoration: underline;
}

/* Remove ugly focus ring on buttons, optional */
.nav-parent-toggle:focus {
  outline: none;
}

/* Icon spacing (the + / −) */
.nav-parent-toggle .icon {
  margin-left: auto;
  padding-left: 10px;
}

.logo-link {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1100;
}

.site-logo {
  height: 120px; /* adjust size as needed */
  width: auto;
  display: block;
}

.big-button {
  display: inline-block;
  padding: 16px 32px;
  background-color: #2FA698; /* Oxford blue, change as needed */
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.big-button:hover {
  background-color: #2fa698c2;
  text-decoration: none;
}

.home-button-wrapper {
  margin-top: 30px;
  text-align: center;
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.message {
  background-color: #002147;      /* soft green background */
  color: #ffffff;                 /* darker text */
  border: 1px solid #ffffff;      /* border matching background */
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;               /* optional: constrain width */
  font-family: "Segoe UI", Arial, sans-serif;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 2rem auto;
}

.image-grid img {
  width: calc(100% / 6 - 10px); /* six per row */
  max-width: 150px;             /* optional: set max size */
  height: 180px;
  flex: 1 0 calc(100% / 6 - 10px);
  object-fit: cover;
  border-radius: 6px;
}

/* Responsive fallback: stack or reduce columns */
@media (max-width: 768px) {
  .image-grid img {
    width: calc(100% / 3 - 10px);  /* 3 per row */
  }
}

@media (max-width: 480px) {
  .image-grid img {
    width: calc(100% / 2 - 10px);  /* 2 per row */
  }
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.feature-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center both items if wrapping */
  align-items: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 0 1rem;
}

.feature-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 4px;
}



.feature-text {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;       /* center content horizontally */
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.feature-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.feature-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.feature-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1db3a0;  /* teal button */
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.feature-button:hover {
  background-color: #17a190;
}

.testimonial {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #444;
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  border-left: 4px solid #ccc;
  background: #f9f9f9;
}

.testimonial p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.testimonial footer {
  font-style: normal;
  text-align: right;
  font-size: 1rem;
  color: #666;
}


/* Style the hamburger */
.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  margin-left: auto;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
  }

  .nav.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

.page-layout {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.sidebar {
  width: 220px;
}
.side-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.side-nav li {
  margin-bottom: 0.8rem;
}

.side-nav a {
  display: block;
  font-weight: bold;
  color: #aaa; /* default gray */
  text-decoration: none;
  transition: color 0.2s ease;
}

.side-nav a:hover {
  color: black;
}

.side-nav a.active-black {
  color: black;
}

.side-nav .section-label {
  display: block;
  font-weight: bold;
  color: #007e78; /* green */
  cursor: default;
}

/* make the two headings sit one under the other */
.site-header-small-content{
  display:flex;
  flex-direction:column;   /* stack vertically */
  align-items:center;  /* or center, if you prefer */
}

/* tidy up spacing */
.site-header-small-content .site-title{
  margin:0;
}

.site-header-small-content .site-tagline{
  margin:0.1rem 0 0;      /* small gap under the title */
}



/* ─────────── START: EVERY TITLE'S LAYOUT in ABOUT OUGC Section ─────────── */
/* main column */
.about-content{ flex: 1 1 0; }

.about-content .about-committee-titles{
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  color: #606060;             /* pick your colour */
  margin-left: 2rem;   /* nudge right by 3rem */
  margin-top: 1rem;
  letter-spacing: .05em;
}

.about-content .about-pilot-titles{
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
  color: #4a4a4a;
  margin-top: 1.5rem;
  letter-spacing: .04rem;
  text-transform: uppercase;
}

.about-content .about-aircraft-titles{
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.1;
  color: #4a4a4a;
  margin-top: 1.5rem;
  margin-left: 2rem;
  letter-spacing: .04rem;
  text-transform: uppercase;
}

.about-content .about-history-titles{
  font-size: 2rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
  color: #424242;             /* pick your colour */
  margin-top: 1.5rem;
  letter-spacing: .02rem;
}

.about-content .about-alumni-titles{
  font-size: 2rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
  color: #282828;             /* pick your colour */
  margin-top: 1.5rem;
}

.about-content .about-events-titles{
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  color: #606060; 
  margin-top: 1.5rem;
  letter-spacing: .05em;
}


.about-content .about-documents-titles{
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.1;
  color: #303030;             /* pick your colour */
  margin-top: 1.5rem;
  letter-spacing: .05em;
}

/* Intro text below title formatted below */
/* Only this one needs to be shifted to the right, which is why it's separate */
.about-content .about-committee-intros{
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #5e5e5e;
  margin-left: 2rem;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}

.about-content .about-all-intros{
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #5e5e5e;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}

@media (max-width: 640px){
  .about-content .committee-title,
  .about-content .committee-intro{
    margin-left: 0;
    text-align: center;       /* friendlier on phones */
  }
}
/* ─────────── END: EVERY TITLE'S LAYOUT in ABOUT OUGC Section ─────────── */



/* ─────────── COMMITTEE PAGE ─────────── */

/* centre the whole block and keep plenty of white space left & right */
.committee-stack{
  max-width: 1100px;   /* adjust to taste */
  margin: 0 auto;      /* centres inside the page */
  padding: 0 2rem;     /* a little gutter on phones */
}

/* ROW LAYOUT --------------------------------------------------------- */
.committee-row{
  display: flex;
  flex-direction: row;           /* photo left, text right */
  align-items: center;
  text-align: center;
  gap: 2rem;                     /* wider breathing room */
  margin-bottom: 1rem;
}

/* fixed-width, larger portrait */
.committee-row .photo{
  flex: 0 0 340px;               /* 340 px wide on desktop */
  max-width: 100%;
}
.committee-row .photo img{
  width: 100%;
  height: auto;
  border-radius: 6px;           
  object-fit: cover;
  /* THE LEFT MARGIN IS ALREADY 0 */
}

/* text column -------------------------------------------------------- */
.committee-row .bio{
  flex: 1 1 420px;               /* grows, but stops at ~420 px */
  max-width: 600px;
}

/* ROLE + NAME line (small caps grey) */
.role-name{
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;            /* ≈ 12 px */
  letter-spacing: 0.12em;        /* spaced-out look */
  font-weight: 600;
  text-align: center;
  color: #8c939e;                /* medium-light grey */
  margin: 0 0 1.75rem;
  text-transform: uppercase;
}

/* body copy */
.committee-row .bio p{
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;           /* ≈ 12 px */
  color: #3e494b;                
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* MOBILE: stack and centre                                          */
@media (max-width: 640px){
  .committee-row{
    flex-direction: column;
    text-align: center;
  }
  .committee-row .bio{ max-width: 100%; }
}



/* layout wrapper */
.about-wrapper{
  display: flex;
  gap: 3rem;
}

/* sidebar */
.ougc-sidebar{
  flex: 0 0 200px;    /* fixed width */
  font-family: "Montserrat", sans-serif;
}
.ougc-sidebar h2{
  font-size: 1.25rem;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #00746b;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.ougc-sidebar ul{ list-style: none; padding: 0; margin: 0; }

.ougc-sidebar li{
  margin: 0.5rem 0;
}

.ougc-sidebar a{
  font-size: .95rem;
  text-decoration: none;
  color: #a3a3a3;
  letter-spacing: .05em;
}
.ougc-sidebar a.active,
.ougc-sidebar a:focus,
.ougc-sidebar a:hover{ color: #1a1a1a; }  /* highlight current/hover */

/* mobile: stack */
@media (max-width: 640px){
  .about-wrapper{ flex-direction: column; }
  .ougc-sidebar{ flex: none; }
}


/* Pilot stories layout */
.stories        { display: grid; gap: 2rem; }

.story          {max-width: 70rem;margin: 0 auto;}

.story-title    {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #434343;
  text-transform: uppercase;
  letter-spacing: .04rem;
}

.story-byline   { margin: 0 0 1rem; color: #8c979a; letter-spacing: .08em; font-size: .8rem; }

/* Image + right-aligned caption, inline with text */
.story-figure{
  display: flex;
  align-items: center;       /* caption vertically centers against image */
  gap: 2rem;
  margin: 1.5rem 0 2rem;
}
.story-figure img{
  width: 520px;              /* tweak as you like */
  max-width: 100%;
  height: auto;
  margin-left: 1rem;
  border-radius: 12px;
  display: block;
}
.story-caption{
  flex: 1;                   /* take remaining space on the right */
  text-align: right;
  font-size: .8rem;
  letter-spacing: .2em;      /* spaced-out look */
  color: #9ca3af;            /* light grey */
  font-weight: 700;
  text-transform: uppercase;
}

/* Body text inside stories */
.story p{
  font-size: 1rem;
  font-family: Georgia, serif;
  line-height: 1.6;
  letter-spacing: 0.02rem;
  color: #5e5e5e;
}

/* Mobile tweaks */
@media (max-width: 640px){
  .story-figure{
    flex-direction: column;  /* stack image + caption */
    gap: .5rem;
  }
  .story-caption{ text-align: center; }
  .story p{ font-size: 1rem; }
}


.aircraft-list{
  max-width: 70rem;      /* overall column width */
  margin: 0 auto;
  padding: 0 2rem;       /* small gutter */
  display: grid;
  gap: 3rem;
}

.aircraft-item{}

/* thin grey rule above each entry */
.aircraft-rule{
  border: 0;
  height: 1px;
  background: #d1d5db;   /* light grey */
  margin: 1.25rem 0 1.75rem;
}

/* image */
.aircraft-figure{ margin: 0 0 1.25rem; }
.aircraft-figure img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;       /* set to 12px if you want rounded corners */
}

/* text */
.aircraft-name{
  margin: 0 0 .5rem;
  font-weight: 700;
}
.aircraft-body p{
  font-size: 1.125rem;    /* ≈18px */
  line-height: 1.6;
  margin: 0 0 1rem;
}

/* mobile tweaks */
@media (max-width: 640px){
  .aircraft-list{ padding: 0 1rem; gap: 2rem; }
  .aircraft-body p{ font-size: 1rem; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.awards-year {
  font-size: 2.25rem; font-weight: 700; letter-spacing: .02em; margin: 1.5rem 0 .75rem;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2.5rem 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.awards-col h3 {
  font-size: 1.25rem; font-weight: 700; margin: .5rem 0 1rem;
}
.awards-list { list-style: none; padding: 0; margin: 0; }
.awards-list li { margin: .4rem 0; line-height: 1.5; }
.awards-empty { opacity: .5; }
@media (max-width: 900px) {
  .awards-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
