/*
Theme Name: YashFashion
Description: Custom Theme for YashFashion
Version: 1.0
*/

/* ---- Reset ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;

}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header ---- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

/* ---- Logo ---- */
.logo {
    max-width: 160px;
    flex-shrink: 0;
}

.logo img,
.custom-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- Nav Menu ---- */
.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 18px;
}

.nav-menu li a {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #b8860b;
}

/* ---- Contact Button ---- */
/* ---- Contact Button (Call) ---- */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1f4433;
    color: #fff;
    padding: 10px 22px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: #96690a;
    color: #fff;
}

.contact-btn .call-icon {
    flex-shrink: 0;
    display: block;
}

/* ---- Hamburger ---- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        max-height: 400px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 25px;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .contact-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}


/*body {*/
/*    background: black !important;*/
/*}*/

/* ================= TRANSPARENT HEADER (Home page only) ================= */
body.home .site-header {
    position: fixed;          /* hero ke upar float karega, layout nahi hilega */
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Admin bar (jab aap logged in ho) ke liye */
body.home.admin-bar .site-header {
    top: 32px;
}

/* Transparent state me text white */
body.home .site-header:not(.scrolled) .nav-menu li a {
    color: #fff;
}
body.home .site-header:not(.scrolled) .nav-menu li a:hover {
    color: #f0c75e;
}
body.home .site-header:not(.scrolled) .hamburger span {
    background: #fff;
}

/* Scroll karne par header white ho jayega (readable rahe) */
body.home .site-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Mobile: dropdown menu white hai, isliye links dark rakhne hain */
@media (max-width: 768px) {
    body.home.admin-bar .site-header { top: 46px; }

    body.home .site-header:not(.scrolled) .nav-menu li a {
        color: #333;
    }
}