
/* =====================
   Sarggek — Shared Styles
   One CSS to rule all pages
   ===================== */
:root{
  --bg: #0b1020;
  --card: #0f172a;
  --accent: #22d3ee;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --ring: #0891b2;
  --shadow: 0 10px 25px rgba(0,0,0,.35);
  --radius: 1.25rem;
  --space: clamp(16px, 2vw, 28px);
  --maxw: 1100px;
  --heading: 42px;
  --body: 16px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1500px 800px at 80% -10%, rgba(34,211,238,.06), transparent 60%),
    radial-gradient(1200px 600px at 10% -10%, rgba(34,211,238,.08), transparent 60%),
    var(--bg);
  line-height:1.6;
  cursor: url('./img/cursor-normal.svg') 4 4, auto; /* unified normal cursor */
}

/* Text sizes */
h1{font-size:clamp(28px, 5vw, 42px); line-height:1.15; margin:0 0 10px}
h2{font-size:clamp(22px, 3.4vw, 28px); margin:20px 0 8px}
p{font-size:clamp(14px, 2vw, 16px); color:var(--text)}

/* Layout wrappers */
.container{max-width:var(--maxw); margin:0 auto; padding:0 var(--space)}

/* Top bar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(15,23,42,.85), rgba(15,23,42,.65));
  border-bottom:1px solid rgba(34,211,238,.15);
}
.topbar-inner{display:flex; align-items:center; gap:14px; padding:12px var(--space)}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text)}
.brand img{height:100px; width:auto}
.brand span{font-weight:700; letter-spacing:.5px}

/* Nav */
nav{margin-left:auto; display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.nav-link{
  text-decoration:none; color:var(--text); padding:8px 12px; border-radius:999px;
  border:1px solid transparent; transition:.2s ease;
  display:flex; align-items:center; gap:8px;
}
.nav-link:hover{border-color:rgba(34,211,238,.35); transform:translateY(-1px); cursor: url('./img/cursor-hover.svg') 4 4, pointer;}
.nav-link.active{background:rgba(34,211,238,.12); border-color:rgba(34,211,238,.35); box-shadow:inset 0 0 0 1px rgba(34,211,238,.25)}

/* Bottom bar */
.bottombar{
  position:sticky; bottom:0; z-index:40;
  background: linear-gradient(0deg, rgba(15,23,42,.85), rgba(15,23,42,.65));
  border-top:1px solid rgba(34,211,238,.15);
}
.bottombar-inner{display:flex; justify-content:center; gap:18px; padding:10px}
.bottombar a{color:var(--muted); text-decoration:none; font-size:14px}
.bottombar a:hover{color:var(--text)}

/* Cards & buttons */
.card{
  background:var(--card); border:1px solid rgba(34,211,238,.15);
  border-radius:var(--radius); box-shadow:var(--shadow);
  padding:clamp(16px, 2.5vw, 28px);
}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(90deg, var(--accent), #60a5fa);
  color:#00131a; font-weight:700; text-decoration:none; border:none;
  padding:10px 16px; border-radius:999px; transition:.2s ease; box-shadow:var(--shadow)
}
.btn:hover{transform:translateY(-1px)}
.btn.ghost{
  background:transparent; color:var(--accent); border:1px solid rgba(34,211,238,.35)
}

/* Sections */
.section{padding: clamp(34px, 6vw, 72px) 0}
.hero{
  display:grid; gap:24px; align-items:center;
  grid-template-columns: 1.1fr .9fr;
}
.hero img{width:100%; height:auto; border-radius:var(--radius); border:1px solid rgba(34,211,238,.15)}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
}

/* Gallery grid */
.grid{
  display:grid; gap:14px;
  grid-template-columns: repeat(12, 1fr);
}
.grid-3{grid-column: span 3}
.grid-4{grid-column: span 4}
.grid-6{grid-column: span 6}
.grid-12{grid-column: span 12}
@media (max-width: 900px){
  .grid-6{grid-column: span 12}
  .grid-4{grid-column: span 6}
  .grid-3{grid-column: span 6}
}

/* Forms */
.input, .textarea{
  width:100%; padding:12px 14px; border-radius:12px;
  background:#0b1326; color:var(--text); border:1px solid rgba(34,211,238,.25);
  outline: none; transition: .2s ease;
}
.input:focus, .textarea:focus{border-color:var(--ring); box-shadow:0 0 0 4px rgba(8,145,178,.2)}
.textarea{min-height:140px; resize:vertical}
.form-row{display:grid; gap:12px; grid-template-columns:1fr 1fr}
@media (max-width: 700px){.form-row{grid-template-columns:1fr}}

/* Loader */
#loader{
  position:fixed; inset:0; display:grid; place-items:center;
  background:rgba(11,16,32,.9); z-index:9999; transition:.3s ease; opacity:1; visibility:visible;
}
#loader.hide{opacity:0; visibility:hidden}
.spinner{
  width:70px; height:70px; border-radius:50%;
  border:6px solid rgba(34,211,238,.25);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* === Hindi Background Canvas === */
/* CHANGED: Hindi background canvas styles */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: transparent;
  display: block;
}
  /* pointer-events: none;  // optional: agar click/touch se scatter nahi chahiye to enable kar dena */
}


/* Selection text cursor */
::selection{background:rgba(34,211,238,.3); color:#09121f}
input, textarea{cursor: url('./img/cursor-text.svg') 4 4, text}
a, button{cursor: url('./img/cursor-hover.svg') 4 4, pointer}

/* Utilities */
.muted{color:var(--muted)}
.center{text-align:center}
.spacer{height:18px}
hr{border:none; height:1px; background:rgba(34,211,238,.15); margin:18px 0}

.icon-link {
  margin: 0 10px;
  display: inline-block;
}

.icon {
  width: 32px;
  height: 32px;
  fill: #fff; /* You can change this to match your theme */
  transition: transform 0.3s ease, fill 0.3s ease;
}

.icon-link:hover .icon {
  transform: scale(1.1);
  fill: #E1306C; /* Optional: highlight color on hover */
}

.footer-icon {
  width: 32px;
  height: 32px;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.footer-icon:hover {
  transform: scale(1.1);
}
