/* =====================================================
   GLOBAL STYLES – USED BY ALL PAGES
   ===================================================== */

/* ================== ROOT VARIABLES ================== */
:root {
  --primary: #ff9800;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #475569;
  --header-height: 96px;
}

/* ================== RESET & BASE ================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: var(--dark);
  padding-top: var(--header-height); /* fixed header offset */
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4 {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--dark);
}

p {
  margin: 0 0 16px;
  line-height: 1.75;
  color: var(--gray);
}

/* =====================================================
   HEADER (GLOBAL – SINGLE SOURCE OF TRUTH)
   ===================================================== */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.9);
  z-index: 1000;
  transform: translateY(-100%);
  animation: headerSlideDown 0.9s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes headerSlideDown {
  to { transform: translateY(0); }
}

.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

/* Container – FULL WIDTH (NO SIDE GAPS) */
.nav-container {
  width: 100%;
  padding: 0 40px;
}

/* Header inner */
.nav-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-inner.shrink {
  height: 72px;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.logo-subtitle {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gray);
}

/* Desktop navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.35s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* CTA button */
.quote-btn {
  margin-left: 20px;
  padding: 11px 24px;
  background: linear-gradient(135deg,#f97316,#fb923c);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.quote-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(249,115,22,0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--dark);
  transition: 0.4s;
}

/* Mobile menu */
.mobile-menu {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(.4,0,.2,1);
}

.mobile-menu.show {
  max-height: 500px;
}

.mobile-link {
  display: block;
  padding: 18px 26px;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-link:hover {
  background: #f8fafc;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 480px) {
  .logo-img { width: 40px; height: 40px; }
  .logo-title { font-size: 18px; }
  .logo-subtitle { font-size: 10px; letter-spacing: 1.4px; }
}

/* =====================================================
   FOOTER – HK ENTERPRISE
   ===================================================== */

.site-footer {
  background: linear-gradient(
    135deg,
    #6b0f2f,
    #8b153f,
    #ff7a3d
  );
  color: #ffffff;
  margin-top: 120px;
}

/* ================= MAIN ================= */
.footer-main {
  max-width: 1300px;
  margin: auto;
  padding: 80px 10% 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

/* ================= COLUMNS ================= */
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  letter-spacing: 0.6px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 36px;
  height: 2px;
  background: #ffd3b6;
  display: block;
  margin-top: 8px;
}

/* ================= CONTACT ================= */
.footer-contact p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
  color: #ffe5d6;
}

.footer-email a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
}

.footer-email a:hover {
  color: #ffd3b6;
}

/* ================= LINKS ================= */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #ffe5d6;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-col ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #ffd3b6;
  transition: width 0.3s ease;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.footer-col ul a:hover::after {
  width: 100%;
}

/* ================= BOTTOM ================= */
.footer-bottom {
  background: rgba(0,0,0,0.15);
  text-align: center;
  padding: 18px 10%;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: #ffffff;
}


/* ================= HOVER MICRO-ANIMATION ================= */
.site-footer * {
  animation: footerFade 0.8s ease both;
}

@keyframes footerFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-col h4::after {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact p {
    text-align: center;
  }
}


/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */

.whatsapp-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #25d366;
  color: white;
  font-size: 22px;
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  transition: transform 0.35s ease;
  z-index: 999;
}

.whatsapp-btn:hover {
  transform: scale(1.15);
}
