/*
 Theme Name:   Empire Five Athletics
 Theme URI:    https://empirefiveathletics.com
 Description:  Custom child theme for Empire Five Athletics - Sports & Streetwear Manufacturer
 Author:       Empire Five Athletics
 Author URI:   https://empirefiveathletics.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  empire-child
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    /* Brand Colors - Royal Blue, Red, White & Grey */
    --empire-primary: #002868;
    --empire-secondary: #003580;
    --empire-accent: #BF0A30;
    --empire-accent-hover: #A00828;
    --empire-accent-light: rgba(191, 10, 48, 0.08);
    --empire-gold: #BF0A30;
    --empire-light: #FFFFFF;
    --empire-dark: #002868;
    --empire-gray: #6B7280;
    --empire-gray-light: #F3F4F6;
    --empire-gray-dark: #4B5563;
    --empire-white: #FFFFFF;
    --empire-text: #1F2937;
    --empire-text-light: #6B7280;
}

/* ==========================================================================
   Non-Color Variables
   ========================================================================== */

:root {
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-width: 1320px;
    --container-padding: 20px;
    --section-spacing: 80px;

    /* Header Heights */
    --top-bar-height: 40px;
    --header-height: 80px;
    --header-height-scrolled: 70px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal-backdrop: 1001;
    --z-modal: 1002;
    --z-tooltip: 1100;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    color: var(--empire-text);
    line-height: 1.6;
    background: var(--empire-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Container
   ========================================================================== */

.empire-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==========================================================================
   Buttons - Mobile First
   ========================================================================== */

/* ==========================================================================
   Beautiful Interactive Animations
   ========================================================================== */

/* Keyframe Animations */
@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--btn-glow-rgb, 191, 10, 48), 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(var(--btn-glow-rgb, 191, 10, 48), 0); }
}

@keyframes btnRipple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 2px currentColor); }
    50% { filter: drop-shadow(0 0 8px currentColor); }
}

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

@keyframes magneticHover {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.02); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 48px;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1;
}

/* Shine Effect Layer */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: none;
    z-index: 2;
}

.btn:hover::before {
    animation: btnShine 0.8s ease forwards;
}

/* Ripple Effect Layer */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1;
}

.btn:active::after {
    animation: btnRipple 0.6s ease-out;
}

/* Icon Animation in Buttons */
.btn svg,
.btn i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover svg,
.btn:hover i {
    transform: translateX(3px);
}

/* Primary Button - Gradient & Glow */
.btn-primary {
    background: linear-gradient(135deg, var(--empire-accent) 0%, var(--empire-accent-hover) 100%);
    color: var(--empire-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(191, 10, 48, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--empire-accent-hover) 0%, var(--empire-accent) 100%);
    color: var(--empire-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 35px rgba(191, 10, 48, 0.35),
        0 0 20px rgba(191, 10, 48, 0.2);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 20px rgba(191, 10, 48, 0.3);
    transition: all 0.1s ease;
}

/* Outline Button - Border Animation */
.btn-outline {
    background: transparent;
    color: var(--empire-accent);
    border-color: var(--empire-accent);
    border-width: 2px;
}

.btn-outline::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(191, 10, 48, 0.1),
        transparent
    );
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--empire-accent);
    color: var(--empire-white);
    border-color: var(--empire-accent);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 35px rgba(191, 10, 48, 0.25),
        inset 0 0 0 2px var(--empire-accent);
}

.btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}

