main, section {
    text-align: center;
}
/* Hero banner overlay */
.hero-section {
    position: relative;
}

.hero-section img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-banner {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%) rotate(-12deg);
    background: transparent;
    color: #39ff14; /* bright neon green */
    -webkit-text-stroke: 0 transparent;
    padding: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: clamp(36px, 8vw, 110px);
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
    display: none; /* hidden until animation start */
}

/* Smash-in per-letter animation */
.hero-banner .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-40%) scale(1.4) rotate(-10deg);
    will-change: transform, opacity;
    animation: heroSmashIn 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroSmashIn {
    0% {
        opacity: 0;
        transform: translateY(-60%) scale(1.8) rotate(-18deg);
        filter: blur(2px);
    }
    60% {
        opacity: 1;
        transform: translateY(8%) scale(0.96) rotate(2deg);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@media screen and (max-width: 768px) {
    .hero-banner {
        top: 60%;
        letter-spacing: 4px;
    }
}

/* Centering container */
.container {
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 769px) {
    .container {
        width: 70vw;
        max-width: 1200px;
    }
}

main {
    margin-bottom: 2em;
}

body, html {
    scroll-behavior: smooth;
}
/* Floating Instagram badge */
.floating-instagram {
    position: fixed;
    right: 16px;
    top: 40vh;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: white;
    color: #000;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    text-decoration: none;
    z-index: 1100;
    border: 1px solid rgba(0,0,0,0.06);
}

.floating-instagram:hover {
    background: #f7f7f7;
}

/* Remove default browser top margin and collapse first section margins */
body {
    margin: 0;
}

section:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

section:first-of-type h1:first-child {
    margin-top: 0;
}

/* Header styles */
header {
    position: sticky;
    top: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Remove previous desktop centering hacks; header stays full width and uses inner .container */

/* Hamburger button styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: fixed; /* so it doesn't occupy header space on mobile */
    left: 8px;
    top: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation styles */
.nav-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu li {
    list-style: none !important;
}

.nav-menu a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
    }
    
    /* Collapse header on mobile so it doesn't take space, but remains present */
    header {
        padding: 0;
        height: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }
    
    /* Smaller hamburger bars to reduce header height */
    .hamburger span {
        width: 22px;
        height: 2px;
        margin: 3px 0;
    }
    
    /* Tighter hamburger button padding on mobile */
    .hamburger {
        padding: 6px;
        display: flex; /* visible on mobile */
    }
    
    /* Full-width dropdown menu on mobile (position is set via JS) */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 56px; /* will be overridden dynamically by JS */
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }
    
    /* Show menu when active */
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        padding: 1rem;
        width: 100%;
        display: block;
    }
}

@media screen and (max-width: 480px) {
    main, section {
        width: 90vw;
    }
    
    header {
        padding: 1rem;
    }
}
