body,
html {
  font-family: var(--font-futura-pt);
  max-width: 1600px;
  margin: 0 auto;
}

:root {
  --color-ableton-yellow: #fbffa7;
  --color-ableton-orange: #ff764d;
  --color-ableton-sky-blue: #b1c5ff;
  --color-ableton-purple: #d5b3ff;
  --color-ableton-green: #b6ffc0;
  --color-ableton-blue: #0000ff;

  --font-futura-pt: "Futura PT", sans-serif;
  --gallery-height: 60vh;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  /* outline: 1px dashed red !important; */
}

a {
  text-decoration: none;
  color: black;
}

/* Header */

.header__primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #eee;
}

.header__nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin-left: 2rem;
}

@media screen and (max-width: 62.5rem) {
  .header__nav-list {
    display: none;
  }
}

.header__nav-item a {
  font-size: 1rem;
  font-weight: 500;
}

.header__nav-item--orange a {
  color: var(--color-ableton-orange);
}

.header__actions {
  display: flex;
  gap: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
}

.header__actions .header__cta {
  color: var(--color-ableton-blue);
  font-weight: 500;
}

@media screen and (max-width: 62.5rem) {
  .header__actions {
    display: none;
  }
}

.header__nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 500;
  color: black;
  font-family: var(--font-futura-pt);
  margin-left: 2rem;
}

/* Mobile styles - show toggle button */
@media screen and (max-width: 62.5rem) {
  .header__nav-toggle {
    display: block;
  }
}

/* ADD STICKY FUNCTION */
.secondary-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: white;
  padding: 1.5rem 2rem;
  display: flex;
  gap: 2rem;
  opacity: 0.8;
  font-weight: 500;
}

.secondary-nav .header__nav-item--orange {
  color: var(--color-ableton-orange);
}

/* Main Section */

.main__header-image {
  background: url("images/header-image.avif") no-repeat center / cover;
  width: 80%;
  height: 100vh;
  position: relative;
  margin: 0 auto;
}

.main__header-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: auto;
}

.main__content-wrapper {
  display: grid;
  gap: 1.5rem;
  width: 60%;
  padding: 6rem 0;
  margin: 0 auto;
}

/* Tablet and mobile styles */
@media screen and (max-width: 48rem) {
  .main__content-wrapper {
    width: 80%;
  }
}

/* Intro Section */

.main__intro-title {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 450;
  line-height: 1.4;
}

.main__intro-title a {
  color: var(--color-ableton-blue);
}

.main__intro-text {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 400;
  line-height: 2rem;
}

/* Gallery Section 1 */

.main__gallery-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 60%;
  align-items: center;
}

.gallery-background {
  display: grid;
  place-items: center;
  background-color: var(--color-ableton-yellow);
  aspect-ratio: 1 / 1;
  justify-self: end;
}

