/* ============================= */
/* Base */
/* ============================= */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
  position: relative;

  /* space for fixed header + footer */
 
  padding-top: 120px;


}

.text-center {
    text-align: center !important;
}


.center {
  text-align: center;
}

.gif-banner img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}

/* ============================= */
/* Header with photo background */
/* ============================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/loak-road.jpg");

  background-size: cover;
  background-position: center;


  padding: 14px 0;
  z-index: 1000;
  transition: transform 0.3s ease;

}
/* hidden state */
.site-header.hide {
  transform: translateY(-100%);
}

h2 {
  text-align: center;
  margin: 30px 0 15px 0;
  font-size: 22px;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ============================= */
/* Team links grid layout */
/* ============================= */

.team-grid {
  list-style: none;
  padding: 0;
  margin: 15px 0 35px 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 10px 30px;
}

.team-grid li a {
  display: block;
  padding: 8px 12px;

  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;

  text-decoration: none;
  color: #000;
  font-weight: 600;

  transition: 0.15s;
}

.team-grid li a:hover {
  background: #000;
  color: #fff;
}

/* Mobile: stack back to 1 column */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}



/* ============================= */
/* WATERMARK LOGO (fixed + reliable) */
/* ============================= */

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: url("images/logo.png") center center no-repeat;
  background-size: 70vmin;

  opacity: 0.05;

  pointer-events: none;
  z-index: 0;   /* ⭐ changed from -1 */
}

/* make sure page content sits above */
.site-header,
.card,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ============================= */
/* WATERMARK LOGO */
/* ============================= */

/* body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: url("images/logo.png") center center no-repeat;
  background-size: 80vmin;

  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}


/* ============================= */
/* Header */
/* ============================= */

/* Fixed header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  color: #fff;
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/loak-road.jpg");

  background-size: cover;
  background-position: center middle;   /* 👈 top half */

  padding: 18px 0;
  z-index: 1000;
}
#sponsor-container img {
  transition: transform 0.2s ease;
}

#sponsor-container img:hover {
  transform: scale(1.08);
}

.sponsor-button {
  border-radius: 25px;
  background-color: black;
  height: 95px;
  width: auto;
}

/* Smaller, tidy badge */
.logo {
  height: 45px;
  width: auto;
}

.site-header h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 1px;
}

.site-header p {
  margin: 0;
  font-size: 13px;
  opacity: 0.8;
}


/* ============================= */
/* Navigation */
/* ============================= */

/* Nav styling */
.nav {
  margin-top: 8px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 600;
}

.nav a:hover {
  text-decoration: underline;
}



/* ============================= */
/* Content */
/* (lighter + cleaner, less heavy) */
/* ============================= */

.card {
  background: rgba(255,255,255,0.95);

  padding: 28px;
  margin: 30px auto;
  max-width: 900px;

  border-radius: 6px;

  /* softer shadow instead of thick borders */
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  overflow: visible;   /* 👈 critical */
}


/* ============================= */
/* Headings */
/* ============================= */

/* ============================= */
/* Staff Hover Photo Popup */
/* ============================= */


.staff {
  text-align: center;
  padding: 10px;
}

.hover-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
}


