/* Additional Header Styles for Indyte theme */

/* Sticky Header Styles */
.indyte-header.sticky {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.indyte-header.hide-header {
    transform: translateY(-100%);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-form {
    width: 80%;
    max-width: 600px;
}

.search-overlay form {
    display: flex;
    position: relative;
}

.search-overlay input[type="search"] {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: none;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    box-shadow: 0 0 30px rgba(233, 30, 99, 0.2);
    transition: all 0.3s ease;
}

.search-overlay input[type="search"]:focus {
    background-color: white;
    outline: none;
}

.search-overlay button[type="submit"] {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: #e91e63;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-overlay button[type="submit"]:hover {
    transform: translateY(-50%) scale(1.1);
}

.search-overlay .close-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-overlay .close-search:hover {
    color: #e91e63;
    transform: translateY(-50%) scale(1.1);
}

/* Menu Toggle Animation */
.menu-toggle.active {
    z-index: 101;
}

@media (max-width: 991px) {
    .indyte-header nav.active {
        padding: 10px 0;
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
