/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


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

.header-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container.sticky {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: relative;
}

.logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.logo-normal {
    height: 80px;
    transition: all 0.3s ease;
}

.logo-sticky {
    height: 60px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.header-container.sticky .logo-normal {
    opacity: 0;
}

.header-container.sticky .logo-sticky {
    opacity: 1;
}

.header-container.sticky .logo-container {
    height: 60px;
}

.nav-left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-right {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-item {
    color: #2c5282;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-item:hover {
    color: #1a365d;
    transform: translateY(-2px);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #2c5282, #1a365d);
    transition: width 0.3s ease;
}

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

.online-order-btn {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.online-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
    background: linear-gradient(45deg, #c53030, #a02828);
}

.cart-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
    }

    .logo-container {
        position: static;
        transform: none;
        order: 1;
    }

    .nav-left, .nav-right {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-left {
        order: 2;
    }

    .nav-right {
        order: 3;
    }

    .nav-item {
        font-size: 14px;
    }

    .online-order-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .logo-normal {
        height: 60px;
    }

    .logo-sticky {
        height: 50px;
    }
}