/* ====================
   WP Header Styles (Original)
   ==================== */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1f2448;
    color: white;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1100;
}

/* Logo */
.header-left .logo img {
    height: auto;
    max-height: 80px;
    width: auto;
}

/* Right Section */
.header-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.header-right-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Main Menu Links */
#main-menu ul.main-menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-menu li {
    display: inline-block;
}

.main-menu a {
    text-decoration: none;
    color: white !important;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-menu a:hover {
    color: #CE466C !important;
}

/* ====================
   HAMBURGER MENU (Mobile Only)
   ==================== */
.hamburger-menu {
    display: none;
    position: relative;
    z-index: 1200;
}

.hamburger-menu input[type="checkbox"] {
    display: none;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1201;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    transform-origin: left center;
}

/* Hamburger Animation */
.hamburger-menu input:checked + .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
}

.hamburger-menu input:checked + .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu input:checked + .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #1f2448 0%, #16234A 100%);
    padding: 0;
    padding-top: 60px; /* Space for header */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1199;
}

.hamburger-menu input:checked ~ .mobile-nav {
    transform: translateX(0);
}

.mobile-nav-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #1f2448 0%, #2a3158 100%);
    border-bottom: 2px solid #CE466C;
    margin-bottom: 0;
    z-index: 1200;
    box-sizing: border-box;
}

.mobile-nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.mobile-nav-header span {
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mobile-nav-section {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-section:last-child {
    border-bottom: none;
}

.mobile-nav-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.25rem;
    margin-top: 0.5rem;
}

.mobile-nav-section label {
    display: block;
    cursor: pointer;
}

.mobile-nav-section a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-section a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #CE466C;
    color: #CE466C;
}

.mobile-nav-section a.mobile-cta {
    background: linear-gradient(135deg, #EB974A 0%, #f5a623 100%);
    color: #1f2448 !important;
    margin: 0.5rem 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    border-left: none;
}

.mobile-auth-section {
    padding: 0.5rem 1rem;
}

.mobile-auth-section a {
    display: block;
    background: #CE466C;
    color: white !important;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-left: none !important;
}

/* ====================
   RESPONSIVE
   ==================== */

/* Mobile Only utility */
.mobile-only {
    display: none !important;
}

/* Desktop */
@media (min-width: 992px) {
    #main-menu {
        display: block;
    }
    
    .hamburger-menu {
        display: none !important;
    }
    
    .mobile-only {
        display: none !important;
    }
}

/* Tablet & Mobile */
@media (max-width: 991px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .header-left .logo img {
        max-height: 50px;
    }
    
    #main-menu {
        display: none;
    }
    
    .hamburger-menu.mobile-only {
        display: block !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-left .logo img {
        max-height: 40px;
    }
    
    .mobile-nav {
        width: 100%;
        max-width: 100vw;
    }
}
