/**
 * Classic Clean Theme
 *
 * Elegant and refined - light, sophisticated design with serif typography,
 * sharp edges, and timeless minimalism. Perfect for classical musicians,
 * jazz artists, acoustic performers, and professional portfolios.
 *
 * Design Philosophy:
 * - Light, airy color palette with subtle grays
 * - Refined serif typography
 * - Minimal, elegant animations
 * - Sharp, clean edges
 * - Sophisticated, professional aesthetic
 */

/* ============================================
   Theme Variables & Enhancements
   ============================================ */

:root {
    /* Refined color palette */
    --classic-blue: #1D4ED8;
    --deep-charcoal: #1A1A1A;
    --soft-gray: #737373;
    --elegant-border: #E5E7EB;

    /* Refined shadows */
    --elegant-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --elegant-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Body & Background Enhancements
   ============================================ */

body {
    position: relative;
    /* Subtle texture for sophistication */
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Refined vignette */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.02) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   Typography Enhancements
   ============================================ */

h1, h2, h3 {
    position: relative;
    letter-spacing: -0.02em;
}

/* Elegant underline for h2 */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--classic-blue);
    margin: 1rem auto 0;
}

section h2::after {
    margin-left: 0;
    margin-right: auto;
}

/* Refined heading hierarchy */
h1 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Button Enhancements
   ============================================ */

button, .btn, a.button {
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Subtle shine on hover */
button::before, .btn::before, a.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

button:hover::before,
.btn:hover::before,
a.button:hover::before {
    left: 100%;
}

button:hover, .btn:hover, a.button:hover {
    transform: translateY(-1px);
    box-shadow: var(--elegant-shadow-hover);
}

/* Primary button elegant styling */
button[style*="background"],
.btn-primary {
    box-shadow: var(--elegant-shadow);
}

button[style*="background"]:hover,
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.2);
}

/* ============================================
   Card & Content Block Enhancements
   ============================================ */

.card, .content-block {
    background: var(--color-surface, #FFFFFF);
    border: 1px solid var(--elegant-border);
    transition: all 0.25s ease;
    box-shadow: var(--elegant-shadow);
}

.card:hover, .content-block:hover {
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: var(--elegant-shadow-hover);
    transform: translateY(-2px);
}

/* ============================================
   Navigation Enhancements
   ============================================ */

nav, .header {
    background: var(--header-background);
    border-bottom: 1px solid var(--elegant-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

nav a, .menu-item {
    position: relative;
    transition: all 0.2s ease;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Refined underline on hover */
nav a::after, .menu-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--classic-blue);
    transition: width 0.25s ease;
}

nav a:hover::after, .menu-item:hover::after {
    width: 100%;
}

nav a:hover, .menu-item:hover {
    color: var(--classic-blue);
}

/* ============================================
   Hero Section Enhancements
   ============================================ */

.hero, section[class*="hero"] {
    position: relative;
}

/* Subtle gradient overlay */
.hero:not(:has(> div[class*="absolute"][class*="inset-0"]))::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Only target content container, not background image */
.hero > .relative {
    z-index: 10;
}

/* ============================================
   Section Enhancements
   ============================================ */

section {
    position: relative;
}

/* Refined divider between sections */
section + section {
    border-top: 1px solid var(--elegant-border);
}

/* ============================================
   Music Player Integration
   ============================================ */

.music-player,
#amplitude-player {
    background: var(--card-background);
    border: 1px solid var(--elegant-border);
    box-shadow: var(--elegant-shadow);
}

/* Album art refined border */
.album-art img,
[data-amplitude-song-info="cover_art_url"] {
    border: 1px solid var(--elegant-border);
    box-shadow: var(--elegant-shadow);
    transition: all 0.25s ease;
}

.album-art:hover img {
    box-shadow: var(--elegant-shadow-hover);
}

/* Play button classic styling */
.amplitude-play-pause,
button[class*="play"] {
    box-shadow: var(--elegant-shadow);
    transition: all 0.25s ease;
}

.amplitude-play-pause:hover {
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.2);
    transform: scale(1.05);
}

/* ============================================
   Form Elements
   ============================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    border: 1px solid var(--elegant-border);
    background: #FFFFFF;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--classic-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
    outline: none;
}

/* ============================================
   Footer Enhancements
   ============================================ */

footer {
    background: var(--footer-background);
    border-top: 1px solid var(--elegant-border);
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
}

footer .social-links a {
    transition: all 0.2s ease;
}

footer .social-links a:hover {
    color: var(--classic-blue);
    transform: translateY(-1px);
}

/* ============================================
   Image Treatments
   ============================================ */

img {
    transition: all 0.25s ease;
}

/* Subtle enhancement */
img:not([class*="logo"]):not([class*="icon"]) {
    filter: contrast(1.02) brightness(0.99);
}

img:hover {
    filter: contrast(1.05) brightness(1);
}

/* Gallery images */
.gallery img,
[class*="gallery"] img {
    border: 1px solid var(--elegant-border);
    box-shadow: var(--elegant-shadow);
}

.gallery img:hover {
    box-shadow: var(--elegant-shadow-hover);
}

/* ============================================
   Decorative Elements
   ============================================ */

/* Refined dividers */
.divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--elegant-border) 50%,
        transparent 100%);
    margin: 2rem 0;
}

/* Elegant blockquotes */
blockquote {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--classic-blue);
    font-style: italic;
}

blockquote::before {
    content: '\201C';
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--classic-blue);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
    /* Simplify effects on mobile */
    .card:hover, .content-block:hover {
        transform: none;
    }

    button:hover, .btn:hover, a.button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Disable all animations for accessibility */
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
