@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --red: #c1121f;
  --blue: #003566;
  --golden: goldenrod;
  --light-blue: #e9f1f7;
  --white: #ffffff;
  --gray: #6b7280;
  --dark: #0b1320;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
}

body {
  color: var(--dark);
  background: var(--white);
}

h2 {
  margin: 12px 0;
  font-weight: 300;
  font-size: 34px;
}

h1,
h3 {
  margin: 8px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.2rem;
}

.header {
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--blue);
  font-size: 1.2rem;
}

nav a {
  margin-left: 1.4rem;
  text-decoration: none;
  color: var(--blue);
  font-weight: 500;
}

.hero {
  background-color: linear-gradient(135deg, var(--light-blue), white);
  background-image: url(img/herocover.jpg);
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  color: var(--white);
  box-shadow: inset 0 0 0 2000px rgba(4, 70, 128, 0.6);
}

.hero.happy {
  background-image: url(img/herohappycover.jpg);
  box-shadow: inset 0 0 0 2000px rgba(68, 41, 10, 0.6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 span {
  color: var(--lightblue);
  font-weight: 400;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.hero-badge {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(5px);
  color: var(--blue);
  border-left: 4px solid var(--red);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section {
  padding: 2.5rem 0;
}

.section.light {
  background: #f8fafc;
}

.contact-bg {
  background-color: linear-gradient(135deg, var(--light-blue), white);
  background-image: url(img/contactform.jpg);
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  color: var(--white);
  box-shadow: inset 0 0 0 2000px rgba(3, 1, 102, 0.6);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 1.6rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  border-top: 4px solid var(--red);
}

.card.white {
  background: white;
  color: var(--dark);
}

.card.golden {
  border-top: 4px solid var(--golden);
}

.split {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 2rem;
}

.info-box {
  background: white;
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.list li {
  margin-left: 1.2rem;
  margin-top: .6rem;
}

.form {
  max-width: 520px;
  display: grid;
  gap: 1rem;
}

.form input,
.form textarea {
  padding: .8rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
}

.btn {
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn-red {
  background: var(--red);
  color: white;
}

.btn-gold {
  background: var(--golden);
  color: white;
}

.btn-outline {
  border: 1px solid var(--light-blue);
  color: var(--light-blue);
  background: transparent;
}


.footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Lightbox */
.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 1em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.gallery-page {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.gallery-page a:not(.lightbox) {
  max-width: 33%;
  max-height: 250px;
  overflow: hidden;
}

.gallery-page a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination {
  margin-top: 20px;
  display: flex;
  gap: 5px;
}

.pagination button {
  padding: 13px;
  border: 2px solid black;
}

@media (max-width: 960px) {
  .split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .hide-phone {
    display: none;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .brand {
    font-weight: 300;
    font-size: 0.9rem;
  }

  #gallery img {
  max-width: 100%;
}
}