/* ================================================================
   NAMAN VERMA CLONE — NAVBAR (Compact Spacing)
   ================================================================ */

/* ---------- GLOBAL RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- BASE BODY ---------- */
body {
  background-color: #f7f2eb;   /* Beige tone from the original site */
  font-family: 'Montserrat', sans-serif;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

/* ================================================================
   NAVBAR
   ================================================================ */

/* ---------- NAVBAR WRAPPER ---------- */
.navbar {
  width: 100%;
  background-color: #f7f2eb;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding-top: 2px;     /* ⬇️ Reduced from 6px */
  padding-bottom: 4px;  /* ⬇️ Added to balance vertical spacing */
  border: none;
}

/* ---------- CONTAINER ---------- */
.nav-container {
  width: 100%;
  max-width: 1400px;
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack logo + links */
  align-items: center;
}

/* ---------- LOGO ---------- */
.nav-logo img {
  width: 180px;              /* ⬇️ Slightly smaller */
  height: auto;
  display: block;
  margin: 0 auto -10px;      /* ⬇️ Tightened vertical space below logo */
  object-fit: contain;
}

/* ---------- NAV LINKS ---------- */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;                 /* ⬇️ Slightly reduced from 70px */
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 13.5px;         /* ⬇️ Slightly smaller font */
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* ---------- HOVER ---------- */
.nav-links a:hover,
.nav-links a:focus {
  color: #000;
  opacity: 0.7;
  outline: none;
}

/* ================================================================
   RESPONSIVE STYLES
   ================================================================ */

/* ---------- TABLET (Below 1024px) ---------- */
@media (max-width: 1024px) {
  .nav-logo img {
    width: 160px;
    margin-bottom: 2px;
  }

  .nav-links {
    gap: 40px;  /* ⬇️ Reduced spacing between links */
  }

  .nav-links a {
    font-size: 13px;
    letter-spacing: 2px;
  }
}

/* ---------- MOBILE (Below 768px) ---------- */
@media (max-width: 768px) {
  .nav-logo img {
    width: 140px;
    margin-bottom: 2px;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px; /* ⬇️ Much tighter on mobile */
  }

  .nav-links a {
    font-size: 12.5px;
    letter-spacing: 1.5px;
  }
}

/* ---------- SMALL MOBILE (Below 480px) ---------- */
@media (max-width: 480px) {
  .nav-logo img {
    width: 110px;
    margin-bottom: 0;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 1px;
  }
}
