/* ============================================================
   The Astro Guide - Premium White Theme
   Luxury / International / Vedic
   ============================================================ */

:root {
  --gold: #c9a24a;
  --gold-dark: #a8842f;
  --gold-soft: #f3e6bf;
  --royal: #1c2e5a;
  --royal-dark: #0f1d3d;
  --royal-soft: #eaeef8;
  --ink: #0e1220;
  --muted: #6b7180;
  --line: #e8e6df;
  --bg: #fdfcf9;
  --bg-2: #f6f2e9;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px rgba(28,46,90,.06);
  --shadow-md: 0 18px 40px rgba(28,46,90,.10);
  --shadow-gold: 0 12px 32px rgba(201,162,74,.28);
  --font-head: 'Fraunces', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 600; letter-spacing:-.01em; }
a { color: white; text-decoration: none; transition: .25s; }
a:hover { color: var(--gold-dark); }

/* Loader */
#page-loader { position:fixed; inset:0; background:var(--white); display:flex; align-items:center; justify-content:center; z-index:9999; transition:opacity .5s; }
.loader-ring { position:relative; width:64px; height:64px; }
.loader-ring span { position:absolute; inset:0; border:2px solid transparent; border-top-color:var(--gold); border-radius:50%; animation:spin 1.2s linear infinite; }
.loader-ring span:nth-child(2){ inset:8px; border-top-color:var(--royal); animation-duration:1.6s; animation-direction:reverse; }
.loader-ring span:nth-child(3){ inset:16px; border-top-color:var(--gold-dark); animation-duration:2s; }
@keyframes spin { to { transform:rotate(360deg); } }
body.loaded #page-loader { opacity:0; pointer-events:none; }

/* Scroll progress */
#scroll-progress { position:fixed; top:0; left:0; height:3px; width:0; background:linear-gradient(90deg,var(--gold),var(--royal)); z-index:10000; transition:width .1s; }

