/* 
   The Kalk - Site Oficial
   Estilo Modernizado e Responsivo - VERSÃO CORRIGIDA (SEM CORTES NA LOJA)
*/

:root {
    --primary-color: #ffffff;
    --secondary-color: #888888;
    --accent-color: #ff0000;
    --bg-dark: #000000;
    --bg-light: #111111;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .nav-links a {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 100px 0;
}

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
    border-bottom: 1px solid #222;
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/images/WhatsApp Image 2026-04-09 at 16.34.51 (1).jpeg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}

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

.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 20px); }
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.band-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.image-wrapper {
    position: relative;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    z-index: -1;
}

.image-wrapper img {
    filter: grayscale(100%);
    transition: var(--transition);
}

.image-wrapper:hover img {
    filter: grayscale(0%);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.8s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Release Section */
.release {
    background: var(--bg-light);
}

.release-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-dark);
    border: 1px solid #222;
}

.release-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    margin-bottom: 20px;
}

.release-info h3 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.release-info .status {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.release-info .description {
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Shop Section - CORREÇÃO DEFINITIVA */
.shop-content {
    display: flex;
    justify-content: center;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    max-width: 100%; /* Permite ocupar a largura do container */
    width: 100%;
    border: 1px solid #222;
    transition: var(--transition);
    margin: 0 auto;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.product-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.product-image img {
    width: 100%;
    height: auto; /* Mantém a proporção original da imagem larga */
    display: block;
    transition: var(--transition);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 2;
}

.product-info {
    padding: 40px;
    text-align: center; /* Centraliza as informações abaixo da imagem larga */
}

.product-info h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: 'Oswald', sans-serif;
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

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

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-light);
    border: 1px solid #333;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

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

.contact-info-card {
    background: var(--bg-light);
    padding: 40px;
    height: 100%;
    border: 1px solid #222;
}

.contact-info-card h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.info-item i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin: 0 auto 30px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 1s ease-out;
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsividade */
@media (max-width: 992px) {
    .about-content, 
    .release-container, 
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-wrapper::after {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .release-info, .product-info {
        padding: 30px;
    }
    
    .release-info h3 {
        font-size: 2.5rem;
    }
}

/* Mobile Nav */
.nav-active {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    background: var(--bg-dark);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.nav-active li {
    margin: 20px 0;
}

.nav-active li a {
    font-size: 1.5rem;
}

.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }


/* Enhanced Music Player */
.music-player-enhanced {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-bottom: 2px solid #1DB954;
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.15);
    animation: playerSlideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes playerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.player-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 50px;
}

.player-track-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 160px;
}

.track-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1DB954;
    font-weight: 700;
}

.track-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin: 0;
    font-family: 'Oswald', sans-serif;
}

.player-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1DB954;
    border: none;
    color: #000;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.player-play-btn:hover {
    background: #1ed760;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(29, 185, 84, 0.4);
}

.player-play-btn:active {
    transform: scale(0.95);
}

.player-progress-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.player-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
}

.player-progress-bar {
    height: 100%;
    background: #1DB954;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(29, 185, 84, 0.5);
}

.player-progress-input {
    position: absolute;
    width: 100%;
    height: 4px;
    cursor: pointer;
    opacity: 0;
    z-index: 5;
}

.player-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    min-width: 36px;
    text-align: right;
}

.player-close-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.player-close-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.player-close-btn:active {
    transform: scale(0.9);
}

.music-player-enhanced.hidden {
    animation: playerSlideUp 0.4s ease-out forwards;
}

@keyframes playerSlideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 1024px) {
    .player-wrapper {
        gap: 12px;
        padding: 8px 15px;
        height: 46px;
    }

    .player-track-info {
        min-width: 140px;
    }

    .track-title {
        font-size: 0.9rem;
    }

    .player-play-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .music-player-enhanced {
        top: 70px;
    }

    .player-wrapper {
        gap: 10px;
        padding: 8px 12px;
        height: 44px;
    }

    .player-track-info {
        min-width: 120px;
    }

    .track-label {
        font-size: 0.6rem;
    }

    .track-title {
        font-size: 0.85rem;
    }

    .player-play-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .player-progress-section {
        min-width: 150px;
    }

    .player-time {
        font-size: 0.7rem;
        min-width: 32px;
    }

    .player-close-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .player-wrapper {
        gap: 8px;
        padding: 6px 10px;
        height: 40px;
    }

    .player-track-info {
        min-width: 100px;
    }

    .track-label {
        font-size: 0.55rem;
    }

    .track-title {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .player-play-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .player-progress-section {
        min-width: 100px;
    }

    .player-time {
        font-size: 0.65rem;
        min-width: 28px;
    }

    .player-close-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}
