
:root {
  --accent: #1e9fc7;
  --page-bg: #100d0b;
  --panel-bg: #191513;
  --text: #eeeeee;
  --muted: #b8b1ad;
  --header-bg: #f4f4f4;
  --header-ink: #111111;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

a:hover {
  color: #70c9e5;
}

/* HEADER */

.site-header {
  width: 100%;
  min-height: 75px;
  padding: 8px 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--header-bg);
  border-bottom: 1px solid #e5e5e5;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.wordmark img {
  display: block;
  width: min(260px, 23vw);
  max-height: 58px;
  object-fit: contain;
}

/* NAVIGATION */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(9px, 1.15vw, 19px);
}

.main-nav a {
  color: var(--header-ink);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .045em;
  padding: 15px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active {
  border-bottom-color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 1px solid #aaa;
  background: transparent;
  color: #111;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
}

.menu-icon {
  margin-left: 8px;
}

/* MAIN */

main {
  flex: 1;
}

/* HOMEPAGE SLIDER */

.hero {
  position: relative;
  width: 90vw;
  max-width: 1600px;
  margin: 35px auto 45px;
  overflow: hidden;
  background: #080706;
  aspect-ratio: 2.5 / 1;
  min-height: 250px;
  max-height: 600px;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity .65s ease;
}

.slide.active {
  opacity: 1;
}

/* SLIDER CONTROLS */

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #09070699;
  color: white;
  font: 42px/1 Georgia, serif;
  padding: 10px 15px;
  cursor: pointer;
}

.slide-arrow:hover {
  background: var(--accent);
}

.previous {
  left: 0;
}

.next {
  right: 0;
}

.slide-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slide-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #ffffff70;
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--accent);
}

/* GENERAL PAGE CONTENT */

.page-content {
  width: min(90vw, var(--content-width));
  margin: 42px auto 65px;
}

.page-title {
  margin: 0 0 30px;
  padding: 0 0 14px;
  border-bottom: 1px solid #423a36;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.page-content h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .04em;
  margin: 28px 0 10px;
}

.page-content p {
  color: var(--muted);
  max-width: 850px;
}

.content-panel {
  background: var(--panel-bg);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  margin: 20px 0;
}

.content-panel p:first-child {
  margin-top: 0;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

/* LINKS */

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 50px;
}

.link-list li {
  break-inside: avoid;
  padding: 10px 0;
  border-bottom: 1px solid #38312d;
}

.link-list a {
  text-decoration: none;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.contact-card {
  background: var(--panel-bg);
  padding: 22px 24px;
  border-top: 2px solid var(--accent);
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card p {
  margin: 5px 0;
}

/* NEWS */

.news-item {
  padding: 18px 0;
  border-bottom: 1px solid #38312d;
}

.news-item time {
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 5px;
}

.news-item p {
  margin: 0;
}

/* GALLERY */

.gallery-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.gallery-category {
  min-height: 145px;
  padding: 22px;
  background: var(--panel-bg);
  border-bottom: 2px solid var(--accent);
}

.gallery-category h2 {
  margin: 0 0 8px;
}

.gallery-category p {
  margin: 0;
  font-size: 14px;
}

.placeholder-note {
  font-size: 13px;
  color: #9f9691;
  font-style: italic;
}

/* FOOTER */

.site-footer {
  width: 90vw;
  max-width: 1600px;
  margin: auto auto 0;
  padding: 20px 0 26px;
  border-top: 1px solid #393330;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #aaa;
  font-size: 11px;
  letter-spacing: .04em;
}

.back-to-top {
  color: #aaa;
  text-decoration: none;
}

.back-to-top:hover {
  color: var(--accent);
}

/* TABLET AND MOBILE */

@media (max-width: 1120px) {

  .site-header {
    min-height: 75px;
    flex-wrap: wrap;
    padding: 10px 5vw;
  }

  .wordmark img {
    width: min(250px, 45vw);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .main-nav {
    display: none;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 5px 0 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 17px;
  }
}

/* SMALL MOBILE */

@media (max-width: 650px) {

  .hero {
    width: 94vw;
    margin-top: 24px;
    aspect-ratio: 1.35 / 1;
    min-height: 220px;
  }

  .page-content {
    margin-top: 28px;
  }

  .link-list {
    columns: 1;
  }

  .contact-grid,
  .gallery-categories {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 7px;
  }

  .slide-arrow {
    font-size: 30px;
    padding: 8px 11px;
  }
}
