 
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
     
    backdrop-filter: blur(4px);
    z-index: 1000;
    border-bottom: 1px solid var(--headerborder);
    padding: 0 2rem;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
  height: fit-content;
    overflow: hidden;    
     
   

}
.logoimage {
    background:  var(--background-image-logo) no-repeat center;
    background-size: 100px;
    width: 100%;
    height: 100%;
 padding: 20px;
   
    
}

.logo img {
    width: 100%;
    height: 100%;
}
.nav {
    display: flex;
    gap: 2rem;
  
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.nav a:hover {
    color: var(--primary);
}

.nav a.active {
    color: var(--primary);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle, .search-btn {
    background: transparent;
    border: none;
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}
.theme-toggle{
    transition:   0.5s ease;
}
 
.themeicon{
     padding: 20px;
}
.search-btn{
    background: var(--bg);
    border: var(--text);
}
.theme-toggle:hover {
    background: var(--primary);
    transform:   rotate(280deg);
}

.search-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-big-text {
        font-size: 3rem;
    }
    
    .footer-top h2 {
        font-size: 1.8rem;
    }
}







/* ================= SEARCH OVERLAY ================= */
.search-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    opacity: .9;
}

.search-overlay.active {
    transform: translateY(0);
}

/* HEADER */
.search-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.search-header input {
    flex: 1;
    padding: 18px 24px;
    font-size: 20px;
    border-radius: 16px;
    border-bottom: 2px solid var(--primary);
     /* background: var(--inputbackground); */
    outline: none;
    color: var(--text);
    background: transparent;
}

.close-search {
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text);
    cursor: pointer;
}

 

  
/* MOBILE */
@media (max-width: 768px) {
    .search-header input {
        font-size: 16px;
    }

    .search-options {
        grid-template-columns: 1fr;
    }
}