/* White Button - Elegant Shadow */
.btn-white {
    background: var(--empire-white);
    color: var(--empire-primary);
    border-color: var(--empire-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover,
.btn-white:focus {
    background: var(--empire-white);
    color: var(--empire-accent);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(255, 255, 255, 0.5);
}

.btn-white:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    min-height: 40px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
    min-height: 56px;
}

/* ==========================================================================
   Interactive Link Animations
   ========================================================================== */

/* Animated Underline Effect for Links */
.animated-link {
    position: relative;
    text-decoration: none;
}

.animated-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Social Icons - Beautiful Hover Effects */
.social-icon-animated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: currentColor;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.social-icon-animated:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon-animated:hover::before {
    opacity: 0.1;
    transform: scale(1.5);
}

.social-icon-animated:active {
    transform: translateY(-2px) scale(0.95);
}

/* Card Hover Effects */
.interactive-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Magnetic Button Effect (for special CTAs) */
.btn-magnetic {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-magnetic:hover {
    animation: magneticHover 0.6s ease infinite;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.empire-top-bar {
    background: var(--empire-dark);
    color: var(--empire-white);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.empire-top-bar .empire-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-right {
    display: none;
}

.top-bar-contact {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-bar-contact li {
    display: flex;
    align-items: center;
}

.top-bar-contact li a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 10px;
    line-height: 1;
}

.top-bar-contact li a svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    opacity: 0.7;
}

.top-bar-contact li a span {
    font-size: 10px;
}

.top-bar-contact li a:hover {
    color: var(--empire-accent);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-bar-social li {
    display: flex;
    align-items: center;
}

.top-bar-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: var(--radius-full);
}

.top-bar-social li a svg {
    width: 14px;
    height: 14px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-bar-social li a:hover {
    color: var(--empire-accent);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.15);
}

.top-bar-social li a:hover svg {
    transform: rotate(15deg);
}

.top-bar-social li a:active {
    transform: translateY(0) scale(0.9);
}

/* ==========================================================================
   Main Header - Mobile First
   ========================================================================== */

.empire-header {
    background: var(--empire-white);
    height: 70px;
    position: sticky;
    top: 0;
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.empire-header.scrolled {
    box-shadow: var(--shadow-md);
}

.empire-header.scrolled .header-inner {
    height: 60px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: height var(--transition-smooth);
}

/* Logo */
.site-branding {
    flex-shrink: 0;
    z-index: 10;
}

.site-branding a {
    text-decoration: none;
    display: block;
}

.site-branding .custom-logo {
    max-height: 50px;
    width: auto;
}

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

.logo-empire {
    font-size: 20px;
    font-weight: 800;
    color: var(--empire-primary);
    letter-spacing: 1.5px;
}

.logo-five {
    font-size: 20px;
    font-weight: 800;
    color: var(--empire-accent);
    letter-spacing: 1.5px;
}

.logo-tagline {
    font-size: 8px;
    font-weight: 600;
    color: var(--empire-gray);
    letter-spacing: 2.5px;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Desktop Navigation - Hidden on mobile */
.main-navigation {
    display: none;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--empire-text);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    position: relative;
}

/* Animated underline effect */
.primary-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--empire-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-menu > li > a:hover::before,
.primary-menu > li.current-menu-item > a::before,
.primary-menu > li.current-menu-ancestor > a::before {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
    color: var(--empire-accent);
    transform: translateY(-2px);
}

/* Dropdown arrow */
.primary-menu > li.menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition-fast);
}

.primary-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--empire-white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-smooth);
    z-index: var(--z-dropdown);
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li.hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    position: relative;
}

.primary-menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--empire-text);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.primary-menu .sub-menu li a:hover {
    background: var(--empire-light);
    color: var(--empire-accent);
    padding-left: 24px;
}

/* Nested Dropdown */
.primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

/* Header CTA - Hidden on mobile */
.header-cta {
    display: none;
}

.header-cta .btn {
    padding: 12px 24px;
    min-height: 44px;
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--empire-accent-light);
}

.menu-toggle:active {
    transform: scale(0.9);
}

.hamburger-box {
    display: block;
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--empire-primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle:hover .hamburger-inner::before {
    transform: translateX(-3px);
}

.menu-toggle:hover .hamburger-inner::after {
    transform: translateX(3px);
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -8px;
}

.hamburger-inner::after {
    content: '';
    bottom: -8px;
}

/* Hamburger Animation */
.menu-toggle.active .hamburger-inner {
    background: transparent;
}

.menu-toggle.active .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ==========================================================================
   Mobile Menu - Full Screen Overlay
   ========================================================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    z-index: var(--z-modal-backdrop);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background: var(--empire-white);
    z-index: var(--z-modal);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--empire-gray-light);
    flex-shrink: 0;
}

.mobile-menu-header .site-branding {
    flex-shrink: 0;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--empire-light);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--empire-gray-dark);
    transition: all var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
}

.mobile-menu-close:hover,
.mobile-menu-close:active {
    background: var(--empire-accent-light);
    color: var(--empire-accent);
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0;
}

/* Mobile Navigation */
.mobile-primary-menu {
    padding: 8px 0;
}

.mobile-primary-menu > li {
    border-bottom: 1px solid var(--empire-gray-light);
}

.mobile-primary-menu > li:last-child {
    border-bottom: none;
}

