/* Sharma Infratech Header - Gold Luxury Theme */

/* ── Reset & base ───────────────────────────────── */
.si-header *,
.si-header *::before,
.si-header *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Header bar ─────────────────────────────────── */
.si-header {
  background-color: #0b0905;
  font-family: 'Jost', sans-serif;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

/* Bottom gold gradient line */
.si-header::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}

/* Subtle top ambient glow */
.si-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 50% 200% at 50% -50%, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.si-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 40px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Logo ───────────────────────────────────────── */
.si-header__logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s;
  background: rgba(255,255,255,0.94);
  border-radius: 6px;
  padding: 5px 14px;
  position: relative;
}
/* gold corners on logo */
.si-header__logo::before,
.si-header__logo::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  pointer-events: none;
  transition: opacity 0.25s;
}
.si-header__logo::before {
  top: -1px; left: -1px;
  border-top: 1.5px solid #c9a84c;
  border-left: 1.5px solid #c9a84c;
  border-radius: 6px 0 0 0;
}
.si-header__logo::after {
  bottom: -1px; right: -1px;
  border-bottom: 1.5px solid #c9a84c;
  border-right: 1.5px solid #c9a84c;
  border-radius: 0 0 6px 0;
}
.si-header__logo:hover { opacity: 0.82; text-decoration: none; }
.si-header__logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* ── Desktop nav ────────────────────────────────── */
.si-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.si-header__nav li { margin: 0; padding: 0; }

.si-header__nav a {
  color: rgba(245,241,235,0.65);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}

/* Underline hover effect */
.si-header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.si-header__nav a:hover { color: #e2c97e; text-decoration: none; }
.si-header__nav a:hover::after { transform: scaleX(1); }

/* Active/current page */
.si-header__nav a.is-active {
  color: #e2c97e;
}
.si-header__nav a.is-active::after { transform: scaleX(1); }

/* ── Enquire button ─────────────────────────────── */
.si-header__enquire {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border: 1px solid rgba(201,168,76,0.5);
  color: #e2c97e !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 3.5px !important;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s;
}
.si-header__enquire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #8b6914, #c9a84c);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.si-header__enquire:hover::before { transform: translateX(0); }
.si-header__enquire:hover {
  color: #0b0905 !important;
  border-color: #c9a84c;
  text-decoration: none !important;
}
.si-header__enquire span {
  position: relative; z-index: 1;
}
.si-header__enquire svg {
  position: relative; z-index: 1;
  width: 13px; height: 13px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.3s ease;
}
.si-header__enquire:hover svg { transform: translateX(3px); }

/* ── Hamburger button ───────────────────────────── */
.si-header__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201,168,76,0.25);
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.25s;
}
.si-header__toggle:hover { border-color: rgba(201,168,76,0.6); }
.si-header__toggle span {
  display: block;
  height: 1px;
  background-color: #c9a84c;
  border-radius: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.si-header__toggle span:nth-child(1) { width: 20px; }
.si-header__toggle span:nth-child(2) { width: 14px; }
.si-header__toggle span:nth-child(3) { width: 20px; }

/* Animated X when open */
.si-header__toggle.is-open span:nth-child(1) { width: 20px; transform: translateY(6px) rotate(45deg); }
.si-header__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.si-header__toggle.is-open span:nth-child(3) { width: 20px; transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile drawer ──────────────────────────────── */
.si-header__drawer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  background-color: #0d0b07;
  border-top: 1px solid rgba(201,168,76,0.12);
  position: relative;
  display: none;
}

@media (max-width: 768px) {
  .si-header__drawer {
    display: block;
  }
}
.si-header__drawer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.si-header__drawer.is-open {
  max-height: 480px;
  opacity: 1;
}

.si-header__drawer ul {
  list-style: none;
  padding: 10px 0 4px;
}

.si-header__drawer li a {
  display: flex;
  align-items: center;
  padding: 15px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(245,241,235,0.55) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(201,168,76,0.07);
  transition: background 0.25s, color 0.25s, padding-left 0.25s;
}
.si-header__drawer li a::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #c9a84c;
  margin-right: 14px;
  opacity: 0;
  transition: opacity 0.25s;
  flex-shrink: 0;
}
.si-header__drawer li:last-child a { border-bottom: none; }
.si-header__drawer li a:hover {
  background: rgba(201,168,76,0.04);
  color: #e2c97e !important;
  padding-left: 34px;
  text-decoration: none !important;
}
.si-header__drawer li a:hover::before { opacity: 1; }

/* Enquire in mobile drawer */
.si-drawer-enquire-wrap {
  padding: 16px 28px 20px;
}
.si-drawer-enquire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid rgba(201,168,76,0.4);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #e2c97e !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s;
}
.si-drawer-enquire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #8b6914, #c9a84c);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.si-drawer-enquire:hover::before { transform: translateX(0); }
.si-drawer-enquire:hover { color: #0b0905 !important; border-color: #c9a84c; }
.si-drawer-enquire span { position: relative; z-index: 1; }
.si-drawer-enquire svg {
  position: relative; z-index: 1;
  width: 13px; height: 13px;
  stroke: currentColor; stroke-width: 1.5; fill: none;
  transition: transform 0.3s;
}
.si-drawer-enquire:hover svg { transform: translateX(3px); }

/* ── Responsive breakpoint ──────────────────────── */
@media (max-width: 768px) {
  .si-header__bar    { padding: 0 20px; }
  .si-header__nav    { display: none; }
  .si-header__toggle { display: flex; }
}
@media (min-width: 769px) {
  .si-header__drawer { display: none; }
}
