/* ===================================
   Daniel Ketchum - Pianist & Composer
   Main Stylesheet
   =================================== */

/* CSS Variables */
:root {
    /* Color Palette - Muted Blues & Warm Golds */
    --color-primary: #2a4872;        /* Deep muted blue - enriched */        /* Deep muted blue */
    --color-primary-light: #4e7a9e;  /* Lighter blue - brighter */  /* Lighter blue */
    --color-primary-dark: #162f4d;   /* Darker blue - deeper */   /* Darker blue */
    --color-secondary: #d4a843;      /* Warm gold - richer & more vibrant */      /* Warm gold */
    --color-secondary-light: #e2c36a; /* Light gold - warmer */ /* Light gold */
    --color-secondary-dark: #b8912e; /* Dark gold - deeper */ /* Dark gold */
    --color-ivory: #f9f6f1;          /* Warm ivory - slightly warmer */          /* Warm ivory */
    --color-cream: #fdfbf8;          /* Light cream - cleaner */          /* Light cream */
    --color-white: #ffffff;
    --color-text: #1e272e;           /* Dark text - stronger contrast */           /* Dark text */
    --color-text-light: #556270;     /* Light text - better readability */     /* Light text */
    --color-text-muted: #8395a7;     /* Muted text - warmer tone */     /* Muted text */

    /* Typography */
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-body: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary-dark);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
    color: var(--color-white);
    border-color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.btn-primary:hover {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 1.25rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color var(--transition-normal);
    letter-spacing: 0.02em;
}

.navbar.scrolled .logo-text {
    color: var(--color-primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--color-secondary);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    position: relative;
    transition: background-color var(--transition-fast);
}

.navbar.scrolled .hamburger {
    background-color: var(--color-primary-dark);
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: inherit;
    transition: transform var(--transition-normal);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 58, 92, 0.7) 0%,
        rgba(44, 74, 110, 0.6) 50%,
        rgba(26, 58, 92, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-md);
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-secondary-light);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-light));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.15rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Featured Music / Video Carousel */
.featured-music {
    background-color: var(--color-white);
}

.video-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    display: none;
    text-align: center;
}

.video-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.video-description {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.video-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.video-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-nav-btn.active,
.video-nav-btn:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Streaming Platforms */
.streaming-section {
    background-color: var(--color-ivory);
}

.streaming-platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    min-width: 120px;
}

.platform-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--color-secondary);
}

.platform-link i {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.platform-link:hover i {
    color: var(--color-secondary);
}

.platform-link span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Releases Section */
.releases-section {
    background-color: var(--color-white);
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.release-card {
    background-color: var(--color-cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.release-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.release-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.release-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.release-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.release-info {
    padding: 1.5rem;
}

.release-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.release-year {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.release-description {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: var(--spacing-xl) 0;
}

.featured-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.featured-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--color-white);
    line-height: 1.9;
    letter-spacing: 0.01em;
    font-weight: 400;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--color-ivory);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 0.75rem;
}

.newsletter-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--color-primary-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    color: var(--color-secondary-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom a:hover {
    color: var(--color-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition-normal);
    }

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

    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: var(--color-white);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .streaming-platforms {
        gap: 1rem;
    }

    .platform-link {
        padding: 1rem 1.5rem;
        min-width: 100px;
    }

    .platform-link i {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .releases-grid {
        grid-template-columns: 1fr;
    }
}


/* About Section Responsive */
@media (max-width: 768px) {
    .about-section > .container > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-section .section-title {
        text-align: center !important;
    }

    .about-section .about-content {
        text-align: center;
    }
}


/* Release Card Images */
.release-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.release-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}

/* Constrain single cover images to prevent oversized cards */
.single-cover {
    aspect-ratio: 1;
    overflow: hidden;
}

.single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
