/* ==========================================
   VEDANUT HEADER – EARTHY BEIGE THEME
   Warm, premium, organic branding
========================================== */

/* MAIN HEADER */
.main-header {
    width: 100%;
    background: rgba(243, 232, 212, 0.88); /* translucent beige */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2d3bc;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.4s ease, padding 0.4s ease;
}

/* Shrinking header effect on scroll */
.main-header.scrolled {
    padding: 10px 0;
    background: rgba(243, 232, 212, 0.95);
}

/* MAIN CONTAINER */
.header-container {
    width: 90%;
    max-width: 1500px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo img {
    height: 55px;
    transition: 0.3s ease;
    will-change: transform;
}

.logo img:hover {
    transform: scale(1.05);
}

/* NAVIGATION */
.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #1f3a24;
    transition: 0.35s ease;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

/* Underline animation */
.main-nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #b8946a;
    transition: width 0.35s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #b8946a;
    transform: translateY(-2px);
}

/* MOBILE MENU ICON */
.mobile-menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    transition: 0.3s ease;
}

.mobile-menu-icon span {
    width: 25px;
    height: 3px;
    background: #1f3a24;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Mobile icon animation (X toggle) */
.mobile-menu-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE MENU DROPDOWN */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #f3e8d4;
    padding: 20px;
    border-top: 1px solid #d9c9b2;
    animation: fadeDown 0.4s ease;
}

.mobile-menu a {
    padding: 12px 0;
    text-decoration: none;
    color: #1f3a24;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.mobile-menu a:hover {
    color: #b8946a;
}

.mobile-menu.open {
    display: flex;
}

/* Mobile menu fade animation */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-icon {
        display: flex;
    }
}
