/* Stephen Sherrard Mixing - Modern Dark Theme CSS */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Color Palette */
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --tertiary-bg: #2a2a2a;
    --accent-bg: #333333;
    
    --primary-text: #ffffff;
    --secondary-text: #cccccc;
    --muted-text: #888888;
    --accent-text: #ff6b35;
    
    --primary-accent: #ff6b35;
    --secondary-accent: #ff8c42;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    
    --border-color: #444444;
    --border-light: #666666;
    
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.5);
    
    --gradient-primary: linear-gradient(135deg, #ff6b35, #ff8c42);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-text);
}

h3 {
    font-size: 2rem;
    color: var(--primary-text);
}

h4 {
    font-size: 1.5rem;
    color: var(--secondary-text);
}

p {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-accent);
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-dark {
    background-color: var(--secondary-bg);
}

.section-accent {
    background: var(--gradient-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-accent);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-text);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    padding-top: calc(3rem + 80px); /* Add space for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--secondary-text);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
    color: white;
}

/* Cards */
.card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-light);
}

.card h3 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

/* Audio Player Styles */
.custom-audio-player {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-medium);
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.track-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-text);
}

.track-counter {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-text);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.btn:hover {
    background: var(--accent-bg);
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

.btn-play-pause {
    background: var(--gradient-primary);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.btn-play-pause:hover {
    background: var(--gradient-primary);
    transform: scale(1.05);
    color: white;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.volume-icon {
    font-size: 1.2rem;
}

.volume-slider {
    width: 150px;
    height: 6px;
    background: var(--tertiary-bg);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-value {
    color: var(--muted-text);
    font-size: 0.9rem;
    min-width: 40px;
}

.player-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--tertiary-bg);
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 4px 4px 0;
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.track-list {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.track-list h4 {
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.track-list ul {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.track-item:hover {
    background: var(--tertiary-bg);
}

.track-item.active {
    background: var(--accent-bg);
    border-left: 3px solid var(--primary-accent);
}

.track-number {
    color: var(--muted-text);
    margin-right: 1rem;
    font-weight: 500;
    min-width: 30px;
}

.track-name {
    flex: 1;
    color: var(--primary-text);
    font-weight: 500;
}

.track-duration {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-accent);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-accent);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-accent);
    color: white;
    text-decoration: none;
}

/* Testimonials */
.testimonial {
    background: var(--secondary-bg);
    border-left: 4px solid var(--primary-accent);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-accent);
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-accent);
}

.testimonial-title {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--muted-text);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {

    .hero {
        min-height: 35vh;
        padding: 2rem 0;
        padding-top: calc(2rem + 80px); /* Add space for fixed navbar on mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .player-controls {
        gap: 0.5rem;
    }

    .btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .btn-play-pause {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .volume-slider {
        width: 120px;
    }

    .track-item {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 30vh;
        padding: 1.5rem 0;
        padding-top: calc(1.5rem + 80px); /* Add space for fixed navbar on small mobile */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .custom-audio-player {
        padding: 1.5rem;
    }
}

/* Accordion Styles */
.faq-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--secondary-bg);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-question {
    background: var(--tertiary-bg);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: var(--accent-bg);
}

.faq-question h3 {
    margin: 0;
    color: var(--primary-text);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-accent);
    transition: var(--transition);
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--secondary-bg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s ease-in;
}

.faq-answer-content {
    padding: 1.5rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--tertiary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}
