/* Path: /public/assets/css/layout.css */
/* ── TOP BAR ──────────────────────────────────── */
.topbar {
  width: 100%;
  background: linear-gradient(90deg, #00AEEF 0%, #1a4fa0 100%);
  padding: 8px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  font-size: 12.5px;
  color: rgba(255,255,255,.9);
  position: relative;
  z-index: 10;
}
.topbar .label { color: var(--yellow); font-weight: 700; margin-right: 6px; letter-spacing: .5px; }
.topbar i { margin-right: 5px; opacity:.8; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--yellow); }

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
  width: 100%;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 2px 20px rgba(0,174,239,.1);
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow), var(--green), var(--cyan));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }

.logo { display: flex; align-items: center; gap: 16px; flex-shrink: 0; text-decoration: none; }
.logo-image { width: 72px; height: 72px; object-fit: contain; display: block; transform: scale(1.25); transform-origin: left center; }
.logo-text { font-size: 32px; font-weight: 700; color: var(--blue); line-height: 1.05; letter-spacing: -1px; }
.logo-text span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: .5px; margin-top: 2px; position: relative; left: -4px; }
.logo-icon, .logo:hover .sq, .sq.c1, .sq.c2, .sq.c3, .sq.c4, .sq.c5, .sq.c6, .sq.c7, .sq.c8, .sq.c9 { display: none; }

.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a { font-size: 14px; color: var(--text); padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; text-decoration: none; }
.nav-links a:hover { color: var(--cyan); background: rgba(0,174,239,.07); }
.nav-links a.active { background: linear-gradient(135deg, var(--cyan), #0089c7); color: #fff; font-weight: 600; box-shadow: 0 3px 12px rgba(0,174,239,.35); }

.nav-cart { position: relative; }
.cart-badge {
  position: absolute;
  top: 0px; right: 4px;
  background: var(--pink);
  color: #fff;
  font-size: 9px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.cart-badge.bump { transform: translateY(-50%) scale(1.5); }
.nav-connect { color: var(--muted) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: 8px; transition: background .2s; }
.hamburger:hover { background: var(--gray); }
.hamburger span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: linear-gradient(135deg, #0d2550 0%, #1a3a6b 100%);
  color: #c5d3e8;
  padding: 40px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 5;
  margin-top: 30px;
}
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow), var(--green), var(--cyan)); }
footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
footer ul li { margin-bottom: 9px; }
footer ul li a { color: rgba(0,174,239,.75); font-size: 13.5px; transition: color .2s; display: flex; align-items: center; gap: 8px; text-decoration: none; }
footer ul li a::before { content: '›'; color: var(--cyan); font-size: 16px; }
footer ul li a:hover { color: #fff; }
.agency { font-size: 13px; line-height: 1.8; margin-bottom: 6px; }
.agency strong { color: var(--yellow); }
.fb-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.fb-icon { width: 48px; height: 48px; background: #1877f2; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fb-icon i { color: #fff; font-size: 22px; }
.fb-info { font-size: 12.5px; color: #aaa; }
.fb-info strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.fb-actions { display: flex; gap: 10px; margin-top: 12px; }
.fb-actions a { font-size: 12px; color: rgba(0,174,239,.8); display: flex; align-items: center; gap: 5px; transition: color .2s; text-decoration: none; }
.fb-actions a:hover { color: #fff; }

.copyright { background: #0a1a38; text-align: center; padding: 14px; font-size: 12.5px; color: #6b7fa0; position: relative; z-index: 5; }

/* ── MOBILE NAV ───────────────────────────────── */
.mobile-nav { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100; }
.mobile-nav.open { display: block; }
.mobile-nav-panel { width: 280px; height: 100%; background: #fff; padding: 30px 24px; position: absolute; right: 0; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.mobile-nav-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow), var(--green)); }
.mobile-nav-panel a { display: block; padding: 13px 0; font-size: 15px; border-bottom: 1px solid #f0f0f0; color: var(--text); transition: color .2s, padding-left .2s; text-decoration: none; }
.mobile-nav-panel a:hover { color: var(--cyan); padding-left: 8px; }
.mobile-nav-panel a.active { color: var(--cyan); font-weight: 600; }
.close-nav { position: absolute; top: 14px; right: 18px; font-size: 24px; cursor: pointer; background: none; border: none; color: #333; width: 36px; height: 36px; border-radius: 8px; transition: background .2s; }
.close-nav:hover { background: var(--gray); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .topbar { flex-direction: column; gap: 5px; padding: 8px 4%; font-size: 12px; }
  .logo-text { font-size: 28px; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .navbar { padding: 12px 4%; }
}