/* Font Awesome Icons CDN (For Instagram, Search, and Bar icons) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* STICKY HEADER MAIN STYLES */
.custom-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: -webkit-sticky; /* Safari Compatibility */
    position: sticky;        /* Header ko top par lock karne ke liye */
    top: 0;                  /* Screen ke top se zero distance */
    z-index: 1000;           /* Content iske niche se scroll hoga */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Smooth shadow effect on scroll */
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
}

.logo img {
    width: 65px;
    height: auto;
}

.main-menu ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .5px;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #000;
}

.header-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-icons a {
    color: #d40000;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.header-icons a:hover {
    transform: scale(1.05);
}

.search-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: #c887ff;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #b166f2;
}

/* MOBILE TOGGLE & MENU STYLES */
.mobile-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    position: absolute; 
    width: 100%;
    left: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-menu.active {
    display: block;
}

/* RESPONSIVE MEDIA QUERY (TABLETS & MOBILE) */
@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-menu,
    .header-icons {
        display: none; /* Desktop menu hide hoga */
    }

    .mobile-toggle {
        display: block; /* Hamburger icon visible hoga */
    }

    .logo img {
        width: 55px; /* Mobile par logo thoda chota */
    }
}