/* ============================================
   Ewww Poop! Landing Page Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #92228D;
    --color-primary-dark: #6E1A6A;
    --color-secondary: #57D34F;
    --color-accent: #57D34F;
    --color-cta: #BF5948;
    --color-cta-hover: #A3493B;
    --color-dark: #393341;
    --color-light: #DEBDC6;
    --color-white: #ffffff;
    --color-gray: #5E4D45;
    --color-gray-light: #f5f5f5;

    --font-display: 'Lilita One', cursive;
    --font-body: 'Nunito', sans-serif;

    --nav-height: 60px;
}

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

html {
    scroll-behavior: smooth;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><text y='32' font-size='32'>💩</text></svg>") 20 20, auto;
}

a, button, [type="submit"] {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><text y='32' font-size='32'>🪰</text></svg>") 20 20, pointer !important;
}

input, textarea {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><text y='32' font-size='32'>🪰</text></svg>") 20 20, text !important;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.98);
}

.btn-hero {
    background-color: var(--color-cta);
    color: var(--color-white);
    font-size: 1.15rem;
    padding: 16px 40px;
    box-shadow: 0 2px 8px rgba(191, 89, 72, 0.2);
    animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(191, 89, 72, 0.15); }
    50% { box-shadow: 0 3px 12px rgba(191, 89, 72, 0.25); }
}

.btn-hero:hover {
    background-color: var(--color-cta-hover);
    box-shadow: 0 3px 10px rgba(191, 89, 72, 0.3);
}

.btn-nav {
    background-color: var(--color-cta);
    color: var(--color-white);
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background-color: var(--color-cta-hover);
}

.btn-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
}

.btn-submit:hover {
    background-color: var(--color-primary-dark);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: transparent;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

@media (min-width: 769px) {
    .navbar:not(.scrolled) {
        opacity: 0;
        transform: translateY(-100%);
        pointer-events: none;
    }
}

.navbar.scrolled {
    background-color: var(--color-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 88px;
    width: auto;
    opacity: 0;
    transform: rotate(-3deg);
    transition: opacity 0.3s ease;
}

.navbar.scrolled .nav-logo-img {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-dark);
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(57, 51, 65, 0.67);
    z-index: 1;
}

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

.hero-logo {
    margin-bottom: 24px;
}

.hero-logo img {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
    animation: logoEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               logoFloat 3s ease-in-out 0.8s infinite;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-3deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(-3deg);
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}

.season-badge {
    display: inline-block;
    background-color: var(--color-light);
    color: var(--color-dark);
    font-family: var(--font-display);
    font-size: clamp(0.8rem, 1.8vw, 1.05rem);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: -4px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: rotate(0deg);
    white-space: nowrap;
}

.hero-ewww {
    display: inline-block;
}

.hero-poop {
    display: inline-block;
    color: var(--color-light);
    animation: wiggle 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--color-white);
    text-shadow: 3px 3px 0 var(--color-dark), 6px 6px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 28px;
    line-height: 1;
}

@keyframes rubberBounce {
    0%, 100% { transform: scale(1, 1); }
    20% { transform: scale(1.1, 0.9); }
    40% { transform: scale(0.95, 1.05); }
    60% { transform: scale(1.03, 0.97); }
    80% { transform: scale(0.98, 1.02); }
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 400;
    font-style: normal;
    color: var(--color-white);
    margin-bottom: 32px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: taglineIn 1s ease forwards 0.6s;
}

@keyframes taglineIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-2deg); }
    30% { transform: rotate(2deg); }
    45% { transform: rotate(-1deg); }
    60% { transform: rotate(1deg); }
    75% { transform: rotate(0deg); }
}


/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 0;
    background-color: var(--color-white);
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 150px;
    width: 100%;
    margin: 0 auto;
    display: block;
    transform: rotate(-3deg);
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    min-width: 0;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 0;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.badge {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 50px;
}

/* ============================================
   One-Pager Section
   ============================================ */
.one-pager {
    padding: 100px 0;
    background-color: var(--color-white);
}

.one-pager h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-primary);
}

.one-pager-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}


.one-pager-block {
    background-color: #F9F3F5;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.one-pager-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.one-pager-block:nth-child(2) { transition-delay: 0.1s; }
.one-pager-block:nth-child(3) { transition-delay: 0.2s; }
.one-pager-block:nth-child(4) { transition-delay: 0.3s; }
.one-pager-block:nth-child(5) { transition-delay: 0.4s; }
.one-pager-block:nth-child(6) { transition-delay: 0.5s; }

.one-pager-block h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.one-pager-block p {
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.8;
    margin-bottom: 8px;
}

.one-pager-block p:last-child {
    margin-bottom: 0;
}

.one-pager-comparables {
    font-style: italic;
    color: var(--color-gray) !important;
}

.character-list {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.character-list li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.character-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

.one-pager-recurring {
    font-size: 0.9rem !important;
    color: var(--color-gray) !important;
}

.episode-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.flow-step {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50px;
}

.flow-arrow {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    transform: rotate(90deg);
    line-height: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 0;
    background-color: var(--color-white);
}

.contact h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.contact-subtext {
    text-align: center;
    color: var(--color-gray);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.form-group .optional {
    font-weight: 400;
    color: var(--color-gray);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    transition: border-color 0.2s ease;
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
}

.success-msg {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    padding: 40px 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-dark);
    padding: 40px 0;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================
   Responsive (Mobile: < 768px)
   ============================================ */
@media (max-width: 768px) {
    .nav-logo-img {
        height: 80px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background-color: var(--color-dark);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        z-index: 99;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-tagline {
        font-size: clamp(1rem, 3.5vw, 1.4rem);
        padding: 0 16px;
    }

    .hero-tagline br {
        display: none;
    }

    .about-badges {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .footer-logo img {
        max-width: 130px;
    }

    .about-grid {
        flex-direction: column;
        gap: 40px;
    }

    .one-pager-grid {
        grid-template-columns: 1fr;
    }


}
