/*
Theme Name: Highgate Luxe Elementor (Header C)
Theme URI: https://example.com/
Author: ChatGPT
Description: Elementor-ready theme for Highgate Custom Homes with sticky transparent2192solid header navigation (Style C). Includes an auto-created Elementor template + Home page on activation (when Elementor is active).
Version: 1.1.0
License: GPLv2 or later
Text Domain: highgate-luxe-elementor
*/

:root{
  --bg:#0b0d10;
  --panel:#11151b;
  --text:#f1f5f9;
  --muted:rgba(241,245,249,.78);
  --gold:#c8a24b;
  --gold2:#a8862f;
  --border:rgba(255,255,255,.10);
  --radius:18px;
}

body{
  background: radial-gradient(1200px 800px at 15% -10%, rgba(200,162,75,.18), transparent 60%),
              radial-gradient(900px 600px at 95% 10%, rgba(200,162,75,.10), transparent 55%),
              var(--bg);
  color: var(--text);
}

a{color:inherit}
.hg-btn-gold .elementor-button{
  background: linear-gradient(180deg, var(--gold), var(--gold2)) !important;
  border-radius: 999px !important;
  color:#0b0d10 !important;
  font-weight:700 !important;
}
.hg-btn-ghost .elementor-button{
  background: rgba(200,162,75,.06) !important;
  border:1px solid rgba(200,162,75,.55) !important;
  border-radius: 999px !important;
  color: rgba(241,245,249,.96) !important;
  font-weight:700 !important;
}
.hg-panel{
  background: rgba(17,21,27,.72);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

/* ---------- Header / Navigation (Style C: transparent -> solid on scroll) ---------- */
body{ padding-top: 86px; }
body.home, body.front-page{ padding-top: 0; }

.hg-skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.hg-skip-link:focus{ left:16px; top:16px; width:auto; height:auto; padding:10px 14px; background:#fff; color:#000; z-index:99999; }

.hg-site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(11,13,16,0);
  transition: background .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}
.hg-site-header.is-scrolled{
  background: rgba(11,13,16,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.hg-header-inner{
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hg-brand .custom-logo{ height: 44px; width: auto; }
.hg-brand-text{ font-family: Georgia, serif; font-size: 20px; letter-spacing: .04em; }

.hg-nav{ display:flex; }
.hg-menu{
  list-style:none;
  display:flex;
  gap: 22px;
  margin:0; padding:0;
  align-items:center;
}
.hg-menu a{
  text-decoration:none;
  color: rgba(241,245,249,0.95);
  font-weight: 500;
  letter-spacing: .02em;
  padding: 10px 2px;
  display:inline-block;
  border-bottom: 1px solid transparent;
}
.hg-menu a:hover, .hg-menu .current-menu-item > a{
  color: #fff;
  border-bottom-color: rgba(200,162,75,0.9);
}

/* Mobile */
.hg-nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 10px 10px;
  color:#fff;
}
.hg-nav-toggle-bars{
  display:block;
  width: 22px;
  height: 2px;
  background: rgba(241,245,249,0.95);
  position: relative;
}
.hg-nav-toggle-bars:before,
.hg-nav-toggle-bars:after{
  content:'';
  position:absolute;
  left:0;
  width: 22px;
  height: 2px;
  background: rgba(241,245,249,0.95);
}
.hg-nav-toggle-bars:before{ top: -7px; }
.hg-nav-toggle-bars:after{ top: 7px; }
.hg-sr-only{ position:absolute; left:-9999px; }

@media (max-width: 900px){
  .hg-nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .hg-nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(11,13,16,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.10);
    display:none;
  }
  .hg-nav.is-open{ display:block; }
  .hg-header-inner{ padding: 14px 16px; }
  .hg-menu{ flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 10px; }
  .hg-menu a{ width: 100%; padding: 10px 0; }
}

/* Footer */
.hg-site-footer{
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 70px;
  padding: 26px 0;
  background: rgba(0,0,0,0.18);
}
.hg-footer-inner{
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  color: rgba(241,245,249,0.75);
}
.hg-footer-inner a{ color: rgba(241,245,249,0.85); text-decoration:none; }
.hg-footer-inner a:hover{ color:#fff; }
