/* =======================
   Body & Fonts
======================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #F5F1E8;
  color: #1E2A38;
}

p {
  font-family: merriweather, serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

h1, h2, h3, h4 {
  font-family: gunplay-spraypaint, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

/* =======================
   Navbar
======================= */
nav {
  background-color: #D8CFC0;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar img {
  width: 120px;
}

.navbar ul {
  list-style: none;
  display: flex;
  margin-left: auto;
  gap: 20px;
  padding: 0;
}

.navbar ul li {
  position: relative;
}

.navbar a {
  text-decoration: none;
  color: #1E2A38;
  font-weight: bold;
  font-family: cc-pass-the-port-aged, sans-serif;
  font-size: 23px;
}

/* Dropdown menu */
.navbar ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #D8CFC0;
  padding: 0;
  min-width: 140px;
  border-radius: 5px;
  z-index: 100;
}

.navbar ul li:hover ul {
  display: block;
}

.navbar ul li ul li a {
  display: block;
  padding: 10px;
}

.navbar ul li ul li a:hover {
  background-color: #1E4ED8;
  color: white;
}

/* =======================
   Footer
======================= */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #1E2A38;
  color: white;
  text-align: center;
  padding: 15px;
}

.footer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

/* =======================
   Center All Page Content
======================= */
.page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* change to center for vertical center */
  padding: 40px 20px;
  width: 100%;
  max-width: 1200px; /* limits content width */
  margin: 0 auto;
  box-sizing: border-box;
}

/* =======================
   Card Styles
======================= */
.card {
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}

/* Images in cards */
.card img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain; /* ensures full image is visible */
}

/* Sponsor cards */
.card.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.card.sponsor-card img {
  height: 120px;
  object-fit: contain;
  padding: 10px;
}

/* Hover scale for cards */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* =======================
   Image Containers
======================= */
.image-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
}

.image-container img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.image-container img:first-child {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  align-self: center;
}

.image-container img:not(:first-child) {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* =======================
   Contact Page Specific
======================= */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: 20px;
}

.contact-page img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 12px;
  object-fit: contain;
}

/* =======================
   Make all cards same height
======================= */
.row.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.row.cards-row .col {
  display: flex;
}

.row.cards-row .col .card {
  flex: 1 1 300px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

