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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#0b0b0b;
    color:white;
    line-height:1.7;
}

nav{
    position:sticky;
    top:0;
    backdrop-filter:blur(15px);
    background:rgba(15,15,15,.6);

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 10%;
    z-index:100;
}

.logo{
    font-weight:700;
    font-size:1.2rem;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    color:#aaa;
    text-decoration:none;
}

nav a:hover{
    color:white;
}

section{
    padding:100px 10%;
}

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.hero-image-container{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    max-width:400px;
}

.hero-profile-img{
    width:100%;
    max-width:320px;
    height:auto;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:30px;
    border:4px solid rgba(255,255,255,.08);
    box-shadow:0 20px 40px rgba(0,0,0,.4), 0 0 50px rgba(96,165,250,.15);
    backdrop-filter:blur(10px);
    transition:transform .5s cubic-bezier(.175,.885,.32,1.275), box-shadow .5s ease;
}

.hero-profile-img:hover{
    transform:scale(1.05) rotate(1deg);
    box-shadow:0 25px 50px rgba(0,0,0,.5), 0 0 60px rgba(96,165,250,.25);
}

.hero-card{
    max-width:700px;
}


h1{
    font-size:4rem;
    line-height:1.1;
    margin:15px 0;
}

h2{
    margin-bottom:30px;
    font-size:2rem;
}

.hero-text{
    color:#bbb;
    max-width:600px;
}

.eyebrow{
    color:#60a5fa;
    font-size:.8rem;
    letter-spacing:2px;
}

.glass{
    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;
}

.card,
.project-card,
.hero-card{
    padding:30px;
}

.grid{
    display:grid;
    gap:25px;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.project-card pre{
    margin-top:15px;
    color:#60a5fa;
}

.project-card h3 a{
    color:#60a5fa;
    text-decoration:none;
    transition:color 0.2s ease;
}

.project-card h3 a:hover{
    color:white;
    text-decoration:underline;
}


.buttons{
    margin-top:30px;
    display:flex;
    gap:15px;
}

.btn-primary{
    background:white;
    color:black;
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.15);
}

.btn-primary,
.btn-secondary{

    text-decoration:none;

    padding:12px 20px;

    border-radius:12px;

    transition:.3s;
}

.btn-primary:hover,
.btn-secondary:hover{

    transform:translateY(-3px);
}

footer{
    text-align:center;
    padding:40px;
    color:#666;
}

.card:hover,
.project-card:hover{
    transform:translateY(-5px);
}

.card,
.project-card{
    transition:.3s;
}

@media(max-width:768px){

    nav{
        padding:20px;
    }

    nav ul{
        display:none;
    }

    h1{
        font-size:2.7rem;
    }

    section{
        padding:80px 20px;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
        gap: 40px;
    }

    .hero-image-container {
        order: -1;
        max-width: 250px;
    }

    .buttons {
        justify-content: center;
    }

}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 85%;
    max-width: 500px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 40px;
    font-weight: 300;
    transition: 0.2s;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover {
    color: white;
}

