/* --- Fonts & Reset --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

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

body {
    background-color: #050505; /* Deep Black */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(5, 5, 5, 0.95);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    font-weight: 300;
}

/* --- Section Styling --- */
section {
    padding: 6rem 10%;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 4rem;
    border-left: 2px solid white;
    padding-left: 1rem;
}

/* --- Dynamic Cards (Services) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    background: #0f0f0f; /* Very subtle contrast */
    padding: 2.5rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Hidden for animation */
    transform: translateY(20px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    color: #aaaaaa;
    margin-bottom: 0.5rem;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #111;
    border: 1px solid #222;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-item h3 { margin-bottom: 1rem;}

/* --- Contact Section --- */
.contact-cta {
    text-align: center;
    padding: 8rem 0;
}

.contact-cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.email-btn {
    display: inline-block;
    border: 1px solid white;
    padding: 1rem 3rem;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s;
}

.email-btn:hover {
    background: white;
    color: black;
    opacity: 1;
}

/* --- Footer --- */
footer {
    padding: 2rem 5%;
    border-top: 1px solid #111;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #555;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; } /* Simplified for this snippet */
    section { padding: 4rem 5%; }
}
