/* ==============================
   EGT — navbar.css
   Navbar
   ============================== */

/* ==============================
   SECTION : header
   bg: hero bg image
   ============================== */


    /* Navbar scrolled state */
    .navbar {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      z-index: 100;
      padding: 18px 60px;
      /* display: flex;
      align-items: center;
      justify-content: space-between; */
      transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
    }
    .nav-contents{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 15px;
      border-bottom: 0.5px solid #FFFFFF
    }
    .navbar-scrolled {
      background: #1a1a1a;
      padding: 12px 60px;
      box-shadow: 0 2px 24px rgba(0,0,0,0.3);
    }
    .navbar-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .navbar-links {
      display: flex; align-items: center;
      gap: 30px; list-style: none;
    }
    .navbar-links a {
      color: #EFEFEF;
      font-family: var(--font-heading);
      font-size: 15px; 
      font-weight: 500;
      line-height: 24px;
      letter-spacing: .6px;
      text-transform: uppercase;
      transition: color 0.2s;
      position: relative;
    }
    .navbar-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 2px;
      background: var(--color-primary);
      transition: width 0.2s;
    }
    .navbar-links a:hover { color: #fff; }
    .navbar-links a:hover::after { width: 100%; }
    /* active keeps underline always visible */
    .navbar-links a.active::after {
        width: 100%;
    }
    .navbar-right {
      display: flex; align-items: center; gap: 16px;
    }
    .navbar-social { display: flex; gap: 10px; }
    .navbar-social a {
      width: 32px; height: 32px;
      border-radius: 25%;
      background: var(--color-primary);
      border-color: var(--color-primary);      
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 12px;
      transition: all 0.2s;
    }
    .navbar-social a:hover {
      border: 1px solid rgba(255,255,255,0.3);
      background: none;
    }


    /* ── Hamburger ── */
    /* ── Hamburger base (hidden on desktop) ── */
  .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 28px;
      height: 20px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
  }

  .hamburger span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--color-primary);
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* ── Mobile contact dropdown ── */
  .mobile-contact-drop {
      display: none;
      position: absolute;
      top: 100%;           /* sits right below navbar */
      right: 1.5rem;
      background: #fff;
      border-radius: 8px;
      padding: 1rem 1.2rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      z-index: 1050;
      min-width: 160px;
      text-align: center;
      opacity: 0;
      transform: translateY(-8px);
      transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-contact-drop.open {
      display: block;
      opacity: 1;
      transform: translateY(0);
  }

  /* ── Overlay ── */
  .menu-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1040;
      background: transparent;
  }

  .menu-overlay.open {
      display: block;
  }

  /* ── 3 & 4. Active + hover — same underline style ── */
  .navbar-links a {
      position: relative;   /* needed for ::after to work */
  }

  .navbar-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--color-primary);
      transition: width 0.2s;
  }

  /* hover expands underline */
  .navbar-links a:hover::after {
      width: 100%;
  }
  .mobile-nav-menu{
    list-style: none;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
  }
  .mobile-nav-menu.open {
    transform: translateX(0);
  }
  .mobile-nav-menu li {
      border-bottom: 1px solid #eee;
  }
  .mobile-nav-menu li a {
      display: block;
      padding: 20px 0;
      color: var(--color-dark);
      text-decoration: none;
      font-size: 20px;
      font-weight: 500;
      transition: color 0.3s ease;
  }
  .mobile-nav-menu li a:hover {
      color:var(--color-primary);
  }
  .mobile-nav-menu li a.active {
      font-weight: 600;
      color:var(--color-primary);
  }
.hero{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

 /* About */
    .about {
      padding: var(--section-pad-y) var(--section-pad-x);
      background: #fff;
      position: relative; overflow: hidden;
    }
    .about::before {
      content: '';
      position: absolute; left: 0; top: 20%; bottom: 20%;
      width: 4px; background: var(--color-whitey); opacity: 0.1;
    }
    .about-vector {
      position: absolute; top: 0; right: 0;
      height: 100%; width: 300px;
      pointer-events: none; overflow: hidden;
    }
    .about-vector svg { width: 100%; height: 100%; }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px; align-items: center;
      max-width: var(--container-max);
      margin: 0 auto;
    }
    .about-text h3 {
      font-family: var(--font-heading);
      font-size: 22px; font-weight: 700;
      color: var(--color-dark);
      margin-bottom: 16px;
      padding-left: 16px; position: relative;
    }
    .about-text h3::before {
      content: '';
      position: absolute; left: 0; top: 4px; bottom: 4px;
      width: 3px; background: var(--color-primary); border-radius: 2px;
    }
    .about-text p {
      font-family: var(--font-heading);
      font-size: var(--fs-body); font-weight: 400;
      line-height: var(--lh-body);
      color: var(--color-text-dark); margin-bottom: 28px;
    }
    .about-image { position: relative; }
    .about-image img {
      width: 100%; height: 380px;
      object-fit: cover; 
    }
    /* .about-image::before {
      content: '';
      position: absolute; bottom: -16px; left: -16px;
      width: 80px; height: 80px;
      border-bottom: 3px solid var(--color-primary);
      border-left: 3px solid var(--color-primary);
    }
    .about-image::after {
      content: '';
      position: absolute; top: -16px; right: -16px;
      width: 80px; height: 80px;
      border-top: 3px solid var(--color-primary);
      border-right: 3px solid var(--color-primary);
    } */

    /* Animations */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .navbar { padding: 16px 32px; }
      .navbar-scrolled { padding: 12px 32px; }
      :root { --fs-hero: 60px; }
    }
    @media (max-width: 768px) {
      .navbar-links, .navbar-social { display: none; }
      .navbar { padding: 14px 20px; }
      :root { --fs-hero: 40px; --fs-h1: 28px; }

      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .about-vector { display: none; }
      .desktop-only { display: none; }   /* hide desktop contact btn */
      .hamburger    { display: flex; }   /* show hamburger */
      .desktop-contact {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    /* ── 2. Hide nav links on mobile (they live in desktop header only) ── */
    .navbar-links {
        display: none;
    }
    }
