/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f0;
    color: #1a1a1a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1a1a1a;
}

.header-left {
    flex-shrink: 0;
}

.name {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 300;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    padding-bottom: 2px;
}

.nav-link:hover {
    color: #666;
}

.nav-link.active {
    border-bottom: 1px solid #1a1a1a;
}

/* Page Title */
.page-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Bio Section */
.bio-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.bio-text {
    max-width: 680px;
}

.bio-text p {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.5em;
    font-weight: 300;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

.bio-text a {
    color: #000;
    text-decoration: underline;
}

/* Image Grid */
.image-grid {
    position: sticky;
    top: 60px;
}

.image-container {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #e8e8e3;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.image-container img:hover {
    filter: grayscale(0%);
}

/* Success Section */
.success-section {
    max-width: 600px;
    text-align: center;
    padding: 60px 0;
}

.success-message {
    font-size: 1.125rem;
    font-weight: 300;
    color: #4a4a4a;
    margin: 32px 0 40px;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    padding: 14px 40px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background-color: #333;
    border: 1px solid #333;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-link:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

/* Contact Section */
.contact-section {
    max-width: 100%;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form-container {
    max-width: 600px;
}

.contact-image {
    position: sticky;
    top: 100px;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.contact-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 300;
    color: #1a1a1a;
    background-color: #fafafa;
    border: 1px solid #999;
    border-radius: 2px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: #fff;
}

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

.submit-btn {
    padding: 14px 40px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background-color: #333;
    border: 1px solid #333;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Photos Section */
.photos-section {
    width: 100%;
}

.photo-grid {
    column-count: 3;
    column-gap: 24px;
}

.photo-item {
    break-inside: avoid;
    margin-bottom: 24px;
    overflow: hidden;
    background-color: #e8e8e3;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item img:hover {
    transform: scale(1.02);
}

.photo-caption {
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 300;
    color: #666;
    text-align: center;
    background-color: #f5f5f0;
}

.promo-item {
    position: relative;
}

.photo-download-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #1a1a1a;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.promo-item:hover .photo-download-btn {
    opacity: 1;
}

.photo-download-btn:hover {
    background-color: #fff;
}

/* Demos Section */
.demos-section {
    max-width: 600px;
    margin: 0 auto;
}

.demos-intro {
    font-size: 0.9375rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 32px;
    text-align: center;
}

/* Player Container */
.player-container {
    background-color: #fafafa;
    border: 1px solid #e8e8e3;
    padding: 24px;
    margin-bottom: 32px;
}

.now-playing {
    margin-bottom: 20px;
    text-align: center;
}

.track-title {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.track-artist {
    font-size: 0.9375rem;
    font-weight: 300;
    color: #666;
}

/* Player Controls */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1a1a1a;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    opacity: 0.6;
}

.control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.play-btn {
    width: 48px;
    height: 48px;
    background-color: #1a1a1a;
    border-radius: 50%;
    color: #f5f5f0;
}

.play-btn:hover {
    opacity: 0.8;
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-display {
    font-size: 0.875rem;
    font-weight: 300;
    color: #666;
    min-width: 40px;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: #e8e8e3;
    position: relative;
    border-radius: 2px;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 2px;
    pointer-events: none;
}

.progress-slider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background-color: #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
}

.progress-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background-color: #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Playlist */
.playlist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e8e8e3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist hr {
    grid-column: 1 / -1;
    border: none;
    border-top: 2px solid #1a1a1a;
    margin: 24px 0;
}

.playlist-item:hover {
    border-color: #1a1a1a;
    background-color: #fafafa;
}

.playlist-item.active {
    background-color: #fafafa;
    border-color: #1a1a1a;
}

.playlist-number {
    font-size: 0.875rem;
    font-weight: 300;
    color: #666;
    min-width: 20px;
    text-align: center;
}

.playlist-item.active .playlist-number {
    color: #1a1a1a;
    font-weight: 400;
}

.playlist-info {
    flex: 1;
}

.playlist-title {
    font-size: 0.9375rem;
    font-weight: 300;
}

.playlist-item.active .playlist-title {
    font-weight: 400;
}

.playlist-duration {
    font-size: 0.8125rem;
    font-weight: 300;
    color: #999;
    margin-top: 2px;
}

.playlist-artist {
    font-size: 0.875rem;
    font-weight: 300;
    color: #666;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.download-btn:hover {
    color: #1a1a1a;
}

.playlist-item:hover .download-btn {
    color: #1a1a1a;
}

/* Audio Section */
.audio-section {
    max-width: 100%;
}

.audio-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-player iframe {
    border-radius: 12px;
}

/* Videos Section */
.videos-section {
    max-width: 100%;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.video-item {
    width: 100%;
}

.video-playlist {
    margin-bottom: 80px;
}

.video-playlist:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}

.videos-section .divider {
    margin: 60px 0;
}

.section-intro {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 32px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #1a1a1a;
}

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

/* Footer */
.site-footer {
    margin-top: 120px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #1a1a1a;
    margin-bottom: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-size: 0.9375rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #666;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #1a1a1a;
}

.social-links {
    display: flex;
    gap: 32px;
}

.social-link {
    font-size: 0.9375rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #666;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 900px) {
    .bio-section {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .image-grid {
        position: relative;
        top: 0;
        max-width: 400px;
    }

    .photo-grid {
        column-count: 2;
        column-gap: 20px;
    }

    .container {
        padding: 40px 32px;
    }

    .site-header {
        margin-bottom: 60px;
    }

    .header-nav {
        gap: 24px;
    }

    .nav-link {
        font-size: 0.9375rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-image {
        position: relative;
        top: 0;
    }

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

@media (max-width: 600px) {
    .container {
        padding: 32px 24px;
    }

    .name {
        font-size: 2rem;
    }

    .bio-text p {
        font-size: 1rem;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 48px;
        padding-bottom: 32px;
    }

    .header-nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .bio-section {
        gap: 48px;
    }

    .image-grid {
        max-width: 100%;
    }

    .photo-grid {
        column-count: 1;
        column-gap: 16px;
    }

    .photo-item {
        margin-bottom: 16px;
    }

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

    .video-grid {
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-nav,
    .social-links {
        gap: 24px;
    }

    .footer-link,
    .social-link {
        font-size: 0.875rem;
    }
}
