/*
 * Shattered Tear Music
 * From Riff to Release
 *
 * Design concept: The halftone dot pattern from the logo becomes
 * a recurring visual motif. The "shattered" theme manifests in
 * angular cuts, fragmented layouts, and scattered elements.
 */

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - from the logo */
    --cyan: #22d3ee;
    --cyan-dark: #0891b2;
    --cyan-glow: rgba(34, 211, 238, 0.4);
    --amber: #fbbf24;
    --amber-dark: #d97706;
    --amber-glow: rgba(251, 191, 36, 0.4);

    /* Neutrals */
    --bg-dark: #0c0c0c;
    --bg-card: #141414;
    --bg-elevated: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-muted: #525252;

    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --section-pad: clamp(4rem, 10vw, 8rem);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--amber));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Halftone dot pattern background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, var(--cyan) 1px, transparent 1px),
        radial-gradient(circle at 2px 2px, var(--amber) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    background-position: 0 0, 20px 20px;
    opacity: 0.03;
    animation: dotDrift 30s linear infinite;
}

@keyframes dotDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

/* Gradient orbs */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, var(--cyan-glow), transparent 50%),
        radial-gradient(ellipse 50% 60% at 80% 70%, var(--amber-glow), transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    max-width: 400px;
    width: 80%;
    margin-bottom: 2rem;
    animation: fadeUp 1s ease-out;
    filter: drop-shadow(0 0 30px var(--cyan-glow));
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: fadeUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    animation: fadeUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease-out 0.6s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    color: var(--bg-dark);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--cyan-glow);
}

.btn-outline {
    position: relative;
    background: transparent;
    color: var(--amber);
    border: none;
    z-index: 1;
}

/* Outer shape - the "border" */
.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--amber);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    z-index: -2;
    transition: all 0.3s ease;
}

/* Inner cutout - creates the "hollow" effect */
.btn-outline::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-dark);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    color: var(--bg-dark);
}

.btn-outline:hover::after {
    background: var(--amber);
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
}

/* ===== Sections ===== */
.section {
    padding: var(--section-pad) 2rem;
    position: relative;
}

.section-alt {
    background: var(--bg-card);
}

/* Angled section divider */
.section-alt::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-card);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--amber);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-elevated);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Angular cut on cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--cyan), var(--amber));
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cyan-glow), transparent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--cyan);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, var(--amber-glow), transparent);
    color: var(--amber);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Artists Section ===== */
.artists-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.artist-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-card);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Alternating layout */
.artist-feature:nth-child(even) {
    direction: rtl;
}

.artist-feature:nth-child(even) > * {
    direction: ltr;
}

/* Accent border */
.artist-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--cyan), var(--amber));
}

.artist-feature:nth-child(even)::before {
    left: auto;
    right: 0;
}

.artist-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.artist-genre {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.artist-services {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.service-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.artist-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.artist-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--amber);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.artist-link:hover {
    color: var(--amber-dark);
}

.artist-player {
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 200px;
    background: var(--bg-elevated);
    border: 1px dashed var(--text-muted);
    color: var(--text-muted);
}

.player-placeholder i {
    font-size: 2rem;
}

.player-placeholder span {
    font-size: 0.875rem;
}

/* ===== About Section ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 400px;
}

/* Halftone pattern visual element */
.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 3px 3px, var(--cyan) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}

.about-visual::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--amber);
    opacity: 0.3;
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-content p:first-of-type {
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* ===== Contact Section ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    color: var(--cyan);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item span,
.contact-item a {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.contact-item a:hover {
    color: var(--cyan);
}

/* ===== Contact Form ===== */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--text-muted);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a3a3a3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.contact-visual {
    position: relative;
}

.contact-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 3px 3px, var(--amber) 2px, transparent 2px);
    background-size: 25px 25px;
    opacity: 0.15;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--text-muted);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 1rem;
    opacity: 0.8;
}

.footer-tagline {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-address {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .artist-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .artist-feature:nth-child(even) {
        direction: ltr;
    }

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid var(--text-muted);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .artists-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        max-width: 280px;
    }
}

/* ===== Anti-spam ===== */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===== Utility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
