:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-card: rgba(40, 40, 40, 0.8);
    --accent-burgundy: #a03050;
    --accent-burgundy-light: #c04060;
    --text-light: #f5f5f5;
    --text-muted: #999999;
    --border-subtle: rgba(160, 48, 80, 0.25);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    background-image: url('bg_jazz.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;
    color: var(--text-light);
    line-height: 1.5;
    min-height: 100vh;
}

.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(160, 48, 80, 0.12) 0px, transparent 200px);
    pointer-events: none;
    z-index: 5;
}

/* Header - Hamburger Only */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.5rem 5%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-burgundy);
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hide desktop nav - hamburger only */
.nav-links {
    display: none !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.4rem;
    font-size: 0.7rem;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    transition: all 0.2s;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    color: var(--accent-burgundy);
    background: rgba(160, 48, 80, 0.1);
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 0.4rem;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem;
    z-index: 99;
    max-height: calc(100vh - 45px);
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a:hover {
    color: var(--accent-burgundy);
}

/* Submenu in mobile nav */
.mobile-nav .submenu {
    padding-left: 1rem;
    margin-top: 0.25rem;
}

.mobile-nav .submenu a {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.3rem 0;
}

/* Hero */
.hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem 2rem;
}

.hero .tagline {
    font-size: 0.7rem;
    color: var(--accent-burgundy);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.hero p {
    max-width: 450px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--accent-burgundy);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--accent-burgundy-light);
    box-shadow: 0 0 15px rgba(160, 48, 80, 0.4);
}

/* Sections */
.section {
    padding: 2rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 6;
}

.section h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.section h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-burgundy);
    margin-top: 0.3rem;
}

.section p.intro {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Bio Section */
.bio-section h2 {
    margin-top: 1rem;
}

.bio-section p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Competency Grid */
.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.competency-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 0.75rem;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.competency-item:hover {
    border-color: var(--accent-burgundy);
    box-shadow: 0 3px 10px rgba(160, 48, 80, 0.15);
}

.competency-item h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-burgundy);
    margin-bottom: 0.2rem;
}

.competency-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1rem;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
}

.card:hover {
    border-color: var(--accent-burgundy);
    box-shadow: 0 3px 10px rgba(160, 48, 80, 0.15);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-burgundy);
    margin-bottom: 0.3rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.pricing-category {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 1rem;
}

.pricing-category h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-burgundy);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 0.4rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-table th {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-burgundy);
}

.price-table .detail {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Terms */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.term-box {
    background: rgba(160, 48, 80, 0.06);
    border-left: 2px solid var(--accent-burgundy);
    padding: 0.75rem;
    border-radius: 0 4px 4px 0;
}

.term-box h4 {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.term-box p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

/* Contact */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-burgundy);
    border-radius: 4px;
    padding: 1.5rem;
    max-width: 350px;
    margin: 1rem auto;
    text-align: center;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.contact-card .role {
    color: var(--accent-burgundy);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.contact-link:hover {
    background: rgba(160, 48, 80, 0.1);
    color: var(--accent-burgundy);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s;
}

.project-card:hover {
    border-color: var(--accent-burgundy);
}

.project-image {
    width: 100%;
    height: 100px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.65rem;
}

.project-card .content {
    padding: 0.6rem;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.project-card p {
    font-size: 0.7rem;
    color: var(--accent-burgundy);
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.7rem;
    position: relative;
    z-index: 6;
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
        padding-top: 3.5rem;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .section {
        padding: 1.5rem 4%;
    }

    .cards-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}