/* ==========================================================================
   AARADHYA MULTIBRAND TWO WHEELER SPARES & SERVICE - DESIGN SYSTEM
   Theme: Paddock Pro-Tech (Matte Jet Black, Industrial Gunmetal, Yamaha Cyan, Certified Gold)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
  /* Color Palette Specification */
  --bg-dark-base: #0B0B0B;
  --bg-dark-surface: #121417;
  --bg-dark-card: #1A1D20;
  
  --industrial-gunmetal: #2D3136;
  --industrial-border: #4A4F55;
  --alloy-silver: #A0A6AD;
  
  --yamaha-cyan: #00A8E8;
  --yamaha-cyan-hover: #0082B5;
  --yamaha-cyan-glow: rgba(0, 168, 232, 0.25);
  
  --certified-gold: #D4AF37;
  --certified-gold-hover: #B89628;
  --certified-gold-glow: rgba(212, 175, 55, 0.25);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dark: #111827;

  --border-fine: 1px solid var(--industrial-border);
  --border-gold: 2px solid var(--certified-gold);
  --border-cyan: 2px solid var(--yamaha-cyan);
  
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark-base);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark-base);
  min-height: 100vh;
}

a {
  color: var(--yamaha-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #38c8ff;
}

/* Technical Grid Pattern Background Overlay */
.grid-bg-overlay {
  background-image: 
    linear-gradient(to right, rgba(74, 79, 85, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 79, 85, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

.highlight-cyan {
  color: var(--yamaha-cyan);
}

.highlight-gold {
  color: var(--certified-gold);
}

.text-silver {
  color: var(--alloy-silver);
}

.text-danger { color: #EF4444; }
.text-warning { color: #EAB308; }
.text-success { color: #22C55E; }

/* Utility Classes (bespoke, matches this design system) */
.d-flex { display: flex; }
.d-none { display: none; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.flex-column { flex-direction: column; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.gap-1 { gap: 0.35rem; }
.gap-2 { gap: 0.6rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.mb-1 { margin-bottom: 0.35rem; }
.mb-2 { margin-bottom: 0.6rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.35rem; }
.mt-3 { margin-top: 1rem; }
.pb-3 { padding-bottom: 1rem; }
.pt-3 { padding-top: 1rem; }
.py-4 { padding: 1.5rem 0; }
.p-3 { padding: 1rem; }
.me-1 { margin-right: 0.35rem; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row; }
}

/* Layout Elements */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-spacing {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 3.5rem 0;
  }
}

/* Top Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 20, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--industrial-border);
  border-top: 3px solid var(--yamaha-cyan);
  padding: 0.85rem 0;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.brand-logo i {
  color: var(--yamaha-cyan);
  font-size: 1.6rem;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.site-footer .brand-logo-img {
  height: 38px;
}

.admin-brand-logo {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.admin-brand-logo .brand-logo-img {
  height: 40px;
}

.admin-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #FFFFFF;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-nav-panel {
  display: none;
  flex-direction: column;
  background: var(--bg-dark-surface);
  border-top: 1px solid var(--industrial-border);
}

.mobile-nav-panel.active {
  display: flex;
}

.mobile-nav-panel a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(74, 79, 85, 0.3);
}

.mobile-nav-panel a:last-child {
  border-bottom: none;
}

.mobile-nav-panel a:hover {
  background: var(--industrial-gunmetal);
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-phone-text {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-cyan {
  background-color: var(--yamaha-cyan);
  color: #0B0B0B;
  box-shadow: 0 4px 14px var(--yamaha-cyan-glow);
}

.btn-cyan:hover {
  background-color: #33beff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.4);
}

.btn-gold {
  background-color: var(--certified-gold);
  color: #0B0B0B;
  box-shadow: 0 4px 14px var(--certified-gold-glow);
}

.btn-gold:hover {
  background-color: #e5bf45;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--industrial-border);
}

.btn-outline:hover {
  background: var(--industrial-gunmetal);
  border-color: var(--alloy-silver);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background-color: var(--bg-dark-surface);
  border-bottom: 1px solid var(--industrial-border);
  border-top: 2px solid var(--yamaha-cyan);
  padding: 5rem 0;
  overflow: hidden;
}

.hero-section .hero-title,
.hero-section .hero-subtitle {
  max-width: 780px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  color: var(--certified-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-grid > * {
  min-width: 0;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 168, 232, 0.35);
  aspect-ratio: 16 / 10;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.55),
    0 0 45px rgba(0, 168, 232, 0.18);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: contrast(1.08) saturate(1.05);
}

.hero-image-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(11, 11, 11, 0.95) 0%, rgba(11, 11, 11, 0.5) 55%, transparent 100%);
  pointer-events: none;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(135deg,
    transparent 48%,
    var(--yamaha-cyan) 49%, var(--yamaha-cyan) 52%,
    var(--certified-gold) 53%, var(--certified-gold) 56%,
    transparent 57%);
}

.hero-image-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-image-caption i {
  color: var(--yamaha-cyan);
}

/* Speed-line accents for a dynamic paddock energy */
.hero-speed-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.6;
}

.hero-speed-lines::before,
.hero-speed-lines::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: skewX(-18deg);
}

.hero-speed-lines::before {
  right: 20%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 168, 232, 0.5) 50%, transparent 100%);
}

.hero-speed-lines::after {
  right: 26%;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.32) 50%, transparent 100%);
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yamaha-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* WHY CHOOSE US BAND */
.why-us-band {
  background-color: var(--industrial-gunmetal);
  border-top: 1px solid var(--industrial-border);
  border-bottom: 1px solid var(--industrial-border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background-color: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--yamaha-cyan);
}

.pillar-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--yamaha-cyan);
  background: rgba(0, 168, 232, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* MEMBERSHIP PLANS - PRIVILEGE PASS */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.plan-card {
  background-color: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.plan-card .btn {
  white-space: normal;
  line-height: 1.3;
}

.plan-card.popular {
  border: var(--border-gold);
  background: linear-gradient(180deg, #1f2328 0%, #1A1D20 100%);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--certified-gold);
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 1.25rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.plan-header {
  border-bottom: 1px solid rgba(74, 79, 85, 0.5);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.plan-cc {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yamaha-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.plan-card.popular .plan-cc {
  color: var(--certified-gold);
}

.plan-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 0.75rem;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.plan-features li i {
  color: var(--yamaha-cyan);
  margin-top: 0.2rem;
  font-size: 1rem;
}

.plan-card.popular .plan-features li i {
  color: var(--certified-gold);
}

/* GATED COMMUNITY HIGHLIGHT BOX */
.gated-box {
  background: linear-gradient(135deg, #121417 0%, #1c2025 100%);
  border: var(--border-fine);
  border-left: 4px solid var(--yamaha-cyan);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .gated-box {
    padding: 2rem 1.5rem;
  }
}

.gated-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.gated-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.gated-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.gated-grid > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .gated-grid {
    grid-template-columns: 1fr;
  }
}

.pickup-form-card {
  background: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.pickup-form-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.pickup-form-title i {
  color: var(--yamaha-cyan);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--alloy-silver);
  transform: translateY(-4px);
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(0, 168, 232, 0.1);
  color: var(--yamaha-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CONTACT & WORKSHOP SECTION */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-section-grid > * {
  min-width: 0;
}

@media (max-width: 992px) {
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
}

.workshop-info-card {
  background: var(--industrial-gunmetal);
  border: var(--border-fine);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.workshop-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--industrial-border);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-text {
  min-width: 0;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 168, 232, 0.15);
  color: var(--yamaha-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text h5 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 600;
  overflow-wrap: break-word;
}

.map-embed-wrapper {
  margin-top: 0.5rem;
  border: var(--border-fine);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-dark-surface);
}

.map-embed-wrapper iframe {
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.map-open-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yamaha-cyan);
  border-top: 1px solid var(--industrial-border);
}

.map-open-link:hover {
  background: var(--industrial-gunmetal);
}

/* Forms */
.form-card {
  background: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--alloy-silver);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #121417;
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--yamaha-cyan);
  box-shadow: 0 0 0 3px var(--yamaha-cyan-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Tighter spacing + smaller type on mobile for the contact section and all forms */
@media (max-width: 768px) {
  #contact.section-spacing {
    padding: 2rem 0;
  }

  #contact .section-header {
    margin-bottom: 1.75rem;
  }

  .contact-section-grid {
    gap: 1rem;
  }

  .form-card,
  .workshop-info-card,
  .pickup-form-card {
    padding: 1.25rem 1rem;
  }

  .workshop-title,
  .form-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.35rem !important;
  }

  .contact-detail-item {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .contact-detail-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .contact-detail-text h5 {
    font-size: 0.78rem;
  }

  .contact-detail-text p, .contact-detail-text a {
    font-size: 0.92rem;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-label {
    font-size: 0.72rem;
    margin-bottom: 0.3rem;
  }

  .form-control {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  textarea.form-control {
    min-height: 80px;
  }
}

/* MODAL DIALOGS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  scrollbar-width: thin;
  scrollbar-color: var(--industrial-border) transparent;
}

.modal-container::-webkit-scrollbar {
  width: 8px;
}

.modal-container::-webkit-scrollbar-track {
  background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
  background-color: var(--industrial-border);
  border-radius: 50px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background-color: var(--alloy-silver);
}

/* Keeps the submit button in view instead of it scrolling out of sight on long forms */
.modal-sticky-submit {
  position: sticky;
  bottom: -2.5rem;
  margin: 1.5rem -2.5rem -2.5rem -2.5rem;
  padding: 1rem 2.5rem;
  background: var(--bg-dark-card);
  border-top: 1px solid var(--industrial-border);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* FOOTER */
.site-footer {
  background: #08090A;
  border-top: 1px solid var(--industrial-border);
  padding: 3rem 0 2rem 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-social {
  flex-direction: row;
}

.footer-col-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
  .footer-col-social {
    justify-content: center;
  }
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--industrial-gunmetal);
  border: 1px solid var(--industrial-border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--yamaha-cyan);
  border-color: var(--yamaha-cyan);
  color: #0B0B0B;
  transform: translateY(-2px);
}

/* ADMIN PANEL SPECIFIC STYLES */
.admin-body {
  background-color: #0d0f12;
}

.admin-sidebar {
  width: 260px;
  background: #121417;
  border-right: 1px solid var(--industrial-border);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.admin-main {
  margin-left: 260px;
  padding: 2.5rem 3rem;
  min-height: 100vh;
}

.admin-sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--industrial-border);
}

.admin-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .admin-sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }
  .admin-main {
    margin-left: 0;
    padding: 1.5rem;
  }
  .admin-nav-toggle {
    display: flex;
  }
  .admin-nav-panel {
    display: none;
  }
  .admin-nav-panel.open {
    display: block;
  }
  .admin-nav {
    margin-top: 1.25rem;
  }
}

.admin-nav {
  list-style: none;
  margin-top: 2rem;

  flex-grow: 1;
}

.admin-nav li a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: all var(--transition-fast);
}

.admin-nav li a:hover, .admin-nav li a.active {
  background: var(--industrial-gunmetal);
  color: #FFFFFF;
}

.admin-nav li a.active {
  border-left: 3px solid var(--yamaha-cyan);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card-admin {
  background: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.stat-card-admin .val {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 0.3rem;
}

/* TABLES */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-table th, .admin-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--industrial-border);
  font-size: 0.88rem;
  vertical-align: middle;
}

.nowrap-cell {
  white-space: nowrap;
}

.admin-table .btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.admin-table th {
  background: var(--industrial-gunmetal);
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.badge-status {
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-pending {
  background: rgba(234, 179, 8, 0.15);
  color: #EAB308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-approved {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-cancelled {
  background: rgba(160, 166, 173, 0.15);
  color: var(--alloy-silver);
  border: 1px solid rgba(160, 166, 173, 0.3);
}

/* Admin - Manage Packages */
.pkg-admin-card {
  background: var(--bg-dark-card);
  border: var(--border-fine);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.pkg-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--industrial-border);
}

.pkg-featured-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pkg-featured-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pkg-featured-badge {
  background: var(--industrial-gunmetal);
  color: var(--alloy-silver);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.pkg-featured-toggle input[type="radio"]:checked + .pkg-featured-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--certified-gold);
  border-color: rgba(212, 175, 55, 0.3);
}

.pkg-featured-toggle:hover .pkg-featured-badge {
  border-color: var(--alloy-silver);
}

.pkg-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: var(--industrial-gunmetal);
  color: var(--alloy-silver);
}

.pkg-tag-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--certified-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.pkg-admin-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: end;
}

.pkg-admin-body .form-group {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .pkg-admin-body {
    grid-template-columns: 1fr;
  }
}

.pkg-admin-points {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--industrial-border);
}

.pkg-admin-points-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yamaha-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.pkg-points-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pkg-points-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.pkg-point-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

@media (max-width: 640px) {
  .pkg-point-row {
    grid-template-columns: 1fr 1fr 36px;
  }
}

.pkg-point-row .form-control {
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
}

.pkg-point-remove {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--industrial-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.pkg-point-remove:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #EF4444;
}

/* Floating WhatsApp Action Button */
.floating-wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-smooth);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-wa-btn:hover {
  transform: scale(1.1) rotate(6deg);
  background-color: #20ba5a;
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.legal-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.legal-link:hover {
  color: var(--yamaha-cyan);
  text-decoration: underline;
}

.branding-credit {
  color: var(--alloy-silver);
  font-size: 0.88rem;
  font-weight: 600;
}

.branding-credit a {
  color: var(--yamaha-cyan);
  font-weight: 700;
}

.branding-credit a:hover {
  color: #38c8ff;
  text-decoration: underline;
}

/* PIN Auth Modal */
.pin-input-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.pin-digit-box {
  width: 48px;
  height: 56px;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  background: #121417;
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-md);
  color: var(--yamaha-cyan);
}

.pin-digit-box:focus {
  outline: none;
  border-color: var(--yamaha-cyan);
  box-shadow: 0 0 0 3px var(--yamaha-cyan-glow);
}
