/* munju.im - Botanical Hexagonal Garden */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    color: #F0EDE5;
    background: #0B1D3A;
    overflow-x: hidden;
}

/* ===== Hero Zone ===== */
.hero-zone {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

.hex-hero {
    text-align: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #134E5E;
    padding: 6rem 4rem;
    max-width: 500px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hex-hero.revealed {
    opacity: 1;
    transform: scale(1);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #FF6F61;
    margin-bottom: 1rem;
}

.hero-sub {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #88D8B0;
    letter-spacing: 0.02em;
}

/* ===== Hex Satellites ===== */
.hex-satellites {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hex-sat {
    position: absolute;
    width: 60px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #134E5E;
    opacity: 0.3;
    animation: float-hex 8s ease-in-out infinite;
}

.hex-sat-1 { top: 15%; left: 10%; animation-delay: 0s; }
.hex-sat-2 { top: 25%; right: 12%; animation-delay: 2s; }
.hex-sat-3 { bottom: 20%; left: 18%; animation-delay: 4s; }

@keyframes float-hex {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== Wave Dividers ===== */
.wave-divider {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===== Content Zone ===== */
.content-zone {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== Honeycomb Grid ===== */
.honeycomb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hex-card {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #134E5E;
    padding: 4rem 2.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hex-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hex-card:hover {
    transform: scale(1.03);
}

.hex-card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FF6F61;
    margin-bottom: 0.75rem;
}

.hex-card p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #F0EDE5;
}

/* ===== Lanterns ===== */
.lantern {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #7FDBCA 0%, transparent 70%);
    box-shadow: 0 0 10px rgba(127, 219, 202, 0.5);
    margin-bottom: 1rem;
    animation: lantern-glow 3s ease-in-out infinite;
}

@keyframes lantern-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(127, 219, 202, 0.3); }
    50% { box-shadow: 0 0 18px rgba(127, 219, 202, 0.6); }
}

/* ===== Specimen Zone ===== */
.specimen-zone {
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.specimen-card {
    text-align: center;
    max-width: 400px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specimen-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.specimen-label {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #88D8B0;
    display: block;
    margin-bottom: 1.5rem;
}

.botanical-svg {
    display: block;
    margin: 0 auto 1.5rem;
}

.specimen-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: #F0EDE5;
}

/* ===== Colophon ===== */
.colophon {
    text-align: center;
    padding: 4rem 2rem 6rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.colophon.revealed {
    opacity: 1;
}

.colophon p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8125rem;
    color: #7FDBCA;
    opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .honeycomb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .honeycomb-grid {
        grid-template-columns: 1fr;
    }

    .hex-hero {
        padding: 4rem 2rem;
    }

    .hex-card {
        padding: 3rem 2rem;
        min-height: 260px;
    }
}
