/* ============================================
   simidiots.com -- Flat-Design Enigma Chamber
   Ma-Negative-Space / Dark Neon / Fade-Reveal
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A0F;
    color: #9A9AAA;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Noise Texture Overlay ---------- */
#noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
}

#noise-overlay svg {
    width: 100%;
    height: 100%;
}

/* ---------- Typography ---------- */
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(4rem, 10vw, 7rem);
    letter-spacing: 0.03em;
    color: #00FFB3;
    text-shadow: 0 0 40px rgba(0, 255, 179, 0.3);
    text-align: center;
    line-height: 1.1;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    letter-spacing: 0.03em;
    color: #00FFB3;
    text-shadow: 0 0 30px rgba(0, 255, 179, 0.2);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.section-body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    color: #9A9AAA;
}

.closing-domain {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 2rem);
    letter-spacing: 0.08em;
    color: #E0E0F0;
    text-shadow: 0 0 20px rgba(224, 224, 240, 0.15);
}

/* ---------- Void Spacers ---------- */
.void-spacer {
    min-height: 40vh;
}

.void-spacer-small {
    min-height: 20vh;
}

/* ---------- Hero Section ---------- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ---------- Content Sections ---------- */
.content-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-block {
    max-width: 540px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

/* ---------- Section 3: Image + Card ---------- */
.image-card-wrapper {
    max-width: 540px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.noise-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 2px;
}

.noise-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

.overlay-card {
    background-color: #12121F;
    border-left: 2px solid #8B5CF6;
    padding: 2.5rem 3rem;
    margin-top: -2rem;
    position: relative;
    z-index: 3;
    margin-left: 2rem;
    margin-right: -1rem;
}

/* ---------- Section 4: Closing ---------- */
#section-closing {
    min-height: 50vh;
}

.closing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
}

/* ---------- Geometric Shapes ---------- */
.geo-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Circle */
.geo-circle {
    border: 1.5px solid #00FFB3;
    border-radius: 50%;
    opacity: 0.08;
}

/* Triangle -- outlined via inline SVG background */
.geo-triangle {
    width: 300px;
    height: 260px;
    border: none;
    background: none;
    opacity: 0.08;
    overflow: visible;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 260'%3E%3Cpolygon points='150,0 0,260 300,260' fill='none' stroke='%2300FFB3' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Hexagon */
.geo-hexagon {
    width: 350px;
    height: 350px;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 350 350'%3E%3Cpolygon points='175,5 330,92 330,258 175,345 20,258 20,92' fill='none' stroke='%2300FFB3' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ---------- Geometric Shape Positions ---------- */

/* Hero shapes */
.geo-hero-1 {
    width: 320px;
    height: 320px;
    top: 15%;
    left: -80px;
}

.geo-hero-2 {
    width: 250px;
    height: 220px;
    bottom: 10%;
    right: -40px;
}

/* Section 2 hexagon */
.geo-section2 {
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
}

/* Section 3 shapes */
.geo-section3-1 {
    width: 200px;
    height: 200px;
    left: 5%;
    top: -60px;
}

.geo-section3-2 {
    width: 180px;
    height: 156px;
    right: 8%;
    bottom: -40px;
}

/* Closing shapes */
.geo-closing-1 {
    width: 250px;
    height: 250px;
    top: -80px;
    left: 10%;
}

.geo-closing-2 {
    width: 200px;
    height: 174px;
    bottom: -60px;
    right: 15%;
}

.geo-closing-3 {
    width: 280px;
    height: 280px;
    top: 50%;
    right: -140px;
    transform: translateY(-50%);
}

.geo-closing-4 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: -90px;
}

/* ---------- Geometric Pulse Animation ---------- */
@keyframes geoPulse {
    0%, 100% {
        opacity: 0.05;
    }
    50% {
        opacity: 0.12;
    }
}

.geo-pulse {
    animation: geoPulse 6s ease-in-out infinite;
}

.geo-closing-2 {
    animation-delay: 1.5s;
}

.geo-closing-3 {
    animation-delay: 3s;
}

.geo-closing-4 {
    animation-delay: 4.5s;
}

/* ---------- Fade-Reveal Transitions ---------- */
.fade-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.fade-reveal-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-reveal.revealed .fade-reveal-child:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms;
}

.fade-reveal.revealed .fade-reveal-child:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 150ms;
}

.fade-reveal.revealed .fade-reveal-child:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 300ms;
}

/* Image brightness reveal */
.noise-image {
    filter: brightness(0);
    transition: filter 1.2s ease;
}

.fade-reveal.revealed .noise-image {
    filter: brightness(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .content-block {
        padding: 2rem 1.5rem;
    }

    .overlay-card {
        margin-left: 1rem;
        margin-right: 0;
        padding: 2rem;
    }

    .image-card-wrapper {
        padding: 0 1rem;
    }

    .geo-hero-1 {
        width: 200px;
        height: 200px;
        left: -60px;
    }

    .geo-hero-2 {
        width: 160px;
        height: 139px;
        right: -30px;
    }

    .geo-section2 {
        right: -160px;
    }

    .geo-closing-1 {
        width: 160px;
        height: 160px;
    }

    .geo-closing-2 {
        width: 140px;
        height: 122px;
    }

    .geo-closing-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
    }

    .void-spacer {
        min-height: 30vh;
    }
}
