/* ===================== HEADER PARTIAL STYLES ===================== */

/* Top Bar */
.topbar {
  background: linear-gradient(90deg, var(--muted), #938e88);
  font-size: .92rem;
  color: #5b463a;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
}
.topbar .phone {
  color: #d72638 !important;
  font-weight: 700;
}
.topbar .phone:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.28);   /* see-through */
  backdrop-filter: blur(2px);        /* soft blur */
  border: none;
}
.navbar .container {
  padding-top: 0;
  padding-bottom: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 0;
}

#site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
body {
  position: relative;
}


.brand {
  font-weight: 800;
  letter-spacing: .2px;
  color: #e9eef5;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
    line-height: 0;

}
.brand:hover {
  color: #ffffff;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-shadow: none;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 135px;
  width: auto;
}




/* Nav Links */
.links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.links a {
  color: #cfe2ff;
  padding: .35rem .6rem;
  border-radius: .7rem;
}

.links a:hover {
  background: rgba(255,255,255,.07);
}

.links .active {
  color: #fff !important;
  font-weight: 600;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  padding: .35rem .6rem;
  border-radius: .7rem;
  color: #cfe2ff;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #f3dfc2;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: .7rem 1rem;
  color: #4a3a31;
}

.dropdown-content a:hover {
  background: rgba(0,0,0,.06);
  color: #2f2420;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background: rgba(255,255,255,.07);
  color: #4a3a31;
}



.links a.contact {
  background: var(--brand);
  color: #fff;
  padding: .45rem .7rem;
  border-radius: .5rem;
}






/* ===================== Mobile Hamburger Nav ===================== */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:0;
  border-radius:.75rem;
  background: rgba(255,255,255,.10);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:#e9eef5;
  border-radius:2px;
}
.nav-toggle:hover{
  background: rgba(255,255,255,.16);
}

@media (max-width: 820px){
  .nav-inner{
    position: relative;
  }

  .nav-toggle{
    display:inline-flex;
  }
    .brand-logo{
    height: 56px;
  }

  /* hide desktop hover dropdown behavior on mobile */
  .dropdown:hover .dropdown-content{
    display:none;
  }

  /* Mobile menu panel */
  .links{
    position:absolute;
    top:100%;
    left:0;
    right:0;

    display:none;              /* closed by default */
    flex-direction:column;
    align-items:stretch;
    gap:.25rem;

    padding:.75rem;
    margin-top:.5rem;

    background: rgba(0,0,0,.72);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 1rem;
    z-index: 2000;
  }

  .links[data-open="true"]{
    display:flex;
  }

  .links a{
    padding:.75rem .85rem;
    border-radius:.8rem;
    white-space: normal;
  }

  /* Dropdown becomes "tap to open" */
  .dropdown{
    width:100%;
  }

  .dropdown-content{
    position: static;
    min-width: 0;
    margin-top:.25rem;
    border-radius:.8rem;
    overflow:hidden;
    display:none; /* controlled by data-open */
  }

  .dropdown[data-open="true"] .dropdown-content{
    display:block;
  }

  .dropdown-content a{
    padding:.75rem .9rem;
  }
}
/* ===================== Topbar Mobile Fix ===================== */
@media (max-width: 600px){
  .topbar .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .topbar .phone{
    display: block;
    margin-top: 2px;
    font-weight: 700;
    color: #c0392b; /* keep your red */
  }
}
