@charset "UTF-8";
/* CSS Document */

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background-image: url("img/Background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 2rem;
  font-family: Arial, sans-serif;
  color: #e1dcdc;
}

* {
  box-sizing: border-box;
}

.top-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 2rem;
  margin-bottom: 1rem;
}

.menu-wrap {
  position: relative;
  grid-column: 12;
  justify-self: end;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 2rem;
}

.logo-img,
.photo-words-img,
.navigation-img,
.cta-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo-img {
  grid-column: 1 / span 3;
  width: min(100%, 220px);
}

.menu-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navigation-img {
  width: min(100%, 30px);
  transform: translateX(-8px);
}

.site-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 160px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(12, 12, 12, 0.68);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.site-menu a {
  color: #e1dcdc;
  text-decoration: none;
  font-family: "bmx-radical", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.04em;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  opacity: 0.75;
}

.photo-words-img {
  grid-column: 2 / span 5;
  width: 100%;
  max-width: 460px;
  justify-self: start;
  transform: none;
}

.cta-button {
  grid-column: 10 / span 3;
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-top: 310px;
  transform: none;
}

.cta-img {
  width: min(100%, 260px);
}

.slideshow-section {
  display: flex;
  flex-direction: column;
  grid-column: 7 / span 3;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}

.slideshow-title {
  margin: 0 0 0.75rem;
  color: #e1dcdc;
  font-family: "bmx-radical", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.04em;
  text-align: center;
}

.slideshow {
  position: relative;
  width: min(100%, 340px);
}

.slide-frame {
  position: relative;
  min-height: 260px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.slide-image.is-active {
  opacity: 1;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(225, 220, 220, 0.4);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease;
}

.slideshow:hover .slide-arrow,
.slide-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  color: rgba(225, 220, 220, 0.9);
}

.slide-arrow-left {
  left: -18px;
}

.slide-arrow-right {
  right: -18px;
}

@media (max-width: 768px) {
  body {
    padding: 1rem;
    background-attachment: scroll;
  }

  .top-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .feature-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
  }

  .logo-img {
    grid-column: 1 / span 3;
    width: min(100%, 180px);
  }

  .menu-wrap {
    grid-column: 6;
    align-self: start;
  }

  .navigation-img {
    transform: none;
  }

  .site-menu {
    top: calc(100% + 0.5rem);
    min-width: 140px;
    padding: 0.85rem;
  }

  .cta-button {
    grid-column: 4 / span 3;
    justify-self: end;
    margin-top: 0;
    transform: translateY(12px);
    z-index: 2;
  }

  .photo-words-img {
    grid-column: 1 / span 3;
    width: 100%;
    max-width: 360px;
    align-self: start;
  }

  .slideshow-section {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 340px;
    justify-self: center;
    align-items: center;
  }

  .slideshow {
    width: 100%;
  }

  .slide-frame {
    min-height: 220px;
  }

  .slideshow-title {
    text-align: left;
    font-size: 1.45rem;
  }

  .slide-arrow-left {
    left: 8px;
  }

  .slide-arrow-right {
    right: 8px;
  }

  .cta-img {
    width: min(100%, 180px);
  }
}

@media (max-width: 480px) {
  body {
    padding: 0.85rem;
  }

  .top-row {
    gap: 1rem;
  }

  .photo-words-img {
    grid-column: 1 / span 3;
    max-width: 220px;
  }

  .cta-button {
    grid-column: 4 / span 3;
    transform: translateY(8px);
  }

  .slideshow-section {
    max-width: 320px;
  }

  .slide-frame {
    min-height: 200px;
    border-radius: 22px;
  }

  .slide-arrow {
    width: 38px;
    height: 38px;
  }

  .cta-img {
    width: min(100%, 140px);
  }
}
