/* Header */
.site-header {
    background-color: #f7f0e6;
    border-bottom: 1px solid #ddd;
    padding: 15px 30px;
    display: flex ;
    justify-content: space-between ;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 30px;
    z-index: 999;
    left: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: 100px;
}

.logo a {
    font-size: 60px;
    font-weight: bold;
    text-decoration: none;
    color: #ff6600;
        font-family: 'Playfair Display', serif
}
/* Navigation */
.nav-menu {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    
}

.nav-menu li a {
    list-style: none;
    text-decoration: none;
    color: #555555;
    font-weight: 700;
    transition: color 0.4s , transform 0.3s ease;
    font-size:25px;
}

.nav-menu li a:hover {
    color: #ff6600;
}
.nav-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 18px;
}
.nav-menu .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.90rem;
}
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 999;
}

.nav-menu li {
    position: relative;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.header-search-icon {
    cursor: pointer;
    font-size: 1.9rem;
    color: #ff6600;
    margin-right: 70px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
}
.fa-solid:hover{
    animation: 0.5s rotate ease-in-out;
    
}
@keyframes rotate{
    0%{
        transform: rotate(360deg);
    }
}
.search-overlay {
    position: fixed;
    inset: 0;
 background-color: #f7f0e6;
 display: none;
    z-index: 9999;
    width: 100%;
}

.search-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

.search-overlay-inner {
    width: 90%;
}

.search-overlay input {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.3rem;
    border: none;
    outline: none;
    border-radius: 4px;
}
.search-results {
    margin-top: 20px;
    background: #fff;
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    padding: 40px;
   display:flex;
}


.search-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    border: 3px solid #ff6600;
}

.search-info a {
    font-weight: bold;
    color: #333333;
    text-decoration: none;
}

.search-info a:hover {
    color: #ff6600;
    transform: scale(1.1);
    transition: 0.4s;
}
.search-item button{
    float: right;
}
.search-info p, .search-info ul {
    margin: 3px 0;
    font-size: 18px;
    color: #333333;
}

.search-info ul {
    padding-left: 7px;
    
}

 /*Show dropdown when active */
.header-search input:focus + .search-results,
.search-results:hover {
    display: grid;
}

 /*Dropdown fade & slide */
.search-results {
    opacity: 0;
    width: 100%;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
     display: grid;
     grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.search-results.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

 /*Each search item slides in */
.search-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    border: 2px solid #ff6600;
    box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.24);
    border-radius: 10px;
    padding: 20px;
}

.search-item.show {
    opacity: 1;
    transform: translateX(0);
}
