/* Header Styles for Shower Escape Co */

.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px 0;
}

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

.site-logo {
    display: block;
    transition: transform 0.3s ease;
}

.site-logo img {
    height: 50px;
    width: auto;
}

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

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-desktop li {
    margin: 0 15px;
}

.nav-desktop a {
    color: var(--gray-dark);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--turquoise);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--turquoise);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

/* Cart Icon */
.cart-icon {
    margin-left: 20px;
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--gray-dark);
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: var(--turquoise);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--turquoise);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cart-badge-pop {
    animation: cartBadgePop 0.5s ease;
}

@keyframes cartBadgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 5px;
}

/* Mobile Navigation */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    z-index: 1002;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-dark);
    cursor: pointer;
}

.nav-mobile ul {
    list-style: none;
    padding: 0;
    margin: 50px 0 0 0;
}

.nav-mobile li {
    margin-bottom: 15px;
}

.nav-mobile a {
    display: block;
    color: var(--gray-dark);
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
    color: var(--turquoise);
}

/* Header Scroll Effect */
.header-scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Checkout Steps */
.steps {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.step {
    color: var(--gray);
}

.step.active {
    color: var(--turquoise);
    font-weight: 600;
}

.step-divider {
    margin: 0 8px;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .site-logo img {
        height: 40px;
    }
}