.hover-card {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

/* hidden by default */
.hover-photo {
  position: absolute;

  top: 105%;          /* 👈 BELOW the name instead of bottom */
  left: 50%;
  transform: translateX(-50%);

  width: 160px;
  height: auto;

  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;   /* 👈 force on top */
	
}

/* show on hover */
.hover-card:hover .hover-photo {
  opacity: 1;
  visibility: visible;
}

/* Team photo frame */
.team-photo {
  text-align: center;
  margin: 30px 0;
}

.team-photo img {
  max-width: 100%;
  width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Squad */
.team-squad {
  margin-top: 25px;
  text-align: center;
}

.team-squad ul {
  list-style: none;
  padding: 0;
}

/* TEAM PHOTO FRAME */
.team-photo-frame {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
}

.team-photo-frame img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;

  border-radius: 14px;
  border: 4px solid #fff;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.team-photo-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #444;
}
/* Container layout */
.team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* 2 items */
.team-row.two {
  grid-template-columns: repeat(2, auto);
  justify-content: center;
}

/* 3 items */
.team-row.three {
  grid-template-columns: repeat(3, auto);
  justify-content: center;
}

.team-squad {
  margin-top: 30px;
}

/* Mobile stacking */
@media (max-width: 700px) {
  .team-row.two,
  .team-row.three {
    grid-template-columns: 1fr;
  }
}

/* Mobile: stack to 1 column */
@media (max-width: 800px) {
  .team-layout {
    grid-template-columns: 1fr;
  }
}


/* ============================= */
/* Scrolling Photo Reel */
/* ============================= */

.photo-reel {
  overflow: hidden;
  margin: 40px auto;
  max-width: 1100px;
}

.reel-track {
  display: flex;
  gap: 20px;
  width: max-content;

  animation: scrollReel 30s linear infinite;
}

.photo-reel:hover .reel-track {
  animation-play-state: paused;
}

.reel-track img {
  height: 180px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Smooth infinite scroll */
@keyframes scrollReel {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.location {
  text-align: center;
}

.location a {
  display: inline-block;
  margin-top: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.location a:hover {
  text-decoration: underline;
}


/* ============================= */
/* Form Styling */
/* ============================= */

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 2px solid #000;
  font-size: 15px;
  background: #fff;
  font-family: inherit;
  box-sizing: border-box;
}

/* Custom dropdown styling */
form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;

  cursor: pointer;
  font-weight: 600;
}

/* Hover + focus effects */
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #444;
  box-shadow: 0 0 6px rgba(0,0,0,0.25);
}

/* Button styling */
form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

form button:hover {
  background: #333;
}


/* ============================= */
/* Social Media Links */
/* ============================= */

.social-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  font-size: 14px;
}

.social-links a:hover {
  text-decoration: underline;
  opacity: 0.8;
}
/* ============================= */
/* Social Feed (mobile safe) */
/* ============================= */

.social-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-feed iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 6px;
}

/* smaller on phones */
@media (max-width: 600px) {
  .social-feed iframe {
    height: 340px;
  }
}

/* ============================= */
/* Footer */
/* ============================= */

/* Make page fill screen height */
html, body {
  height: 100%;
  margin: 0;
}

/* Layout wrapper */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content grows to push footer down */
main {
  flex: 1;
}

/* Footer stays at bottom naturally */
.site-footer {
  margin-top: auto;
}.site-footer {
  width: 100%;

  color: #fff;
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("images/loak-road-bottom.jpg");

  background-size: cover;
  background-position: center top;

  padding: 18px 0;
  margin-top: 60px;
  
  margin-top: auto;
}
/* ============================= */
/* Footer layout */
/* ============================= */

.footer-inner {
  max-width: 1100px;
  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 20px;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  color: #ddd;
  text-decoration: none;
  font-weight: bold;
}

.footer-right a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-right a[href^="mailto"] {
  color: #fff;
}

/* Mobile stacking */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
}

/* ============================= */
/* Org Chart (compact version) */
/* ============================= */

.org-chart {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;   /* ⭐ THIS fixes centering */
}


.org-row {
  display: flex;
  justify-content: center;  /* 👈 this centres the boxes */
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}


.org-box {
  background: #fff;
  border: 1.5px solid #000;

  padding: 8px 12px;
  width: 150px;        /* fixed width */
  flex: 0 0 auto;      /* 🚨 prevents stretching */

  border-radius: 6px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;

  text-align: center;

  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}


/* Title */
.org-box .role {
  font-size: 13px;
  font-weight: 700;
}

/* Name */
.org-box .name {
  font-size: 12px;
  opacity: 0.75;
}

.org-box a[href^="mailto"] {
  font-size: 11px;
}

/* Top box slightly larger */
.org-box.big {
  min-width: 160px;
  padding: 10px 16px;
}

/* Small row */
.org-box.small {
  font-size: 12px;
  min-width: 110px;
}
/* 3 fixed boxes row */
.org-row.three {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  justify-content: center;   /* centers the whole row */
  gap: 50px;
  align-items: start;
}
/* ============================= */
/* Google Form Embed */
/* ============================= */

.form-wrapper {
  width: 100%;
  height: 85vh;          /* fills most of screen */
  min-height: 750px;     /* stops being too small */
}

