
body {
  background-color: rgb(26, 0, 41);
  margin: 0;
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  color: whitesmoke;
}

h1 {
  font-size: clamp(2rem, 8vw, 8rem);
  white-space: nowrap;
  font-weight: 800;
  margin: 0;
}

body p {
  font-weight: 400;
  font-size: 30px;
  padding: 20px;
  margin: 0;
}

/* === Navigation === */

#navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(26, 0, 41);
  padding: 30px 40px;
  margin-top: 0;
  position: relative;
  top: 0;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: whitesmoke;
  user-select: none;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-link img {
  display: block;
}

.logo-title {
  padding-left: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  position: relative;
}

nav.nav-collapse {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

nav a {
  font-weight: 300;
  color: whitesmoke;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: whitesmoke;
  font-size: 2.5rem;
  cursor: pointer;
}

.menu-close {
  display: none;
  background: none;
  border: none;
  color: whitesmoke;
  font-size: 2.5rem;
  cursor: pointer;
  align-self: flex-end;
}

/* === Hero Section === */

#hero-section {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 0;
}

#hero-section h1 {
  font-size: clamp(2rem, 8vw, 8rem);
  text-align: center;
  margin: 0;
  color: whitesmoke;
}

#hero-section p {
  text-align: center;
  margin: 0;
}

/* === Sections === */

.section-black {
  background-color: rgb(26, 0, 41);
}

.section-black h1 {
  color: #804299;
  text-align: left;
  margin: 0;
  padding: 20px;
}

.section-black p {
  color: whitesmoke;
}

.section-white {
  background-color: whitesmoke;
  color: #804299;
}

.section-white h1 {
  text-align: left;
  margin: 0;
  padding: 20px;
}

body h2 {
  font-weight: 800;
  font-size: 80px;
  color: #804299;
  text-align: left;
  margin: 0;
  padding: 20px;
}

/* === Footer === */

.contacts {
  background-color: rgb(26, 0, 41);
}

.contacts .contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  text-align: center;
}

.contacts .brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contacts .brand img {
  width: clamp(75px, 15vw, 150px);
  height: auto;
}

.contacts #logo-title {
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 600;
  white-space: wrap;
}

.contacts .social-links {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.contacts .social-links a {
  color: whitesmoke;
  font-size: 2rem;
  text-decoration: none;
}

.contacts .social-links a:hover {
  color: #804299;
}

@media (min-width: 769px) {
  .contacts .contact-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .contacts .brand {
    flex-direction: row;
  }

  .contacts .social-links {
    margin-left: auto;
  }
}

/* === Overlay === */

#menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#menu-overlay.active {
  display: block;
}

/* === Responsive === */

@media (min-width: 769px) {
  nav.nav-collapse {
    position: static !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    flex-direction: row !important;
    padding: 0 !important;
    right: auto !important;
    display: flex !important;
    transform: none !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
  }

  .menu-toggle,
  .menu-close {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav.nav-collapse {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    background-color: rgb(26, 0, 41);
    flex-direction: column;
    overflow-y: auto;
    display: none;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 1100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  nav.nav-collapse.open {
    display: flex;
    transform: translateX(0);
    transition: transform 0.3s ease-in;
  }

  .menu-close {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 40px;
    padding: 0;
  }

  .nav-links li {
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 1.5rem;
    padding: 15px 0;
    display: block;
    text-align: center;
  }

  #navigation {
    padding: 20px 30px;
  }

  .nav-wrapper {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .menu-close {
    display: block; 
    position: absolute; 
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    z-index: 10000;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(26, 0, 41);
    padding: 0;
    z-index: 9999;
  }

  .nav-links.show {
    display: flex;
  }
}