/* =============================================================
   base.css  –  HC Clothing  –  Shared Styles
   Included by every page. Tailwind config lives in tailwind.config.js
   (loaded via CDN script on each page).
   ============================================================= */

/* ── Material Symbols ───────────────────────────────────────── */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ── Logo slider (seamless infinite scroll) ────────────────── */
.logo-slider {
  overflow: hidden;
  width: 100%;
}
.logo-slider__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

/* ── Gold helpers ───────────────────────────────────────────── */
.text-gold-gradient {
  color: #d4af37;
}
.bg-gold-gradient { background: #d4af37; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(249, 249, 249, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
}

.navbar__logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #18181b;
  text-decoration: none;
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 768px) { .navbar__links { display: flex; } }

.navbar__link {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #18181b;
  transition: color 0.2s;
}
.navbar__link:hover      { color: #735c00; }
.navbar__link--active    {
  color: #735c00;
  border-bottom: 2px solid #735c00;
  padding-bottom: 0.25rem;
}

.navbar__cta-link {
  display: none;
}
@media (min-width: 768px) {
  .navbar__cta-link { display: block; }
}

.navbar__cta {
  background: #d4af37;
  color: #ffffff;
  padding: 0.75rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.navbar__cta:hover  { opacity: 0.8; }
.navbar__cta:active { transform: scale(0.95); }

/* ── Hamburger Button (Mobile) ──────────────────────────────── */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
  padding: 0;
}
@media (min-width: 768px) {
  .navbar__hamburger { display: none; }
}

.navbar__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #18181b;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger to X animation */
.navbar__hamburger.active .navbar__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.active .navbar__hamburger-line:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active .navbar__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Fullscreen Overlay ─────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #18181b;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.mobile-menu.active .mobile-menu__content {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu__link {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: #a1a1aa;
  transition: color 0.3s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: #d4af37;
}

.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: #d4af37;
  color: #18181b;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.mobile-menu__cta:hover {
  background: #c9a430;
  transform: scale(1.05);
}

.mobile-menu__cta svg {
  transition: transform 0.3s ease;
}

.mobile-menu__cta:hover svg {
  transform: translateX(4px);
}

/* Body scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  width: 100%;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background: #18181b;
  color: #a1a1aa;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .footer { grid-template-columns: repeat(4, 1fr); }
}

.footer__brand   { grid-column: span 1; }
.footer__logo    { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 1.5rem; }
.footer__tagline { line-height: 1.8; }

.footer__heading { color: #d4af37; margin-bottom: 1.5rem; display: block; }

.footer__link {
  display: block;
  color: #a1a1aa;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.footer__link:hover      { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ── WhatsApp floating button ───────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #3f3f46;
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.625rem;
  color: #71717a;
}
