/* ============================================================
   EFGH CATALOG — Frontend Styles
   Theme: Clean & Corporate (Blue / Grey)
   ============================================================ */

:root {
  --efgh-primary:    #1a4a8a;
  --efgh-primary-dk: #12356a;
  --efgh-accent:     #2d7dd2;
  --efgh-text:       #2c2c2c;
  --efgh-text-lt:    #5a6576;
  --efgh-bg:         #ffffff;
  --efgh-bg-light:   #f4f6fa;
  --efgh-bg-dark:    #1a2940;
  --efgh-border:     #dde3ed;
  --efgh-shadow:     0 2px 16px rgba(26,74,138,.10);
  --efgh-radius:     8px;
  --efgh-font:       'Segoe UI', Arial, sans-serif;
}

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

/* ══════════════════════════════════════════════
   EFGH NAVBAR — Azesa logo left, nav links right
   ══════════════════════════════════════════════ */
#efgh-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  background: #0A1628;
  box-shadow: 0 2px 18px rgba(0,0,0,.45);
  border-bottom: 1.5px solid rgba(240,200,74,.18);
}

#efgh-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
#efgh-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s;
}
#efgh-logo-link:hover { opacity: .82; }
#efgh-logo-img {
  height: 60px;   /* larger so tagline is readable */
  width: auto;
  display: block;
}

/* ── Desktop nav links ── */
#efgh-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.efgh-nav-link {
  color: #b8cce4;
  text-decoration: none;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: .9rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 5px;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.efgh-nav-link:hover,
.efgh-nav-active {
  color: #F0C84A;
  background: rgba(240,200,74,.08);
}
.efgh-nav-active { font-weight: 600; }

/* CTA button */
.efgh-nav-cta {
  display: inline-block;
  margin-left: 10px;
  padding: 8px 18px;
  background: linear-gradient(90deg, #C9982A, #F0C84A, #C9982A);
  background-size: 200% auto;
  color: #0A1628 !important;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-position .4s, opacity .2s;
}
.efgh-nav-cta:hover { background-position: right center; opacity: .9; }

/* ── Hamburger (mobile) ── */
#efgh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
#efgh-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #F0C84A;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
#efgh-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#efgh-hamburger.open span:nth-child(2) { opacity: 0; }
#efgh-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
#efgh-mobile-menu {
  display: none;
  flex-direction: column;
  background: #0D1F38;
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(240,200,74,.12);
}
#efgh-mobile-menu .efgh-nav-link {
  padding: 11px 8px;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
#efgh-mobile-menu .efgh-nav-link:last-of-type { border-bottom: none; }
.efgh-nav-cta-mobile {
  margin: 12px 0 0;
  text-align: center;
  padding: 11px 18px;
  border-radius: 5px;
}
#efgh-mobile-menu.open { display: flex; }

/* ── Push content below navbar ── */
body { padding-top: 80px !important; }
body.admin-bar #efgh-navbar { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar #efgh-navbar { top: 46px; }
}

/* ── Responsive breakpoint ── */
@media (max-width: 820px) {
  #efgh-nav-links  { display: none; }
  #efgh-hamburger  { display: flex; }
  body             { padding-top: 80px !important; }
}
@media (max-width: 480px) {
  #efgh-navbar-inner { padding: 0 16px; }
  #efgh-logo-img     { height: 48px; }
}

.efgh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO ── */
.efgh-hero {
  background: var(--efgh-bg-dark);
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.efgh-hero-overlay {
  width: 100%;
  background: linear-gradient(120deg, rgba(26,41,64,.92) 50%, rgba(26,74,138,.70) 100%);
  padding: 80px 0;
}
.efgh-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-family: var(--efgh-font);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  max-width: 700px;
}
.efgh-hero p {
  color: #b8cce4;
  font-size: 1.15rem;
  margin: 0 0 32px;
  max-width: 560px;
}

