/* ═══════════════════════════════════════
   DevyZen Repair — Shared Stylesheet
   Palette: Cyan + Green (fresh 2026)
   ═══════════════════════════════════════ */
:root {
  --bg:    #030d14;
  --bg2:   #061a26;
  --bg3:   #0a2236;
  --card:  #0d2a3f;
  --border:  rgba(0,200,255,0.16);
  --border2: rgba(0,232,122,0.16);
  --cyan:  #00c8ff;
  --green: #00e87a;
  --teal:  #00ffcc;
  --glow-c: rgba(0,200,255,0.35);
  --glow-g: rgba(0,232,122,0.35);
  --text:  #dff5ff;
  --muted: #6a9bb5;
  --mono:  'JetBrains Mono', monospace;
  --head:  'Exo 2', sans-serif;
  --body:  'Rajdhani', sans-serif;
}

/* legacy aliases so old references still work */
:root {
  --violet: var(--cyan);
  --red:    var(--green);
  --pink:   var(--teal);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(3,13,20,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.05em; text-decoration: none; color: var(--text); }
.nav-logo span { color: var(--green); }
.nav-logo em { color: var(--cyan); font-style: normal; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { font-family: var(--head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-cta { font-family: var(--head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 1.3rem; border-radius: 4px; background: linear-gradient(135deg,var(--cyan),var(--green)); color: #021018; text-decoration: none; transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.85; }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; position: relative; z-index: 1; }

/* ── SECTION HEADERS ── */
.section-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; }
.section-title { font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem,3.5vw,2.8rem); line-height: 1.1; }
.section-title span { background: linear-gradient(90deg,var(--cyan),var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { color: var(--muted); margin-top: 0.75rem; max-width: 520px; }
.section-divider { width: 60px; height: 3px; background: linear-gradient(90deg,var(--cyan),var(--green)); border-radius: 2px; margin: 1rem 0 0; }

/* ── BUTTONS ── */
.btn-primary { font-family: var(--head); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.85rem 2rem; border-radius: 4px; background: linear-gradient(135deg,var(--cyan),var(--green)); color: #021018; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 24px rgba(0,200,255,0.3); display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,200,255,0.5); }
.btn-ghost { font-family: var(--head); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.85rem 2rem; border-radius: 4px; border: 1px solid var(--border); color: var(--text); text-decoration: none; background: transparent; cursor: pointer; transition: border-color 0.2s, background 0.2s; display: inline-block; }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0,200,255,0.08); }

/* ── CARDS ── */
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem; position: relative; overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--cyan),var(--green)); opacity: 0; transition: opacity 0.25s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(0,200,255,0.35); box-shadow: 0 12px 40px rgba(0,200,255,0.12); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.service-name { font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.service-price { font-family: var(--mono); font-size: 0.85rem; color: var(--green); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1rem; }
.service-price strong { font-size: 1.1rem; }

/* ── FORMS ── */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-family: var(--head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea { background: rgba(0,200,255,0.04); border: 1px solid rgba(0,200,255,0.12); border-radius: 5px; padding: 0.75rem 1rem; color: var(--text); font-family: var(--body); font-size: 0.95rem; outline: none; transition: border-color 0.2s, background 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan); background: rgba(0,200,255,0.07); }
.form-group select option { background: var(--card); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 1rem; font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; border: none; border-radius: 5px; background: linear-gradient(135deg,var(--cyan),var(--green)); color: #021018; cursor: pointer; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 4px 24px rgba(0,200,255,0.25); }
.form-submit:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2rem; position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1120px; margin: 0 auto; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.footer-logo span { color: var(--green); }
.footer-logo em { color: var(--cyan); font-style: normal; }
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-back { font-family: var(--head); font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-back:hover { color: var(--cyan); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BACK TO TOP ── */
#backToTop { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,var(--cyan),var(--green)); border: none; color: #021018; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,200,255,0.4); opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
#backToTop.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#backToTop:hover { box-shadow: 0 6px 28px rgba(0,200,255,0.6); transform: translateY(-2px); }

/* ── GALLERY GRID ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.gallery-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform 0.2s; }
.gallery-card:hover { transform: translateY(-3px); }
.gallery-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery-card-body { padding: 1rem; }
.gallery-card-title { font-family: var(--head); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.gallery-card-desc { font-size: 0.82rem; color: var(--muted); }

/* ── PAGE HERO (service pages) ── */
.page-hero { padding: 9rem 0 5rem; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,200,255,0.05) 1px, transparent 1px), linear-gradient(90deg,rgba(0,200,255,0.05) 1px,transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%); }
.page-hero-glow { position: absolute; left: -5%; top: 10%; width: 400px; height: 400px; background: radial-gradient(circle,rgba(0,200,255,0.15) 0%,transparent 65%); pointer-events: none; }
.page-hero-content { position: relative; }
.page-breadcrumb { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 1.2rem; }
.page-breadcrumb a { color: var(--cyan); text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-hero-title { font-family: var(--head); font-weight: 800; font-size: clamp(2.5rem,5vw,4.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1rem; }
.page-hero-title span { background: linear-gradient(90deg,var(--cyan),var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-bottom: 2rem; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--cyan); border: 1px solid var(--border); padding: 0.35rem 1rem; border-radius: 20px; background: rgba(0,200,255,0.08); margin-bottom: 1.5rem; }

/* ── PRICE TABLE ── */
.price-table { background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 2rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 1rem; }
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: rgba(0,200,255,0.03); }
.price-row-name { font-size: 0.95rem; color: var(--text); }
.price-row-val { font-family: var(--mono); font-size: 0.88rem; color: var(--green); white-space: nowrap; font-weight: 600; }
.price-row-val.free { color: #4ade80; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 1.2rem; }
}

/* ── MOBILE HAMBURGER + SIDEBAR ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  transition: border-color 0.2s;
}
.nav-hamburger:hover { border-color: var(--cyan); }
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--cyan); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--cyan); }

/* overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,13,20,0.72);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.sidebar-overlay.active { opacity: 1; pointer-events: all; }

/* sidebar panel */
.mobile-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: var(--bg3);
  border-left: 1px solid var(--border);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-sidebar.open { transform: translateX(0); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo { font-family: var(--head); font-weight: 800; font-size: 1.1rem; text-decoration: none; color: var(--text); }
.sidebar-logo span { color: var(--green); }
.sidebar-logo em { color: var(--cyan); font-style: normal; }
.sidebar-close {
  width: 34px; height: 34px;
  background: rgba(0,200,255,0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.sidebar-close:hover { background: rgba(0,200,255,0.18); }

.sidebar-nav {
  list-style: none;
  padding: 1.5rem 0;
  flex: 1;
}
.sidebar-nav li a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-family: var(--head), sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a9bb5;
  text-decoration: none !important;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sidebar-nav li a:hover, .sidebar-nav li a.active {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(0,200,255,0.05);
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.sidebar-cta {
  display: block;
  text-align: center;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #021018;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sidebar-cta:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* iOS scroll lock fix */
body.sidebar-open { overflow: hidden; position: fixed; width: 100%; }

/* ── SIDEBAR DROPDOWN ── */
.sidebar-nav .has-dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-nav .has-dropdown > a .drop-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
  color: var(--cyan);
  margin-left: auto;
  padding-left: 0.5rem;
  flex-shrink: 0;
}
.sidebar-nav .has-dropdown.open > a .drop-arrow { transform: rotate(180deg); }
.sidebar-nav .has-dropdown.open > a { color: var(--cyan); border-left-color: var(--cyan); background: rgba(0,200,255,0.05); }

.sidebar-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  background: rgba(0,0,0,0.2);
  border-left: 3px solid rgba(0,200,255,0.25);
  margin-left: 1.5rem;
}
.sidebar-nav .has-dropdown.open .sidebar-submenu { max-height: 400px; }

.sidebar-submenu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  font-family: var(--head), sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: #6a9bb5;
  text-decoration: none !important;
  border-left: none !important;
  transition: color 0.2s, background 0.2s;
}
.sidebar-submenu li a:hover { color: var(--cyan); background: rgba(0,200,255,0.07); }
.sidebar-submenu li a .sub-icon { font-size: 1rem; }

/* ── WHATSAPP FLOAT BUTTON ── */
#wpButton {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
#wpButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}
#wpButton svg { width: 26px; height: 26px; fill: #fff; }
