:root{
  --saffron:#d97706;
  --gold:#f8c146;
  --maroon:#5b1812;
  --cream:#fff9ee;
  --text:#2b1a0f;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  width:100%;
  overflow-x:hidden;
  font-family:"Poppins",sans-serif;
  background:#fff;
  color:var(--text);
}

/* Prevent page jump when mobile menu is open */
body.menu-open{
  position:fixed;
  width:100%;
  overflow:hidden;
  left:0;
  right:0;
}

/* HEADER */

.temple-header{
  position:sticky;
  top:0;
  z-index:999;
  backdrop-filter:blur(12px);
}

/* TOP BAR */

.top-bar{
  background:linear-gradient(90deg,#3d0d08,#6b160d,#3d0d08);
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 5%;
  font-size:14px;
}

.top-links{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}

.top-links a{
  color:#fff;
  text-decoration:none;
  transition:.3s;
}

.top-links a:hover{
  color:var(--gold);
}

.top-status{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:500;
  flex-wrap:wrap;
}

.status-dot{
  width:10px;
  height:10px;
  background:#4ade80;
  border-radius:50%;
  box-shadow:0 0 12px #4ade80;
}

.divider{
  opacity:.5;
}

/* NAVBAR */

.navbar{
  height:86px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:0 5%;
  background:rgba(255,249,238,.95);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(217,119,6,.15);
  box-shadow:0 8px 30px rgba(0,0,0,.08);
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  position:relative;
  flex:1;
  min-width:0;
}

.logo-glow{
  position:absolute;
  left:14px;
  width:70px;
  height:70px;
  background:radial-gradient(circle,var(--gold),transparent 70%);
  filter:blur(18px);
  opacity:.8;
  animation:pulse 3s infinite;
}

.logo-box{
  width:62px;
  height:62px;
  border-radius:50%;
  overflow:hidden;
  padding:5px;
  border:2px solid rgba(248,193,70,.7);
  box-shadow:0 8px 20px rgba(217,119,6,.25);
  z-index:2;
  flex-shrink:0;
}

.logo-box img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.logo-text{
  min-width:0;
  overflow:hidden;
}

.logo-text h2{
  font-family:"Cinzel",serif;
  font-size:25px;
  letter-spacing:.5px;
  color:var(--maroon);
  line-height:1.2;
  word-break:break-word;
}

.logo-text p{
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#8b5e3c;
}

/* DESKTOP NAV */

.nav-menu{
  display:flex;
  align-items:center;
  gap:22px;
  list-style:none;
  flex-shrink:0;
}

.nav-menu a{
  text-decoration:none;
  color:var(--text);
  font-weight:500;
  position:relative;
  transition:.35s;
}

.nav-menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:linear-gradient(90deg,var(--gold),var(--saffron));
  transition:.35s;
}

.nav-menu a:hover{
  color:var(--saffron);
}

.nav-menu a:hover::after{
  width:100%;
}

/* DONATE */

.donate-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--gold),var(--saffron));
  padding:12px 24px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 8px 18px rgba(217,119,6,.3);
  transition:.35s;
}

.donate-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(217,119,6,.45);
}

/* HAMBURGER */

.menu-btn{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  z-index:1002;
  flex-shrink:0;
}

.menu-btn span{
  width:28px;
  height:3px;
  background:var(--maroon);
  border-radius:10px;
  transition:.35s;
}

.menu-btn.active span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2){
  opacity:0;
}

.menu-btn.active span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

/* MOBILE ELEMENTS */

.mobile-donate,
.mobile-social{
  display:none;
}

/* OVERLAY */

.menu-overlay{
  position:fixed;
  inset:0;
  /* background:rgba(0,0,0,.35); */
  /* backdrop-filter:blur(3px); */
  opacity:0;
  visibility:hidden;
  transition:.35s;
  z-index:1000;
}

.menu-overlay.active{
  opacity:1;
  visibility:visible;
}

/* TABLET & MOBILE */

@media(max-width:1100px){

  .desktop-actions{
    display:none;
  }

  .menu-btn{
    display:flex;
  }

  .navbar{
    height:78px;
    padding:0 4%;
    gap:12px;
  }

  .logo-box{
    width:56px;
    height:56px;
  }

  .logo-text h2{
    font-size:20px;
  }

  .nav-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:min(290px,82vw);
    height:100vh;
    background:linear-gradient(180deg,#fff9ee,#fff1d6);
    padding:100px 30px 35px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:24px;
    transition:.45s ease;
    box-shadow:-10px 0 30px rgba(0,0,0,.15);
    overflow-y:auto;
    z-index:1001;
  }

  .nav-menu.active{
    right:0;
  }

  .mobile-donate{
    display:block;
    width:100%;
  }

  .mobile-donate .donate-btn{
    width:100%;
  }

  .mobile-social{
    display:block;
    width:100%;
    padding-top:30px;
    border-top:1px solid rgba(217,119,6,.2);
  }

  .social-title{
    font-family:"Cinzel",serif;
    text-align:center;
    color:var(--maroon);
    font-size:16px;
    margin-bottom:18px;
  }

  .social-icons{
    display:flex;
    justify-content:center;
    gap:16px;
  }

  .social-icons a{
    width:46px;
    height:46px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:var(--maroon);
    font-size:18px;
    background:linear-gradient(145deg,#fff,#ffe7b0);
    border:1px solid rgba(217,119,6,.25);
    box-shadow:0 6px 18px rgba(217,119,6,.18);
    transition:.35s;
  }

  .social-icons a:hover{
    background:linear-gradient(145deg,var(--gold),var(--saffron));
    color:#fff;
    transform:translateY(-4px) scale(1.08);
  }

  .top-bar{
    flex-direction:column;
    gap:8px;
    padding:10px 15px;
  }

  .top-links{
    justify-content:center;
  }

  .top-status{
    justify-content:center;
  }
}

/* SMALL PHONES */

@media(max-width:480px){

  .navbar{
    height:72px;
    padding:0 4%;
  }

  .logo{
    gap:10px;
  }

  .logo-box{
    width:48px;
    height:48px;
  }

  .logo-text h2{
    font-size:15px;
    line-height:1.15;
  }

  .logo-text p{
    display:none;
  }

  .top-bar{
    padding:8px 10px;
  }

  .top-links{
    gap:10px;
    justify-content:center;
  }

  .top-links a{
    font-size:12px;
  }

  .top-status{
    font-size:12px;
    gap:6px;
  }

  .nav-menu{
    width:min(270px,82vw);
    padding:90px 24px 30px;
  }

  .menu-btn span{
    width:26px;
  }
}

/* LOGO GLOW */

@keyframes pulse{
  0%,100%{
    transform:scale(1);
    opacity:.8;
  }
  50%{
    transform:scale(1.15);
    opacity:1;
  }
}