/* ===== FONT + BASE SETUP ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Inter:wght@300;400;500&display=swap');

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

body {
  background-color: black ; /* rich dark background */
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ===== NAVBAR CONTAINER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: black;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: center;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== NAV MENU ===== */
nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* ===== NAV LINKS ===== */
.menu-item {
  text-decoration: none;
  color: antiquewhite;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

/* hover effect with modern minimal underline */
.menu-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background-color:lightblue; /* warm gold accent */
  transition: width 0.3s ease;
}

.menu-item:hover::after {
  width: 100%;
}

.menu-item:hover {
  color: lightblue;
  transform: translateY(-1px);
}

/* ===== LOGO ===== */
.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* ===== MAIN CONTENT ===== */
#homepage-content {
  padding-top: 10rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}


.page-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.4;
  color: #eaeaea;
}

.page-title a {
  color: antiquewhite;
  text-decoration: none;
  border-bottom: 1px solid antiquewhite;
}

#funky-text {
  font-style: italic;
  color: #fff;
}

/* ===== FOOTER ===== */
footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
  color: antiquewhite;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

footer a:hover {
  color: lightblue;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    padding: 1rem 2rem;
  }

  nav {
    gap: 1.5rem;
  }

  .menu-item {
    font-size: 0.9rem;
  }

  .page-title {
    font-size: 1.5rem;
    padding: 0 1rem;
  }
}

/* ===== HOMEPAGE BACKGROUND ===== */
#homepage-content {
    height: 100vh;
    width: 100%;
    position: relative;

    /* background photo */
    background-image: url('../img/IMG_5001.jpeg');
    background-size: cover;       /* makes it scale full screen */
    background-position: center;  /* centers the stadium */
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    /* optional: adds subtle dark overlay for readability */
    padding: 0 2rem;
}

#homepage-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* soft dark overlay */
    z-index: 1;
}

/* ===== TEXT OVERLAY STYLE ===== */
.page-title {
    position: relative;
    z-index: 2; /* places text above overlay */
    font-size: 3rem;
    line-height: 1.2;
    color: white;
    max-width: 900px;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
}
.page-title a {
    color: antiquewhite;
    text-decoration: none;
}

#funky-text {
    font-style: italic;
    font-size: 3.5rem;
    color: #fff;
}

/* ===== GRID LAYOUT FOR GRAPHICS PAGE ===== */

main {
    max-width: 1200px;
    margin: 120px auto 40px;   /* ⬅ pushes content down below header */
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}


/* Each item (image + caption) */
figure {
    text-align: center;
    margin: 0;
}

/* Scaled images */
main img {
    width: 100%;
    height: auto;
    border-radius: 10px;   /* optional aesthetic */
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.25s ease;
}

/* Hover effect */
main img:hover {
    transform: scale(1.03);
}

/* Center all figures */
.center-figure {
    text-align: center;
    margin: 50px auto;
    max-width: 900px;
}

/* Image styling */
.center-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}

/* PDF styling */
.center-figure embed {
    border-radius: 8px;
    margin-bottom: 10px;
}

figcaption {
    color: antiquewhite;
    font-size: 1.2rem;
    margin-top: 12px;
    text-align: center;
}
figcaption {
    text-align: center;
    color: antiquewhite;       
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.center-figure {
    max-width: 900px;      /* keeps everything the same width */
    margin: 50px auto;     /* centers horizontally */
    text-align: center;    /* centers captions */
}

.center-figure img,
.center-figure embed {
    width: 100%;           /* makes all graphics uniform */
    height: auto;
    display: block;
    margin: 0 auto;
}

figcaption {
    color: antiquewhite;
    font-size: 1.2rem;
    margin-bottom: 12px;
}


/* GRID LAYOUT */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 120px auto 60px; /* centers + adds space below header */
    padding: 0 20px;
}

/* Each figure block */
.grid-gallery figure {
    text-align: center;
}

/* Uniform graphic sizing */
.grid-gallery img,
.grid-gallery embed {
    width: 100%;
    height: 450px;      /* makes every item same height */
    object-fit: cover;  /* keeps visuals clean + consistent */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Captions */
.grid-gallery figcaption {
    color: antiquewhite;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

#homepage-content {
    height: 100vh;             /* makes it EXACTLY one screen tall */
    width: 100%;
    overflow: hidden;          /* prevents any scroll leaking */
    
    /* background photo */
    background-image: url('../img/IMG_5001.jpeg');
    background-size: cover;       /* fills entire screen */
    background-position: center;  /* centers */
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#homepage-content {
    height: calc(100vh - 80px); /* subtract header height */
}

/* GRID LAYOUT */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

/* Figure container */
.grid-gallery figure {
    text-align: center;
}

/* FIX FOR FULL IMAGE VISIBILITY */
.grid-gallery img {
    width: 100%;
    height: auto;        /* keeps full image visible */
    object-fit: contain; /* shows entire infographic */
    border-radius: 10px;
}

/* PDFs still fill their box */
.grid-gallery embed {
    width: 100%;
    height: 500px;
    object-fit: cover;   
    border-radius: 10px;
}

html, body {
    height: 100%;
    margin: 0;
}

/* main area as a full-screen grid */
.full-grid {
    min-height: calc(100vh - 120px); /* adjust 120px if your header is taller/shorter */
    display: grid;
    place-items: center;    /* centers content both ways */
    padding: 0;
}

/* figure & image scale to fit screen */
.full-image-figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center;
}

.full-image-figure img {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;    /* shows entire JPG, no cropping */
    display: block;
}

