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

body {
  font-family: "Montserrat", sans-serif;
  background: #1f1f1f;
  color: #fbfbfb;
}

a {
  text-decoration: none;
}

.event-coverage-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: #213a80;
  overflow: hidden;
}

.event-coverage-background {
  position: absolute;
  inset: 0;
  height: 40%;
  width: 100%;
  z-index: 0;
  opacity:0.6;
  background-image:
    linear-gradient(to bottom,
      rgba(240, 242, 244, 0.767) 0%,
      hsla(240, 6%, 87%, 0.752) 24%,
      rgba(167, 188, 251, 0.96) 40%,
      rgb(20, 96, 219) 68%,
      #002868 100%),
    url("/media/event-coverage/event-coverage-background-img.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}
.navbar,
.event-coverage-title,
.event-coverage-links,
.footer {
  position: relative;
  z-index: 5;
}

/* Navbar */
.navbar {
  position: relative;
  z-index: 50;
  width: min(100% - 120px, 1120px);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.filmmakers-logo {
  width: 32px;
  height: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-toggle,
.nav-toggle-label,
.nav-item-contact-mobile {
  display: none;
}

.hamburger-icon {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: #002868;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-item-home,
.nav-item-about-us,
.nav-item-our-work,
.nav-item-our-service {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #002868;
  text-transform: uppercase;
  transition: all 0.5s ease;
}

.nav-menu a.active {
  color: #18357b;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.nav-contact-button.active {
  background: #0f255c;
}

.nav-item-home:hover,
.nav-item-about-us:hover,
.nav-item-our-work:hover,
.nav-item-our-service:hover,
.nav-contact-button:hover {
  transform: scale(1.08); /* zoom in a bit */
  color: lightblue
}

.nav-contact-button {
  min-width: 130px;
  height: 42px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #18357b;
  border-radius: 999px;
  transition: all 0.5s ease;
}

.nav-contact-button:active {
  background: #2a4d98;
}

.button-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fbfbfb;
  text-transform: uppercase;
}

.event-coverage-title {
  max-width: 760px;
  margin: 42px auto 0;
  padding: 0 24px;
  text-align: center;
}

.event-coverage-title h1 {
  margin-bottom: 12px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: #fbfbfb;
}

.event-coverage-title p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(251, 251, 251, 0.92);
}

.gallery-section {
  width: calc(100% - 48px);
  max-width: 1260px;
  margin: 54px auto 0;
  padding: 28px 22px 18px;
  background: rgba(75, 97, 164, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.gallery-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.gallery-header-wide {
  max-width: 980px;
}

.gallery-title {
  margin-bottom: 22px;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  color: #fbfbfb;
}

.gallery-description {
  font-size: clamp(10px, 1.2vw, 18px);
  line-height: 1.45;
  color: rgba(251, 251, 251, 0.92);
}

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.gallery-card-title {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}


.gallery-card-frame {
  width: 100%;
  max-width: 308px;
  aspect-ratio: 0.73 / 1;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.9),
    0 0 34px rgba(255, 255, 255, 0.62),
    0 0 54px rgba(255, 255, 255, 0.35);
}

.gallery-card-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.gallery-section-secondary {
  margin-top: 26px;
  padding-top: 22px;
  background: rgba(75, 97, 164, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}

.gallery-cards-two {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
}

.gallery-card-frame-landscape {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.46 / 1;
  padding: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.gallery-card-frame-landscape img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

.footer {
  width: 100%;
  margin-top: 88px;
  padding-bottom: 14px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-bottom: 24px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: background-color 0.5s ease, transform 0.5s ease;
}

.footer-social-link:hover {
  background: #355486;
}

.footer-social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.footer-social-link:hover img {
  transform: scale(1.05);
}


.footer-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}

.footer-menu a {
  font-size: 11px;
  font-weight: 700;
  color: #002868;
  text-transform: uppercase;
  transition: all 0.5s ease;
}

.footer-menu a:hover {
  color: lightblue;
}


.footer-copyright {
  text-align: center;
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
}

@media (max-width: 1200px) {
  .navbar {
    width: calc(100% - 48px);
  }

  .nav-menu {
    gap: 24px;
  }

  .footer-menu {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .photography-page { min-height: auto; overflow: hidden; }
  .photograph-background { height: 32%; background-size: cover; background-position: center top; }

  .navbar {
    height: 60px;
    padding: 0 12px;
  }

  .filmmakers-logo {
    width: 20px;
  }

  .nav-menu {
    gap: 10px;
  }

  .nav-item-home,
  .nav-item-about-us,
  .nav-item-our-work,
  .nav-item-our-service {
    font-size: 5.5px;
  }

  .nav-contact-button {
    min-width: 52px;
    height: 18px;
    padding: 0 8px;
    border-radius: 20px;
  }

  .button-label { font-size: 4.5px; }


  .photograph-title {
    margin: 16px auto 0;
    padding: 0 12px;
    max-width: 100%;
    text-align: center;
  }

  .photograph-title h1 {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.1;
  }

  .photograph-title p,
  .gallery-description {
    margin: 0 auto;
    line-height: 1.45;
  }

  .photograph-title p {
    max-width: 320px;
    font-size: 10px;
  }

  .gallery-section {
    width: calc(100% - 16px);
    margin: 22px auto 0;
    padding: 14px 10px 12px;
    border-radius: 18px;
  }

  .gallery-header,
  .gallery-header-wide {
    max-width: 100%;
    margin: 0 auto 16px;
    text-align: center;
  }

  .gallery-title {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.15;
  }

  .gallery-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  .gallery-cards-two {
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-card-title {
    font-weight: bold;
    font-size: 8px;
    letter-spacing: 0.02em;
  }


  .gallery-card-frame,
  .gallery-card-frame-landscape {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }

  .gallery-card-frame {
    box-shadow:
      0 0 8px rgba(255,255,255,.7),
      0 0 16px rgba(255,255,255,.35),
      0 0 24px rgba(255,255,255,.18);
  }

  .gallery-card-frame img,
  .gallery-card-frame-landscape img {
    border-radius: 10px;
  }

  .gallery-section-secondary {
    margin-top: 16px;
    padding-top: 14px;
  }

  .footer { margin-top: 18px; }
  .footer-social { gap: 10px; margin-bottom: 4px; }
  .footer-social-link img { width: 9px; height: 9px; }

  .footer-menu {
    gap: 10px;
    padding: 3px 8px 0;
    margin-bottom: 6px;
  }

  .footer-menu a {
    font-size: 4.5px;
    margin-bottom: 3px;
  }

  .footer-copyright {
    font-size: 4.5px;
    line-height: 1.4;
    margin-bottom: 6px;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(220px, calc(100vw - 24px));
    padding: 16px;
    border-radius: 16px;
    background: rgba(24, 53, 123, 0.96);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    z-index: 25;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .nav-menu .nav-item-contact-mobile {
    display: inline-flex;
  }

  .nav-menu a {
    color: #fbfbfb;
    font-size: 12px;
    font-weight: 700;
  }

  .nav-menu a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 6px 12px;
    text-decoration: none;
  }

  .nav-contact-button {
    display: none;
  }

  .navbar {
    width: calc(100% - 24px);
    padding-top: 16px;
    height: auto;
  }

  .filmmakers-logo {
    width: 24px;
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-item-home,
  .nav-item-about-us,
  .nav-item-our-work,
  .nav-item-our-service {
    font-size: 8px;
  }

  .nav-contact-button {
    min-width: 86px;
    height: 30px;
    padding: 0 14px;
  }

  .button-label {
    font-size: 7px;
  }

  .event-coverage-title {
    margin-top: 24px;
    padding: 0 10px;
  }

  .event-coverage-title h1 {
    font-size: 24px;
  }

  .event-coverage-title p,
  .gallery-description {
    font-size: 10px;
  }

  .gallery-section {
    width: calc(100% - 24px);
    padding: 18px 12px 14px;
  }

  .gallery-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-cards-two {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-card-title {
    font-size: 11px;
  }

  .footer-social-link {
    width: 32px;
    height: 32px;
  }

  .footer-social-link img {
    width: 14px;
    height: 14px;
  }

  .footer-menu {
    gap: 14px;
    padding: 6px 12px;
  }

  .footer-menu a {
    font-size: 7px;
  }

  .footer-copyright {
    font-size: 6px;
  }
}
