/* Header */

.site-header {
  position: relative;
  /* padding: 30px 0; */
  padding: 0 20px;
  position: fixed;
  /* height: 100px; */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  background: rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  overflow: hidden;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

/* hide header when scrolling down */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* background image layer */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url('../images/Background.png');
  background-position: center;

  opacity: 0;
  transition: opacity 0.3s ease;

  z-index: -1;
}

/* hover effect */
.site-header:hover::before {
  opacity: 1;
}


.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.logo {
  /* position: absolute; */
  left: 50%;
  /* transform: translateX(-50%); */
}

.site-header .logo img {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-header .logo:hover img {
  transform: scale(1.08);
}


.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav li{
  align-content: center;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: #c49b63;
}

.social-icons-header {
  display: flex;
  gap: 20px;
}

.social-icons-header a {
  font-size: 35px;
  color: #a67c3f;
  text-decoration: none;
}

.social-icons-header a:hover {
  color: #ffffff;
}



.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  transition: 0.3s;
}


.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


.no-scroll {
  overflow: hidden;
}


@media (max-width: 840px) {

  /* Hamburger button is shown on small screens */
  .menu-toggle {
    /* padding: 20px; */
    
    display: flex; /* Show hamburger button */
  }

  /* Navigation menu */
  .nav {
    position: fixed;
    top: 0;
    right: -100%; /* Initially off-screen */
    width: 100%;
    height: 100vh;
    background-image: url('../images/Background.png');
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease; /* Transition for sliding in */
  }

  /* When the menu is active, it should slide in */
  .nav.active {
    right: 0; /* Move the menu to the right */
  }

  /* Make the nav links vertical on mobile */
  .nav ul {
    flex-direction: column;
    gap: 25px;
  }

  .site-header{
    overflow: visible;
  }
}


.social-icons-header a {
  font-size: 35px;
  color: #a67c3f;
  text-decoration: none;
  display: inline-block;

  animation: instaBounce 6s ease-in-out infinite;
}

/* Bounce + slight rotation */
@keyframes instaBounce {

  0%, 85%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  45% {
    transform: translateY(0) rotate(-50deg);
  }
  90% {
    transform: translateY(-6px) rotate(-10deg);
  }

  95% {
    transform: translateY(10px) rotate(10deg);
  }
}


.social-icons-header a:hover {
  transform: translateY(-4px) scale(1.1);
  transition: 1s;
}