/* ================================
   Y2K STYLES - Tema Mucura
   Cores terrosas e cinzas
   ================================ */

/* ================================
   HEADER STYLES
   ================================ */
.site-header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: var(--border-dashed);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.site-branding .site-title {
    font-family: var(--font-impact);
    font-size: 1.5rem;
    color: var(--mucura-cream);
    text-decoration: none;
}

/* Menu Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-menu a {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid transparent;
    transition: all 0.3s;
    color: var(--mucura-cream);
}

.nav-menu a:hover {
    border: 1px dashed var(--accent-warm);
    background: rgba(201, 168, 108, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-warm);
    transition: all 0.3s;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-xl);
    background: radial-gradient(ellipse at center, var(--bg-secondary) 0%, var(--bg-primary) 70%);
}

.hero-collage {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.collage-item {
    position: absolute;
    border: 3px solid var(--mucura-gray);
    box-shadow: 5px 5px 0 rgba(139, 129, 120, 0.3);
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.collage-1 { top: 10%; left: 5%; width: 120px; height: 120px; transform: rotate(-5deg); }
.collage-2 { top: 15%; right: 10%; width: 100px; height: 130px; transform: rotate(8deg); }
.collage-3 { bottom: 20%; left: 15%; width: 140px; height: 100px; transform: rotate(-3deg); }
.collage-4 { bottom: 25%; right: 8%; width: 80px; height: 80px; transform: rotate(5deg); }
.collage-5 { top: 45%; left: 8%; width: 70px; height: 70px; transform: rotate(-10deg); }

.mucura-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) sepia(10%);
}

.mucura-emoji {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-mucura-badge {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    animation: mucura-bounce 2s ease-in-out infinite;
}

@keyframes mucura-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: var(--space-md);
    animation: float 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-family: var(--font-pixel);
    font-size: clamp(0.6rem, 2vw, 0.9rem);
    color: var(--accent-warm);
    margin-bottom: var(--space-sm);
    letter-spacing: 3px;
}

.hero-tagline {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.hero-cta {
    margin-top: var(--space-lg);
}

/* Decorações Hero */
.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.star, .paw {
    position: absolute;
    font-size: 1.5rem;
    animation: twinkle 2s ease-in-out infinite;
    opacity: 0.6;
}

.star-1 { top: 20%; left: 25%; color: var(--accent-warm); animation-delay: 0s; }
.star-2 { top: 35%; right: 30%; color: var(--mucura-cream); animation-delay: 0.5s; }
.star-3 { bottom: 35%; left: 35%; color: var(--accent-cool); animation-delay: 1s; }
.paw-1 { bottom: 15%; right: 25%; animation-delay: 1.5s; opacity: 0.4; }
.paw-2 { top: 60%; left: 10%; animation-delay: 2s; opacity: 0.3; }

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* ================================
   SECTION STYLES
   ================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.section-desc {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: var(--space-xs);
}

.section-divider {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mucura-gray), transparent);
    margin: var(--space-md) auto 0;
}

/* ================================
   POLAROID GRID (Cinema)
   ================================ */
.polaroid-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    perspective: 1000px;
}

.card-polaroid {
    width: 220px;
    padding: 15px;
    padding-bottom: 60px;
    background: var(--mucura-cream);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.4),
        0 0 0 1px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-polaroid:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.5),
        0 0 20px var(--accent-warm);
}

.polaroid-image {
    width: 100%;
    height: 180px;
    background: var(--mucura-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-emoji {
    font-size: 4rem;
}

.card-polaroid .caption {
    font-family: var(--font-body);
    color: var(--mucura-dark);
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
}

/* ================================
   STICKER GRID (Esporte)
   ================================ */
.section-esporte {
    background: linear-gradient(180deg, transparent 0%, rgba(42, 37, 32, 0.5) 50%, transparent 100%);
}

.sticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.sticker-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 3px solid var(--accent-cool);
    padding: 0;
    overflow: hidden;
}

.sticker-card:hover {
    border-color: var(--accent-warm);
    box-shadow: 0 0 20px rgba(201, 168, 108, 0.3);
}

.sticker-image {
    height: 150px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticker-info {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    border-top: 2px dashed var(--accent-cool);
}

.sticker-number {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    color: var(--accent-warm);
}

.sticker-name {
    font-family: var(--font-impact);
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--mucura-cream);
}

/* ================================
   CORK BOARD (Cultura)
   ================================ */
.cork-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: 
        linear-gradient(90deg, rgba(92, 77, 61, 0.4) 0%, rgba(92, 77, 61, 0.2) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(92, 77, 61, 0.1) 2px,
            rgba(92, 77, 61, 0.1) 4px
        );
    border: 8px solid var(--mucura-brown);
    border-radius: 4px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.4);
}

.pinned-item {
    position: relative;
    transition: transform 0.3s;
}

.pinned-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}

.pin {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, var(--mucura-pink), var(--accent-pink));
    border-radius: 50%;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
    z-index: 1;
}

.note {
    background: #f5ecd7;
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.note-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.note p {
    font-family: var(--font-body);
    color: var(--mucura-dark);
    font-size: 0.9rem;
}

/* ================================
   ABOUT SECTION
   ================================ */
.section-about {
    background: linear-gradient(180deg, transparent 0%, rgba(42, 37, 32, 0.3) 50%, transparent 100%);
}

.about-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-xl);
}

.about-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.about-content p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.about-content strong {
    color: var(--mucura-cream);
}

.about-quote {
    font-style: italic;
    color: var(--accent-warm);
    padding: var(--space-md);
    border-left: 3px solid var(--accent-warm);
    text-align: left;
    margin-top: var(--space-lg);
    background: rgba(0,0,0,0.2);
}

/* ================================
   POSTS GRID
   ================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.post-thumbnail {
    height: 180px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    filter: grayscale(20%);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.placeholder-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.5;
}

.post-content {
    padding: var(--space-md);
}

.post-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.post-title a {
    color: var(--mucura-cream);
}

.post-title a:hover {
    color: var(--accent-warm);
}

.post-meta {
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.post-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xl);
    border: var(--border-dashed);
}

.no-posts-mucura {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    animation: mucura-bounce 2s ease-in-out infinite;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ================================
   FOOTER STYLES
   ================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 3px solid var(--mucura-brown);
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-counter {
    margin-bottom: var(--space-lg);
}

.counter-box {
    display: inline-block;
    background: var(--bg-primary);
    border: 3px inset var(--mucura-gray);
    padding: var(--space-sm) var(--space-md);
    font-family: "Courier New", monospace;
}

.counter-label {
    color: var(--accent-cool);
    font-size: 0.8rem;
    margin-right: var(--space-sm);
}

.counter-digits {
    color: var(--accent-warm);
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px var(--accent-warm);
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    list-style: none;
    margin-bottom: var(--space-lg);
}

.footer-menu a {
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--mucura-cream);
}

.footer-info {
    margin-bottom: var(--space-lg);
}

.footer-y2k {
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-y2k p {
    margin: var(--space-xs) 0;
}

.footer-guestbook {
    margin-top: var(--space-lg);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: var(--space-md);
        border-bottom: var(--border-main);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .collage-item {
        display: none;
    }
    
    .collage-1, .collage-4 {
        display: block;
        width: 60px !important;
        height: 60px !important;
    }
    
    .hero-mucura-badge {
        font-size: 3rem;
    }
    
    .polaroid-grid {
        gap: var(--space-md);
    }
    
    .card-polaroid {
        width: 160px;
    }
    
    .cork-board {
        padding: var(--space-md);
    }
    
    .footer-menu {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