.main__gallery-image-1 {
  margin-left: 30%;
  z-index: 2;
  width: 95%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.main__gallery-image-2 {
  width: 50%;
  margin-left: 15%;
}

/* Section 2 */

.main__section-title {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 450;
  line-height: 1.4;
}

.main__section-text {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 400;
  line-height: 2rem;
}

/* Video Section */
.main__video-wrapper {
  width: 67%;
  padding: 3rem 0;
  margin: 0 auto;
}

.main__video-wrapper iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.main__video-wrapper p {
  padding: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

/* Tablet and mobile styles */
@media screen and (max-width: 48rem) {
  .main__video-wrapper {
    width: 80%;
  }
}

/* Gallery Section 2 */

.main__gallery-wrapper-2 {
  width: 100%;
  display: grid;
  grid-template-columns: 60% 1fr;
}

.gallery-background-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0;
  background-color: var(--color-ableton-green);
}

.main__gallery-wrapper-2 .gallery-background-2 img {
  margin-right: 10%;
  width: 55%;
}

.main__gallery-wrapper-2 .main__gallery-image-5 {
  width: 100%;
  margin: auto 0;
  margin-left: -20%;
}

/* Gallery Section 3 */

.main__gallery-wrapper-3 {
  width: 100%;
}

.main__gallery-wrapper-3 img {
  display: block;
  width: 85%;
  margin: 0 auto;
}

/* Gallery Section 4 */

.main__gallery-wrapper-4 {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
}

.gallery-background-4 {
  display: flex;
  justify-content: end;
  padding: 5rem 0;
  width: 67%;
  background-color: var(--color-ableton-purple);
}

@media screen and (max-width: 32rem) {
  .gallery-background-4 {
    padding: 3rem 0;
  }
}

.main__gallery-wrapper-4 .main__gallery-image-7 {
  width: 33%;
  position: absolute;
  left: 8%;
}

.gallery-background-4 .main__gallery-image-8 {
  width: 63%;
  transform: translateX(40%);
}

/* Gallery Section 5 */

.main__gallery-wrapper-5 {
  border-bottom: 2px solid #eee;
  padding-bottom: 6rem;
}

.main__gallery-card {
  width: 85%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.main__gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main__gallery-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: var(--color-ableton-sky-blue);
  padding: 12rem 8rem; 
}

.main__gallery-card-content a,
h3 {
  font-size: clamp(1.25rem, 2.25vw, 1.75rem);
  font-weight: 500;
}

.main__gallery-card-content h3 {
  line-height: 3rem; 
}

.main__gallery-card-link {
  color: var(--color-ableton-blue);
}

/* Mobile and tablet styles */
@media (max-width: 80rem) {
  .main__gallery-card {
    display: block;
  }

  .main__gallery-card img {
    height: auto;
  }

  .main__gallery-card-content {
    padding: 4rem 3rem; 
  }

  .main__gallery-card-content h3 {
    line-height: 2rem;

  }
}

/* Footer */

.footer__container {
  padding: 2rem 0;
  width: 85%;
  margin: 0 auto;
}

.footer__container h3 {
  font-size: 4rem;
  margin: 2rem 0 1.5rem 0;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 4rem 2rem 0;
}

/* Tablet and mobile styles */
@media screen and (max-width: 75rem) {
  .footer__content {
    display: flex;
    flex-direction: column; /* Stack columns on smaller screens */
  }

  .footer__column {
    min-width: 100%;
    padding: 1rem 0;
  }
}

.footer__column h4 {
  font-size: 1rem;
  font-weight: 500;
}

.footer__column a {
  font-weight: 400;
  font-size: 1rem;
}

.footer__column li {
  margin-bottom: 0.5rem;
}

.social-media-svg {
  width: 24px;
  height: 24px;
}

.footer__social-list {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  list-style: none;
}

/* Footer Newsletter */

.footer__newsletter-signup {
  margin-top: 0.5rem;
  max-width: 40rem;
  width: 100%;
  display: flex;
}

.footer__newsletter-signup input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  border: none;
  background-color: #eee;
}

.footer__newsletter-signup button {
  border: none;
  background-color: var(--color-ableton-blue);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

/* Footer Language and Location */

.footer__select {
  margin-top: 0.5rem;
  max-width: 25rem;
}

.footer__select select {
  padding: 0.5rem;
  font-size: 0.6rem;
  border: none;
  background: transparent;
  background-color: #eee;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("./images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.5rem;
}

.footer__select-language {
  width: 30%;
}

.footer__select-location {
  width: 54%;
}

/* Footer Bottom */

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Desktop: horizontal layout */
}

.footer__bottom-left ul {
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 0.8rem;
  gap: 1rem;
}

.footer__bottom-right {
  display: flex;
  gap: 1rem;
}

/* Mobile styles */
@media screen and (max-width: 36rem) {
  .footer__bottom {
    flex-direction: column; /* Stack vertically on mobile */
    align-items: start;
    margin-top: 2rem;
  }

  .footer__bottom-left ul {
    flex-direction: column;
    margin-bottom: 4rem;
  }

  .footer__column {
    padding: 1rem 0;
  }
}

/* --------- Fonts Used --------- */
@font-face {
  font-family: "Futura PT";
  src: url("futura-pt/FuturaCyrillicLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Futura PT";
  src: url("futura-pt/FuturaCyrillicBook.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Futura PT";
  src: url("futura-pt/FuturaCyrillicMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Futura PT";
  src: url("futura-pt/FuturaCyrillicDemi.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* --------- */

@font-face {
  font-family: "Futura PT";
  src: url("futura-pt/FuturaCyrillicBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Futura PT";
  src: url("futura-pt/FuturaCyrillicExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Futura PT";
  src: url("futura-pt/FuturaCyrillicHeavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
