/* Navigation styles for Ollie's Gift subpages */

/* Top Navigation Bar */
.top-nav {
  background-color: transparent;
  width: 100%;
  padding: 0;
  text-align: center;
  border: 15px solid #000000;
  z-index: 1000;
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  background-image: url('images/backgroundblank.jpg');
}

.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: flex;
  width: 100%;
  justify-content: space-around;
  max-width: 1280px;
  box-sizing: border-box;
}

.nav-right {
  margin-left: auto;
  margin-right: 50px;

}

.top-nav a {
  color: #000000;
  text-decoration: none;
  font-family: "Century Schoolbook Bold", Georgia, "Times New Roman", serif;
  font-size: 1.4em;
  padding: 15px 15px;
  transition: color 0.3s ease;
  font-weight: 900;
}

.top-nav a:hover {
  color: #E2E7EB;
  transform: scale(1.05);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

/* Add this code anywhere in nav-styles.css (outside the media query) */
.nav-toggle {
  display: none !important; /* Hidden on desktop */
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1001;
}

.hamburger {
  display: block;
  position: relative;
  width: 2em;
  height: 3px;
  background: #E2E7EB; /* Changed to white */
  transition: transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #E2E7EB; /* Changed to white */
  transition: transform 250ms ease-in-out;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* When the menu is open, turn the hamburger into an 'X' */
.top-nav.active .hamburger {
  transform: rotate(.625turn);
}
.top-nav.active .hamburger::before {
  transform: rotate(90deg) translateX(-8px);
}
.top-nav.active .hamburger::after {
  opacity: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: block !important; /* Make it visible on mobile */
    left: 15px; /* Position it on the left */
    right: auto; /* Override the desktop 'right: 15px' rule */
  }

  .top-nav {
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: flex-start; /* Aligns hamburger parent to the left */
    align-items: center;
    padding: 0;
  }
  
  .top-nav ul {
    display: none;
    flex-direction: column;
    width: auto; /* Let the menu size to its content */
    background-color: transparent; /* Remove background from container */
    position: absolute;
    top: 60px; /* Position below the header area */
    left: 0;
    border-radius: 0 0 8px 0; /* Optional: adds a nice rounded corner */
    overflow: hidden; /* Makes the border-radius work */
    z-index: 1000;
  }
  
  .top-nav.active ul {
    display: flex;
  }

  .top-nav li {
    display: block;
    text-align: left; /* Align text to the left */
    margin: 0;
    background-color: rgba(92, 65, 78, 0.95); /* Give each item a background */
  }

  .top-nav a {
    display: block;
    padding: 15px 25px; /* Adjust padding as needed */
    border-bottom: 1px solid #936C81;
    color: #E2E7EB; /* Make link text white */
    font-weight: normal; /* Override bold from desktop */
  }

.nav-right {
  margin-left: auto;
  margin-right: 0px;
}
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    text-align: center;
  }
  
  .footer-nav .bottom-left, .footer-nav .bottom-right {
    text-align: center;
    margin-bottom: 10px;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 10px;
  }
}

