/* CSS Variables */
:root {
    --color-bg: #ffffff;
    --color-bg-subtle: #f8f9fa;
    --color-bg-muted: #f1f3f4;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-accent: #0ea5e9;
    --color-accent-hover: #0284c7;
    --color-border: #e5e7eb;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 2rem;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Main Content */
.content {
    flex: 1;
    width: 100%;
}

.content-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    padding: 0;
    margin-bottom: 2rem;
}

.hero-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-bg-muted);
    overflow: hidden;
}

.hero-video iframe,
.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.hero-title span {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Demo Reels Section */
.demo-reels {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.reel-item {
    background-color: var(--color-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.reel-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.reel-item h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1rem;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-bg-muted);
    position: relative;
    overflow: hidden;
}

.video-container p {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Legacy support for video-placeholder class */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-bg-muted);
    position: relative;
    overflow: hidden;
}

.video-placeholder p {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder video,
.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* About Page Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

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

.pullquote {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    padding: 2rem 0;
    margin: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    font-style: italic;
}

/* Resume Page Styles */
.resume-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.resume-content p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.resume-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.resume-download:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.resume-download svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-subtle);
    border-top: 1px solid var(--color-border);
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.site-footer p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.site-footer p:first-child {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem;
    }

    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        gap: 1.5rem;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .content-inner {
        padding: 3rem 1.5rem;
    }

    .page-header {
        margin-bottom: 3rem;
    }

    .demo-reels {
        padding: 1.5rem;
        gap: 3rem;
    }

    .reel-item h2 {
        padding: 1rem 1rem 0;
        font-size: 1.1rem;
    }

    .hero-title {
        padding: 1.5rem 1.5rem 0;
    }

    .about-intro {
        font-size: 1.25rem;
    }

    .pullquote {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .demo-reels {
        gap: 2rem;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}
