@import url('https://fonts.googleapis.com/css2?family=Caprasimo&display=swap');

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

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #ff3009 0%, #ffa30d 50%, #ff3009 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comic-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

.hero-text {
    flex: 1;
    animation: slideInLeft 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-text h1 {
    font-family: "Caprasimo", serif;
    font-size: clamp(3rem, 12vw, 8rem);
    line-height: 0.95;
    color: #ffffff;
    text-shadow:
        4px 4px 0px #000,
        8px 8px 0px rgba(0, 0, 0, 0.5),
        -2px -2px 0px #ffa30d,
        2px 2px 0px #000,
        -3px -3px 0px #000,
        3px 3px 0px #000;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-weight: 400;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s backwards;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInRight {
    0% {
        transform: translateX(100px) rotate(10deg);
        opacity: 0;
    }
    100% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}

.image-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    filter: contrast(1.1) saturate(1.2);
}

/* Mobile First - Adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 3rem;
        width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(2.5rem, 13vw, 5rem);
        text-align: center;
    }

    .image-container {
        max-width: 400px;
    }
}

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

    .hero-text h1 {
        font-size: clamp(2rem, 11vw, 4rem);
        text-align: center;
    }

    .image-container {
        max-width: 350px;
    }
}

/* Parallax effect on scroll */
.hero[data-parallax] {
    transition: transform 0.1s ease-out;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-indicator span {
    font-family: "Caprasimo", serif;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 2px 2px 0px #000;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;
    transform: rotate(-45deg);
    box-shadow: -2px 2px 0px #000;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About section */
.about {
    min-height: 100vh;
    background: #ffffff;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    font-family: "Caprasimo", serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: #ff3009;
    text-shadow: 3px 3px 0px #000;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #000;
}

.about-text p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 30px;
    }

    .scroll-indicator span {
        font-size: 1rem;
    }

    .scroll-arrow {
        width: 24px;
        height: 24px;
    }

    .about {
        padding: 3rem 1.5rem;
    }

    .about h2 {
        margin-bottom: 1.5rem;
    }

    .about-text {
        font-size: 1.1rem;
    }
}
