/* =========================
   LUPINE DETAILING CO
   Global Styles
========================= */

:root {
  --bg-main: #050505;
  --bg-card: #0f0f12;
  --accent: #7A2FFF;
  --accent-soft: rgba(122,47,255,0.4);
  --text-main: #f2f2f2;
  --text-muted: #b5b5b5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Subtle Nebula Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(39,3,65,0.42), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(122,47,255,0.18), transparent 50%);
  z-index: -1;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  border-bottom: 1px solid rgba(122,47,255,0.15);
}

nav img {
  height: 40px;
  display: block;
}

nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--accent);
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
  box-shadow: 0 0 0px var(--accent-soft);
  display: inline-block;
}

.btn-primary:hover {
  box-shadow: 0 0 18px var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid rgba(122,47,255,0.35);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(122,47,255,0.7);
  box-shadow: 0 0 18px rgba(122,47,255,0.12);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 90px 8%;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.section p {
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.6;
}

/* Cards */
.card {
  background: var(--bg-card);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid rgba(122,47,255,0.10);
  transition: 0.2s ease;
}

.card:hover {
  border-color: rgba(122,47,255,0.55);
  box-shadow: 0 0 22px rgba(122,47,255,0.16);
}

/* Hero layout */
.hero {
  padding: 110px 8% 70px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero p {
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Trust line */
.trust-line {
  margin-top: 22px;
  color: var(--text-muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.trust-pill {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 8px 12px;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 90px 8% 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}
/* Footer */
.site-footer {
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 18px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
}

.footer-brand img {
  height: 40px;
  opacity: 0.95;
}

.footer-brand .muted {
  margin-top: 12px;
  max-width: 520px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-footer h4 {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-footer a {
  display: block;
  color: #b5b5b5;
  text-decoration: none;
  margin: 6px 0;
  transition: transform 160ms ease, color 160ms ease;
}

.site-footer a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 18px;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* Footer: prevent long links (email) spilling into other columns */
.site-footer a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Mobile nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-nav .brand img {
  height: 40px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 10px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}

.nav-drawer {
  position: fixed;
  top: 70px;
  right: 14px;
  width: min(320px, calc(100vw - 28px));
  background: rgba(10,10,12,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drawer a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #eaeaea;
  margin: 4px 0;
}

.nav-drawer a:hover {
  background: rgba(255,255,255,0.06);
}

.nav-drawer .drawer-cta {
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(39,3,65,1), rgba(4,200,214,0.35));
  border: 1px solid rgba(255,255,255,0.12);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
}
/* Mobile nav alignment polish */
.site-nav {
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Home hero pill row fix */
.pill-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(0,0,0,0.25);
  color:#d6d6d6;
  font-size:0.95rem;
}
/* Services page layout helpers */
.packages-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:24px;
  margin-top:18px;
}

.package-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.tag{
  font-size:0.85rem;
  color:#dcdcdc;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
}

.tag-glow{
  background: rgba(122,47,255,0.55);
  border-color: rgba(122,47,255,0.45);
  color:#fff;
}

.featured{
  border-color: rgba(122,47,255,0.45);
  box-shadow: 0 0 28px rgba(122,47,255,0.14);
}

.checklist{
  margin:14px 0 0 0;
  padding:0;
  list-style:none;
}

.checklist li{
  margin:8px 0;
  padding-left:22px;
  position:relative;
  color:#d7d7d7;
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: rgba(4,200,214,0.95);
}

.price-table{
  margin-top:16px;
  display:grid;
  gap:10px;
}

.price-table > div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}

.price-table span{ color:#bcbcbc; }
.price-table strong{ color:#f2f2f2; }

.package-actions{
  margin-top:18px;
}

.small-note{
  margin-top:14px;
  font-size:0.92rem;
}

.section-head{
  max-width: 900px;
}

.addons-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}

.addon h4{
  margin:0 0 8px 0;
}

.addon-price{
  margin-top:12px;
  font-weight:700;
  color:#f2f2f2;
  padding-top:10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.bullet-list{
  margin:0;
  padding-left:18px;
  color:#d7d7d7;
}

.bullet-list li{
  margin:10px 0;
}

.service-cta{
  margin-top:18px;
  padding-top:16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

@media (max-width: 1000px){
  .packages-grid{ grid-template-columns: 1fr; }
  .addons-grid{ grid-template-columns: 1fr; }
}
/* Add-on hover tooltip */
.addon {
  position: relative;
  cursor: default;
}

.addon .tip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  background: rgba(10,10,12,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

.addon:hover .tip,
.addon:focus-within .tip {
  opacity: 1;
  transform: translateY(0);
}

.tip small {
  color: #bdbdbd;
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}
/* Add-on hover tooltip */
.addon {
  position: relative;
  cursor: default;
}

.addon .tip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  background: rgba(10,10,12,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

.addon:hover .tip,
.addon:focus-within .tip {
  opacity: 1;
  transform: translateY(0);
}

.tip small {
  color: #bdbdbd;
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}
/* Gallery tabs + placeholders */
.gallery-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.tab{
  appearance:none;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color:#d7d7d7;
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.tab:hover{
  transform: translateY(-1px);
  border-color: rgba(4,200,214,0.35);
}

.tab.active{
  background: rgba(122,47,255,0.50);
  border-color: rgba(122,47,255,0.45);
  color:#fff;
}

.gallery-panel{ display:none; }
.gallery-panel.active{ display:block; }

.panel-head{
  margin-bottom:14px;
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}

.ph-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.ph-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.16);
  font-size:0.85rem;
}

.ph-body{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.ph-block{
  height:120px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(120px 120px at 30% 30%, rgba(122,47,255,0.22), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.18));
}

.ph-note{
  margin-top:12px;
  font-size:0.92rem;
}

@media (max-width: 1000px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .ph-block{ height:140px; }
}