/* --- RESET & BASIC STYLES --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    /* This removes the blue tap highlight on mobile */
    -webkit-tap-highlight-color: transparent; 
}

body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; padding: 20px; padding-bottom: 80px; }
ul { list-style: none; }
a { text-decoration: none; color: black; cursor: pointer; }

/* HEADER */
header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 2px solid #000; margin-bottom: 20px; }
.logo { font-weight: bold; font-size: 1.2rem; letter-spacing: 1px; }
.main-nav ul { display: flex; gap: 20px; }
.main-nav a:hover { text-decoration: underline; }

/* TRANSITIONS */
.fade-element { 
    transition: opacity 0.25s ease-in-out; 
    opacity: 1; 
    
    /* MOBILE OPTIMIZATIONS: Forces GPU rendering */
    will-change: opacity;
    transform: translateZ(0);
}
.hidden { display: none !important; opacity: 0; }

/* GRID VIEW */
.filter-bar { display: flex; justify-content: space-between; margin-bottom: 40px; }
.filter-links { display: flex; gap: 15px; font-weight: bold; text-transform: uppercase; font-size: 0.8rem; }
.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px; row-gap: 60px; }
.release-item { display: flex; flex-direction: column; gap: 12px; }

/* ARTWORK */
.artwork-container { width: 100%; aspect-ratio: 1 / 1; background-color: #eee; cursor: pointer; overflow: hidden; }
.artwork-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.artwork-container:hover .artwork-img { transform: scale(1.02); }
.release-info { display: flex; justify-content: space-between; align-items: baseline; }
.release-title { font-weight: bold; font-size: 0.9rem; }
.release-type { font-size: 0.6rem; text-transform: uppercase; border: 1px solid #000; padding: 2px 4px; }

/* DETAIL & SERVICES VIEWS */
.view-container { max-width: 1000px; margin: 0 auto; padding-top: 20px; }
.detail-view { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }

/* INTERACTIVE TRACK LIST STYLES */
.track-item { 
    padding: 10px 0; 
    border-bottom: 1px solid #eee; 
    cursor: pointer; 
    transition: padding-left 0.2s ease, background-color 0.2s; 
}
/* Only show hover background on devices that support hover (not mobile) to avoid "sticky" hover states */
@media (hover: hover) {
    .track-item:hover { background-color: #fafafa; }
}

.active-track { 
    font-weight: bold; 
    padding-left: 10px; 
    border-left: 3px solid #000; 
}

/* CONTACT VIEW */
.contact-view { max-width: 600px; margin: 0 auto; padding-top: 40px; text-align: center; }
.contact-view h1 { margin-bottom: 20px; font-size: 2rem; }

/* BUTTONS */
.back-btn { display: inline-block; margin-bottom: 20px; font-weight: bold; text-transform: uppercase; font-size: 0.7rem; }
.buy-btn { display: inline-block; margin-top: 20px; padding: 10px 20px; border: 1px solid #000; font-weight: bold; text-transform: uppercase; font-size: 0.8rem; }
.buy-btn:hover { background: #000; color: #fff; }

/* SERVICES SPECIFIC */
.investment-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }
.investment-box { text-align: left; border-top: 1px solid #000; padding-top: 20px; display: flex; flex-direction: column; justify-content: space-between; }

.purchase-link { 
    display: inline-block; 
    margin-top: 20px; 
    padding: 15px; 
    background: #000; 
    color: #fff; 
    text-align: center; 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1px;
}
.purchase-link:hover { opacity: 0.8; }

.service-footer { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; text-align: center; }

/* STUDIO IMAGE - BANNER STYLE */
.studio-hero {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .detail-view, .investment-section { grid-template-columns: 1fr; }
    .studio-hero { height: 200px; }
}