/* ── BUTTONS ── */
.efgh-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--efgh-radius);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
  margin: 0 8px 8px 0;
}
.efgh-btn-primary  { background: var(--efgh-accent); color: #fff; }
.efgh-btn-primary:hover { background: var(--efgh-primary); color: #fff; }
.efgh-btn-outline  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.efgh-btn-outline:hover { background: rgba(255,255,255,.12); }
.efgh-btn-sm       { padding: 8px 18px; font-size: .85rem; background: var(--efgh-primary); color: #fff; border-radius: 5px; }
.efgh-btn-sm:hover { background: var(--efgh-primary-dk); color: #fff; }
.efgh-btn-full     { width: 100%; text-align: center; }

/* ── SECTIONS ── */
.efgh-section { padding: 70px 0; }
.efgh-bg-light { background: var(--efgh-bg-light); }
.efgh-bg-dark  { background: var(--efgh-bg-dark); }
.efgh-bg-dark h2, .efgh-bg-dark p { color: #fff; }
.efgh-bg-dark h2 { font-size: 2rem; margin-bottom: 12px; }
.efgh-section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--efgh-primary);
  margin: 0 0 10px;
}
.efgh-section-sub {
  text-align: center;
  color: var(--efgh-text-lt);
  font-size: 1.05rem;
  margin: 0 0 48px;
}
.efgh-text-center { text-align: center; }
.efgh-center-btn  { text-align: center; margin-top: 40px; }
.efgh-page-title  { font-size: 2.2rem; color: var(--efgh-primary); margin: 0 0 10px; }
.efgh-page-sub    { color: var(--efgh-text-lt); font-size: 1.05rem; margin: 0 0 40px; }

/* ── CATEGORY GRID ── */
.efgh-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.efgh-cat-card {
  border-radius: var(--efgh-radius);
  overflow: hidden;
  box-shadow: var(--efgh-shadow);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.efgh-cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(26,74,138,.18); color: inherit; }
.efgh-cat-img-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--efgh-bg-light);
}
.efgh-cat-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s;
}
.efgh-cat-card:hover .efgh-cat-img { transform: scale(1.03); }
.efgh-cat-body { padding: 20px 22px 22px; }
.efgh-cat-body h3 { margin: 0 0 8px; color: var(--efgh-primary); font-size: 1.15rem; }
.efgh-cat-body p  { margin: 0 0 14px; color: var(--efgh-text-lt); font-size: .92rem; line-height: 1.5; }
.efgh-link-arrow  { color: var(--efgh-accent); font-size: .9rem; font-weight: 600; }

/* ── PRODUCT GRID ── */
.efgh-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.efgh-product-card {
  background: #fff;
  border-radius: var(--efgh-radius);
  box-shadow: var(--efgh-shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.efgh-product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(26,74,138,.16); }
.efgh-product-img-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--efgh-bg-light);
  position: relative;
}
.efgh-product-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s;
}
.efgh-product-card:hover .efgh-product-img { transform: scale(1.03); }
.efgh-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--efgh-accent); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  z-index: 1;
}
.efgh-product-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.efgh-product-body h3 { margin: 0 0 8px; font-size: 1rem; color: var(--efgh-text); font-weight: 600; }
.efgh-product-desc { color: var(--efgh-text-lt); font-size: .88rem; line-height: 1.5; margin: 0 0 12px; flex: 1; }
.efgh-moq { background: #e8f0fb; color: var(--efgh-primary); padding: 5px 10px; border-radius: 4px; font-size: .82rem; font-weight: 600; margin-bottom: 12px; display: inline-block; }
.efgh-spec-list { margin: 0 0 14px; padding: 0 0 0 16px; }
.efgh-spec-list li { font-size: .82rem; color: var(--efgh-text-lt); margin-bottom: 3px; }

/* ── CATALOG TABS ── */
.efgh-cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.efgh-tab {
  padding: 9px 20px;
  border: 2px solid var(--efgh-border);
  border-radius: 25px;
  text-decoration: none;
  color: var(--efgh-text-lt);
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
}
.efgh-tab:hover, .efgh-tab-active {
  background: var(--efgh-primary);
  border-color: var(--efgh-primary);
  color: #fff;
}
.efgh-catalog-section { margin-bottom: 60px; }
.efgh-cat-heading { font-size: 1.5rem; color: var(--efgh-primary); margin: 0 0 6px; }
.efgh-cat-desc    { color: var(--efgh-text-lt); margin: 0 0 28px; }

/* ── FEATURES ── */
.efgh-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.efgh-feature {
  background: #fff;
  border-radius: var(--efgh-radius);
  padding: 28px 24px;
  box-shadow: var(--efgh-shadow);
  text-align: center;
}
.efgh-feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.efgh-feature h4   { color: var(--efgh-primary); margin: 0 0 10px; font-size: 1rem; }
.efgh-feature p    { color: var(--efgh-text-lt); font-size: .88rem; line-height: 1.6; margin: 0; }

/* ── ABOUT ── */
.efgh-tagline-big  { font-size: 1.3rem; color: var(--efgh-accent); font-style: italic; margin-bottom: 36px; }
.efgh-about-body   { display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: start; }
.efgh-about-text h3 { color: var(--efgh-primary); }
.efgh-about-text ul { padding-left: 20px; }
.efgh-about-text li { margin-bottom: 10px; color: var(--efgh-text); line-height: 1.6; }
.efgh-about-stats  {
  background: var(--efgh-bg-dark);
  border-radius: var(--efgh-radius);
  padding: 32px 24px;
}
.efgh-stat { text-align: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.efgh-stat:last-child { border-bottom: none; }
.efgh-stat-num   { display: block; font-size: 2.2rem; font-weight: 800; color: var(--efgh-accent); }
.efgh-stat-label { display: block; color: #b8cce4; font-size: .9rem; margin-top: 4px; }

/* ── CONTACT PAGE ── */

/* Full-width form block */
.efgh-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--efgh-border);
  border-radius: var(--efgh-radius);
  padding: 40px 48px;
  margin-bottom: 32px;
  box-shadow: var(--efgh-shadow);
}
.efgh-contact-form-wrap h2 {
  color: var(--efgh-primary);
  font-size: 1.4rem;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--efgh-border);
}

