/* Indyte Header Styles - Based on reference site */

/* Hide the original theme header on indyte pages */
.indyte-blog-page .site-header {
    display: none !important;
}

/* Header Styles */
.indyte-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.indyte-header .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Logo Styles */
.indyte-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 22px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #e91e63;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

/* Navigation Styles */
.indyte-header nav {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.indyte-header .nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.indyte-header .nav-menu li {
    position: relative;
}

.indyte-header .nav-menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: block;
}

.indyte-header .nav-menu li a:hover,
.indyte-header .nav-menu li.current-menu-item > a {
    color: #e91e63;
}

.indyte-header .nav-menu li.current-menu-item > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e91e63;
}

/* Dropdown Menu Styles */
.indyte-header .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -15px;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.indyte-header .nav-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.indyte-header .nav-menu .sub-menu li {
    padding: 0;
    margin: 0;
    width: 100%;
}

.indyte-header .nav-menu .sub-menu li a {
    padding: 8px 20px;
    display: block;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.indyte-header .nav-menu .sub-menu li a:hover {
    background-color: #f8f8f8;
    color: #e91e63;
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 8px;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
}

.indyte-header .nav-menu .menu-item-has-children:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.book-btn {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.book-btn:hover {
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
    color: white;
    transform: translateY(-2px);
}

.search-toggle {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: #e91e63;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    margin-left: 15px;
    padding: 0;
}

.menu-toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle-bar:nth-child(1) {
    top: 0;
}

.menu-toggle-bar:nth-child(2) {
    top: 11px;
}

.menu-toggle-bar:nth-child(3) {
    bottom: 0;
}

/* Breadcrumb Styles */
.breadcrumb {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e91e63;
}

.breadcrumb span {
    color: #e91e63;
}

.breadcrumb a:after {
    content: '>';
    margin: 0 5px;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .indyte-header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .indyte-header nav.active {
        display: block;
    }

    .indyte-header .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .indyte-header .nav-menu li a {
        padding: 10px 20px;
    }
    
    /* Mobile Dropdown Styles */
    .indyte-header .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f8f8;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .indyte-header .nav-menu .menu-item-has-children:hover > .sub-menu {
        max-height: 500px;
    }
    
    .indyte-header .nav-menu .sub-menu li a {
        padding-left: 40px;
        font-size: 13px;
    }
    
    /* Mobile Dropdown Arrow */
    .indyte-header .nav-menu .menu-item-has-children .dropdown-arrow {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .indyte-header .nav-menu .menu-item-has-children:hover .dropdown-arrow {
        transform: translateY(-50%) rotate(180deg);
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        gap: 10px;
    }

    .book-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}
