:root {
  --primary-color: #7E2922;
  --secondary-color: #CBA67B;
  --accent-color: #BD9060;
  --text-dark: #333;
  --text-light: #fff;
}

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

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ================= HEADER ================= */

.main-header {
  width: 100%;
  background: linear-gradient(to bottom, rgba(126,41,34,0.12), transparent);
  position: relative;
  z-index: 1100;
}

/* HEADER ROW */
.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
/* LOGO + TAGLINE IN ONE LINE */
.logo-block {
  display: flex;
  align-items: end;
  white-space: nowrap; /* forces single line */
}

/* LOGO */
.logo-img {
  height: 50px;
  max-width: 100%;
}

/* TAGLINE */
.tagline-container {
  max-width: 240px;
}

.tagline-text {
  font-size: 16px;
  font-style: italic;
  color: rgba(126,41,34,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= DESKTOP NAV ================= */

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* NAV LIST */
.nav-list {
  display: flex;
  gap: 12px;
  list-style: none;
  flex-wrap: wrap; /* 🔑 allows fit */
}

.nav-item {
  flex-shrink: 1;
}

/* LINKS */
.nav-link-custom {
  font-size: 16px;
  font-weight: 500;
  color: rgba(126,41,34,0.85);
  text-decoration: none;
  padding: 6px 6px;
  transition: color .3s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--accent-color);
}

/* APPLY BUTTON */
.btn-primary-custom {
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 16px;
  border: none;
  font-weight: 600;
  white-space: nowrap;
}

.btn-primary-custom:hover {
  background: #cba67b;
  color: var(--primary-color);
}

/* ================= MOBILE ================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  transition: .3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  background: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  padding: 16px;
}

.mobile-nav-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.mobile-nav-link {
  font-size: 15px;
  color: rgba(126,41,34,.9);
  text-decoration: none;
}

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

@media (max-width: 1200px) {
  .tagline-container {
    display: none;
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 576px) {
  .logo-img {
    height: 40px;
  }
}

/*  */

/* FORCE ONE LINE */
.nav-list {
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* MORE MENU */
.more-menu {
  position: relative;
  cursor: pointer;
}

.more-toggle {
  display: flex;
  align-items: center;
}

/* DROPDOWN */
.more-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 220px;
  list-style: none;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  border-radius: 10px;
  display: none;
  z-index: 1200;
}

.more-dropdown li {
  padding: 8px 18px;
}

.more-dropdown li a {
  color: rgba(126,41,34,.9);
  text-decoration: none;
  font-size: 16px;
  display: block;
}

.more-dropdown li a:hover {
  color: var(--accent-color);
}

/* SHOW ON HOVER */
.more-menu:hover .more-dropdown {
  display: block;
}
