:root {
    --bg-dark: #0a0a0b;
    --card-bg: #141416;
    --accent: #3b82f6;
    --text-main: #ffffff;
    --text-dim: #a1a1aa;
    --nav-glass: rgba(10, 10, 11, 0.8);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.logo span {
    color: var(--accent);
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: left;
}

.subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.accent {
    opacity: 0.7;
}

.hero-description {
    max-width: 600px;
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.3s;
}

.btn.primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn.secondary {
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Clients */
.clients {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.6;
}

/* Projects Grid */
.projects {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: 0.4s;
}

.project-card:hover {
    border-color: var(--accent);
    background: #1a1a1d;
}

.status {
    font-size: 0.7rem;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.project-card h3 {
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: #050505;
    text-align: center;
}

.email-link {
    display: block;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    margin: 2rem 0;
    font-weight: 300;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-dim);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 2.5rem; }
}

/* Client Logo Grid */
.client-logo-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.4s;
}

.logo-box:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-box img {
    height: 40px; /* Adjust based on your logo aspect ratio */
    width: auto;
}

.logo-box span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Project Card Logo Styles */
.card-header {
    display: flex;
    flex-direction: column; /* This puts the status under the logo */
    align-items: flex-start; 
    gap: 0.75rem; /* Space between logo and status */
    margin-bottom: 1.5rem;
}

.project-logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1); /* Forces logos to white for dark mode */
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 600;
    color: var(--accent);
}