/* ================================================
   HEADER STYLES - KTV Creations
   ================================================ */

/* Promo/Announcement Bar - Top of Header */
.ktv-promo-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100; /* Ensure it is above the header and hero section */
    width: 100%;
    height: 47px;
    background: transparent url('img/Rectangle 438.png') 0% 0% no-repeat padding-box;
    border: 1px solid #707070;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.promo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    width: 100%;
    max-width: 1920px;
}

.promo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
}

.promo-text a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.promo-text a:hover {
    opacity: 0.8;
}

.close-promo {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.close-promo:hover {
    opacity: 0.7;
}

/* Main Header */

.ktv-header.transparent {
    position: absolute;
    top: 47px; /* Account for promo bar */
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.ktv-header.scrolled-down {
    transform: translateY(-100%);
}

.ktv-header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 15px 30px;
    max-width: 1920px;
    margin: 0 auto;
}

/* Left Side: Hamburger Menu Icon */
.header-left {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    background: #FEFEFF 0% 0% no-repeat padding-box;
    border: none;
    width: 33px;
    height: 29px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-menu .menu-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Center: Desktop Navigation */
.header-center.desktop-nav {
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    padding: 5px 0;
    display: block;
}

.main-menu a:hover,
.main-menu a.current {
    opacity: 0.7;
}

/* Right Side: Logo */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-logo-link {
    display: block;
    line-height: 0;
}

.site-logo {
    max-height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Header Actions (Search, Cart, etc.) */
.header-actions {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.header-action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Mobile Menu */
.ktv-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #1a1a1a;
    z-index: 10000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ktv-mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-brand {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
    opacity: 0.7;
}

.mobile-menu-body {
    flex: 1;
    padding: 20px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: padding-left 0.3s ease;
}

.mobile-nav-menu a:hover {
    padding-left: 10px;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.mobile-social a {
    color: #fff;
    transition: opacity 0.3s ease;
}

.mobile-social a:hover {
    opacity: 0.7;
}

/* Mobile Overlay */
.ktv-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ktv-mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Search Overlay */
.ktv-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ktv-search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-close:hover {
    opacity: 0.7;
}

.search-content {
    width: 90%;
    max-width: 600px;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 20px 60px 20px 20px;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form button[type="submit"] {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-form button[type="submit"]:hover {
    opacity: 0.7;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-center.desktop-nav {
        display: none;
    }
    
    .ktv-header-container {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ktv-promo-header {
        height: auto;
        min-height: 40px;
        padding: 10px 0;
    }
    
    .promo-text {
        font-size: 12px;
    }
    
    .ktv-header-container {
        padding: 10px 20px;
    }
    
    .site-logo {
        max-height: 45px;
    }
    
    .header-actions {
        margin-left: 10px;
        gap: 10px;
    }
    
    .header-action-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hamburger-menu {
        width: 28px;
        height: 24px;
    }
    
    .site-logo {
        max-height: 40px;
    }
    
    .promo-text {
        font-size: 11px;
    }
}