/* Header Base Styles */
#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Transparent Header (for home and shop pages) */
#main-header.transparent {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Background Header (for other pages) */
#main-header.with-bg {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}

/* Logo Styles - Transparent Header */
#main-header.transparent .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-decoration: none;
}

#main-header.transparent .logo-subtitle {
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: -5px;
}

/* Logo Styles - Background Header */
#main-header.with-bg .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
    text-decoration: none;
}

#main-header.with-bg .logo-subtitle {
    font-size: 9px;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-top: -5px;
}

/* Navigation */
nav {
    display: flex;
    gap: 45px;
}

/* Navigation Links - Transparent Header */
#main-header.transparent nav a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

#main-header.transparent nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

#main-header.transparent nav a:hover::after {
    width: 100%;
}

#main-header.transparent nav a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation Links - Background Header */
#main-header.with-bg nav a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

#main-header.with-bg nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

#main-header.with-bg nav a:hover::after {
    width: 100%;
}

#main-header.with-bg nav a:hover {
    color: #000;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Icon Buttons - Transparent Header */
#main-header.transparent .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

#main-header.transparent .icon-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Icon Buttons - Background Header */
#main-header.with-bg .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

#main-header.with-bg .icon-btn:hover {
    color: #000;
    transform: scale(1.1);
}

/* Cart Count Badge - Transparent Header */
#main-header.transparent .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Cart Count Badge - Background Header */
#main-header.with-bg .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    #main-header {
        padding: 15px 30px;
    }
    
    nav {
        display: none;
    }
    
    .menu-btn {
        display: block !important;
    }
}
