/* ==========================================================================
   Shree Enterprise — Theme Tokens
   Values taken directly from the official brand guide (logo, color palette,
   typography sheet). Change values here to re-theme the entire site.
   ========================================================================== */
:root {
  /* Brand colors — from brand guide */
  --color-primary: #102a43;        /* Primary Navy */
  --color-primary-dark: #081a2d;   /* Dark Navy */
  --color-primary-light: #d8f1d6;  /* Light Green — tinted background */
  --color-accent: #6dbf67;         /* Primary Green — CTA emphasis */
  --color-accent-dark: #4f9a4a;

  /* Neutrals — from brand guide */
  --color-ink: #081a2d;
  --color-body: #45525e;
  --color-muted: #6c7a86;
  --color-border: #e3e8ee;
  --color-surface: #ffffff;
  --color-surface-alt: #f6f8fa;    /* Light Grey */

  /* Type — Montserrat per brand guide (SemiBold headings / Regular body) */
  --font-base: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radius / shadow */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(8, 26, 45, 0.07);
  --shadow-md: 0 12px 32px rgba(8, 26, 45, 0.12);
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-body);
  background-color: var(--color-surface);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-ink);
  font-weight: 600; /* Montserrat SemiBold, per brand guide */
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
}

::selection {
  background: var(--color-primary-light);
  color: var(--color-ink);
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.section {
  padding: 5rem 0;
}

@media (max-width: 767.98px) {
  .section {
    padding: 3.25rem 0;
  }
}

.section-sm {
  padding: 3rem 0;
}

.bg-surface-alt {
  background-color: var(--color-surface-alt);
}

.bg-primary-tint {
  background-color: var(--color-primary-light);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.text-muted-custom {
  color: var(--color-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary-brand {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
}

.btn-primary-brand:hover,
.btn-primary-brand:focus-visible {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-accent {
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-ink);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-ink);
}

.btn-outline-brand {
  background-color: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-whatsapp {
  background-color: #25d366;
  border: 1px solid #25d366;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background-color: #1ebe5b;
  border-color: #1ebe5b;
  color: #fff;
}

.btn-lg-custom {
  padding: 0.85rem 1.9rem;
  font-size: 1.02rem;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-ink);
}

.navbar-brand-custom .brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.nav-link-custom {
  font-weight: 600;
  color: var(--color-body) !important;
  padding: 0.5rem 1rem !important;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--color-primary) !important;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, #ffffff 78%);
  overflow: hidden;
}

.hero-visual {
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 45px rgba(8, 26, 45, 0.18));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card-custom {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-media {
  background: var(--color-primary-light);
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-media svg {
  max-height: 180px;
  width: auto;
}

.product-card-media img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.product-card-media.photo-fill {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 2306 / 1824;
}

.product-card-media.photo-fill.photo-fill--wide {
  aspect-ratio: 1391 / 1131;
}

.product-card-media.photo-fill img {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.spec-table th {
  color: var(--color-muted);
  font-weight: 600;
  width: 42%;
}

.spec-table td, .spec-table th {
  padding: 0.55rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.badge-variant {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.badge-todo {
  background: #fff4e0;
  color: #8a5a00;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.segment-tile {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  height: 100%;
}

.segment-tile .icon-tile {
  margin: 0 auto 0.9rem;
}

.value-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  height: 100%;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-control-custom {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.98rem;
}

.form-control-custom:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.form-label-custom {
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.enquiry-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.25rem;
}

.contact-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
}

.form-status {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.success {
  background: #e6f6ec;
  color: #1c7a3e;
}

.form-status.error {
  background: #fdecec;
  color: #b3261e;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #fff;
}

.cta-band h2 {
  color: #fff;
}

@media (max-width: 767.98px) {
  .cta-band {
    padding: 2.25rem 1.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-ink);
  color: #c3cdd8;
}

.site-footer a {
  color: #c3cdd8;
}

.site-footer a:hover {
  color: #fff;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-float .wa-text {
  display: none;
}

@media (min-width: 576px) {
  .whatsapp-float .wa-text {
    display: inline;
  }
}

/* ==========================================================================
   Page header (About / Products / Contact)
   ========================================================================== */
.page-header {
  background: var(--color-primary-light);
  padding: 3.5rem 0 3rem;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-media {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #eef7ee 100%);
  color: var(--color-primary);
  font-size: 2.25rem;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-body h3 a {
  color: var(--color-ink);
}

.blog-card-body h3 a:hover {
  color: var(--color-primary);
}

.blog-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.blog-meta .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-muted);
  margin: 0 0.5rem;
  vertical-align: middle;
}

.blog-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.9rem;
}

.blog-card-link {
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: 1rem;
}

.blog-card-link i {
  transition: transform 0.15s ease;
}

.blog-card:hover .blog-card-link i {
  transform: translateX(4px);
}

/* Blog post article */
.blog-post-body {
  font-size: 1.05rem;
}

.blog-post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.blog-post-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
}

.blog-post-body p {
  margin-bottom: 1.25rem;
}

.blog-post-body ul,
.blog-post-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.35rem;
}

.blog-post-body li {
  margin-bottom: 0.5rem;
}

.blog-post-body li::marker {
  color: var(--color-accent-dark);
}

.tip-box {
  background: var(--color-surface-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
}

.tip-box p:last-child {
  margin-bottom: 0;
}

.tip-box-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}
