:root {
  --teal: #1e484d;
  --cream: #f3ebc2;
  --light: #f8f4d9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--cream);
  background: #0c0c0c;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: var(--teal);
  padding: 20px 80px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-link {
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  transition: opacity 0.3s ease;
}

.phone-link:hover {
  opacity: 0.7;
}

.facebook-link {
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  transition: opacity 0.3s ease;
}

.facebook-link:hover {
  opacity: 0.7;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Hero */
.hero {
  position: relative;
  flex: 1;
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  overflow: hidden;
  gap: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.29) 12.69%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 332.536px;
  height: 240px;
  max-width: 80vw;
  margin-bottom: 32px;
}

.hero-title {
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  font-size: 56px;
  font-weight: 400;
  color: var(--cream);
  margin: 0 0 40px;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 14px 28px;
  text-decoration: none;
  font-size: 15px;
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--cream);
  color: var(--teal);
  border-color: var(--cream);
}

.btn-secondary {
  background: var(--light);
  color: var(--teal);
  border-color: var(--light);
}

.btn-secondary:hover {
  background: var(--cream);
  color: var(--teal);
  border-color: var(--cream);
}

/* Footer */
.footer {
  background: var(--teal);
  color: var(--cream);
  font-size: 14px;
  border-top: 1px solid rgba(236, 225, 171, 0.2);
  padding: 20px 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 10px;

  svg {
    width: auto;
    height: 20px;
  }
}

.footer-logo {
  text-align: center;
}

.footer-credit {
  text-align: right;
  opacity: 0.85;
}

/* Tablet */
@media (max-width: 768px) {
  .top-bar {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(236, 225, 171, 0.2);
  }

  .footer {
    padding: 20px 24px;
  }

  .hero {
    padding: 48px 20px;
  }

  .hero-title {
    font-size: clamp(32px, 7vw, 48px);
    margin: 0 0 32px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .top-bar {
    padding: 16px 18px;
  }

  .footer {
    padding: 0px;
  }

  .footer-credit {
    padding: 16px 18px;
  }

  .footer-logo {
    text-align: left;
  }

  .footer-inner > div:not(.footer-address):not(.footer-credit) {
    padding: 16px 18px;
  }

  .phone-link {
    font-size: 14px;
    gap: 8px;
  }

  .phone-link svg {
    width: 18px;
    height: 18px;
  }

  .social-links {
    gap: 14px;
  }

  .social-links svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    padding: 40px 18px;
  }

  .hero-logo {
    width: min(260px, 70vw);
    height: auto;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 30px;
    margin: 0 0 28px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    font-size: 13px;
    gap: 0px;
    padding: 0px;
  }

  .footer-address {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(236, 225, 171, 0.2);
    text-align: center;
  }

  .footer-address svg {
    width: 14px;
    height: 16px;
  }

  .footer-credit {
    justify-self: end;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .phone-link {
    font-size: 13px;
  }

  .hero-title {
    font-size: 26px;
  }

  .btn {
    padding: 11px 18px;
    font-size: 13px;
  }
}
