/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif 4', serif;
    background-color: #F5E6D3;
    color: #1E1610;
    line-height: 1.6;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #2C2018;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: #4A7C5C;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-weight: 400;
    color: #2C2018;
}

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

/* Concrete texture background */
.concrete-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, rgba(139, 107, 79, 0.15) 0%, rgba(139, 107, 79, 0) 100%),
        linear-gradient(-45deg, rgba(196, 149, 106, 0.1) 0%, rgba(196, 149, 106, 0) 100%),
        linear-gradient(90deg, rgba(100, 85, 70, 0.08) 0%, rgba(100, 85, 70, 0) 100%),
        radial-gradient(ellipse at 20% 50%, rgba(140, 110, 85, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(160, 130, 100, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #F5E6D3 0%, #EDD9C3 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    z-index: 0;
}

/* Graffiti shapes */
.graffiti-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

svg.shape-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 15%;
    right: 10%;
    opacity: 0.4;
    animation: float-shape 6s ease-in-out infinite;
}

svg.shape-2 {
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 5%;
    opacity: 0.35;
    animation: float-shape 8s ease-in-out infinite;
    animation-delay: 1s;
}

svg.shape-3 {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 40%;
    left: 8%;
    opacity: 0.3;
    animation: float-shape 7s ease-in-out infinite;
    animation-delay: 2s;
}

svg.shape-4 {
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 15%;
    right: 15%;
    opacity: 0.25;
    animation: float-shape 9s ease-in-out infinite;
    animation-delay: 0.5s;
}

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

/* Dust particle effect */
.dust-particle {
    position: absolute;
    background-color: rgba(139, 107, 79, 0.1);
    z-index: 2;
    animation: dust-fall linear infinite;
}

.dust-1 {
    width: 4px;
    height: 4px;
    left: 20%;
    top: -10px;
    animation-duration: 8s;
    animation-delay: 0s;
}

.dust-2 {
    width: 3px;
    height: 3px;
    left: 40%;
    top: -10px;
    animation-duration: 10s;
    animation-delay: 1s;
}

.dust-3 {
    width: 5px;
    height: 5px;
    left: 60%;
    top: -10px;
    animation-duration: 9s;
    animation-delay: 2s;
}

.dust-4 {
    width: 3px;
    height: 3px;
    left: 75%;
    top: -10px;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

.dust-5 {
    width: 4px;
    height: 4px;
    left: 35%;
    top: -10px;
    animation-duration: 12s;
    animation-delay: 1.5s;
}

@keyframes dust-fall {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(20px);
        opacity: 0;
    }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    pointer-events: none;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(4rem, 20vw, 16rem);
    font-weight: 700;
    color: #E07A4F;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 0px rgba(44, 32, 24, 0.2);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #8B6B4F;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: 'Source Serif 4', serif;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 500;
    color: #4A7C5C;
    margin-top: 1.5rem;
}

/* Main content sections */
.street-level {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-left: 4px solid #E07A4F;
    position: relative;
}

.content-section:nth-child(even) {
    border-left-color: #4A7C5C;
}

.content-section:nth-child(3n) {
    border-left-color: #C4956A;
}

.section-marker {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    font-weight: 400;
    color: #E07A4F;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.content-section:nth-child(even) .section-marker {
    color: #4A7C5C;
}

.content-section:nth-child(3n) .section-marker {
    color: #C4956A;
}

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

.content-list {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    list-style-position: inside;
}

.content-list li {
    margin-bottom: 0.75rem;
    color: #2C2018;
}

.content-list ol {
    list-style-type: decimal;
}

.content-list ul {
    list-style-type: disc;
}

/* Footer */
.footer {
    background-color: #2C2018;
    color: #F5E6D3;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    font-size: 0.9rem;
}

.footer p {
    color: #F5E6D3;
    margin-bottom: 0;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .graffiti-shapes {
        display: none;
    }

    .dust-particle {
        width: 2px !important;
        height: 2px !important;
        opacity: 0.3 !important;
    }

    .content-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .street-level {
        padding: 2rem 1rem;
    }
}

/* Links styling */
a {
    color: #4A7C5C;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

a:hover {
    border-bottom-color: #E07A4F;
}

/* Code blocks (if needed) */
code {
    background-color: rgba(44, 32, 24, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Strong/bold text */
strong, b {
    font-weight: 600;
    color: #E07A4F;
}

/* Selection styling */
::selection {
    background-color: #E07A4F;
    color: #F5E6D3;
}

::-moz-selection {
    background-color: #E07A4F;
    color: #F5E6D3;
}
