/* Rajmudra Enterprises — static stylesheet */
:root {
  --radius: 0.75rem;
  --background: #131a26;
  --foreground: #f4f6fa;
  --surface: #1c2534;
  --primary: #f0ab3d;
  --primary-foreground: #1a2130;
  --secondary: #2a3547;
  --muted-foreground: #a8b1c1;
  --border: rgba(255, 255, 255, 0.12);
  --gradient-hero: linear-gradient(100deg, rgba(19,26,38,.96) 0%, rgba(19,26,38,.80) 45%, rgba(19,26,38,.35) 100%);
  --gradient-accent: linear-gradient(95deg, #f0ab3d, #e8873f);
  --shadow-card: 0 20px 45px -25px rgba(3, 6, 12, .9);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  color-scheme: dark;
}

html[data-theme="light"] {
  --background: #ffffff;
  --foreground: #161616;
  --surface: #ffffff;
  --primary: #d71920;
  --primary-foreground: #ffffff;
  --secondary: #fff1f1;
  --muted-foreground: #5f6066;
  --border: rgba(215, 25, 32, 0.16);
  --gradient-hero: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.82) 40%, rgba(255,255,255,.22) 100%);
  --gradient-accent: linear-gradient(95deg, #c8101a, #ef2b32);
  --shadow-card: 0 20px 45px -25px rgba(80, 8, 12, .22);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 600; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
}
.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-card);
}
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted-foreground); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; padding: .75rem 1.5rem; font-size: .875rem; font-weight: 500;
  background: var(--primary); color: var(--primary-foreground);
  transition: opacity .2s, background-color .2s;
}
.btn:hover { opacity: .9; }
.btn-outline { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--secondary); opacity: 1; }
.icon { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 1.5rem; height: 1.5rem; stroke: var(--primary); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 84%, transparent);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; max-width: 72rem; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.brand span { font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.desktop-nav { display: none; align-items: center; gap: 1.75rem; }
.desktop-nav a.navlink { font-size: .875rem; color: var(--muted-foreground); }
.desktop-nav a.navlink:hover { color: var(--foreground); }
.nav-call { padding: .5rem 1rem; }
.menu-btn {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--border); border-radius: .5rem; background: transparent; color: inherit; cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--background); padding: .5rem 1.25rem 1.25rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .75rem 0; font-size: .875rem; color: var(--muted-foreground); border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 7rem 0 5rem; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background-image: var(--gradient-hero); }
.hero h1 { margin-top: 1rem; max-width: 48rem; font-size: 2.25rem; line-height: 1.05; }
.hero p.lead { margin-top: 1.5rem; max-width: 36rem; color: var(--muted-foreground); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.stats {
  margin-top: 3.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: .75rem; overflow: hidden;
}
.stats > div { background: rgba(28, 37, 52, .9); backdrop-filter: blur(6px); padding: 1.5rem 1.25rem; }
.stats dt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--primary); }
.stats dd { margin-top: .25rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-foreground); }

section.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(28, 37, 52, .4); }
.section { padding-top: 5rem; padding-bottom: 5rem; }
.section h2 { margin-top: .75rem; font-size: 1.875rem; }
.section > .lead { margin-top: 1rem; max-width: 42rem; color: var(--muted-foreground); }

.grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.service-card { overflow: hidden; }
.service-card > img { height: 13rem; width: 100%; object-fit: cover; }
.service-body { padding: 1.75rem; }
.service-body h3 { margin-top: 1rem; font-size: 1.25rem; }
.service-body p { margin-top: .75rem; font-size: .875rem; color: var(--muted-foreground); }
.service-body ul { margin-top: 1.25rem; display: grid; gap: .5rem; }
.service-body li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }

.about-grid { display: grid; gap: 3rem; padding-top: 5rem; padding-bottom: 5rem; }
.about-grid p { margin-top: 1rem; font-size: .875rem; color: var(--muted-foreground); }
.about-badges { margin-top: 2rem; display: grid; gap: 1rem; }
.about-badges div { display: flex; align-items: center; gap: .75rem; background: rgba(42, 53, 71, .6); border-radius: .5rem; padding: 1rem; font-size: .875rem; }
.about-img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; }

