:root {
    --top-bar-height: 40px;
    --nav-height: 80px;
    --header-total: calc(var(--top-bar-height) + var(--nav-height));
    --primary-blue: #153a6e;
    --dark-blue: #0a1a3a;
    --accent-yellow: #ffc107;
    --accent-red: #ff0000;
}

/* ========== GLOBAL RESET ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    padding-top: var(--header-total);
}

/* ========== TOP BAR ========== */
.top-bar-simple {
    background: var(--dark-blue);
    padding: 0 5%;
    width: 100%;
    height: var(--top-bar-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1005;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-simple-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left-simple, .top-bar-right-simple {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-simple a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.3s;
}

.top-bar-simple a:hover {
    color: var(--accent-yellow);
}

.top-bar-simple ion-icon {
    color: var(--accent-yellow);
    font-size: 0.85rem;
}

.top-bar-divider {
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
}

/* ========== DESKTOP NAVBAR ========== */
.navbar {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--primary-blue);
    border-top: 3px solid var(--accent-red);
    z-index: 1004;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    --nav-height: 65px;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2.5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.round-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.navbar.scrolled .round-logo-img {
    width: 42px;
    height: 42px;
}

.logo-text .logo-bold {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.logo-text .logo-light {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 0;
    transition: color 0.3s;
    white-space: nowrap;
}

/* Flip Link Animation */
.flip-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.flip-link span {
    display: block;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flip-link span:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--accent-yellow);
}

.flip-link:hover span:first-child { transform: translateY(-100%); }
.flip-link:hover span:last-child { top: 0; }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-blue);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    border-top: 2px solid var(--accent-yellow);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    display: block;
    transition: background 0.3s, padding-left 0.3s;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent-yellow);
    padding-left: 25px;
}

.franchise-btn {
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow) !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    transition: all 0.3s !important;
}

.franchise-btn:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

/* ========== MOBILE MENU BAR ========== */
.mobile-menu-bar {
    display: none;
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    height: 65px;
    background-color: var(--primary-blue);
    padding: 0 5%;
    z-index: 1004;
    border-top: 3px solid var(--accent-red);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: space-between;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    transition: 0.3s;
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu span:nth-child(3) { bottom: 0; }

.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg); bottom: 8px; }

/* Mobile Nav Menu */
.mobile-nav-menu {
    position: fixed;
    top: calc(var(--top-bar-height) + 65px);
    left: 0;
    width: 100%;
    height: calc(100vh - (var(--top-bar-height) + 65px));
    background: var(--primary-blue);
    z-index: 1003;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-bottom: 40px;
}

.mobile-nav-menu.open {
    transform: translateX(0);
}

.mobile-nav-links {
    padding: 20px 5%;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-dropdown-btn {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-dropdown-btn.active { color: var(--accent-yellow); }

.mobile-dropdown-btn ion-icon { transition: transform 0.3s; }
.mobile-dropdown-btn.active ion-icon { transform: rotate(180deg); }

.mobile-dropdown-content {
    display: none;
    background: rgba(0,0,0,0.1);
    padding-left: 20px;
}

.mobile-dropdown-content.open { display: block; }

.mobile-dropdown-content a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .nav-links { display: none; }
    .navbar { display: none; }
    .mobile-menu-bar { display: flex; }
    
    :root {
        --top-bar-height: 60px;
        --header-total: calc(var(--top-bar-height) + 65px);
    }
    
    .top-bar-simple-container {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }
    
    .top-bar-left-simple, .top-bar-right-simple {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .top-bar-divider { display: none; }
}

@media (max-width: 480px) {
    :root {
        --top-bar-height: 70px;
    }
    .top-bar-simple a { font-size: 0.65rem; }
    .logo-text .logo-bold { font-size: 1.1rem; }
    .logo-text .logo-light { font-size: 0.85rem; }
    .round-logo-img { width: 40px; height: 40px; }
}

/* Utilities */
@media (max-width: 991px) {
    .hide-on-mobile { display: none !important; }
}