@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid #3c3c3a;
}

.header-inner {
  max-width: 1920px;
  width: 90%;
  margin: 0 auto;
  padding: 10px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 350px;
  height: auto;
  display: block;
}

/* NAV */
.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  width: 100%;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* NAV ITEM */
.nav-list li {
  position: relative;
}

/* LINK STYLE */
.nav-list li > a {
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  padding-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

/* UNDERLINE EFFECT */
.nav-list li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c49a6c;
  transition: width 0.25s ease;
}

/* HOVER */
.nav-list li:hover > a {
  color: #c49a6c;
}

.nav-list li:hover > a::after {
  width: 100%;
}

/* CHEVRON */
.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.nav-list li:hover .chevron {
  transform: rotate(225deg) translateY(-2px);
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fffefb;
  border: 1px solid #e8e2d9;
  border-radius: 4px;
  min-width: 150px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.nav-list li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  font-family: "Roboto", sans-serif;
  display: block;
  padding: 9px 18px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #3d3530;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover {
  background: #f5f0e8;
  color: #c49a6c;
}

/* CTA */
.nav-cta > a {
  background: #1a1a1a !important;
  color: #fffefb !important;
  padding: 9px 18px !important;
  border-radius: 30px;
  transition: background 0.2s !important;
  font-weight: 500;
}

.nav-cta > a::after {
  display: none !important;
}

.nav-cta:hover > a {
  background: #c49a6c !important;
  color: #fffefb !important;
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 200;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* MOBILE */
@media (max-width: 900px) {

  .burger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fffefb;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li a {
    color: #3d3530;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  .nav-list li a::after {
    display: none;
  }
}