.form-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}
/* ============================= */
/* Home Page Popup Modal */
/* ============================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}


.modal-box {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;

  border-radius: 10px;
  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.3);

  position: relative;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.modal-button {
  display: block;
  padding: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s;
}

.modal-button:hover {
  background: #333;
}


/* Close button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;

  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: #000;

  line-height: 1;
}

.close-btn:hover {
  opacity: 0.6;
}

/* ============================= */
/* Single Sponsor Feature */
/* ============================= */

.sponsor-section {
  text-align: center;
  padding: 40px 20px;
}

.sponsor-link {
  display: inline-block;
}

.sponsor-link img {
  max-width: 320px;   /* nice large size */
  width: 100%;
  height: auto;

  border-radius: 10px;
  padding: 14px;
  background: #fff;

  box-shadow: 0 6px 18px rgba(0,0,0,0.12);

  transition: transform 0.25s ease;
}

.sponsor-link img:hover {
  transform: scale(1.06);
}

.sponsor-text {
  margin-top: 12px;
  font-weight: 600;
  font-size: 15px;
  color: #333;
}
/* ============================= */
/* Team Info Vertical Scroll */
/* ============================= */

.team-info-scroll .scroll-track p {
  height: 28px;        /* fixed height = perfect loop */
  line-height: 28px;   /* vertically centred */
  margin: 0;
  text-align: center;
  font-weight: 600;
}

.team-info-scroll {
  height: 100px;              /* visible window */
  overflow: hidden;
  margin: 20px auto;
  max-width: 420px;

  background: #fff;
  color: #111;

  border: 1px solid #ddd;
  border-radius: 8px;

  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* track */
.team-info-scroll .scroll-track {
  display: flex;
  flex-direction: column;
  gap: 12px;

  animation: scrollUp 14s linear infinite;
}

/* text */
.team-info-scroll p {
  margin: 0;
  text-align: center;
  font-weight: 600;
}

/* single animation definition ONLY */
@keyframes scrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* pause on hover */
.team-info-scroll:hover .scroll-track {
  animation-play-state: paused;
}

/* Container layout */
.team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* Each staff card */
/* Staff card */
.staff-card {
  width: 180px;           
  text-align: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

/* Staff image */
.staff-card img {
  width: 120px;          
  height: 120px;         
  object-fit: cover;     
  border-radius: 50%;    
  transition: transform 0.3s;
}

/* Reveal image on hover */
.staff-card:hover img {
  opacity: 1;
  transform: scale(1.05); /* subtle zoom effect */
}

/* Name and role below image */
.staff-card h2 {
  font-size: 1em;
  margin: 5px 0 2px;
}

.staff-card p {
  font-size: 0.85em;
  margin: 2px 0;
}

/* Details (name, role, bio, email) hidden by default */
.staff-card .details {
  opacity: 0;
  transition: opacity 0.3s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  color: #000;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 10px;
}
/* Show details on hover */
.staff-card:hover .details {
  opacity: 1;
}

/* Optional: slight zoom on image hover */
.staff-card:hover img {
  transform: scale(1.05);
}
/* Container layout */
.team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* Staff card */
.staff-card {
  width: 180px;           
  text-align: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Staff image */
.staff-card img {
  width: 120px;          
  height: 120px;         
  object-fit: cover;     
  border-radius: 50%;    
  transition: transform 0.3s, filter 0.3s;
}

/* Details overlay hidden by default */
.staff-card .details {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  text-align: center;
  color: #000;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 12px;
  pointer-events: none; /* prevents blocking hover */
}

/* Show details on hover */
.staff-card:hover .details {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Optional: slight zoom & brightening on image hover */
.staff-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Text styling inside overlay */
.staff-card .details h2 {
  font-size: 1em;
  margin: 5px 0 2px;
}

.staff-card .details p {
  font-size: 0.85em;
  margin: 2px 0;
}

.staff-card .details a {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.8em;
  color: #0066cc;
  text-decoration: none;
}

.staff-card .details a:hover {
  text-decoration: underline;
}

.team-type {
  margin-bottom: 40px;
}

.team-type h3 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.team-list{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:15px;
}
.team-card {
  display: block;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.15s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #007BFF; /* optional accent color */
}

.team-card h4 {
  margin-top: 0;
}

.team-sponsor{
margin-top:10px;
display:flex;
align-items:center;
gap:10px;
}

.team-sponsor img{
height:30px;
}