/* Info cards in a horizontal strip */
.efgh-contact-info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.efgh-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--efgh-border);
  border-radius: var(--efgh-radius);
  padding: 20px 22px;
  transition: box-shadow .2s, border-color .2s;
}
.efgh-info-card:hover {
  box-shadow: var(--efgh-shadow);
  border-color: var(--efgh-accent);
}
.efgh-info-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.efgh-info-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.efgh-info-card-body strong {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--efgh-text-lt);
}
.efgh-info-card-body span {
  font-size: .95rem;
  color: var(--efgh-text);
  line-height: 1.6;
}
.efgh-info-card-body a {
  color: var(--efgh-accent);
  text-decoration: none;
  font-weight: 500;
}
.efgh-info-card-body a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .efgh-contact-form-wrap   { padding: 28px 20px; }
  .efgh-contact-info-strip  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .efgh-contact-info-strip  { grid-template-columns: 1fr; }
}

/* ── ENQUIRY FORM ── */
.efgh-enquiry-wrap { width: 100%; }
.efgh-enquiry-form-wrap { background: transparent; padding: 0; border-radius: 0; box-shadow: none; }
.efgh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.efgh-form-group { margin-bottom: 20px; }
.efgh-form-group label { display: block; font-size: .9rem; font-weight: 600; color: var(--efgh-text); margin-bottom: 7px; }
.efgh-form-group .req { color: #e53e3e; }
.efgh-form-group input,
.efgh-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--efgh-border);
  border-radius: 6px;
  font-size: .95rem;
  font-family: var(--efgh-font);
  color: var(--efgh-text);
  transition: border-color .2s;
  background: #fafbfd;
}
.efgh-form-group input:focus,
.efgh-form-group textarea:focus { outline: none; border-color: var(--efgh-accent); background: #fff; }
.efgh-form-success {
  background: #e6f9ee; border: 1px solid #38c579; color: #1a6636;
  padding: 16px 20px; border-radius: 6px; margin-bottom: 20px; font-weight: 500;
}

/* ── GALLERY ── */
.efgh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.efgh-gallery-item  { border-radius: var(--efgh-radius); overflow: hidden; cursor: pointer; }
.efgh-gallery-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--efgh-bg-light);
}
.efgh-gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s;
}
.efgh-gallery-item:hover .efgh-gallery-img { transform: scale(1.04); }
.efgh-gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,41,64,.78);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s;
}
.efgh-gallery-item:hover .efgh-gallery-overlay { opacity: 1; }
.efgh-gallery-overlay h4 { color: #fff; margin: 0 0 6px; font-size: 1rem; }
.efgh-gallery-overlay p  { color: #b8cce4; margin: 0; font-size: .85rem; line-height: 1.5; }

/* ── FOOTER ── */
.efgh-footer {
  background: var(--efgh-bg-dark);
  color: #b8cce4;
  padding: 50px 0 24px;
  margin-top: 0;
}
.efgh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.efgh-footer h4     { color: #fff; font-size: 1rem; margin: 0 0 16px; }
.efgh-footer p      { font-size: .88rem; line-height: 1.7; margin: 0 0 12px; }
.efgh-footer a      { color: #b8cce4; text-decoration: none; display: block; font-size: .88rem; margin-bottom: 8px; transition: color .2s; }
.efgh-footer a:hover{ color: #fff; }
.efgh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .efgh-about-body    { grid-template-columns: 1fr; }
  .efgh-contact-grid  { grid-template-columns: 1fr; }
  .efgh-footer-grid   { grid-template-columns: 1fr; gap: 30px; }
  .efgh-form-row      { grid-template-columns: 1fr; }
  .efgh-hero          { min-height: 420px; }
  .efgh-hero-overlay  { padding: 60px 0; }
  .efgh-hero h1       { font-size: 1.7rem; }
  .efgh-section       { padding: 50px 0; }
}
