/* ============================================
   yongzoon.net - Graffiti Street Chronicle
   Warm Earthy Palette | Diagonal Sections | Tilt-3D
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #3A3530;
    background-color: #E8DDD0;
    overflow-x: hidden;
}

/* --- SVG Filters (hidden) --- */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* --- Diagonal Sections Base --- */
.diagonal-section {
    position: relative;
    width: 100vw;
    padding: 4rem 0;
    overflow: hidden;
}

/* --- Grain Overlay --- */
.grain-overlay {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    filter: url(#grain);
    opacity: 0.05;
    pointer-events: none;
    z-index: 2;
}

.grain-heavy {
    opacity: 0.09;
}

/* --- Vignette Overlay --- */
.vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(42, 26, 16, 0.15) 100%);
    pointer-events: none;
    z-index: 2;
}

/* --- Icon Fields --- */
.icon-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.street-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
    transition: opacity 0.6s ease;
}

.street-icon.revealed {
    opacity: 0.25;
}

/* --- Section Inner (counter-rotation container) --- */
.section-inner {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* --- Stencil Border --- */
.stencil-border {
    border: 2px dashed #A85A38;
    box-shadow: inset 0 0 20px rgba(168, 90, 56, 0.08);
    position: relative;
}

.stencil-border::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(168, 90, 56, 0.12);
    pointer-events: none;
}

/* --- Tilt-3D Cards --- */
.tilt-card {
    perspective: 800px;
    transform: rotateY(2deg) rotateX(1deg);
    transition: transform 0.4s ease;
}

.tilt-card:hover {
    transform: rotateY(4deg) rotateX(2deg);
}

.tilt-left {
    transform: rotateY(-2deg) rotateX(1deg);
}

.tilt-left:hover {
    transform: rotateY(-4deg) rotateX(2deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8DDD0;
    transform: rotate(-3deg);
    margin: -2rem 0;
    padding: 6rem 0;
}

.hero-section .section-inner {
    transform: rotate(3deg);
}

.hero-card {
    background-color: #F5ECD8;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 400;
    color: #2A1A10;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.spray-drip {
    width: 200px;
    margin: 0 auto 1.5rem;
    opacity: 0.7;
}

.spray-drip svg {
    width: 100%;
    height: auto;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #3A3530;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ============================================
   SECTION 2 - Brick Clay Background
   ============================================ */
.section-brick {
    background-color: #A85A38;
    transform: rotate(4deg);
    margin: -2rem 0;
    padding: 6rem 0;
}

.section-brick .section-inner {
    transform: rotate(-4deg);
}

.section-brick .content-card {
    background-color: #F5ECD8;
    padding: 3rem 2.5rem;
}

.section-brick .section-heading {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    color: #2A1A10;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-brick .section-text {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #3A3530;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.accent-bar {
    width: 80px;
    height: 4px;
    margin: 1.5rem 0;
}

.ochre-bar {
    background-color: #D09838;
}

.sage-bar {
    background-color: #6A8A58;
}

/* ============================================
   SECTION 3 - Concrete Background (Return)
   ============================================ */
.section-concrete {
    background-color: #E8DDD0;
    transform: rotate(-3deg);
    margin: -2rem 0;
    padding: 6rem 0;
}

.section-concrete .section-inner {
    transform: rotate(3deg);
}

.section-concrete .content-card {
    background-color: #F5ECD8;
    padding: 3rem 2.5rem;
}

.section-concrete .content-card-large {
    max-width: 800px;
    margin: 0 auto;
}

.section-concrete .section-heading {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    color: #2A1A10;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-concrete .section-text {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #3A3530;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Vintage poster fade effect on edges */
.section-concrete .content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(245, 236, 216, 0) 60%,
        rgba(232, 221, 208, 0.4) 100%
    );
    pointer-events: none;
}

.section-concrete .content-card {
    position: relative;
}

/* ============================================
   SECTION 4 - Closing
   ============================================ */
.section-closing {
    background-color: #E8DDD0;
    transform: rotate(-1deg);
    margin: -2rem 0;
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-closing .section-inner {
    transform: rotate(1deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.closing-card {
    background-color: #F5ECD8;
    padding: 3rem 4rem;
    text-align: center;
    position: relative;
}

.closing-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 2rem;
    font-weight: 400;
    color: #2A1A10;
    position: relative;
    z-index: 1;
}

.ochre-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(208, 152, 56, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   SECTION-SPECIFIC ICON FIELD OVERRIDES
   ============================================ */
.icon-field-hero .street-icon {
    opacity: 0.15;
}

.icon-field-2 .street-icon {
    opacity: 0.2;
}

.icon-field-3 .street-icon {
    opacity: 0.22;
}

.icon-field-4 .street-icon {
    opacity: 0.2;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-card {
        padding: 3rem 1.5rem;
    }

    .section-brick .content-card,
    .section-concrete .content-card,
    .closing-card {
        padding: 2rem 1.5rem;
    }

    .section-inner {
        padding: 1rem;
    }

    .hero-section {
        transform: rotate(-2deg);
    }

    .hero-section .section-inner {
        transform: rotate(2deg);
    }

    .section-brick {
        transform: rotate(2deg);
    }

    .section-brick .section-inner {
        transform: rotate(-2deg);
    }

    .section-concrete {
        transform: rotate(-2deg);
    }

    .section-concrete .section-inner {
        transform: rotate(2deg);
    }

    .street-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-card {
        padding: 2rem 1rem;
    }

    .section-brick .content-card,
    .section-concrete .content-card,
    .closing-card {
        padding: 1.5rem 1rem;
    }

    .diagonal-section {
        padding: 3rem 0;
    }

    .street-icon {
        width: 24px;
        height: 24px;
    }
}