/* header-design.css - Header & Navigation Styles */

/* Header Top Bar */
.header-top-bar {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-family: 'Inter', Arial, sans-serif;
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-tagline {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
}

.header-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.header-hours i {
    color: #3b82f6;
    font-size: 14px;
}

/* Main Header */
.custom-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.custom-header:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-main {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr;
    align-items: center;
    gap: 32px;
    min-height: 80px;
    padding: 0 24px;
    position: relative;
}

/* Logo Section */
.header-logo {
    justify-self: start;
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.header-logo:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.header-logo img,
.logo-placeholder svg {
    height: 40px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.header-logo:hover img,
.header-logo:hover .logo-placeholder svg {
    transform: scale(1.02);
}

/* Navigation */
.header-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-list {
    display: flex !important;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 6px;
    position: relative;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.nav-list li {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-list a {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
    font-family: 'Inter', Arial, sans-serif;
}

.nav-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #3b82f6;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #3b82f6;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nav-list a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-list a:hover::after {
    width: 60%;
}

.nav-list .current-menu-item a,
.nav-list .current_page_item a {
    color: #fff;
    background: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.nav-list .current-menu-item a::after,
.nav-list .current_page_item a::after {
    width: 60%;
}

/* Force nav-list visibility on desktop */
@media (min-width: 901px) {
    .nav-list {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .header-nav {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Contact Section */
.header-contact {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 0;
    position: relative;
}

.contact-label {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
    overflow: hidden;
}

.contact-email::before {
    content: '\2709';
    display: inline-block;
    font-size: 1.1em;
    margin-right: 8px;
    color: #fff;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.contact-email::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.contact-email:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.contact-email:hover::before {
    transform: rotate(15deg);
}

/* Mobile Navigation Area */
#nav_area {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.nav_toggle_button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle_holder {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle_holder:hover {
    transform: scale(1.05);
}

.toggle_holder small {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toggle_right_nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toggle_nav_close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page_nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.menu_slide_right {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo_slide_right {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.page_nav .wrapper {
    width: 100%;
    max-width: 600px;
}

.page_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.page_nav ul li {
    margin: 20px 0;
}

.page_nav ul li a {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 15px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.page_nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.page_nav ul li a:hover {
    color: #3b82f6;
    transform: translateX(10px);
}

.page_nav ul li a:hover::before {
    left: 100%;
}

.page_nav ul ul {
    margin-top: 10px;
}

.page_nav ul ul li a {
    font-size: 1.2rem;
    padding: 8px;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000 !important;
    position: relative;
    align-self: center;
    margin-left: auto;
    /* Professional styling */
    min-width: 30px;
    min-height: 25px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: #475569;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
    display: block;
}

.mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
}

.mobile-menu-toggle:hover span {
    background: #3b82f6;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Ensure mobile toggle is visible on mobile */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 10000 !important;
    }
}

/* --- MOBILE MENU PANEL (TOP RIGHT, SMALL, CLICKABLE) --- */
.header-nav.active {
    position: fixed !important;
    top: 60px !important;
    right: 16px !important;
    left: auto !important;
    width: 180px !important;
    height: auto !important;
    max-height: 70vh !important;
    background: #fff !important;
    z-index: 10001 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 12px 0 12px 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 6px rgba(59,130,246,0.08);
    overflow-y: auto !important;
    animation: slideInMenu 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: auto !important;
}

.header-nav.active * {
    z-index: 10001 !important;
    pointer-events: auto !important;
}

.mobile-menu-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 2rem;
    z-index: 10002 !important;
    cursor: pointer;
    pointer-events: auto !important;
    color: #222;
    line-height: 1;
}

@keyframes slideInMenu {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.header-nav.active .nav-list {
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 8px !important;
}

.header-nav.active .nav-list li {
    width: 100% !important;
}

.header-nav.active .nav-list a {
    width: 100% !important;
    text-align: left !important;
    padding: 7px 10px !important;
    font-size: 0.95rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 6px !important;
    transition: all 0.18s ease !important;
    box-shadow: none !important;
}

.header-nav.active .nav-list a:hover {
    background: #3b82f6 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(59,130,246,0.10) !important;
}

.header-nav.active .nav-list a::before,
.header-nav.active .nav-list a::after {
    display: none !important;
}



/* Scrolled Header State */
.custom-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-logo,
.header-nav,
.header-contact {
    animation: fadeInUp 0.6s ease forwards;
}

.header-nav {
    animation-delay: 0.1s;
}

.header-contact {
    animation-delay: 0.2s;
} 