/*
 * A Moody Place - Main Stylesheet
 * Clean, minimalist design reflecting introspective artistic identity
 * Mobile-first responsive approach
 */

/* ==========================================================================
   CSS Custom Properties (Design System)
   ========================================================================== */

:root {
    /* Colors */
    --color-primary: #2c3e50;
    --color-primary-light: #34495e;
    --color-primary-dark: #1a252f;
    --color-secondary: #95a5a6;
    --color-secondary-light: #bdc3c7;
    --color-secondary-dark: #7f8c8d;
    --color-accent: #e74c3c;
    --color-accent-light: #ec7063;
    --color-accent-dark: #c0392b;
    --color-text: #2c3e50;
    --color-text-light: #7f8c8d;
    --color-text-muted: #95a5a6;
    --color-background: #ffffff;
    --color-background-alt: #f8f9fa;
    --color-background-dark: #ecf0f1;
    --color-border: #ecf0f1;
    --color-border-light: #f8f9fa;
    --color-border-dark: #bdc3c7;
    --color-overlay: rgba(44, 62, 80, 0.9);
    --color-overlay-light: rgba(44, 62, 80, 0.7);
    
    /* Status Colors */
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-error: #e74c3c;
    --color-info: #3498db;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Spacing */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 3rem;      /* 48px */
    --spacing-3xl: 4rem;      /* 64px */
    --spacing-4xl: 5rem;      /* 80px */
    --spacing-5xl: 6rem;      /* 96px */
    
    /* Border Radius */
    --border-radius-none: 0;
    --border-radius-sm: 0.125rem;
    --border-radius: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --box-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Breakpoints (for JavaScript) */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #ecf0f1;
        --color-primary-light: #bdc3c7;
        --color-text: #ecf0f1;
        --color-text-light: #bdc3c7;
        --color-background: #2c3e50;
        --color-background-alt: #34495e;
        --color-border: #4a5f7a;
    }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-relaxed);
}

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

a:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

strong, b {
    font-weight: var(--font-weight-semibold);
}

em, i {
    font-style: italic;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

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


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


/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Flexbox utilities */
.flex {
    display: flex;
}



.justify-center {
    justify-content: center;
}


.gap-md { gap: var(--spacing-md); }

/* Text utilities */
.text-center { text-align: center; }

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }

.text-light { font-weight: var(--font-weight-light); }
.text-normal { font-weight: var(--font-weight-normal); }
.text-medium { font-weight: var(--font-weight-medium); }
.text-semibold { font-weight: var(--font-weight-semibold); }
.text-bold { font-weight: var(--font-weight-bold); }

.text-muted { color: var(--color-text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */


/* YouTube-Style Button System */
.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #000000;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 120px;
    background: transparent;
}

/* Classic Solid Buttons with Black Outline */
.btn-youtube.btn-spotify {
    background: #1DB954;
    color: white;
}
.btn-youtube.btn-spotify:hover {
    background: #1ed760;
}

.btn-youtube.btn-apple {
    background: #000000;
    color: white;
}
.btn-youtube.btn-apple:hover {
    background: #333333;
}

.btn-youtube.btn-youtube-red {
    background: #FF0000;
    color: white;
}
.btn-youtube.btn-youtube-red:hover {
    background: #e60000;
}

.btn-youtube.btn-amazon {
    background: #FF9900;
    color: white;
}
.btn-youtube.btn-amazon:hover {
    background: #e6890e;
}

.btn-youtube.btn-youtube-music {
    background: #FF0000;
    color: white;
}
.btn-youtube.btn-youtube-music:hover {
    background: #e60000;
}

.btn-youtube.btn-instagram {
    background: #E4405F;
    color: white;
}
.btn-youtube.btn-instagram:hover {
    background: #d73349;
}

.btn-youtube.btn-instagram-outline {
    background: transparent;
    color: #E4405F;
}
.btn-youtube.btn-instagram-outline:hover {
    background: #E4405F;
    color: white;
}

.btn-youtube.btn-youtube-outline {
    background: transparent;
    color: #FF0000;
}
.btn-youtube.btn-youtube-outline:hover {
    background: #FF0000;
    color: white;
}

.btn-youtube.btn-black-to-white {
    background: #000000;
    color: white;
}
.btn-youtube.btn-black-to-white:hover {
    background: white;
    color: #000000;
}

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


/* Modern Outline Buttons with Black Outline */
.btn-youtube.btn-outline {
    background: transparent;
    color: var(--color-primary);
}
.btn-youtube.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-youtube.btn-outline-dark {
    background: transparent;
    color: #000000;
}
.btn-youtube.btn-outline-dark:hover {
    background: #000000;
    color: white;
}

/* SVG icon styling inside buttons */
.btn-youtube svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: var(--z-fixed);
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-secondary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Desktop Navigation */
.nav-menu {
    display: none;
    list-style: none;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    padding: var(--spacing-sm) 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    text-decoration: none;
}

.nav-social {
    display: none;
    align-items: center;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text-light);
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.social-link:hover {
    color: var(--color-accent);
    background-color: var(--color-background-alt);
    text-decoration: none;
}

/* Duplicate mobile navigation styles removed - using .mobile-nav-toggle instead */

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    z-index: var(--z-modal);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.mobile-nav-link {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-decoration: none;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border-light);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.mobile-social {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-social-link {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-social-link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
}

/* Hide mobile toggle on larger screens, show desktop nav */
@media (min-width: 768px) {
    .mobile-nav-toggle {
        display: none;
    }

    .nav-menu,
    .nav-social {
        display: flex;
    }
}

/* Show mobile toggle on smaller screens */
@media (max-width: 767px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu,
    .nav-social,
    .desktop-nav {
        display: none !important;
    }
}


/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.form-label.required::after {
    content: ' *';
    color: var(--color-error);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: 44px;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-error);
    margin-top: var(--spacing-xs);
}

.form-help {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--spacing-xs);
}

/* Form group layouts */
.form-group-inline {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-end;
}

.form-group-inline .form-group {
    margin-bottom: 0;
    flex: 1;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}




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

.footer {
    background: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    margin-top: var(--spacing-4xl);
}

.footer p {
    color: #bdc3c7;
    font-size: 0.9rem;
}
        

.newsletter-form {
    max-width: 300px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.newsletter-input {
    flex: 1;
    min-width: 0;
}

.newsletter-button {
    white-space: nowrap;
}

.newsletter-note {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    text-align: center;
    margin: 0;
}


/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Text utilities */
.text-center { text-align: center; }




/* Visibility utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet styles */
@media (min-width: 640px) {
    :root {
        --font-size-5xl: 3.75rem;
        --font-size-6xl: 4.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .section {
        padding: var(--spacing-4xl) 0;
    }
    
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
    
    .section {
        padding: var(--spacing-5xl) 0;
    }
    
    
}

/* Large desktop styles */
@media (min-width: 1280px) {
    .container {
        padding: 0 var(--spacing-2xl);
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}





.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Page Titles
   ========================================================================== */

.hero {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('/images/falling_album.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.title-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.title-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