.mobile-primary-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--empire-text);
    text-decoration: none;
    transition: all var(--transition-fast);
    min-height: 56px;
}

.mobile-primary-menu > li > a:active {
    background: var(--empire-light);
}

.mobile-primary-menu > li.current-menu-item > a,
.mobile-primary-menu > li.current-menu-ancestor > a {
    color: var(--empire-accent);
}

/* Mobile Submenu */
.mobile-primary-menu .menu-item-has-children > a {
    position: relative;
}

.mobile-primary-menu .menu-item-has-children > a::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--empire-gray);
    border-bottom: 2px solid var(--empire-gray);
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
    margin-left: auto;
}

.mobile-primary-menu .menu-item-has-children.submenu-open > a::after {
    transform: rotate(-135deg);
}

.mobile-primary-menu .sub-menu {
    display: none;
    background: var(--empire-light);
    padding: 0;
}

.mobile-primary-menu .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
}

.mobile-primary-menu .sub-menu li a {
    display: block;
    padding: 14px 20px 14px 36px;
    font-size: 15px;
    font-weight: 400;
    color: var(--empire-text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
    min-height: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-primary-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.mobile-primary-menu .sub-menu li a:active {
    background: var(--empire-gray-light);
    color: var(--empire-accent);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    flex-shrink: 0;
    padding: 20px;
    background: var(--empire-light);
    border-top: 1px solid var(--empire-gray-light);
}

.mobile-menu-cta {
    margin-bottom: 20px;
}

.mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--empire-text-light);
    text-decoration: none;
    padding: 8px 0;
}

.mobile-menu-contact a svg {
    width: 18px;
    height: 18px;
    color: var(--empire-accent);
    flex-shrink: 0;
}

.mobile-menu-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--empire-gray-light);
}

.mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--empire-white);
    color: var(--empire-gray-dark);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.mobile-menu-social a:active {
    background: var(--empire-accent);
    color: var(--empire-white);
}

/* ==========================================================================
   Footer - Mobile First (Super Compact)
   ========================================================================== */

.empire-footer {
    background: var(--empire-primary);
    color: var(--empire-white);
}

.footer-main {
    padding: 30px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
}

/* Footer About Column - Full width on mobile */
.footer-about {
    grid-column: span 2;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 10px;
    text-align: center;
}

.footer-logo .site-logo-text {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.footer-logo .logo-empire {
    font-size: 18px;
    font-weight: 800;
    color: var(--empire-white);
    letter-spacing: 1px;
}

.footer-logo .logo-five {
    font-size: 18px;
    font-weight: 800;
    color: var(--empire-accent);
    letter-spacing: 1px;
}

.footer-logo .logo-tagline {
    display: none;
}

.footer-description {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Columns - 2 columns on mobile */
.footer-col {
    text-align: center;
}

.footer-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--empire-white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 4px;
}

.footer-menu li a {
    display: inline-block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 3px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
}

.footer-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--empire-accent);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-menu li a:hover::after {
    width: 100%;
    left: 0;
}

.footer-menu li a:hover {
    color: var(--empire-accent);
    transform: translateX(5px);
}

.footer-menu li a:active {
    color: var(--empire-accent);
    transform: translateX(2px) scale(0.98);
}

/* Footer Contact - Full width on mobile */
.footer-contact {
    grid-column: span 2;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact .footer-title {
    margin-bottom: 12px;
}

.contact-list {
    margin: 0 auto 16px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.contact-list li:hover {
    transform: translateX(5px);
}

.contact-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--empire-accent);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-list li:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px var(--empire-accent));
}

.contact-list li span {
    font-size: 12px;
    line-height: 1.4;
}

.contact-list li a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-list li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--empire-accent);
    transition: width 0.3s ease;
}

.contact-list li a:hover::after {
    width: 100%;
}

.contact-list li a:hover {
    color: var(--empire-accent);
}

.contact-list li a:active {
    color: var(--empire-accent);
}

.btn-footer {
    display: inline-flex;
    width: auto;
    padding: 10px 24px;
    font-size: 12px;
    min-height: 40px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-legal li a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 2px 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--empire-accent);
    transition: width 0.3s ease;
}

.footer-legal li a:hover::after {
    width: 100%;
}

.footer-legal li a:hover,
.footer-legal li a:active {
    color: var(--empire-accent);
}

