:root {
    --cream: #f5f1e8;
    --dark: #1a1612;
    --dark-bg: #1a1a1a;
    --orange: #ff6b35;
    --warm-gray: #8b7f74;
    --accent: #d4a574;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--dark-bg);
    color: var(--cream);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: background 0.5s ease;
}

.hero nav {
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--cream);
    animation: fadeInDown 0.8s ease-out;
    background: linear-gradient(to right, var(--orange) 50%, var(--cream) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.3s ease;
}

.logo-text:hover {
    background-position: 0 0;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links li {
    animation: fadeInDown 0.8s ease-out;
    animation-fill-mode: both;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }

.nav-links a {
    text-decoration: none;
    color: var(--cream);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

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

/* Page load animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Vinyl Record Container */
.vinyl-setup {
    position: relative;
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.record-container {
    position: relative;
    width: 184vmin;
    height: 184vmin;
    max-width: 4500px;
    max-height: 4500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 1.2s ease-out 0.3s both;
}

.spinning-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
}

/* Tonearm */
.tonearm {
    position: absolute;
    left: 78%;
    top: 58%;
    width: 12.5%;
    aspect-ratio: 23 / 27;
    z-index: 10;
    animation: fadeIn 1s ease-out 1s both;
}

.tonearm-base {
    position: absolute;
    right: 0;
    top: 0;
    width: 25%;
    height: 25%;
    aspect-ratio: 1;
    background: #2a2a2a;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.tonearm-base::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48%;
    height: 48%;
    background: #444;
    border-radius: 50%;
}

.tonearm-arm {
    position: absolute;
    right: 12.6%;
    top: 10.7%;
    width: 80.4%;
    aspect-ratio: 18.5 / 0.8;
    background: linear-gradient(90deg, #1a1a1a 0%, #3a3a3a 100%);
    transform-origin: right center;
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.4);
    transition: transform 0.2s ease-out;
}

.tonearm-head {
    position: absolute;
    left: -11.4%;
    top: -125%;
    width: 15.1%;
    aspect-ratio: 1;
    background: #1a1a1a;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.tonearm-needle {
    position: absolute;
    left: -43%;
    bottom: -61%;
    width: 7%;
    aspect-ratio: 0.2 / 2.8;
    background: linear-gradient(180deg, #555 0%, #888 100%);
    transform: rotate(-10deg);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 8rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-content {
    max-width: 1200px;
    width: 100%;
}

h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--cream);
    line-height: 0.9;
    cursor: default;
    background: linear-gradient(to right, var(--orange) 50%, var(--cream) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s ease;
}

h2:hover {
    background-position: 0 0;
}

h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--orange);
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c4b8ad;
    max-width: 700px;
}

/* About Section */
#about {
    background: #141414;
}

#about h2 {
    background: linear-gradient(to right, var(--orange) 50%, var(--cream) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s ease;
}

#about h2:hover {
    background-position: 0 0;
}

#about p {
    color: rgba(245,241,232,0.8);
}

/* Releases Section */
#releases {
    background: #222222;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.release-card {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.release-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    border-color: var(--orange);
}

.release-card:hover h4 {
    color: var(--orange);
}

.release-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--cream);
    transition: color 0.3s ease;
}

.release-card .artist {
    font-size: 0.9rem;
    color: var(--orange);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.release-card p {
    color: #c4b8ad;
}

/* Artists Section */
#artists {
    background: #2a2a2a;
}

.artists-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.artist-tag {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--cream);
    transition: all 0.3s;
    cursor: pointer;
}

.artist-tag:hover {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
    transform: rotate(-2deg);
}

.artist-profile {
    background: rgba(0,0,0,0.3);
    padding: 3rem;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.artist-profile h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.08em;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.artist-profile .genre {
    font-size: 0.9rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.artist-profile p {
    color: #c4b8ad;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.artist-profile a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.artist-profile a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--orange);
    transition: width 0.4s ease;
    z-index: -1;
}

.artist-profile a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.artist-profile a:hover::before {
    width: 100%;
}

/* Contact Section */
#contact {
    background: #161616;
}

#contact h2 {
    background: linear-gradient(to right, var(--orange) 50%, var(--cream) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s ease;
}

#contact h2:hover {
    background-position: 0 0;
}

.contact-info {
    margin-top: 3rem;
}

.contact-info a {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--cream);
    text-decoration: none;
    margin: 1rem 0;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.4s ease;
}

.contact-info a:hover {
    color: var(--orange);
}

.contact-info a:hover::after {
    width: 100%;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    padding: 3rem 4rem;
    text-align: center;
    background: #0a0a0a;
    color: var(--warm-gray);
    font-size: 0.9rem;
}

/* Decorative Elements */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Responsive */

/* Tablet and below */
@media (max-width: 1024px) {
    h2 {
        font-size: 4.5rem;
    }
    
    .artist-profile {
        padding: 2rem;
    }
    
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet portrait and mobile landscape */
@media (max-width: 768px) {
    nav {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }

    h2 {
        font-size: 3.5rem;
        letter-spacing: 0.05em;
    }
    
    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 4rem 2rem;
        min-height: auto;
    }

    .releases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .release-card {
        padding: 1.5rem;
    }
    
    .artist-profile {
        padding: 2rem;
    }
    
    .artist-profile h3 {
        font-size: 2.5rem;
    }
    
    .contact-info a {
        font-size: 1.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Disable page load animations for nav items on mobile */
    .nav-links li {
        animation: none;
    }

    /* Hide default nav links on mobile, show as slide-out */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 100;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 1rem;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
    }

    /* Show overlay when menu is open */
    .mobile-menu-overlay {
        display: block;
    }
    
    /* Hero adjustments */
    .hero {
        min-height: 70vh;
    }
    
    /* Hide tonearm on very small screens */
    .tonearm {
        display: none;
    }
    
    /* Typography */
    h2 {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Sections */
    section {
        padding: 3rem 1.5rem;
    }
    
    /* Release cards */
    .release-card {
        padding: 1.5rem;
    }
    
    .release-card h4 {
        font-size: 1.5rem;
    }
    
    /* Artist profile */
    .artist-profile {
        padding: 1.5rem;
    }
    
    .artist-profile h3 {
        font-size: 2rem;
    }
    
    .artist-profile .genre {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .artist-profile p {
        margin-bottom: 1rem;
    }
    
    .artist-profile a {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }
    
    /* Contact */
    .contact-info a {
        font-size: 1.1rem;
        display: block;
        margin-bottom: 1rem;
    }
    
    .contact-info div {
        margin-bottom: 2rem;
    }
    
    .contact-label {
        font-size: 0.75rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-links a {
        font-size: 0.65rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 60vh;
    }
}
