
/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: ease-in-out 0.3s;
}

/* Logo Styles */
.logo-container img {
    height: 50px;
}

/* Navigation Styles */
.nav-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-categories li {
    margin: 0 20px;
}

.nav-categories a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-categories a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d9534f;
    transition: width 0.3s ease;
}

.nav-categories a:hover {
    color: #d9534f;
}

.nav-categories a:hover::after {
    width: 100%;
}

/* Header Icons Styles */
.header-icons {
    display: flex;
    align-items: center;
}

.icon-link {
    color: #333;
    font-size: 20px;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.icon-link:hover {
    color: #d9534f;
}

/* Hamburger Menu */
.hamburger-menu {
    margin-left: 10px;
    display: none;
    font-size: 24px;
    cursor: pointer;
}
.header-active{
    padding: 20px 80px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }

    .nav-categories {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-categories.active {
        display: block;
    }

    .nav-categories ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .nav-categories li {
        margin: 10px 0;
    }

    .hamburger-menu {
        display: block;
    }

    .header-icons {
        margin-left: auto;
    }

    .icon-link {
        margin-left: 15px;
    }
}

.content{
    height: 200vh;
    background-color: black;
}

.search-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.search-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
}
.search-form input {
    width: 80%;
    padding: 10px;
    font-size: 16px;
}
.search-form button {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
}
.close-search {
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
