:root {
    --bg-color: #141414;
    --card-bg: #1c1c1c;
    --card-hover: #222222;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --accent: #94e2b8;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

/* Header / Hero */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero::before {
    display: none;
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent);
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.summary {
    font-size: 1.05rem;
    color: var(--text-main);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.offerings {
    list-style: none;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2.5rem;
    text-align: left;
}

.offerings li {
    font-size: 0.9rem;
    color: #cbd5e1;
    position: relative;
    padding-left: 1.2rem;
}

.offerings li::before {
    content: "–";
    color: var(--accent);
    position: absolute;
    left: 0;
}

.offerings li strong {
    color: var(--text-main);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

@media (max-width: 768px) {
    .offerings {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* Buttons */
.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--card-bg);
    color: var(--text-muted);
    border: 1px solid #333;
}

.btn:hover {
    color: var(--text-main);
    border-color: #3a3a3a;
}

.btn.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn.btn-outline:hover {
    background: rgba(126, 200, 160, 0.08);
}

/* Skills Section */
.skills-section {
    padding: 1.5rem 0 3.5rem;
}

.skills-section h3 {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.skill-tag {
    font-size: 0.82rem;
    color: #e2e8f0;
    padding: 0.2rem 0;
}

.skill-tag::after {
    content: " ·";
    color: #444;
}

.skill-tag:last-child::after {
    content: "";
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    padding-bottom: 6rem;
}

.project-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
}

.project-media {
    width: 100%;
    aspect-ratio: 16/9;
    background: #1c1c1c;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1c;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
    opacity: 0.75;
}

.project-card:hover .project-video {
    opacity: 1;
    transform: none;
}

.project-info {
    padding: 1rem 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tag + .tag::before {
    content: "·";
    margin-right: 0.35rem;
    color: #444;
}

.project-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
    font-weight: 600;
}

.project-desc {
    color: #e4e4e7;
    font-size: 0.88rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* Footer */
footer {
    border-top: 1px solid #222;
    padding: 2.5rem 0;
    text-align: center;
}

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

.email-link {
    color: var(--accent);
    font-size: 0.9rem;
    transition: var(--transition);
}

.email-link:hover {
    opacity: 0.7;
}

/* Project Details Page */
.details-hero {
    min-height: 28vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
    padding-top: 3rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--text-main);
}

.details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.details-main .large-media {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: #1c1c1c;
    aspect-ratio: 16/9;
}

.details-main h2 {
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
    color: var(--text-main);
}

.details-main p {
    color: var(--text-main);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.details-main ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.details-main li {
    color: var(--text-main);
    margin-bottom: 0.65rem;
    padding-left: 1.2rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
}

.details-main li::before {
    content: "–";
    color: var(--accent);
    position: absolute;
    left: 0;
}

.details-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-box {
    background: transparent;
    border: none;
    border-top: 1px solid #222;
    border-radius: 0;
    padding: 1.2rem 0;
    margin-bottom: 0;
}

.sidebar-box h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.sidebar-box p {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
    .details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .details-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0 2rem;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
