/* HYPE RECORDS - Estilos principales */

/* Variables globales */
:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-primary: #FFD700;
    --color-secondary: #1E90FF;
    --color-text: #ffffff;
    --color-text-alt: #cccccc;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --glow: 0 0 10px rgba(255, 215, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
    --glow-cyan: 0 0 10px rgba(30, 144, 255, 0.7), 0 0 20px rgba(30, 144, 255, 0.5), 0 0 30px rgba(30, 144, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

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

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    text-align: center;
}

.logo-text {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite alternate;
}

.logo-container .logo-img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--glow);
    animation: pulse 1.5s infinite alternate;
}

.logo-text span {
    color: var(--color-primary);
    text-shadow: var(--glow);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo .logo-img {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
    border-radius: 4px;
}

/* Estilos responsivos para el logo */
@media (max-width: 768px) {
    .logo .logo-img {
        max-height: 40px;
    }
    
    .footer-logo .logo-img {
        max-width: 120px;
    }
    
    .logo-container .logo-img {
        max-width: 200px;
    }
}

.logo h2 span {
    color: var(--color-primary);
    text-shadow: var(--glow);
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--color-bg) 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="0" y="0"/></svg>');
    opacity: 0.3;
}

.hero-content {
    width: 50%;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    position: relative;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--color-primary);
    z-index: -1;
    animation: glitch-effect 3s infinite alternate-reverse;
}

.glitch::after {
    color: var(--color-secondary);
    z-index: -2;
    animation: glitch-effect 2s infinite alternate-reverse;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-secondary);
}

.highlight {
    color: var(--color-primary);
    font-weight: 600;
    text-shadow: var(--glow);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.primary-btn {
    background: linear-gradient(45deg, var(--color-primary), #b300b3);
    color: var(--color-text);
    box-shadow: var(--glow);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(255, 0, 255, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-secondary);
    box-shadow: var(--glow-cyan);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 255, 255, 0.4);
}

.hero-visual {
    width: 40%;
    position: relative;
    z-index: 1;
}

.circle-effect {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    filter: blur(30px);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.waveform {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100px;
    background: url('../assets/images/waveform.svg') center/contain no-repeat;
    animation: pulse 2s infinite alternate;
}

/* Stories Section */
.stories-section {
    padding: 5rem 5%;
    background-color: var(--color-bg-alt);
}

.stories-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.story-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 2px solid var(--color-primary);
    padding: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-avatar:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.story p {
    font-size: 0.9rem;
    color: var(--color-text-alt);
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-alt);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
    text-shadow: var(--glow);
}

.label {
    font-size: 1rem;
    color: var(--color-text-alt);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    z-index: -1;
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--glow);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 5%;
    background-color: var(--color-bg-alt);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: var(--transition);
}

.overlay p {
    color: var(--color-text);
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    bottom: 0;
}

/* Sounds Section */
.sounds-section {
    padding: 5rem 5%;
}

.sound-pads {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sound-pad {
    text-align: center;
    cursor: pointer;
}

.pad-visual {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    background: linear-gradient(45deg, #330033, #000033);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pad-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, var(--color-primary), transparent 70%);
    opacity: 0.3;
    transition: var(--transition);
}

.sound-pad:hover .pad-visual {
    box-shadow: var(--glow);
}

.sound-pad:hover .pad-visual::before {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.2);
}

.sound-pad.active .pad-visual {
    box-shadow: var(--glow);
    transform: scale(0.95);
}

.sound-pad p {
    font-weight: 600;
    color: var(--color-text-alt);
}

.spotify-section {
    margin-top: 4rem;
}

.spotify-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--color-text);
}

.spotify-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    background-color: var(--color-bg-alt);
}

.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--color-text);
    font-family: var(--font-primary);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    padding: 0.8rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.link-group ul li {
    margin-bottom: 0.5rem;
}

.link-group ul li a {
    color: var(--color-text-alt);
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-alt);
    font-size: 0.9rem;
}

/* Animaciones */
@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes glitch-effect {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-content {
        width: 60%;
    }
    
    .hero-visual {
        width: 35%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-content, .about-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-bg);
        padding: 5rem 2rem;
        transition: var(--transition);
        z-index: 99;
    }
    
    nav.active {
        right: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1.5rem 0;
    }
    
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 5rem;
    }
    
    .hero-content, .hero-visual {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .stories-container {
        gap: 1rem;
    }
    
    .story-avatar {
        width: 60px;
        height: 60px;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .sound-pads {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}