/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BASE ================= */
body {
    font-family: 'Inter', sans-serif;
    background: #05060c;
    color: #fff;
    line-height: 1.6;
}

/* ================= NAV ================= */
.nav {
    position: fixed;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    z-index: 10;
}

.logo {
    font-weight: 500;
}

.nav-links a {
    margin-left: 30px;
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #4f46e5, transparent 70%);
    filter: blur(120px);
    animation: move 8s infinite alternate ease-in-out;
}

@keyframes move {
    from { transform: translate(-50px, -50px); }
    to { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: -2px;
}

.tagline {
    margin-top: 20px;
    color: #c9a86a;
    font-size: 1.2rem;
}

.meta {
    margin-top: 10px;
    color: #aaa;
    font-size: 0.9rem;
}

/* ================= SECTION ================= */
.section {
    padding: 120px 80px;
}

/* ================= SPLIT ================= */
.split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.right p {
    color: #bbb;
    font-size: 1.05rem;
}

/* ================= PROJECTS ================= */
.projects h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ================= PROJECT CARD ================= */
.project {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}

/* IMAGE FIT PERFECTLY */
.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: 0.5s ease;
}

/* OVERLAY */
.project .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
    z-index: 1;
}

/* TEXT */
.project h3,
.project p {
    position: absolute;
    left: 20px;
    z-index: 2;
}

.project h3 {
    bottom: 50px;
    font-size: 1.5rem;
}

.project p {
    bottom: 20px;
    color: #c9a86a;
}

/* HOVER EFFECT */
.project:hover img {
    transform: scale(1.08);
}

.project:hover {
    transform: scale(1.03);
}

/* ================= PROJECT DETAILS ================= */
.project-details {
    max-width: 900px;
    margin: auto;
}

.detail {
    margin-bottom: 80px;
}

.detail h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.detail p {
    margin-bottom: 12px;
    color: #bbb;
}

/* ================= SKILLS ================= */
.skills h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.skills-grid div {
    padding: 20px;
    border-radius: 12px;
    background: #111;
    transition: 0.3s;
    text-align: center;
}

.skills-grid div:hover {
    background: #4f46e5;
    transform: translateY(-5px);
}

/* ================= CONTACT ================= */
.contact {
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.contact a {
    display: inline-block;
    margin-top: 20px;
    color: #c9a86a;
    text-decoration: none;
    transition: 0.3s;
}

.contact a:hover {
    letter-spacing: 2px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .split {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 80px 30px;
    }

    .nav {
        padding: 15px 20px;
    }
}