/* Reset some basic elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Font Declaration */
@font-face {
    font-family: 'Coolvetica Rg';
    src: url('fonts/Coolvetica Rg.woff2') format('woff2'),
         url('fonts/Coolvetica Rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pragmatica';
    src: url('fonts/pragmatica.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Grotesk_Bold';
    src: url('fonts/grotesk_bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Coolvetica Rg', Arial, sans-serif;
    line-height: 1.6;
    background-color: black;
    color: white;
    overflow-x: hidden;
}

body:not(.loaded) header,
body:not(.loaded) .hero .hero-tagline,
body:not(.loaded) .hero .explore-btn,
body:not(.loaded) main .section,
body:not(.loaded) footer {
    opacity: 0;
}

body.loaded header,
body.loaded .hero .hero-tagline,
body.loaded .hero .explore-btn,
body.loaded main .section,
body.loaded footer {
    animation: fadeIn 1s ease-in forwards;
}

header {
    background: black;
    color: white;
    padding: 1rem 2rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin-right: 2rem;
}

header nav {
    display: flex;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    box-sizing: border-box;
    transform-origin: center;
    animation: none;
}

nav a:hover::before {
    animation: drawBorder 0.3s ease forwards;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-media a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #ccc;
}

.hero {
    position: relative;
    height: 100vh;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    margin-top: 10vh;
    animation: fadeInLogo 2s ease-in forwards;
}

.hero-tagline {
    font-size: 1.0rem;
    margin: 1rem 0;
    font-family: 'Pragmatica', 'Coolvetica Rg', Arial, sans-serif;
    overflow: hidden;
    white-space: nowrap;
}

.waveform {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1));
    animation: pulse 2s infinite;
}

.section {
    padding: 4rem 2rem;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Grotesk_Bold', 'Coolvetica Rg', Arial, sans-serif;
}

#about p {
    font-family: 'Grotesk_Bold', 'Coolvetica Rg', Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

.genre-icons span {
    margin: 0 0.5rem;
    font-size: 1.1rem;
}

.release-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.release-item {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
    width: 200px;
}

.release-cover {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.play-btn {
    display: block;
    margin-top: 0.5rem;
    background: white;
    color: black;
    padding: 0.5rem;
    text-decoration: none;
    border-radius: 4px;
}

.play-btn:hover {
    background: #ccc;
}

#contact-form, #submission-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

#contact-form input, #contact-form textarea, #submission-form input {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #1a1a1a;
    color: white;
}

#contact-form button, #submission-form button {
    background: white;
    color: black;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#contact-form button:hover, #submission-form button:hover {
    background: #ccc;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.social-links a:hover {
    color: #ccc;
}

footer {
    text-align: center;
    padding: 1rem;
    background: black;
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLogo {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
    100% { transform: scaleY(1); }
}

@keyframes drawBorder {
    from {
        clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    to {
        border: 1px solid white;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    header h1 {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        padding: 0.5rem 1rem;
    }

    .social-media {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero {
        height: 70vh;
    }

    .hero-logo {
        max-width: 200px;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .release-item {
        width: 100%;
    }
}