/* ============================================================
   BIG MOTION — Shared Stylesheet
   Covers: variables, reset, nav, mobile nav, footer
   Page-specific styles remain in each HTML file
   ============================================================ */

/* --- GLOBAL BRAND VARIABLES --- */
:root {
    --primary:    #0f172a;   /* Deep Professional Navy */
    --highlight:  #3b82f6;   /* Energetic Blue */
    --accent:     #f59e0b;   /* Premium Gold */
    --light:      #f8fafc;
    --white:      #ffffff;
    --text-main:  #334155;
    --text-muted: #64748b;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', sans-serif; }
body { line-height: 1.6; color: var(--text-main); background-color: var(--white); overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* --- NAVIGATION --- */
header { background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo img { height: 50px; width: auto; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.nav-links a:hover { color: var(--highlight); }
.nav-links a.active { color: var(--highlight); border-bottom: 2px solid var(--highlight); padding-bottom: 2px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--white); min-width: 220px; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 3px solid var(--highlight); padding: 10px 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 12px 20px; border-bottom: 1px solid #f1f5f9; }

/* --- HAMBURGER BUTTON --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 3px;
    transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.2s;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- MOBILE OVERLAY --- */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    z-index: 1050;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; }

/* --- MOBILE NAV PANEL --- */
.mobile-nav {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100dvh;
    background: var(--white);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.38s cubic-bezier(.77,0,.18,1);
    overflow-y: auto;
}
.mobile-nav.open { right: 0; }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
}
.mobile-nav-header img { height: 38px; width: auto; }
.mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1;
    padding: 4px 8px;
}

.mobile-nav-body { padding: 16px 0 40px; flex: 1; }

.mobile-nav-body a.mobile-main-link {
    display: block;
    padding: 14px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: 0.3px;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-body a.mobile-main-link:hover { background: #f0f7ff; color: var(--highlight); }

.mobile-accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.mobile-accordion-toggle:hover { background: #f0f7ff; }
.mobile-accordion-toggle .arrow { font-size: 0.75rem; transition: transform 0.3s; color: var(--highlight); }
.mobile-accordion-toggle.open .arrow { transform: rotate(180deg); }

.mobile-submenu { display: none; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.mobile-submenu.open { display: block; }
.mobile-submenu a {
    display: block;
    padding: 11px 24px 11px 38px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid #eef2f7;
    transition: color 0.2s, background 0.2s;
}
.mobile-submenu a:last-child { border-bottom: none; }
.mobile-submenu a:hover { color: var(--highlight); background: #e8f2ff; padding-left: 42px; }

.mobile-contact-btn {
    display: block;
    margin: 24px 20px 0;
    padding: 15px 24px;
    background: var(--highlight);
    color: white !important;
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: none !important;
}
.mobile-contact-btn:hover { background: var(--primary) !important; }

/* --- FOOTER --- */
footer { background: var(--primary); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.1rem; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; background: var(--highlight); }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #94a3b8; font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: #94a3b8;
    font-size: 1rem; transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--highlight); color: var(--white); padding-left: 0; }
.copy { text-align: center; padding-top: 30px; border-top: 1px solid #1e293b; color: #64748b; font-size: 0.85rem; }

/* --- WHATSAPP FLOAT BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hamburger { display: flex; }
    .nav-links { display: none !important; }
}
