/* =========================================================
   Yash Enterprise — Base Styles
   ========================================================= */

:root {
  --navy: #0c1f3a;
  --navy-light: #17315a;
  --steel: #5a6b85;
  --steel-light: #8794a8;
  --orange: #ff6a1a;
  --orange-dark: #d9480f;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --border: #e3e7ee;
  --text: #1c2838;
  --text-muted: #5a6b85;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(12, 31, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 31, 58, 0.12);
  --container: 1200px;
  --header-h: 76px;
  --font-head: "Poppins", Arial, Helvetica, sans-serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 10px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-sub { color: var(--text-muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 106, 26, 0.3);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-enquire {
  background: var(--navy);
  color: #fff;
  padding: 11px 20px;
  font-size: 0.88rem;
  border-radius: 6px;
  width: 100%;
}
.btn-enquire:hover { background: var(--orange); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  margin-top: 28px;
}
.btn-whatsapp svg { width: 22px; height: 22px; }
.btn-whatsapp:hover { background: #1fb959; transform: translateY(-2px); }

.btn-submit { width: 100%; margin-top: 6px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.scrolled {
  background: rgba(12, 31, 58, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  height: 68px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 36px; }

.main-nav ul { display: flex; gap: 32px; }

.nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { padding: 10px 22px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,31,58,0.92) 0%, rgba(12,31,58,0.8) 55%, rgba(12,31,58,0.72) 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 680px; padding-top: var(--header-h); }

.hero-content-center {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hero-content-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-content-center .hero-actions { justify-content: center; }

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--orange); }

.hero-sub {
  color: #d4dbe6;
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  z-index: 1;
}
.scroll-indicator span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}

/* =========================================================
   About
   ========================================================= */
.about { padding: 120px 0; background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-image { position: relative; }
.about-image img {
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.image-frame {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--orange);
  border-radius: var(--radius);
  z-index: 0;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }

.about-points { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-points li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  color: var(--navy);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* =========================================================
   Products
   ========================================================= */
.products { padding: 120px 0; background: var(--bg-alt); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.product-image { aspect-ratio: 4/3; overflow: hidden; background: #e9edf3; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.07); }

.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 10px; }
.product-body p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 18px; flex: 1; }

/* =========================================================
   Why Choose Us
   ========================================================= */
.why-us { padding: 120px 0; background: var(--navy); }
.why-us .section-head h2, .why-us .section-tag { color: #fff; }
.why-us .section-tag { color: var(--orange); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--navy-light);
  padding: 36px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); background: #1c3a66; }

.feature-icon {
  width: 56px;
  height: 56px;
  color: var(--orange);
  margin-bottom: 20px;
}
.feature-icon svg { width: 100%; height: 100%; }

.feature-card h3 { color: #fff; margin-bottom: 10px; }
.feature-card p { color: #aab6c9; font-size: 0.92rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding: 120px 0; background: var(--bg); }

.contact-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contact-center h2 { margin-bottom: 16px; }
.contact-center p { color: var(--text-muted); margin-bottom: 8px; }

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.contact-details li {
  display: flex;
  gap: 16px;
  align-items: center;
  text-align: left;
  width: 100%;
  max-width: 480px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--orange-dark);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-details strong { display: block; color: var(--navy); font-size: 0.9rem; }
.contact-details span { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 56px 24px 36px;
  flex-wrap: wrap;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-icon { height: 36px; width: 36px; }
.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  color: #fff;
}
.footer-logo-text em { color: var(--orange); font-style: normal; }
.footer-brand p { color: #aab6c9; max-width: 320px; font-size: 0.92rem; }

.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: #d4dbe6; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { color: #8794a8; font-size: 0.85rem; }

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); }
.back-to-top svg { width: 22px; height: 22px; }
