.main-header{
     width: 100%;
    padding: 20px 0;
    background: transparent;
}

.header-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
}



.menu-icon{
    font-size:20px;
    color:#3e2d24;
    cursor:pointer;
}


/* ===========================
   HAMBURGER BUTTON
   =========================== */
.menu-icon {
  display: flex;
  align-items: center;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 200;
}

.hamburger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1410;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

.hamburger-btn.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ===========================
   OVERLAY
   =========================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 10, 0);
  pointer-events: none;
  transition: background 0.5s ease;
  z-index: 50;
}

.nav-overlay.open {
  background: rgba(20, 16, 10, 0.45);
  pointer-events: all;
}


/* ===========================
   OFF-CANVAS PANEL
   =========================== */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #1a1410;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 100px 48px 48px;
}

.offcanvas.open {
  transform: translateX(0);
}

.offcanvas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(240, 235, 226, 0.12);
}


/* ===========================
   NAV LIST
   =========================== */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-list li {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.offcanvas.open .nav-list li:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.offcanvas.open .nav-list li:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}

.offcanvas.open .nav-list li:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.29s;
}

.nav-list a {
  font-family: 'Georgia Bold', Georgia, serif;
  font-size: 32px;
  color: #f0ebe2;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 1px;
  background: #b8603a;
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: #e8c4a8;
}

.nav-list a:hover::after {
  width: 100%;
}


/* ===========================
   DIVIDER ACCENT
   =========================== */
.nav-divider {
  width: 32px;
  height: 1px;
  background: rgba(240, 235, 226, 0.2);
  margin: 0 0 24px;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.offcanvas.open .nav-divider {
  opacity: 1;
}


/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 480px) {
  .offcanvas {
    width: 100vw;
    padding: 100px 32px 40px;
  }

  .nav-list a {
    font-size: 28px;
  }
}


/* ===========================
   CLOSE BUTTON (inside panel)
   =========================== */
.offcanvas-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotate(-45deg);
  transition: opacity 0.3s ease 0.1s, transform 0.35s ease 0.1s;
}

.offcanvas.open .offcanvas-close {
  opacity: 1;
  transform: rotate(0deg);
}

.offcanvas-close .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #f0ebe2;
  position: absolute;
  transition: background 0.2s ease;
}

.offcanvas-close .bar:nth-child(1) {
  transform: rotate(45deg);
}

.offcanvas-close .bar:nth-child(2) {
  transform: rotate(-45deg);
}

.offcanvas-close:hover .bar {
  background: #e8c4a8;
}