@font-face {
  font-family: 'Slab Serif';
  src: url('/assets/fonts/slab-serif.otf') format('opentype');
  font-display: swap;
}

:root {
  --color-bg: #2c2c2c;
  --color-primary: #002164;
  --color-accent: #cf5c10;
  --color-accent-hover: #e0691b;
  --color-text: #ffffff;
  --glass-bg: rgba(0, 0, 0, 0.2);
  --navbar-height: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.navbar-title {
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  padding: 0 16px;
}

main {
  padding-top: var(--navbar-height);
}

.center-title {
  text-align: center;
}

.card {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 4px;
  box-shadow:
    0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14),
    0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.card.glass {
  background-color: var(--glass-bg);
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 500;
  font-family: 'Slab Serif', 'Roboto', serif;
}

.card-subtitle {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.85;
}

.card-content {
  margin-top: 16px;
}

.img-section {
  height: 50vw;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
}

.local-background {
  background-attachment: local;
  background-size: cover;
}

.static-background {
  background-attachment: fixed;
  background-size: cover;
  height: 50vh;
}

.section-flag {
  background-image: url('/assets/img/az-flag.png');
  background-position: center calc(64px - 25vh);
}

.section-entrance {
  background-image: url('/assets/img/sunscreen-shade_entrance.jpg');
  background-position: center center;
}

.section-courtyard {
  background-image: url('/assets/img/sunscreen-shade_courtyard.jpg');
  background-position: center center;
}

.section-back-right {
  background-image: url('/assets/img/sunscreen-shade_back_right.jpg');
  background-position: center center;
}

.content-section {
  padding: 5vw 16px;
}

.list-columns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.list {
  list-style: none;
  margin: 1rem 0;
  padding: 0 10px;
  flex: 1 1 140px;
  max-width: 220px;
}

.list li {
  margin: 1rem 0;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 1.15em;
  border-radius: 9999px;
  background-color: var(--color-accent);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow:
    0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--color-accent-hover);
}

.material-icons {
  font-size: 22px;
}

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

@media (max-width: 600px) {
  .img-section {
    height: 50vw;
  }

  .section-flag {
    background: url('/assets/img/az-flag.png') no-repeat center center;
    background-size: 100% auto;
  }

  .card {
    padding: 16px;
  }
}
