/* ===========================
   NAKODA UNIFORMS - styles.css
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Bakbak+One&display=swap');

/* CSS Variables */
:root {
  --primary: #4060AC;
  --secondary: #D22027;
  --dark: #434F58;
  --near-black: #0E0D12;
  --light-bg: #EEEEEE;
  --light-bg2: #f1f1f1;
  --light-bg3: #f8f8f8;
  --white: #ffffff;
  --text: #333333;
  --font-main: 'Montserrat', sans-serif;
  --font-accent: 'Bakbak One', cursive;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
  background: var(--near-black);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: #ccc; }
.social-icons { display: flex; gap: 12px; align-items: center; }
.social-icons a {
  color: var(--white);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.social-icons a:hover { opacity: 0.7; }
.social-icons svg { width: 18px; height: 18px; fill: currentColor; }

/* ===========================
   MAIN HEADER
   =========================== */
.main-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { max-height: 60px; width: auto; }

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--primary); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border-top: 3px solid var(--primary);
  z-index: 999;
}
.dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid #eee;
  transition: background 0.2s, color 0.2s;
}
.dropdown li a:hover {
  background: var(--primary);
  color: var(--white);
}
.has-dropdown.open .dropdown { display: block; }
.has-dropdown > a::after { content: ' ▾'; font-size: 10px; }
/* bridge gap between nav item and dropdown so mouse move doesn't close it */
.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===========================
   PAGE HERO HEADER
   =========================== */
.page-header {
  background: var(--light-bg);
  padding: 60px 20px;
  text-align: center;
}
.page-header h2 {
  font-family: var(--font-accent);
  font-size: clamp(40px, 8vw, 80px);
  color: var(--dark);
  line-height: 1.1;
}

/* ===========================
   HOMEPAGE HERO BANNER
   =========================== */
.hero-banner {
  background-image: url('https://nakodauniforms.com/wp-content/uploads/2023/03/image-ban-1.png');
  background-size: cover;
  background-position: center;
  padding: 170px 20px;
  position: relative;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  max-width: 600px;
}
.hero-content h2 {
  font-family: var(--font-accent);
  font-size: clamp(28px, 4vw, 50px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content p {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.7;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: #3050a0; color: var(--white); }
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover { background: #b01a1f; }

/* ===========================
   AUTHORISED DISTRIBUTORS
   =========================== */
.distributors-section {
  padding: 60px 20px;
  background: var(--white);
}
.distributors-section h2,
.section-heading {
  font-family: var(--font-accent);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
}
.brand-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand-logo-item {
  flex: 0 0 calc(14.28% - 20px);
  min-width: 100px;
  max-width: 150px;
  text-align: center;
}
.brand-logo-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.brand-logo-item:hover img { transform: scale(1.08); }

/* ===========================
   FEATURES SECTION
   =========================== */
.features-section {
  background: var(--primary);
  padding: 60px 20px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-item {
  text-align: center;
  color: var(--white);
}
.feature-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
}
.feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-accent);
}
.feature-item p { font-size: 14px; line-height: 1.7; opacity: 0.92; }

/* ===========================
   PRODUCTS SECTION (Homepage)
   =========================== */
.products-section {
  padding: 60px 20px;
  background: var(--light-bg3);
  text-align: center;
}
.products-section h2 {
  font-family: var(--font-accent);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--dark);
  margin-bottom: 16px;
}
.products-section p { font-size: 16px; color: #666; margin-bottom: 20px; }
.products-section a { color: var(--primary); font-weight: 600; }

/* ===========================
   REVIEWS SECTION
   =========================== */
.reviews-section {
  background: var(--primary);
  padding: 60px 20px;
  text-align: center;
}
.reviews-section h2 {
  font-family: var(--font-accent);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 30px;
}
.reviews-placeholder {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

/* ===========================
   ABOUT PAGE
   =========================== */
.about-content {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h2 {
  font-family: var(--font-accent);
  font-size: clamp(22px, 3vw, 36px);
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.3;
}
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}
.about-image { display: flex; align-items: center; justify-content: center; }
.about-image img { max-width: 100%; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.video-section {
  padding: 60px 20px;
  text-align: center;
  background: var(--light-bg2);
}
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.about-extra {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-extra p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-cards {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contact-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: var(--white);
}
.contact-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 24px 28px;
}
.contact-card-header h3 {
  font-family: var(--font-accent);
  font-size: 20px;
  margin-bottom: 6px;
}
.contact-card-header p { font-size: 13px; opacity: 0.9; }
.contact-card-body { padding: 24px 28px; }
.contact-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
}
.contact-info-row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; fill: var(--primary); }
.contact-info-row a { color: var(--primary); }
.contact-persons {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.contact-person {
  background: var(--light-bg);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
}
.contact-person strong { display: block; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.map-container {
  height: 250px;
  overflow: hidden;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

.reach-out-section {
  background: var(--primary);
  padding: 60px 20px;
}
.reach-out-inner { max-width: 800px; margin: 0 auto; }
.reach-out-inner h2 {
  font-family: var(--font-accent);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 16px;
  text-align: center;
}
.reach-out-inner > p {
  color: rgba(255,255,255,0.9);
  text-align: center;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.7;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  border: none;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  outline: none;
  transition: background 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.7); }
.contact-form input:focus,
.contact-form textarea:focus { background: rgba(255,255,255,0.25); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { align-self: flex-start; }

/* ===========================
   BRAND PAGES
   =========================== */
.brand-content {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.brand-text h2 {
  font-family: var(--font-accent);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--dark);
  margin-bottom: 20px;
}
.brand-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.brand-image-col img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.catalogues-section {
  padding: 60px 20px;
  background: var(--light-bg2);
}
.catalogues-section h2 {
  font-family: var(--font-accent);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--dark);
  text-align: center;
  margin-bottom: 36px;
}
.catalogues-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.catalogue-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  width: 180px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
}
.catalogue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: var(--primary);
}
.catalogue-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  object-fit: contain;
}

/* ===========================
   PRODUCTS PAGE
   =========================== */
.products-content {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.products-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}
.products-content a { color: var(--primary); font-weight: 600; }
.products-content a:hover { text-decoration: underline; }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 20px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
  display: inline-block;
}
.footer-col img { max-height: 50px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
  color: var(--white);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--primary); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}
.footer-col address a { color: rgba(255,255,255,0.8); }
.footer-col address a:hover { color: var(--white); text-decoration: underline; }
.footer-col .phone { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.8); }

.footer-bottom {
  background: rgba(0,0,0,0.2);
  text-align: center;
  padding: 16px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ===========================
   SECTION WRAPPER
   =========================== */
.section-wrapper { max-width: 1200px; margin: 0 auto; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; }
  .brand-content { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    padding: 16px 0;
    z-index: 999;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a { padding: 12px 20px; font-size: 14px; }
  .dropdown { display: none; position: static; box-shadow: none; border-top: none; background: var(--light-bg); }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown > a::after { float: right; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-banner { padding: 80px 20px; }
  .brand-logos-grid { gap: 12px; }
  .brand-logo-item { flex: 0 0 calc(33.33% - 12px); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-logo-item { flex: 0 0 calc(50% - 12px); }
  .top-bar-inner { flex-direction: column; text-align: center; }
  .contact-persons { flex-direction: column; }
}

/* Category Pages */
.category-info {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.category-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--secondary); }