/* Mini Social Icons - Beautiful Animations */
.footer-social-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.footer-social-mini li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: var(--radius-full);
    position: relative;
}

.footer-social-mini li a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--empire-accent);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.footer-social-mini li a:hover {
    color: var(--empire-white);
    transform: translateY(-4px) scale(1.2);
}

.footer-social-mini li a:hover::before {
    transform: scale(1);
}

.footer-social-mini li a:active {
    transform: translateY(-2px) scale(1);
}

.footer-social-mini li a svg {
    width: 14px;
    height: 14px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-mini li a:hover svg {
    transform: rotate(360deg);
}

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: var(--empire-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 15px 40px rgba(37, 211, 102, 0.5),
        0 0 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover svg {
    transform: rotate(15deg) scale(1.1);
    animation: iconBounce 0.6s ease infinite;
}

.whatsapp-float:active {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Pulse Animation - Enhanced */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: #25d366;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: #25d366;
    z-index: -2;
    animation: whatsappPulse 2s infinite 0.5s;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.text-center {
    text-align: center;
}

.hidden-mobile {
    display: none;
}

.visible-mobile {
    display: block;
}

/* ==========================================================================
   TABLET BREAKPOINT (768px+)
   ========================================================================== */

@media (min-width: 768px) {
    :root {
        --container-padding: 30px;
        --section-spacing: 100px;
    }

    /* Top Bar - Full content on tablet */
    .empire-top-bar {
        height: var(--top-bar-height);
    }

    .empire-top-bar .empire-container {
        justify-content: space-between;
        height: 100%;
    }

    .top-bar-left {
        height: 100%;
    }

    .top-bar-right {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .top-bar-contact {
        gap: 24px;
        height: 100%;
    }

    .top-bar-social {
        height: 100%;
    }

    .top-bar-contact li a {
        font-size: 13px;
        gap: 8px;
    }

    .top-bar-contact li a svg {
        width: 16px;
        height: 16px;
    }

    .top-bar-contact li a span {
        font-size: 13px;
    }

    /* Header */
    .empire-header {
        height: 80px;
    }

    .header-inner {
        height: 80px;
    }

    .logo-empire,
    .logo-five {
        font-size: 22px;
    }

    .logo-tagline {
        font-size: 9px;
        letter-spacing: 3px;
    }

    /* Mobile Menu */
    .mobile-menu {
        max-width: 400px;
    }

    /* Footer - Tablet */
    .footer-main {
        padding: 40px 0 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-about {
        grid-column: span 2;
        text-align: left;
        max-width: 400px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-about {
        text-align: left;
        align-items: flex-start;
    }

    .footer-logo {
        text-align: left;
    }

    .footer-logo .logo-empire,
    .footer-logo .logo-five {
        font-size: 20px;
    }

    .footer-description {
        font-size: 13px;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .footer-col {
        text-align: left;
    }

    .footer-title {
        font-size: 13px;
        margin-bottom: 12px;
        text-align: left;
    }

    .footer-menu li a {
        font-size: 13px;
        padding: 5px 0;
        text-align: left;
    }

    .footer-contact {
        grid-column: span 2;
        text-align: left;
        border-top: none;
        padding-top: 0;
    }

    .footer-contact .footer-title {
        margin-bottom: 14px;
    }

    .contact-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0 0 16px;
        gap: 12px;
    }

    .contact-list li {
        font-size: 13px;
    }

    .contact-list li svg {
        width: 16px;
        height: 16px;
    }

    .contact-list li span,
    .contact-list li a {
        font-size: 13px;
    }

    .btn-footer {
        padding: 12px 28px;
        font-size: 13px;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .copyright,
    .footer-legal li a {
        font-size: 12px;
    }
}

/* ==========================================================================
   DESKTOP BREAKPOINT (992px+)
   ========================================================================== */

@media (min-width: 992px) {
    /* Top Bar - Horizontal Layout */
    .empire-top-bar .empire-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 var(--container-padding);
        height: var(--top-bar-height);
        gap: 0;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: flex-start;
    }

    .top-bar-contact {
        gap: 24px;
        flex-wrap: nowrap;
    }

    .empire-top-bar {
        font-size: 13px;
    }

    /* Header */
    .empire-header {
        height: var(--header-height);
    }

    .empire-header.scrolled {
        height: var(--header-height-scrolled);
    }

    .header-inner {
        height: var(--header-height);
    }

    .empire-header.scrolled .header-inner {
        height: var(--header-height-scrolled);
    }

    .logo-empire,
    .logo-five {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    /* Show Desktop Navigation */
    .main-navigation {
        display: flex;
        flex: 1;
        justify-content: center;
    }

    /* Hide Mobile Toggle */
    .menu-toggle {
        display: none;
    }

    /* Show Header CTA */
    .header-cta {
        display: block;
    }

    /* Footer - Desktop */
    .footer-main {
        padding: 60px 0 50px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: span 1;
        padding-right: 20px;
        text-align: left;
    }

    .footer-logo .logo-empire,
    .footer-logo .logo-five {
        font-size: 22px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-title {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .footer-menu li {
        margin-bottom: 6px;
    }

    .footer-menu li a {
        font-size: 14px;
        padding: 6px 0;
    }

    .footer-menu li a:hover {
        color: var(--empire-accent);
        padding-left: 5px;
    }

    .footer-contact {
        grid-column: span 1;
        text-align: left;
        border-top: none;
        padding-top: 0;
    }

    .footer-contact .footer-title {
        margin-bottom: 16px;
    }

    .contact-list {
        margin: 0 0 20px;
        gap: 14px;
    }

    .contact-list li {
        font-size: 14px;
    }

    .contact-list li svg {
        width: 18px;
        height: 18px;
    }

    .contact-list li span,
    .contact-list li a {
        font-size: 14px;
    }

    .contact-list li a:hover {
        color: var(--empire-accent);
    }

    .btn-footer {
        width: 100%;
        max-width: 200px;
        padding: 14px 28px;
        font-size: 14px;
        min-height: 48px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .copyright,
    .footer-legal li a {
        font-size: 13px;
    }

    .footer-legal li a:hover {
        color: var(--empire-accent);
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    }

    /* Utilities */
    .hidden-mobile {
        display: block;
    }

    .visible-mobile {
        display: none;
    }
}

/* ==========================================================================
   LARGE DESKTOP BREAKPOINT (1200px+)
   ========================================================================== */

@media (min-width: 1200px) {
    :root {
        --container-padding: 40px;
    }

    .primary-menu > li > a {
        padding: 12px 18px;
    }

    .footer-grid {
        gap: 50px;
    }

    .footer-about {
        padding-right: 40px;
    }
}

/* ==========================================================================
   EXTRA LARGE DESKTOP (1400px+)
   ========================================================================== */

@media (min-width: 1400px) {
    .primary-menu > li > a {
        padding: 12px 22px;
        font-size: 15px;
    }
}

/* ==========================================================================
   Touch Device Optimizations
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-primary:active {
        background: var(--empire-accent-hover);
        transform: scale(0.98);
    }

    .footer-social li a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .footer-menu li a:hover {
        padding-left: 0;
    }

    .whatsapp-float:hover {
        transform: none;
    }

    /* Larger tap targets */
    .footer-menu li a {
        padding: 10px 0;
    }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .whatsapp-float::before {
        animation: none;
    }
}

/* ==========================================================================
   Dark Mode Support (Optional - Future)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    /* Uncomment to enable automatic dark mode
    :root {
        --empire-white: #1a1a2e;
        --empire-light: #16213e;
        --empire-text: #f8f9fa;
        --empire-text-light: #e9ecef;
    }
    */
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .empire-top-bar,
    .empire-header,
    .mobile-menu,
    .mobile-menu-overlay,
    .whatsapp-float,
    .footer-social {
        display: none !important;
    }

    .empire-footer {
        background: none;
        color: #000;
    }

    .footer-title,
    .footer-menu li a,
    .contact-list li,
    .copyright {
        color: #000;
    }
}

/* ==========================================================================
   Safe Area Insets (Notched Devices)
   ========================================================================== */

@supports (padding: max(0px)) {
    .empire-header {
        padding-left: max(var(--container-padding), env(safe-area-inset-left));
        padding-right: max(var(--container-padding), env(safe-area-inset-right));
    }

    .mobile-menu {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .whatsapp-float {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(20px, env(safe-area-inset-right));
    }

    .footer-bottom {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   Landscape Phone Adjustments
   ========================================================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu-content {
        padding-bottom: 20px;
    }

    .mobile-primary-menu > li > a {
        padding: 12px 20px;
        min-height: 48px;
    }

    .mobile-menu-footer {
        padding: 16px 20px;
    }
}
