/* ============================================
   AJAYS MFG — style.css
   Brand: Royal Blue #054199 + Near-Black #111
   Font: Barlow / Barlow Condensed
   ============================================ */

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

:root {
  /* Brand Colors (from logo) */
  --blue:        #054199;
  --blue-mid:    #0a55cc;
  --blue-light:  #e8effa;
  --blue-glow:   rgba(5, 65, 153, 0.12);
  --ink:         #111214;
  --ink-2:       #3d4047;
  --ink-3:       #80838c;
  --border:      #e2e5ec;
  --bg:          #f7f8fa;
  --white:       #ffffff;

  /* Spatial */
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:   0 10px 44px rgba(0,0,0,0.12);
  --shadow-blue: 0 6px 24px rgba(5,65,153,0.28);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── CONTAINER ───────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 36px; }

/* ─── NAV ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 36px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 46px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-2); text-decoration: none;
  text-transform: uppercase; transition: color 0.18s;
}
.nav-links a:hover { color: var(--blue); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: 0.2s;
}
.mobile-menu {
  display: none; background: white; border-top: 1px solid var(--border);
  padding: 12px 36px 20px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 0; font-weight: 600; font-size: 1rem;
  color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--blue); }

/* ─── BUTTONS ─────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--blue); color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius);
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.18s, transform 0.13s, box-shadow 0.18s;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(5,65,153,0.36);
}
.btn-primary.full-width { width: 100%; text-align: center; display: block; }

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--ink);
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 13px 28px; border-radius: var(--radius);
  border: 2px solid var(--ink); cursor: pointer; text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--blue);
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px; border-radius: var(--radius);
  border: 2px solid var(--blue); cursor: pointer; text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover { background: var(--blue); color: white; }

/* ─── HERO ────────────────────────────────── */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero-accent-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--blue);
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 80px 36px 80px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  min-height: 82vh;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 24px;
}
.eyebrow-rule { flex: 1; max-width: 40px; height: 1.5px; background: var(--blue); opacity: 0.5; }

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.0; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic; color: var(--blue);
}
.hero-sub {
  font-size: 1.08rem; color: var(--ink-2); max-width: 440px;
  line-height: 1.7; margin-bottom: 44px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero logo */
.hero-logo-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-ring {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--blue-light) 0%, transparent 70%);
  animation: pulse-ring 5s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.06); opacity: 0.7; }
}
.hero-logo-img {
  position: relative; z-index: 2;
  width: min(380px, 90%); height: auto;
  filter: drop-shadow(0 12px 40px rgba(5,65,153,0.18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ─── TRUST BAR ───────────────────────────── */
.trust-bar {
  background: var(--blue); color: rgba(255,255,255,0.88);
  padding: 14px 36px;
}
.trust-bar-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.trust-div { opacity: 0.3; }

/* ─── SECTION SHARED ──────────────────────── */
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.5); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem; color: var(--ink-3); max-width: 480px; margin: 0 auto;
}

/* ─── PRODUCTS ────────────────────────────── */
.products { padding: 100px 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}
.product-card.featured:hover {
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-blue);
}

.product-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--blue); color: white;
  font-size: 0.67rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
}
.product-badge.muted { background: var(--border); color: var(--ink-3); }

.product-img-wrap {
  height: 220px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-placeholder-logo {
  padding: 24px; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.product-placeholder-logo img {
  max-width: 160px; max-height: 160px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(5,65,153,0.15));
}

.cs-wrap { background: #f4f5f7; }
.cs-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--ink-3);
}
.cs-inner p { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.product-info { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 10px;
}
.product-desc { font-size: 0.9rem; color: var(--ink-2); line-height: 1.65; flex: 1; margin-bottom: 16px; }

.product-features {
  list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 6px;
}
.product-features li {
  font-size: 0.85rem; color: var(--ink-2); padding-left: 18px; position: relative;
}
.product-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--blue); font-weight: 700; font-size: 0.8rem;
}

