/* FONT FACE */
@font-face {
  font-family: 'Satoshi';
  src: url('../Fonts/Satoshi/Fonts/OTF/Satoshi-Medium.otf') format('opentype');
  font-display: swap;
}

hr.rounded {
  border-top: 8px solid #88698c;
  border-radius: 5px;
  margin: 2rem auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 30%;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Satoshi, Arial, sans-serif;
  padding-top: 100px;
  margin: 0;
  background-color: #330033;
  overflow-x: hidden;
}

/* HEADER + NAVBAR */
.site-header {
  background: transparent;
  z-index: 100;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  left: 0;
  width: 100%;
  flex-wrap: wrap;
  position: fixed;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,   /* darker at top */
    rgba(0, 0, 0, 0.20) 40%,  /* smooth fade */
    rgba(0, 0, 0, 0.05) 80%,  /* almost gone */
    rgba(0, 0, 0, 0) 100%     /* fully transparent bottom */
  );
  -webkit-backdrop-filter: blur(8px); /* Safari */
  backdrop-filter: blur(8px);
}

#logo {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  transition: color 0.3s ease;
  padding-left: 18px;
  z-index: 100;
}

.nav-bar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  top: 2rem;
  padding-right: 2rem;
}

/* BUTTON STYLING */
a.nav-button, .contact-button {
  background-color: #f89899;
  border: 2px solid #FFFFFF;
  border-radius: 30px;
  box-shadow: #1a001a 4px 4px 0 0;
  color: #1a001a;
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  padding: 0 18px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  font-family: Satoshi, Arial, sans-serif;
  transition: color 0.3s ease, background-color 0.3s ease;
}

a.nav-button:hover,
a.nav-button:focus,
.contact-button:hover,
.contact-button:focus {
  background-color: #d16b6c;
  color: #FFD700;
  outline: 2px solid #FFD700;
  outline-offset: 2px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

a.nav-button:active,
.contact-button:active {
  box-shadow: #1a001a 2px 2px 0 0;
  transform: translate(2px, 2px);
}

/* MOBILE NAVBAR */
@media (min-width: 768px) {
  a.nav-button {
    min-width: 120px;
    padding: 0 25px;
  }
}

/* Hamburger Menu for Mobile */
.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  top: 1.6rem;
  left: 1rem;
  position: fixed;
}

@media (max-width: 768px) {
  .nav-bar {
    justify-content: center;
    flex-direction: column;
  }
  
  .nav-bar ul {
    /* Changed to horizontal layout */
    flex-direction: row;
    width: 100%;
    display: none;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping if needed */
    gap: 0.5rem; /* Add space between buttons */
  }
  
  .nav-bar ul.active {
    display: flex; /* Changed from block to flex for horizontal layout */
  }
  
  .menu-toggle {
    display: block;
    align-self: flex-start;
  }

.container {
  position: relative;
  padding: 2rem;
  z-index: 5;
  max-width: 100%;
  width: auto;
  margin: auto;
  color: #fcc4e9;
  font-weight: 600;
  font-family: Satoshi;
}

.section {
  margin-bottom: 2rem;
}

/* Keyboard focus */
a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}