/* Header styles - MOBILE OPTIMIZED */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 100;
    transition: height 0.3s ease;
    padding-top: 20px;
}

/* Removed the problematic ::before pseudo-element that created the edge on mobile */
.site-header.menu-active {
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
}

/* Basic header clearance for non-hero sections */
.content-section:not(.hero-section),
.image-section:not(.hero-section) {
    padding-top: 80px;
}

/* Remove extra padding when section follows a hero */
.hero-section + .content-section,
.hero-section + .image-section {
    padding-top: 0;
}

/* Better mobile safe area support without creating visible edge */
@supports (padding-top: env(safe-area-inset-top)) {
    .site-header {
        padding-top: max(env(safe-area-inset-top), 20px);
        height: calc(80px + env(safe-area-inset-top));
    }
    
    .content-section:not(.hero-section),
    .image-section:not(.hero-section) {
        padding-top: calc(80px + env(safe-area-inset-top));
    }
    
    /* Remove extra padding when section follows a hero */
    .hero-section + .content-section,
    .hero-section + .image-section {
        padding-top: env(safe-area-inset-top);
    }
    
    .main-navigation {
        top: calc(80px + env(safe-area-inset-top));
    }
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 102;
}

.logo-emoji {
    font-size: 1.8rem;
}

.site-title {
    margin: 0;
    font-family: var(--font-accent);
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.site-title a, .site-title a:link, .site-title a:visited {
    text-decoration: none;
    color: var(--color-grey-dark);
    transition: text-shadow 0.3s ease;
}

.site-title a:hover, .site-title a:active {
    color: rgb(70, 64, 67);
    text-shadow: 0 0 10px rgba(188, 75, 130, 0.423);
}

/* Menu styles - IMPROVED MOBILE ICONS */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 102;
    position: relative;
    color: var(--color-grey-dark); /* Fixed: Grey color like desktop */
}

.menu-icon {
    display: block;
    line-height: 1;
    color: var(--color-grey-dark); /* Fixed: Grey color for consistency */
}

.main-navigation {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    padding: 2rem 4.5rem;
}

.main-navigation.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
    width: min(90vw, 800px);
}

.menu-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0.5em 0;
}

.main-navigation.active .menu-item {
    opacity: 1;
    transform: translateY(0);
}

.main-navigation.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.main-navigation.active .menu-item:nth-child(2) { transition-delay: 0.2s; }
.main-navigation.active .menu-item:nth-child(3) { transition-delay: 0.3s; }
.main-navigation.active .menu-item:nth-child(4) { transition-delay: 0.4s; }
.main-navigation.active .menu-item:nth-child(5) { transition-delay: 0.5s; }

.menu-item a {
    display: block;
    font-family: var(--font-accent);
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.2;
    text-decoration: none;
    padding: 0.2em 0;
    background: linear-gradient(to right, var(--color-pink-bright), var(--color-orange-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.menu-item a:hover {
    opacity: 0.7;
} 