.product-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.price-wrap { display: flex; flex-direction: column; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price-unit { font-size: 0.75rem; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.price.muted { font-size: 0.85rem; color: var(--ink-3); font-weight: 600; }

.btn-buy {
  background: var(--blue); color: white;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 11px 22px; border-radius: var(--radius);
  border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.18s, transform 0.13s, box-shadow 0.18s;
  box-shadow: 0 3px 12px rgba(5,65,153,0.22);
}
.btn-buy:hover { background: var(--blue-mid); transform: scale(1.02); }

/* ─── ABOUT ───────────────────────────────── */
.about {
  background: var(--ink);
  padding: 100px 0;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: center;
}
.about-logo-frame {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px; display: flex; align-items: center; justify-content: center;
}
.about-logo-frame img { width: 100%; max-width: 260px; height: auto; }

.about-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: white; margin-bottom: 24px;
}
.about-text p { color: rgba(255,255,255,0.65); font-size: 0.97rem; margin-bottom: 16px; }

.about-stats {
  display: flex; gap: 0; margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat {
  flex: 1; padding: 28px 0 0; padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; padding-right: 0; padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem; font-weight: 700; color: var(--white);
  line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── CONTACT ─────────────────────────────── */
.contact { padding: 100px 0; background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 18px;
}
.contact-text p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 12px; }
.contact-email-line a { color: var(--blue); text-decoration: none; font-weight: 600; }
.contact-email-line a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.notify-form { display: flex; flex-direction: column; gap: 18px; }
.notify-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
}
.notify-form input {
  padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Barlow', sans-serif; font-size: 0.95rem; color: var(--ink);
  background: var(--white); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.notify-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(5,65,153,0.08);
}
.notify-form .btn-primary { margin-top: 4px; }

.notify-success {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  background: #e8f0fa; color: var(--blue);
  border-radius: var(--radius); font-size: 0.92rem; font-weight: 600;
}
.success-check {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; flex-shrink: 0;
}

/* ─── FOOTER ──────────────────────────────── */
.footer { background: var(--ink); color: white; }
.footer-top {
  max-width: 1140px; margin: 0 auto;
  padding: 64px 36px 48px;
  display: flex; gap: 64px; align-items: flex-start; flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.9rem; line-height: 1.7; }

.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer-col-heading {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 4px;
}
.footer-col a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color 0.18s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 36px;
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-secure { color: rgba(255,255,255,0.4) !important; }

/* ─── CART FAB ────────────────────────────── */
.cart-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  background: var(--blue); color: white;
  border: none; border-radius: 50px;
  padding: 14px 22px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(5,65,153,0.4);
  display: flex; align-items: center; gap: 10px;
  transition: background 0.18s, transform 0.14s;
  letter-spacing: 0.02em;
}
.cart-fab:hover { background: var(--blue-mid); transform: scale(1.04); }
#cart-count {
  background: white; color: var(--blue);
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800;
}

/* ─── MODAL ───────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(10,12,18,0.6);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; width: 100%; max-width: 440px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  position: relative;
  animation: slideUp 0.22s ease;
}
@keyframes slideUp {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; font-size: 1.6rem;
  cursor: pointer; color: var(--ink-3); line-height: 1;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--ink); }

.modal-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.modal-logo { height: 36px; width: auto; }
.modal-head h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--ink);
}

.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.92rem; }
.cart-item-unit { font-size: 0.8rem; color: var(--ink-3); margin-top: 2px; }
.cart-item-controls {
  display: flex; align-items: center; gap: 8px;
}
.qty-btn {
  width: 28px; height: 28px; border-radius: 6px;
  border: 1.5px solid var(--border); background: white;
  font-size: 1.1rem; cursor: pointer; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s;
  color: var(--ink-2);
}
.qty-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-item-price { font-weight: 800; font-size: 0.95rem; min-width: 56px; text-align: right; }

.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-top: 2px solid var(--ink);
  font-weight: 800; font-size: 1.08rem; margin-bottom: 20px;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.02em;
}

.secure-note {
  text-align: center; font-size: 0.78rem; color: var(--ink-3);
  margin-top: 14px; line-height: 1.6;
}

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 60px 36px; }
  .hero-logo-wrap { display: none; }
  .product-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-logo-frame { max-width: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 48px 20px; }
  .trust-bar-inner { gap: 14px; font-size: 0.7rem; }
  .trust-div { display: none; }
  .about-stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
  .stat:first-child { padding-top: 20px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal { padding: 28px 24px; margin: 16px; }
}
