/* ═══════════════════════════════════════════════════
   4EverFix — Global styles (header, footer, FAB)
   Loads on every page. Page-specific styles stay in
   assets/css/pages/4everfix-home.css
═══════════════════════════════════════════════════ */

/* ─── Base ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.container--rel { position: relative; z-index: 1; }

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.header-util { background: #404040; padding: 9px 0; }
.header-util .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.util-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.2s;
}
.util-phone:hover { color: #f5a623; }
.util-socials { display: flex; align-items: center; gap: 7px; }
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    transition: background 0.2s, color 0.2s;
}
.social-icon:hover { background: #f5a623; }
.header-nav { background: #fff; }
.header-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}
.header-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #404040;
    padding: 8px 16px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.nav-links li a:hover,
.nav-links li a.current-ref { color: #f5a623; background: rgba(245,166,35,0.07); }
.btn-book {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #111;
    gap: 8px;
    padding: 0 22px;
    height: 42px;
    border: 2px solid #f5a623;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    white-space: nowrap;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}
.btn-book:hover {
    box-shadow: 0 6px 20px rgba(245,166,35,0.45);
    transform: translateY(-2px);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #404040;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-services {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #404040;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.btn-services:hover { color: #f5a623; }
.btn-phone {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111;
    gap: 7px;
    padding: 0 18px;
    height: 42px;
    border-radius: 5px;
    background: #f5a623;
    border: 2px solid #f5a623;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-phone:hover { background: #e09a1a; border-color: #e09a1a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,0.45); }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.site-footer { background: #fff; border-top: 1px solid #e8e8e8; padding: 60px 0 0; }
.footer-logo-img { height: 52px; width: auto; margin-bottom: 16px; display: block; }
.footer-social-row { display: flex; gap: 10px; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-tagline { font-size: 14px; color: #777; line-height: 1.7; }
.footer-social { width: 36px; height: 36px; border-radius: 6px; background: #f5a623; border: 1px solid #f5a623; display: flex; align-items: center; justify-content: center; color: #111; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s; }
.footer-social:hover { background: #e09a1a; border-color: #e09a1a; transform: translateY(-2px); }
.footer-col-title { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links li a,
.footer-links li span { font-size: 14px; color: #666; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.footer-links li a:hover { color: #f5a623; }
.icon-no-shrink { flex-shrink: 0; }
.footer-bottom { border-top: 1px solid #e8e8e8; padding: 20px 0; background: #f7f9fa; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-meta { font-size: 13px; color: #555; }

/* ═══════════════════════════════════
   FLOATING CALL BUTTON
═══════════════════════════════════ */
.fab-call { position: fixed; bottom: 32px; right: 32px; z-index: 999; width: 60px; height: 60px; border-radius: 50%; background: #f5a623; color: #111; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 6px 20px rgba(245,166,35,0.5); transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.fab-call:hover { background: #e09a1a; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(245,166,35,0.6); }
.fab-pulse { position: absolute; inset: 0; border-radius: 50%; background: #f5a623; animation: fab-ring 2s ease-out infinite; pointer-events: none; }
@keyframes fab-ring { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.7); opacity: 0; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 480px) { .fab-call { bottom: 20px; right: 20px; width: 52px; height: 52px; } }

/* ═══════════════════════════════════
   RESPONSIVE — header & footer
═══════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 1110px) {
    .header-nav .container { padding-top: 14px; padding-bottom: 14px; }
    .header-logo img { height: 42px; }
    .header-actions { gap: 6px; margin-left: auto; margin-right: 8px; }
    .btn-book { height: 36px; padding: 0 12px; font-size: 11px; gap: 4px; margin-left: 0; margin-right: 0; }
    .btn-book svg { width: 11px; height: 11px; }
    .btn-phone { display: none; }
    .btn-services { display: none; }
    .nav-toggle { display: flex; }
    .nav-links { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.12); gap: 0; padding: 8px 0 16px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease; z-index: 200; }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-links li a { padding: 13px 24px; font-size: 15px; border-radius: 0; display: block; }
    .nav-links li a:hover { background: rgba(245,166,35,0.06); }
}
@media (max-width: 580px) {
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .site-footer { padding-top: 44px; }
}
