/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
/* For handwritten accents */

:root {
    /* Colors - Paper Cutout Theme */
    --bg-color: #F2EFE9;
    /* Paper Cream */
    --surface-color: #ffffff;
    --text-primary: #1A1A1A;
    --text-secondary: #4a4a4a;

    /* Brand Colors */
    --accent-orange: #D85C27;
    /* Burnt Orange */
    --accent-yellow: #E8D75D;
    /* Mustard Yellow */
    --accent-olive: #4A5D23;
    /* Olive Green */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 90px;

    /* Effects */
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-hard: 4px 4px 0px rgba(0, 0, 0, 1);
    /* Retro hard shadow */
    --shadow-paper: 2px 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease-out;

    /* Clip Paths for Torn Paper */
    --clip-top: polygon(0% 10px, 5% 0px, 10% 12px, 15% 2px, 20% 10px, 25% 0px, 30% 12px, 35% 2px, 40% 10px, 45% 0px, 50% 12px, 55% 2px, 60% 10px, 65% 0px, 70% 12px, 75% 2px, 80% 10px, 85% 0px, 90% 12px, 95% 2px, 100% 10px, 100% 100%, 0% 100%);
    --clip-bottom: polygon(0% 0%, 100% 0%, 100% calc(100% - 10px), 95% 100%, 90% calc(100% - 12px), 85% 100%, 80% calc(100% - 10px), 75% 100%, 70% calc(100% - 12px), 65% 100%, 60% calc(100% - 10px), 55% 100%, 50% calc(100% - 12px), 45% 100%, 40% calc(100% - 10px), 35% 100%, 30% calc(100% - 12px), 25% 100%, 20% calc(100% - 10px), 15% 100%, 10% calc(100% - 12px), 5% 100%, 0% calc(100% - 10px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow Condensed', sans-serif;
    background-color: var(--bg-color);
    background-image: url('paper-texture.png');
    /* Will be added */
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
}

h1 {
    font-size: 5rem;
    color: var(--accent-orange);
    text-shadow: 3px 3px 0px #000;
    margin-bottom: var(--spacing-sm);
    transform: rotate(1deg);
}

.hero h1 {
    color: var(--accent-orange);
    text-shadow: 3px 3px 0px #000;
    font-size: 5rem;
    margin-bottom: var(--spacing-sm);
    transform: rotate(-2deg);
}

h2 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--text-primary);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent-olive);
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid #000;
    box-shadow: var(--shadow-hard);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    transform: rotate(1deg);
}

.btn:hover {
    transform: translate(-2px, -2px) rotate(0deg);
    box-shadow: 6px 6px 0px #000;
    background: var(--accent-orange);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-color);
    border-bottom: 3px solid #000;
    z-index: 1000;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
    border-radius: 50% 20% / 10% 40%;
    /* Organic marker shape */
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.nav-links a:hover {
    color: var(--accent-orange);
    text-decoration: none;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--accent-yellow);
    background-image: url('BG.png');
    /* Use ref as texture/bg for now */
    background-size: cover;
    background-blend-mode: multiply;
    position: relative;
    padding-top: var(--header-height);
    clip-path: var(--clip-bottom);
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-md);
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    transform: rotate(1deg);
}

.hero p {
    font-size: 1.5rem;
    color: #000;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.about-card {
    background: var(--surface-color);
    padding: var(--spacing-md);
    border: 3px solid #000;
    box-shadow: var(--shadow-hard);
    transition: var(--transition);
    position: relative;
}

.about-card:nth-child(1) {
    transform: rotate(-1deg);
    background-color: #fff;
}

.about-card:nth-child(2) {
    transform: rotate(1.5deg);
    background-color: var(--accent-yellow);
}

.about-card:hover {
    transform: scale(1.02) rotate(0deg);
    z-index: 10;
}

.about-card h3 {
    color: #000;
    font-family: 'Permanent Marker', cursive;
    font-size: 2rem;
}

/* Events Section */
#eventos {
    background-color: var(--accent-orange);
    clip-path: polygon(0% 20px, 100% 0%, 100% calc(100% - 20px), 0% 100%);
    padding: 8rem 0;
}

#eventos h2 {
    color: #fff;
    text-shadow: 3px 3px 0px #000;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.event-card {
    background: #fff;
    border: none;
    /* Remove border for flyer look */
    box-shadow: var(--shadow-paper);
    transition: var(--transition);
    position: relative;
    overflow: visible;
    /* Allow tape to stick out */
    padding: var(--spacing-sm);
    transform: rotate(0deg);
    margin-top: 20px;
    /* Space for tape */
}

/* Tape Effect */
.event-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 100px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.6);
    border-left: 1px dashed rgba(0, 0, 0, 0.1);
    border-right: 1px dashed rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0.8;
}

.event-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.event-card:nth-child(even) {
    transform: rotate(1deg);
}

.event-card:hover {
    transform: scale(1.02) rotate(0deg);
    box-shadow: var(--shadow-hard);
    z-index: 5;
}

.event-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-orange);
    color: white;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 0.9rem;
    transform: rotate(3deg);
    box-shadow: 2px 2px 0px #000;
}

.event-content {
    padding: var(--spacing-md);
}

/* Merch Section */
.merch-teaser {
    text-align: center;
    background: #1a1a1a;
    color: #fff;
    padding: 6rem 0;
    background-image: url('merch-bg.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.merch-teaser h2 {
    color: var(--accent-yellow);
}

.merch-list {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
}

.merch-item {
    background: #fff;
    color: #000;
    padding: 15px 30px;
    font-weight: 800;
    border: 4px solid #fff;
    /* Polaroid/Sticker border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

.merch-item:nth-child(even) {
    transform: rotate(3deg);
    background: var(--accent-yellow);
}

.merch-item:nth-child(3n) {
    transform: rotate(-4deg);
    background: var(--accent-orange);
    color: #fff;
}

.merch-item:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.contact-info {
    background: #fff;
    padding: var(--spacing-md);
    border: 3px solid #000;
    box-shadow: var(--shadow-hard);
}

.contact-info h3 {
    color: var(--accent-olive);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 3px solid #000;
    box-shadow: var(--shadow-hard);
    filter: grayscale(20%) contrast(1.1);
    /* Reduced filter for better visibility */
}

/* Footer */
footer {
    padding: 4rem 0 0 0;
    background: #000;
    color: #fff;
    margin-top: 0;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #999;
    font-size: 1rem;
    font-weight: 600;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-big-text {
    font-size: 18vw;
    /* Massive responsive text */
    font-weight: 800;
    line-height: 1;
    /* Increased from 0.8 to prevent cropping */
    text-align: center;
    color: #fff;
    letter-spacing: -5px;
    margin-bottom: 0;
    /* Removed negative margin */
    user-select: none;
    transform: scaleY(1.1);
    /* Stretch vertically like the reference */
    display: block;
    padding-bottom: 20px;
    /* Add padding to ensure bottom isn't cut off */
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    background: #000;
    position: relative;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: var(--transition);
        border-top: 3px solid #000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: block;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        margin: 0 var(--spacing-sm);
    }
}