/* CSS Reset and Variables */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #f5f2ed;
    --color-bg-secondary: #ebe6df;
    --color-bg-card: #ffffff;
    --color-text: #2d2a26;
    --color-text-muted: #6b6560;
    --color-accent: #7d8471;
    --color-accent-hover: #5c6352;
    --color-border: #d4cfc7;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --container-max: 1200px;
    --section-padding: 100px;
}

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 242, 237, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-logo:hover {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-text);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #ebe6df 0%, #d4cfc7 50%, #c4beb4 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(125, 132, 113, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(125, 132, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2d2a26 0%, #4a4640 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-accent);
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(125, 132, 113, 0.3);
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    background: var(--color-bg-secondary);
    padding-top: 150px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.profile-photo:hover {
    filter: grayscale(0%);
}

.image-placeholder {
    aspect-ratio: 1;
    background: var(--color-bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    border: 1px solid var(--color-border);
}

.image-placeholder.dark {
    background: linear-gradient(135deg, #d4cfc7 0%, #c4beb4 100%);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

/* Services Section */
.services {
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(125, 132, 113, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Work/Portfolio Section */
.work {
    background: var(--color-bg-secondary);
}

.work-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.work-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.work-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.work-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.work-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.work-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.spotify-embed {
    background: var(--color-bg-card);
}

.work-image-square {
    aspect-ratio: 1/1;
}

.work-image-spotify {
    aspect-ratio: auto;
    height: 380px;
}

.work-card-featured .work-image {
    aspect-ratio: 16/9;
}

.work-content {
    padding: 30px;
}

.work-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.work-roles {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.work-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.work-releases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.release-tag {
    background: rgba(125, 132, 113, 0.15);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--color-bg);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-link:hover {
    border-color: var(--color-accent);
    background: rgba(125, 132, 113, 0.15);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }

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

    .contact-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .service-card {
        padding: 30px 24px;
    }

    .work-content {
        padding: 24px;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-tagline {
    animation-delay: 0.3s;
}

.hero-cta {
    animation-delay: 0.4s;
}

/* Scroll animations - applied via JS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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