/* ============================= */
/* 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;


}
.center {
  text-align: center;
}

/* ============================= */
/* 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;
}

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 */
/* ============================= */

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;
}


/* 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);
}


/* ============================= */
/* Headings */
/* ============================= */

/* ============================= */
/* Staff Hover Photo Popup */
/* ============================= */

.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;
}

/* 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;
}
/* Team rows layout */
.team-row {
  display: grid;
  gap: 30px;
  text-align: center;
  margin: 18px 0;
  font-weight: 600;
}

/* 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-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 */
/* ============================= */

.social-feed {
  overflow: hidden;
  border-radius: 6px;
}

.social-feed iframe {
  border: none;
  width: 100%;
  background: #fff;
}

/* ============================= */
/* Footer */
/* ============================= */

.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;
}
