/* Navbar container */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    /*background-color: transparent;*/
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    transition: background-color 0.3s ease;
  }
  
  .index-page .navbar {
    background-color: transparent;
  } 

  /* Logo styling */
  .navbar-logo {
    margin-right: 40px; /* Extra space between logo and links */
  }
  
  .navbar-logo img {
    max-height: 80px;
    height: auto;
    width: auto;
  }
  
  /* Navbar links container */
  .navbar-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    margin: 0;
    padding: 0;
  }
  
  /* Navbar links styling */
  .navbar-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.2rem;
  }
  
  .navbar-links li a:hover {
    color: #e0e0e0;
  }
  
  /* Toggle button: hidden on desktop */
  .navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
  }
  
  /* Dark background on scroll (desktop) */
  .navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.4);
  }

  /* Hide mobile socials by default in desktop view */
  .mobile-socials {
    display: none;
  }

  /* Desktop Social Icons Container */
  .navbar-socials {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .navbar-socials img {
    width: 32px;
    height: 32px;
  }

  /* MOBILE STYLES */
  @media (max-width: 768px) {
    /* Toggle button is visible on mobile and positioned at the top right */
    .navbar-toggle {
      display: block;
      background: none;
      border: none;
      font-size: 2rem;
      color: #fff;           /* White font color when closed */
      cursor: pointer;
      position: fixed;
      top: 25px;      /* Adjust vertical offset as needed */
      right: 60px;    /* Matches navbar right padding */
      z-index: 1001;  /* Above the overlay */
    }
  
    /* Fullscreen overlay for mobile links with white background */
    .navbar-links {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 999;
      transition: opacity 0.3s ease;
      opacity: 0;
    }
  
    /* When active, display the overlay */
    .navbar-links.active {
      display: flex;
      opacity: 1;
    }
  
    /* Style each link with animation and centered text; tighter vertical spacing */
    .navbar-links li {
      margin: 10px 0;
      opacity: 0;
      transform: translateY(-20px);
      animation: dropdownAnimation 0.5s ease forwards;
      text-align: center;
      margin-left: 0;
      margin-right: 0;
    }
  
    /* Styling for mobile links: smaller, centered, and black text */
    .navbar-links li a {
      font-size: 1.4rem;
      color: #000;
      text-align: center;
      letter-spacing: 1px;
      text-decoration: none;
    }

    /* Hide desktop socials */
    .desktop-only {
      display: none;
    }

    /* Mobile socials inside dropdown: show them now */
    .mobile-socials {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
    }
    
    .mobile-socials img {
      width: 32px;
      height: 32px;
    }
  
    /* Keyframes for drop-down animation */
    @keyframes dropdownAnimation {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
  
  /* Navbar dark background when scrolled */
  .navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.4);
  }
