/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #12253b;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  padding-top: 78px; /* Space for fixed header */
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* Force text wrapping on mobile */
h1, h2, h3, h4, h5, h6, p, a, span {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
  z-index: 1000;
  background: #061d32;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  padding-right: 80px;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.logo {
  color: #fff;
  text-decoration: none;
  line-height: .9;
}

.logo-perf {
  font-size: 44px;
  font-weight: 900;
  font-style: italic;
  color: #ef2027;
}

.logo-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: #fff;
}

.perf-logo {
  height: 75px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.nav a:hover,
.nav .active {
  color: #ef2027;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 590px;
  display: flex;
  align-items: flex-start; /* Shifts content to the top instead of center */
  padding-top: 2px;       /* Controls how high up the text sits */
  position: relative;
  background-image: url("../images/home.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 8%;
  font-size: clamp(30px, 7vw, 100px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  transform: rotate(-8deg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 24, 43, 0.31), rgba(3, 24, 43, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.eyebrow {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 10px;
  color: #ef2027;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 76px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero-text {
  font-size: 22px;
  max-width: 650px;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 3px;
  letter-spacing: .3px;
}

.red {
  background: #ef2027;
  color: #fff;
}

.dark {
  background: #08253e;
  color: #fff;
}

.outline {
  border: 2px solid #fff;
  color: #fff;
}

/* ==========================================================================
   4. CONTENT SECTIONS & GRIDS
   ========================================================================== */
.info-strip {
  background: #071e31;
  color: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.info-grid > div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-grid span {
  font-size: 14px;
  color: #c8d3dc;
}

.info-grid a {
  color: #ef2027;
}

.section {
  padding: 80px 0;
}

.light {
  background: #f3f5f7;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.dark-text {
  color: #ef2027;
}

.section h2,
.cta h2,
.visit h2 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 20px;
}

/* Photo & Map Placeholders */
.photo-placeholder {
  min-height: 250px;
  height: auto;
  width: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-placeholder.second {
  background: transparent;
  overflow: hidden;
  border-radius: 12px;
  height: 320px;
  width: 100%;
}

.photo-placeholder.second img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 8px;
}

.section-title {
  text-align: center;
  margin-bottom: 35px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.event-card {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid #dbe1e6;
}

.event-card .month {
  font-weight: 900;
  color: #ef2027;
  font-size: 13px;
}

.event-card h3 {
  font-size: 23px;
  margin: 8px 0;
}

.event-card a {
  color: #ef2027;
  font-weight: 800;
  text-decoration: none;
}

.dark-section {
  background: #061e32;
  color: #fff;
  padding: 75px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-grid h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.feature-grid p {
  color: #b9c7d2;
}

.feature-image {
  height: 170px;
  border-radius: 7px;
  background: linear-gradient(135deg, #284e68, #647f91);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta {
  padding: 85px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #173d5a, #68809a);
}

.visit {
  background: #0b2b45;
  color: #fff;
  padding: 80px 0;
}

.map-placeholder {
  min-height: 280px;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid div {
  height: 190px;
  background: linear-gradient(135deg, #718b9a, #b8c3c9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  border-radius: 6px;
}

footer {
  background: #041522;
  color: #fff;
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-wrap strong {
  color: #ef2027;
  font-size: 24px;
}

.footer-wrap span {
  color: #aebbc5;
}

/* ==========================================================================
   5. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .site-header {
    gap: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #061d32;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 4%;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .photo-placeholder.second {
    height: 240px;
  }

  .cards,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .feature-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .feature-image img {
    object-fit: contain;
    background: #041423;
  }

  .hero {
    min-height: auto;
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-right: none;
  }

  .section {
    padding: 40px 0;
  }

  .section h2,
  .visit h2 {
    font-size: 24px;
  }

  .cards,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid div {
    height: 150px;
  }

  .footer-wrap {
    flex-direction: column;
  }

  .buttons .btn {
    width: 100%;
    text-align: center;
  }
}