/**
 * Main Stylesheet
 * Recording Studio Website
 * 
 * TABLE OF CONTENTS:
 * 1. CSS Custom Properties (Design Tokens)
 * 2. Typography
 * 3. Layout
 * 4. Components
 * 5. Utilities
 * 6. Media Queries
 */

/* ========================================
   1. CSS CUSTOM PROPERTIES
   ======================================== */

:root {
    /* Colors */
    --color-bg: #0a0a0a;
    --color-text: #e8e8e8;
    --color-accent: #646464;
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transitions */
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-duration: 0.3s;
    
    /* Layout */
    --container-max-width: 1200px;
    --content-max-width: 600px;
}

/* ========================================
   2. TYPOGRAPHY
   ======================================== */

body {
    font-family: var(--font-family-base);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-light);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

/* Links */
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-duration) var(--transition-ease);
}

a:hover,
a:focus {
    color: var(--color-text);
}

a:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ========================================
   3. LAYOUT
   ======================================== */

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    position: relative;
}

/* ========================================
   4. COMPONENTS
   ======================================== */

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-text);
    color: var(--color-bg);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
}

.skip-link:focus {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}

/* Hero Image Section */
.hero-image {
    width: 100%;
    max-width: var(--container-max-width);
    margin-bottom: var(--spacing-xl);
}

.image-wrapper {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s var(--transition-ease) 0.2s forwards;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    filter: grayscale(0.3) contrast(1.1);
    transition: filter 0.8s var(--transition-ease);
}

.image-wrapper img:hover {
    filter: grayscale(0) contrast(1.05);
}

/* Hero Content Section */
.hero-content {
    max-width: var(--content-max-width);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1.2s var(--transition-ease) 0.6s forwards;
}

.subtitle {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-medium);
}

.divider {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: var(--spacing-lg) auto;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.divider::before {
    left: -12px;
}

.divider::after {
    right: -12px;
}

.tagline {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0.8;
    font-weight: var(--font-weight-light);
}

.metadata {
    margin-top: var(--spacing-xl);
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   5. UTILITIES
   ======================================== */

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   6. MEDIA QUERIES
   ======================================== */

/* Tablet and below */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md);
    }

    .hero-image {
        margin-bottom: var(--spacing-lg);
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .image-wrapper img {
        filter: grayscale(1);
    }
    
    .skip-link {
        display: none;
    }
}
