/* =========================
   assets/css/app.css
   Public + Admin combined
========================= */

/* ---------- GLOBAL ---------- */
:root{
  --brand: #00e5ff;
  --brand2:#7c4dff;
  --ok:#34c759;
  --warn:#ffcc00;
  --danger:#ff3b30;

  --dark1:#070a12;
  --dark2:#0b1220;

  --text:#0b1220;
  --muted:#6b7280;

  --glass: rgba(255,255,255,0.08);
  --glass2: rgba(255,255,255,0.12);
  --border: rgba(255,255,255,0.16);
  --w: rgba(255,255,255,0.92);
  --wmuted: rgba(255,255,255,0.62);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ overflow-x:hidden; } /* ✅ no overflow */
img{ max-width:100%; height:auto; }
a{ text-decoration:none; }

.container{ padding-left: 14px; padding-right: 14px; }

/* ---------- PUBLIC THEME ---------- */
body.public-body{
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(0,229,255,0.10), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(124,77,255,0.10), transparent 55%),
    #ffffff;
  color: var(--text);
}

/* navbar polish */
.navbar{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar-dark.bg-dark{
  background: rgba(12, 14, 23, 0.85)!important;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.nav-link{
  opacity: .9;
}
.nav-link:hover{
  opacity: 1;
}

/* hero */
.hero{
  border-radius: 22px;
  background:
    radial-gradient(700px 340px at 15% 20%, rgba(0,229,255,0.20), transparent 60%),
    radial-gradient(700px 340px at 85% 20%, rgba(124,77,255,0.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.01));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.08);
}
.hero h1{ letter-spacing:-0.6px; }

/* animated highlight line */
.moving-line{
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand2), transparent);
  background-size: 200% 100%;
  animation: moveLine 2.8s linear infinite;
  opacity: .9;
  border-radius: 999px;
  margin: 10px 0 18px;
}
@keyframes moveLine{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

/* cards */
.card{
  border-radius: 18px;
}
.soft-card{
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}
.card-hover{
  transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease;
}
.card-hover:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 70px rgba(0,0,0,0.12);
  border-color: rgba(0,229,255,0.25);
}

/* buttons */
.btn{
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
}
.btn-brand{
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border: 0;
  color: #000 !important; /* ✅ button text black */
}
.btn-brand:hover{ filter: brightness(0.95); }
.btn-outline-dark{
  border-radius: 14px;
}

/* section title */
.section-title{
  display:flex;
  align-items:center;
  gap:10px;
}
.section-title .dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}

/* footer */
footer{
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* back to top button */
.backtop{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display:none;
  place-items:center;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color:#000;
  border: 0;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

/* reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ADMIN THEME ---------- */
body.admin-body{
  background:
    radial-gradient(1200px 600px at 10% 10%, #14214a 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 20%, #2b0f4d 0%, transparent 55%),
    linear-gradient(180deg, var(--dark1), var(--dark2));
  color: var(--w);
  min-height: 100vh;
}
.text-muted2{ color: var(--wmuted)!important; }

/* glass */
.glass-card{
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.glow-hover{
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.glow-hover:hover{
  transform: translateY(-3px);
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.18),
              0 16px 60px rgba(0,229,255,0.12),
              0 18px 70px rgba(124,77,255,0.10);
}

/* explore button text black */
.btn-explore{
  color:#000 !important;
  font-weight: 800;
  border: 0;
}

/* day badges */
.badge-day{ font-weight:800; letter-spacing:.2px; }
.day-sun{ background:var(--danger)!important; }
.day-mon{ background:#007aff!important; }
.day-tue{ background:var(--ok)!important; }
.day-wed{ background:var(--warn)!important; color:#000!important; }
.day-thu{ background:#af52de!important; }
.day-fri{ background:#ff9500!important; color:#000!important; }
.day-sat{ background:#00c7be!important; }

/* read more */
.more-text{ display:none; }
.read-more-btn{
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--w);
  padding: 6px 10px;
  border-radius: 12px;
}
.read-more-btn:hover{ background: rgba(255,255,255,0.12); }

/* dark table container */
.table-darkish{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  overflow: hidden;
}
.table-darkish table{ margin:0; }
.table-darkish .table > :not(caption) > * > *{
  background: transparent;
  color: var(--w);
  border-color: rgba(255,255,255,0.12);
}

/* ✅ mobile */
@media (max-width: 576px){
  .btn{ width: 100%; }
  .action-wrap{ display:grid; gap:8px; }
  .hero{ padding: 16px !important; }
}


/* =========================
   ABOUT PAGE EXTRA STYLES
========================= */

/* ✅ Profile image ring animation */
.profile-wrap{
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
}
.profile-img{
  width: 160px;
  height: 160px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 18px 60px rgba(0,0,0,0.20);
}
.ring{
  position:absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.06);
  background:
    conic-gradient(from 0deg, var(--brand), transparent 25%, var(--brand2), transparent 60%, var(--brand));
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  animation: ringSpin 3.5s linear infinite;
  opacity: .95;
}
@keyframes ringSpin{
  0%{ transform: rotate(0deg); }
  100%{ transform: rotate(360deg); }
}

/* ✅ Marquee/Ticker */
.ticker{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.03);
}
.ticker-track{
  display: inline-block;
  white-space: nowrap;
  padding: 10px 0;
  animation: tickerMove 18s linear infinite;
  font-weight: 700;
  color: rgba(0,0,0,0.65);
}
.ticker-track span{
  padding: 0 18px;
}
@keyframes tickerMove{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ✅ make ticker good in dark navbar pages too */
body.admin-body .ticker{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}
body.admin-body .ticker-track{
  color: rgba(255,255,255,0.75);
}



/* =====================================================
   MODERN HOME DASHBOARD STYLES
===================================================== */

.home-hero{
  border-radius: 26px;
  padding: 22px;
  background:
    radial-gradient(700px 360px at 20% 20%, rgba(16,185,129,0.22), transparent 60%),
    radial-gradient(700px 360px at 85% 30%, rgba(34,197,94,0.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.08);
}

.home-accent{
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.home-pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.18);
  font-weight: 900;
}

.home-trust{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.home-trust-item{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.home-trust-item i{
  font-size: 20px;
  color: var(--brand);
}

.home-panel{
  border-radius: 24px;
  padding: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 60px rgba(0,0,0,0.08);
}
.home-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.home-badge{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(16,185,129,0.14);
  border: 1px solid rgba(16,185,129,0.18);
}

.home-panel-list{
  display:grid;
  gap: 10px;
}
.home-panel-item{
  display:flex;
  gap:12px;
  align-items:center;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-panel-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 60px rgba(16,185,129,0.16);
}
.home-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(16,185,129,0.14);
  border: 1px solid rgba(16,185,129,0.18);
  font-size: 18px;
}

.home-card{
  border-radius: 22px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 16px;
  box-shadow: 0 14px 50px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 70px rgba(16,185,129,0.14);
  border-color: rgba(16,185,129,0.25);
}

.home-price{
  background: rgba(16,185,129,0.14);
  border: 1px solid rgba(16,185,129,0.20);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

/* mobile */
@media(max-width:576px){
  .home-hero{ padding: 16px; }
  .home-panel{ padding: 14px; }
}