/* Topbar */
.topbar { background: var(--royal); color:#e9ecf3; padding:8px 0; font-size:.85rem; }
.topbar a { color:#e9ecf3; }
.topbar a:hover { color: var(--gold); }
.social-top a { margin-left:14px; }

/* Navbar */
.tag-nav {
  background:rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  border-bottom:1px solid var(--line);
  padding:.75rem 0;
}
.navbar-brand { display:flex; align-items:center; gap:12px; font-family:var(--font-head); font-weight:600; font-size:1.35rem; color:var(--ink); }
.brand-mark { width:42px; height:42px; border-radius:12px; background:linear-gradient(135deg,var(--gold),var(--gold-dark)); color:#fff; display:grid; place-items:center; font-size:1.05rem; box-shadow: var(--shadow-gold); }
.brand-text { display:flex; flex-direction:column; line-height:1.05; }
.brand-sub { font-family:var(--font-body); font-size:.65rem; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.tag-nav .nav-link { color:var(--ink); font-weight:500; padding:.6rem 1rem !important; position:relative; }
.tag-nav .nav-link.active,
.tag-nav .nav-link:hover { color: var(--gold-dark); }
.tag-nav .nav-link.active::after { content:''; position:absolute; bottom:.2rem; left:50%; transform:translateX(-50%); width:18px; height:2px; background:var(--gold); border-radius:2px; }
.nav-cart { position:relative; display:inline-grid; place-items:center; width:42px; height:42px; border-radius:12px; background:var(--royal-soft); color:var(--royal); }
.nav-cart:hover { background:var(--royal); color:#fff; }
.cart-badge { position:absolute; top:-4px; right:-4px; background:var(--gold); color:#fff; font-size:.65rem; min-width:18px; height:18px; border-radius:9px; display:grid; place-items:center; padding:0 5px; }

/* Buttons */
.btn { border-radius:999px; padding:.65rem 1.4rem; font-weight:600; letter-spacing:.01em; transition:.3s; }
.btn-gold { background:linear-gradient(135deg,var(--gold),var(--gold-dark)); color:#fff; border:none; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 18px 40px rgba(201,162,74,.4); color:#fff; }
.btn-royal { background:var(--royal); color:#fff; border:none; }
.btn-royal:hover { background:var(--royal-dark); color:#fff; transform:translateY(-2px); }
.btn-outline-royal { border:1.5px solid var(--royal); color:var(--royal); background:transparent; }
.btn-outline-royal:hover { background:var(--royal); color:#fff; }
.btn-ghost { background:#fff; color:var(--ink); border:1px solid var(--line); }
.btn-ghost:hover { border-color:var(--gold); color:var(--gold-dark); }

/* Sections */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.eyebrow { text-transform:uppercase; letter-spacing:.32em; font-size:.72rem; color:var(--gold-dark); font-weight:700; }
.section-title { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: .5rem 0 1rem; }
.section-title span { color:var(--gold-dark); font-style:italic; }
.section-sub { color: var(--muted); max-width: 620px; }

/* Hero */
.hero {
  position:relative;
  padding: 90px 0 110px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201,162,74,.18), transparent 60%),
    radial-gradient(900px 400px at -10% 30%, rgba(28,46,90,.08), transparent 60%),
    linear-gradient(180deg, #fbf6ea 0%, #fdfcf9 60%);
  overflow:hidden;
}
.hero .eyebrow { color:var(--royal); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.05; margin: 1rem 0 1.25rem; }
.hero h1 em { color: var(--gold-dark); font-style: italic; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.hero-stats { display:flex; gap:2.4rem; margin-top:2.4rem; flex-wrap:wrap; }
.hero-stats .stat b { display:block; font-family: var(--font-head); font-size: 2rem; color: var(--royal); }
.hero-stats .stat span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing:.12em; }
.hero-visual { position:relative; }
.hero-card {
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(20px);
  border:1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.hero-orb { position:absolute; width:340px; height:340px; border-radius:50%; background: conic-gradient(from 90deg, var(--gold), var(--royal), var(--gold)); filter: blur(70px); opacity:.35; top:-40px; right:-40px; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-24px);} }

/* Zodiac ring in hero */
.zodiac-ring {
  width: 380px; height: 380px; margin: 0 auto; position: relative;
  border-radius: 50%;
  border: 1px dashed rgba(28,46,90,.25);
  animation: rotate 60s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.zodiac-ring::before {
  content: ''; position: absolute; inset: 30px; border-radius: 50%;
  border: 1px dashed rgba(201,162,74,.4);
}
.zodiac-ring::after {
  content:''; position:absolute; inset:80px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #fff, #f7efd8 70%);
  box-shadow: inset 0 0 40px rgba(201,162,74,.3), 0 20px 40px rgba(28,46,90,.12);
}
.zodiac-sign {
  position:absolute; width:44px; height:44px; border-radius:50%;
  background:#fff; border:1px solid var(--line);
  display:grid; place-items:center; color:var(--royal);
  font-family: var(--font-head); font-size:1rem;
  box-shadow: var(--shadow-sm);
}

/* Cards */
.tag-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px; height:100%;
  transition: .35s;
  position:relative; overflow:hidden;
}
.tag-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.tag-card .icon { width:56px; height:56px; border-radius:16px; background:var(--royal-soft); color:var(--royal); display:grid; place-items:center; font-size:1.4rem; margin-bottom:18px; transition:.4s; }
.tag-card:hover .icon { background:linear-gradient(135deg,var(--gold),var(--gold-dark)); color:#fff; transform: rotate(-6deg); }
.tag-card h4 { font-size:1.2rem; margin-bottom:.5rem; }
.tag-card p { color: var(--muted); margin-bottom: 0; }
.tag-card .card-link { color: var(--gold-dark); font-weight:600; margin-top:14px; display:inline-flex; align-items:center; gap:6px; }
.tag-card .card-link i { transition:.3s; }
.tag-card:hover .card-link i { transform: translateX(4px); }

/* Product card */
.product-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; height:100%; transition:.35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.product-thumb {
  height:220px; background: linear-gradient(135deg, #f9f4e5, #fff);
  display:grid; place-items:center; color:var(--gold-dark);
  font-size: 3rem; position:relative;
}
.product-thumb img { max-width:100%; max-height:100%; object-fit:cover; width:100%; height:100%; }
.product-badge { position:absolute; top:12px; left:12px; background:var(--royal); color:#fff; padding:4px 10px; border-radius:999px; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; }
.product-body { padding: 20px 22px 22px; }
.product-body h5 { font-size:1.05rem; margin-bottom:6px; }
.product-body .cat { font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.price-row { display:flex; align-items:center; gap:10px; margin-top:8px; }
.price-now { color: var(--royal); font-weight:700; font-size:1.15rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size:.9rem; }
.product-body .btn { width:100%; margin-top:14px; }

/* Testimonial */
.testimonial-card {
  background:#fff; border-radius:var(--radius); padding:32px; height:100%;
  border:1px solid var(--line); box-shadow: var(--shadow-sm);
  position:relative;
}
.testimonial-card::before {
  content:'\201C'; font-family: var(--font-head); position:absolute;
  top: -18px; left: 20px; font-size:5rem; color:var(--gold-soft); line-height:1;
}
.stars { color: var(--gold); margin-bottom:10px; }
.testimonial-card .who { display:flex; align-items:center; gap:12px; margin-top:20px; }
.testimonial-card .avatar { width:44px; height:44px; border-radius:50%; background:var(--royal-soft); color:var(--royal); display:grid; place-items:center; font-weight:700; }
.testimonial-card .who b { display:block; }
.testimonial-card .who span { font-size:.8rem; color:var(--muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #0f1d3d 0%, #1c2e5a 60%, #2d4483 100%);
  color:#fff; border-radius: var(--radius-lg); padding: 70px 50px;
  position:relative; overflow:hidden;
}
.cta-banner::before { content:''; position:absolute; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(201,162,74,.5), transparent 70%); top:-100px; right:-100px; }
.cta-banner h2 { color:#fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-banner p { color: rgba(255,255,255,.75); }

/* Blog card */
.blog-card {
  background:#fff; border-radius:var(--radius); overflow:hidden; height:100%;
  border:1px solid var(--line); transition:.35s;
}
.blog-card:hover { transform:translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb { height:220px; background:linear-gradient(135deg,var(--royal-soft),#fff); display:grid; place-items:center; color:var(--royal); font-size:3rem; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; }
.blog-body { padding:22px 24px 26px; }
.blog-body .meta { font-size:.8rem; color:var(--muted); margin-bottom:8px; letter-spacing:.06em; }
.blog-body h5 { font-size:1.15rem; margin-bottom:8px; }

/* Forms */
.form-control, .form-select {
  border-radius: 12px; padding: .8rem 1rem; border:1.5px solid var(--line);
  background:#fff; font-family: var(--font-body);
}
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.15); }
.form-label { font-weight:600; color:var(--ink); font-size:.9rem; }

/* Footer */
.site-footer { background: #0e1220; color: #cbd1de; margin-top:80px; }
.footer-top { padding: 70px 0 40px; }
.site-footer h6 { color:#fff; font-family: var(--font-head); font-size:1.05rem; margin-bottom: 18px; letter-spacing:.02em; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #a7afc0; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { list-style:none; padding:0; margin:0; color:#a7afc0; }
.footer-contact li { display:flex; gap:10px; margin-bottom: 12px; font-size:.9rem; }
.footer-contact i { color: var(--gold); margin-top:4px; }
.footer-brand { color:#fff; font-family:var(--font-head); font-size:1.4rem; display:inline-flex; align-items:center; gap:10px; }
.social-links a { width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.06); color:#fff; display:inline-grid; place-items:center; margin-right:8px; transition:.3s; }
.social-links a:hover { background: var(--gold); color:#0e1220; }
.newsletter { display:flex; gap:8px; }
.newsletter .form-control { border-radius:999px; padding:.55rem 1rem; }
.newsletter .btn { border-radius:50%; width:44px; height:44px; padding:0; display:grid; place-items:center; }
.footer-bottom { background:#080b17; padding:20px 0; font-size:.85rem; }
.footer-bottom a { color:#a7afc0; margin-left:16px; }
.footer-bottom a:hover { color: var(--gold); }

/* Floating buttons */
.float-btn { position:fixed; right:22px; width:54px; height:54px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:1.2rem; box-shadow: var(--shadow-md); z-index:900; transition:.3s; }
.float-btn:hover { transform: scale(1.08); color:#fff; }
.float-wa { bottom:22px; background:#25d366; }
.float-call { bottom:88px; background:var(--royal); }
.float-btn::after {
  content:''; position:absolute; inset:0; border-radius:50%;
  border:2px solid currentColor; opacity:.4;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%{transform:scale(1);opacity:.6;} 100%{transform:scale(1.6);opacity:0;} }

/* Breadcrumb hero */
.page-hero {
  padding: 90px 0 60px; background: linear-gradient(180deg, #f6f2e9 0%, #fdfcf9 100%);
  border-bottom: 1px solid var(--line); text-align:center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { justify-content:center; background:transparent; padding:0; margin:.5rem 0 0; }
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb .active { color: var(--gold-dark); }

/* Modal / offcanvas */
.modal-content { border-radius: var(--radius); border:none; box-shadow: var(--shadow-md); }

/* Utilities */
.divider { height:1px; background:var(--line); margin: 40px 0; }
.text-gold { color: var(--gold-dark); }
.text-royal { color: var(--royal); }
.bg-soft { background: var(--bg-2); }
.rounded-xl { border-radius: var(--radius-lg); }
.shadow-soft { box-shadow: var(--shadow-sm); }
.gradient-text { background: linear-gradient(135deg,var(--gold-dark),var(--royal)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }

/* Admin styles */
.admin-body { background: #f4f5f9; font-family: var(--font-body); }
.admin-shell { display:flex; min-height:100vh; }
.admin-sidebar { width: 260px; background:#0f1d3d; color:#cbd1de; padding: 20px 0; position: sticky; top: 0; height: 100vh; overflow-y:auto; }
.admin-sidebar .brand { padding: 0 24px 20px; border-bottom:1px solid rgba(255,255,255,.08); font-family: var(--font-head); font-size:1.2rem; color:#fff; }
.admin-sidebar .nav-section { padding: 20px 0 8px 24px; font-size:.7rem; text-transform:uppercase; letter-spacing:.16em; color:#8a92a5; }
.admin-sidebar a { display:flex; align-items:center; gap:12px; padding:10px 24px; color:#a7afc0; font-size:.92rem; border-left:3px solid transparent; }
.admin-sidebar a:hover, .admin-sidebar a.active { color:#fff; background: rgba(255,255,255,.04); border-left-color: var(--gold); }
.admin-main { flex:1; padding: 0; }
.admin-topbar { background:#fff; border-bottom:1px solid var(--line); padding: 14px 24px; display:flex; justify-content:space-between; align-items:center; position:sticky; top:0; z-index:10; }
.admin-content { padding: 28px; }
.stat-tile { background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; }
.stat-tile .label { color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; }
.stat-tile .value { font-family:var(--font-head); font-size:1.9rem; color:var(--royal); margin-top:6px; }
.stat-tile .icon { width:46px; height:46px; border-radius:12px; background: var(--royal-soft); color: var(--royal); display:grid; place-items:center; font-size:1.15rem; }
.data-card { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.data-card .card-head { padding: 18px 22px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.data-card table { width:100%; margin:0; }
.data-card th { background:#f7f8fb; padding: 12px 16px; text-align:left; font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.data-card td { padding: 14px 16px; border-top:1px solid var(--line); font-size:.9rem; }
.badge-status { padding:4px 10px; border-radius:999px; font-size:.7rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
.badge-pending { background:#fff4e5; color:#a06b00; }
.badge-paid { background:#e3f6e5; color:#1b7a3c; }
.badge-completed { background:#e2ecff; color:#274b9a; }
.badge-cancelled { background:#fde2e2; color:#a12222; }
.badge-processing { background:#eef0ff; color:#3f47a0; }

/* Login page */
.login-shell { min-height:100vh; display:grid; place-items:center; background:linear-gradient(135deg,#0f1d3d,#1c2e5a); padding: 30px; }
.login-card { width:100%; max-width:420px; background:#fff; border-radius: 22px; padding: 36px; box-shadow: var(--shadow-md); }
.login-card .brand { display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-size:1.35rem; margin-bottom: 18px; }

/* Responsive */
@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 70px; }
  .admin-sidebar { position:fixed; top:0; left:-260px; z-index:1000; transition:.3s; }
  .admin-sidebar.open { left:0; }
}
@media (max-width: 600px) {
  .cta-banner { padding: 40px 22px; }
  .zodiac-ring { width: 280px; height: 280px; }
}
