/* ============================================================
   quietjoon.com - Memphis + Ma-Negative-Space Design
   ============================================================ */

/* Color Palette */
:root {
    --color-umber: #8B7355;
    --color-cream: #F5EDE2;
    --color-khaki: #D4C4A8;
    --color-charcoal: #2E2A24;
    --color-slate: #5A6B72;
    --color-sage: #6B8F71;
    --color-taupe: #6B6258;
    --color-beige: #EBE0D2;
    --color-gold: #B89E6A;
    --color-gold-alt: #C4956A;

    /* Primary Colors */
    --bg-primary: #F5EDE2;
    --text-primary: #2E2A24;
    --accent-1: #8B7355;
    --accent-2: #6B8F71;
    --accent-3: #5A6B72;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow: auto;
    position: relative;
}

/* Noise Overlay - Site-wide texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="4" seed="1"/></filter><rect width="200" height="200" fill="%23000000" filter="url(%23noise)" opacity="0.05"/></svg>');
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

/* Canvas Container */
.canvas {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

/* Header Section */
.header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 8rem;
    max-width: 50%;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    line-height: 1.1;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1.2vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--accent-1);
    text-transform: uppercase;
}

/* Memphis Shapes - Bold geometric elements floating in space */
.shapes-container {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 40%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.shape {
    position: absolute;
    opacity: 0.85;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

/* Circle - Sage green */
.shape-circle {
    width: 140px;
    height: 140px;
    background-color: var(--accent-2);
    border-radius: 50%;
    top: 10%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

/* Square - Umber */
.shape-square {
    width: 120px;
    height: 120px;
    background-color: var(--accent-1);
    transform: rotate(15deg);
    top: 35%;
    right: 8%;
    animation: float 5s ease-in-out infinite 0.3s;
}

/* Triangle - Slate */
.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--accent-3);
    top: 50%;
    right: 22%;
    animation: float 7s ease-in-out infinite 0.6s;
}

/* Rectangle - Gold */
.shape-rectangle {
    width: 160px;
    height: 80px;
    background-color: var(--color-gold);
    transform: rotate(-20deg);
    top: 20%;
    right: 35%;
    animation: float 5.5s ease-in-out infinite 0.2s;
    box-shadow: 0 8px 16px rgba(184, 158, 106, 0.2);
}

/* Small Circle - Beige */
.shape-circle.shape-5 {
    width: 60px;
    height: 60px;
    background-color: var(--color-beige);
    top: 65%;
    right: 10%;
    animation: float 6.5s ease-in-out infinite 0.4s;
}

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

/* Content Sections */
.content-section {
    position: relative;
    z-index: 3;
    max-width: 45%;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.content-block {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(139, 115, 85, 0.1);
}

.content-block-2 {
    margin-left: 8rem;
    margin-top: 2rem;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-1);
    margin-bottom: 1rem;
}

.body-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
}

/* Accent Bars - Memphis-style graphic elements */
.accent-bar {
    position: absolute;
    opacity: 0.7;
}

.accent-bar-1 {
    width: 200px;
    height: 12px;
    background-color: var(--accent-2);
    top: 28%;
    left: 8%;
    transform: rotate(-8deg);
}

.accent-bar-2 {
    width: 150px;
    height: 8px;
    background-color: var(--accent-3);
    top: 72%;
    left: 4%;
    transform: rotate(5deg);
}

/* Accent Lines */
.accent-line {
    position: absolute;
    background-color: var(--accent-1);
}

.accent-line-1 {
    width: 3px;
    height: 180px;
    left: 3%;
    top: 35%;
}

/* Footer */
.footer {
    position: relative;
    z-index: 3;
    margin-top: auto;
    padding-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(139, 115, 85, 0.2);
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--accent-1);
}

/* Ripple Effects */
.ripple {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 149, 106, 0.4) 0%, rgba(196, 149, 106, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

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

    .header {
        max-width: 100%;
        margin-bottom: 4rem;
    }

    .main-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .shapes-container {
        position: static;
        width: 100%;
        height: auto;
        margin: 4rem 0;
        flex-direction: row;
        gap: 2rem;
    }

    .shape {
        position: relative;
    }

    .shape-circle {
        top: auto;
        right: auto;
    }

    .shape-square {
        top: auto;
        right: auto;
    }

    .shape-triangle {
        top: auto;
        right: auto;
    }

    .shape-rectangle {
        top: auto;
        right: auto;
    }

    .shape-circle.shape-5 {
        top: auto;
        right: auto;
    }

    .content-section {
        max-width: 100%;
    }

    .content-block-2 {
        margin-left: 0;
        margin-top: 3rem;
    }

    .accent-bar-1,
    .accent-bar-2,
    .accent-line-1 {
        display: none;
    }
}

@media (max-width: 480px) {
    .canvas {
        padding: 1.5rem 1rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .body-text {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .content-section {
        gap: 3rem;
    }

    .content-block {
        padding: 1.5rem;
    }
}
