/* ---------- Shared base + header styles for FleziRetail ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #2b2b2b;
  line-height: 1.6;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Top Nav ---------- */
.top-bar {
  background: linear-gradient(90deg, #0b3d91, #1565c0);
  color: #fff;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}
.logo a,
.logo .logo-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  line-height: 1;
}
.logo img {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
}
.logo span { color: #ff9800; }
nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
nav ul li {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}
nav ul li:hover { opacity: 0.8; }
.lang { font-size: 13px; opacity: 0.85; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  background: #fff;
  color: #2b2b2b;
  min-width: 280px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  padding: 10px 0;
  z-index: 200;
  border: 1px solid #eef2f7;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 32px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #eef2f7;
  border-top: 1px solid #eef2f7;
  transform: rotate(45deg);
}
.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #2b2b2b;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover {
  background: #f7f9fc;
  color: #0b3d91;
}
.dropdown-menu a .sub-title {
  display: block;
  font-weight: 700;
  color: #0b3d91;
  margin-bottom: 2px;
}
.dropdown-menu a .sub-desc {
  display: block;
  font-size: 12px;
  color: #777;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: #ff9800;
  color: #fff;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #fb8c00; }
.btn-secondary {
  background: transparent;
  color: #0b3d91;
  border: 2px solid #0b3d91;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.btn-secondary:hover { background: #0b3d91; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1929; color: #b0bec5; padding: 60px 40px 30px; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.site-footer .footer-col h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col ul li {
  padding: 6px 0;
  font-size: 14px;
}
.site-footer .footer-col ul li a {
  color: #b0bec5;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .footer-col ul li a:hover { color: #ff9800; }
.site-footer .copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #78909c;
}

/* ---------- Responsive (header + footer) ---------- */
@media (max-width: 900px) {
  .top-bar { padding: 12px 20px; flex-wrap: wrap; }
  nav ul { gap: 16px; flex-wrap: wrap; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