.product-card { overflow: hidden; }
.product-card img { height: 11rem; width: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover img { transform: scale(1.05); }
.product-card figcaption { padding: 1.25rem; }
.product-card figcaption p { margin-top: .5rem; font-size: .875rem; font-weight: 500; }

.pay-grid { display: grid; gap: 1.5rem; padding-top: 5rem; padding-bottom: 5rem; }
.pay-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
.pay-item h3 { font-size: .875rem; }
.pay-item dl, .pay-item p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); display: grid; gap: .25rem; }

.contact-card { padding: 1.75rem; }
.contact-card h3 { margin-top: 1rem; font-size: 1rem; }
.contact-card p { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }
.contact-cta { margin-top: 1.5rem; padding: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.contact-cta p { font-size: .875rem; color: var(--muted-foreground); }

.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.logo-plate { background: var(--foreground); border-radius: .75rem; padding: 1rem 1.5rem; }
.logo-plate img { height: 4rem; width: auto; object-fit: contain; }
.footer-meta { display: flex; flex-direction: column; gap: .25rem; font-size: .75rem; color: var(--muted-foreground); }

@media (min-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-badges { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
  .hero { padding: 9rem 0 7rem; }
  .hero h1 { font-size: 3.75rem; }
  .hero p.lead { font-size: 1.125rem; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .section { padding-top: 7rem; padding-bottom: 7rem; }
  .section h2 { font-size: 2.25rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3.service-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .pay-grid { grid-template-columns: repeat(2, 1fr); padding-top: 7rem; padding-bottom: 7rem; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-meta { align-items: flex-end; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3.service-grid { grid-template-columns: repeat(3, 1fr); }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--foreground);
  cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s;
}
.theme-toggle:hover { transform: translateY(-1px); background: var(--secondary); }
.theme-toggle .theme-moon { display: none; }
html[data-theme="light"] .theme-toggle .theme-sun { display: none; }
html[data-theme="light"] .theme-toggle .theme-moon { display: block; }
.mobile-theme-toggle {
  width: 100%;
  height: auto;
  padding: .75rem 1rem;
  border-radius: .5rem;
  margin-top: .75rem;
  justify-content: flex-start;
}
.mobile-theme-toggle span { font-size: .875rem; color: var(--muted-foreground); }
@media (max-width: 767px) {
  .desktop-nav .theme-toggle { display: none; }
}
@media (min-width: 768px) {
  .mobile-theme-toggle { display: none; }
}

html[data-theme="light"] .site-header {
  background: rgba(255,255,255,.92);
  border-bottom-color: rgba(215,25,32,.12);
}
html[data-theme="light"] .nav-links a.active,
html[data-theme="light"] .nav-links a:hover {
  color: var(--primary);
}
html[data-theme="light"] .hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,.34) 72%, rgba(255,255,255,.14) 100%);
}
html[data-theme="dark"] .hero-overlay {
  background: linear-gradient(90deg, rgba(5,9,14,.94) 0%, rgba(5,9,14,.78) 38%, rgba(5,9,14,.38) 72%, rgba(5,9,14,.18) 100%);
}
html[data-theme="light"] .hero {
  border-bottom: 1px solid rgba(215,25,32,.10);
}
html[data-theme="light"] .service-card,
html[data-theme="light"] .surface-card {
  border-color: rgba(215,25,32,.12);
}
html[data-theme="light"] .service-card:hover {
  border-color: rgba(215,25,32,.30);
  box-shadow: 0 22px 50px -28px rgba(215,25,32,.28);
}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .gradient-text {
  color: var(--primary);
}
html[data-theme="light"] .gradient-text {
  background-image: var(--gradient-accent);
}

html[data-theme="light"] .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(215,25,32,.07), transparent 42%, rgba(255,255,255,.04));
}
html[data-theme="dark"] .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgba(215,25,32,.08), transparent 45%, rgba(0,0,0,.12));
}
