/* Long Road Recording Co. - Styles
   Colors derived from logo: cream/beige and black */

:root {
    --cream: #E8DCC4;
    --cream-light: #F5F0E6;
    --cream-dark: #D4C8B0;
    --black: #1A1A1A;
    --black-soft: #2D2D2D;
    --brown: #3D3529;
    --brown-light: #5C5245;
    --text: #333333;
    --text-light: #666666;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --container-width: 1100px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--cream-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--black);
    margin-top: 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

a {
    color: var(--brown);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
    transition: background 0.3s ease;
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--black);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: var(--black);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--black);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 0;
}

.hero-content {
    max-width: 600px;
}

.hero-logo {
    width: 320px;
    max-width: 80vw;
    height: auto;
    margin-bottom: var(--spacing-md);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero-location {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cream-dark);
    margin: 0;
}

/* Page Header */
.page-header {
    background: var(--black);
    padding: calc(80px + var(--spacing-xl)) var(--spacing-md) var(--spacing-lg);
    text-align: center;
}

.page-header h1 {
    color: var(--cream);
    margin: 0;
    font-size: 3.5rem;
    letter-spacing: 0.02em;
}

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

.intro,
.studio-intro,
.equipment-intro,
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Philosophy Section */
.philosophy {
    background: var(--cream);
    padding: var(--spacing-xl) 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.philosophy-item {
    text-align: center;
    padding: var(--spacing-md);
}

.philosophy-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.philosophy-item p {
    color: var(--text-light);
    margin: 0;
}

/* Studio Page */
.studio-details {
    padding: var(--spacing-lg) 0;
}

.studio-section {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

.studio-section:last-child {
    margin-bottom: 0;
}

.studio-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cream-dark);
}

/* Equipment Page */
.equipment-list {
    padding: var(--spacing-lg) 0;
}

.equipment-category {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

.equipment-category h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--black);
}

.equipment-subcategory {
    margin-bottom: var(--spacing-md);
}

.equipment-subcategory h3 {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brown-light);
    margin-bottom: 0.75rem;
}

.equipment-category ul,
.equipment-subcategory ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: var(--spacing-lg);
}

.equipment-category li,
.equipment-subcategory li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--cream-dark);
    break-inside: avoid;
}

.equipment-note {
    text-align: center;
    padding: var(--spacing-md) 0;
    background: var(--cream);
}

.equipment-note p {
    font-style: italic;
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form-section {
    padding: var(--spacing-lg) 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.form-group .optional {
    font-weight: 400;
    text-transform: none;
    color: var(--text-light);
    letter-spacing: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--cream-dark);
    border-radius: 4px;
    background: white;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
}

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

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--spacing-md);
}

.contact-alt {
    text-align: center;
    padding: var(--spacing-md) 0 var(--spacing-lg);
}

.contact-alt p {
    color: var(--text-light);
}

.contact-alt a {
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: var(--black);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.cta h2 {
    color: var(--cream);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta p {
    color: var(--cream-dark);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

/* Button */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2.5rem;
    background: var(--cream);
    color: var(--black);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: white;
    color: var(--black);
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background: var(--black);
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 1px solid var(--black-soft);
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.main-footer p {
    color: var(--cream-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-location {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem !important;
}

/* Mobile Navigation */
.mobile-nav-open .nav-links {
    display: flex;
}

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

.mobile-nav-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-open .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .equipment-category ul,
    .equipment-subcategory ul {
        columns: 1;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--cream);
        padding: var(--spacing-md);
        gap: 0;
        border-bottom: 1px solid var(--cream-dark);
    }
    
    .nav-links li {
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .hero-logo {
        width: 250px;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.25rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3.5rem;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}

/* Form Success/Error States */
.form-message {
    grid-column: 1 / -1;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
