/* ==========================================================
   PREMIUM MOBILE HEADER
   Modern Interior Design Style
========================================================== */

* {
  box-sizing: border-box;
}

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

.site-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;

  height: 88px;

  z-index: 999;

  background:
    linear-gradient(
      135deg,
      #29311ede,
      #5e6b4c8e
    );

backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(220, 201, 163, 0.12);

  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);


  animation: fadeInDown 0.8s ease;

  overflow: visible;
}


/* Top glow line */

.site-header::after {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(220, 201, 163, 0.5),
      transparent
    );
}

/* ==========================================================
   NAV CONTAINER
========================================================== */

.nav-container {
  width: 100%;
  height: 88px;

  padding: 0 16px;

  display: flex;
  flex-direction: row-reverse;

  justify-content: space-between;
  align-items: center;

  position: relative;
  z-index: 2;
}

/* ==========================================================
   MOBILE MENU BUTTON
========================================================== */

.mobile-menu-toggle {
  width: 54px;
  height: 54px;

  border: none;
  outline: none;

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid rgba(232,216,196,0.08);

  border-radius: 16px;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 5px;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover */

.mobile-menu-toggle:hover {
  background:
    rgba(232,216,196,0.08);

  transform: scale(1.03);

  box-shadow:
    0 4px 18px rgba(0,0,0,0.16);
}

/* Hamburger lines */

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      #F5EFE6,
      #E8D8C4
    );

  border-radius: 10px;

  transition: 0.3s ease;
}

/* Open Animation */

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   LOGO AREA
========================================================== */

/* .logo {
  display: flex;
  align-items: center;

  gap: 12px;
} */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
    flex:1;
    min-width:0;
}
.header-divider{
  width:1px;
    height:38px;
    margin:0 10px;
        background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(220,201,163,0.85),
            transparent
        );
}

.org-info{
    max-width:120px;
    overflow:hidden;
}

.org-title{
    font-size:0.72rem;
    line-height:1.15;
    font-weight:400;
   color: var(--off-white);
    display:-webkit-box;
   
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.org-subtitle{
    display:none;
}
.logo img {
  height: 26px;
  width: auto;

  filter:
    drop-shadow(0 0 10px rgba(0,0,0,0.18))
    drop-shadow(0 0 14px rgba(232,216,196,0.05));
}

/* Brand */

#brand-name {

      
    line-height:1.1;
    margin-left:0;
  color: #FAFAFA;

  font-size: 1.35rem;
  font-weight: 600;

  letter-spacing: 0.5px;

  position: relative;

  text-shadow:
    0 3px 12px rgba(0,0,0,0.18);
}

/* Brand underline */

#brand-name::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -4px;

  width: 55%;
  height: 2px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #E8D8C4,
      transparent
    );
}

/* ==========================================================
   NAVIGATION PANEL
========================================================== */

.main-nav {
  position: fixed;

  top: 88px;
  right: 0;

  width: 82%;
  max-width: 340px;

  height: calc(100vh - 88px);

  background:
linear-gradient(
  145deg,
  
  rgba(94,107,76,0.96),
  rgba(62,52,40,0.98)
);

  backdrop-filter: blur(22px);

  border-left:
    1px solid rgba(232,216,196,0.08);

  box-shadow:
    -10px 0 35px rgba(0,0,0,0.22);

  transform: translateX(100%);
  opacity: 0;

  pointer-events: none;

  transition:
    transform 0.35s ease,
    opacity 0.3s ease;

  overflow-y: auto;

  z-index: 998;
}

/* Nav texture */

.main-nav::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0.015),
      transparent,
      rgba(232,216,196,0.02)
    );

  pointer-events: none;
}

/* Open nav */

.main-nav.open {
  transform: translateX(0);

  opacity: 1;

  pointer-events: auto;
}

/* ==========================================================
   NAV MENU
========================================================== */

.main-nav ul {
  list-style: none;

  padding: 24px 20px 40px;

  display: flex;
  flex-direction: column;

  gap: 8px;
}

.main-nav ul li {
  position: relative;
}

/* NAV LINKS */

.main-nav ul li a {
  display: flex;
  align-items: center;

  width: 100%;

  padding: 14px 6px;

  color: #F5EFE6;

  font-size: 1.08rem;
  font-weight: 500;

  text-decoration: none;

  position: relative;

  transition:
    color 0.3s ease,
    transform 0.3s ease,
    padding-left 0.3s ease;
}

/* Hover */

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: #FFFFFF;

  padding-left: 10px;
}

/* Elegant underline */

.main-nav ul li a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 6px;

  width: 0;
  height: 2px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #E8D8C4,
      #8B6F47
    );

  transition: width 0.3s ease;

  box-shadow:
    0 0 10px rgba(232,216,196,0.25);
}

/* Hover underline */

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 45%;
}

/* ==========================================================
   SUBMENU
========================================================== */

.has-submenu > a {
  position: relative;
  padding-right: 28px;
}

/* Arrow */

.submenu-arrow {
  position: absolute;

  right: 4px;
  top: 50%;

  width: 8px;
  height: 8px;

  border:
    solid #E8D8C4;

  border-width: 0 2px 2px 0;

  transform:
    translateY(-50%) rotate(45deg);

  transition: transform 0.3s ease;
}

/* Rotate arrow */

.has-submenu.open > a .submenu-arrow {
  transform:
    translateY(-50%) rotate(-135deg);
}

/* SUBMENU */

.submenu {
  list-style: none;

  padding-left: 14px;

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
}

/* Open submenu */

.has-submenu.open > .submenu {
  max-height: 500px;

  opacity: 1;
}

/* Submenu links */

.submenu li a {
  font-size: 0.98rem;

  color: #D8D0C6;

  padding: 12px 4px;

  border: none;
}

/* Submenu hover */

.submenu li a:hover {
  color: #FFFFFF;
}

/* ==========================================================
   SMALL DEVICES
========================================================== */

@media (max-width: 400px) {

  .site-header {
    height: 76px;
  }

  .nav-container {
    height: 76px;
  }

  .main-nav {
    top: 76px;
    height: calc(100vh - 76px);
  }

  .logo img {
    height: 46px;
  }

  #brand-name {
    font-size: 1.08rem;
  }

  .mobile-menu-toggle {
    width: 50px;
    height: 50px;
  }
}


/* ==========================================================
   ANIMATION
========================================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   REMOVE MOBILE TAP HIGHLIGHT
========================================================== */

* {
  -webkit-tap-highlight-color: transparent;
}

button:active,
a:active {
  background: none !important;
}