/* Reset */
*{
    margin:0;
    padding:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

/* Premium Editorial Base */
body{
    font-family: Georgia, "Times New Roman", Times, serif;
    background:#ffffff;
    color:#111;
    line-height:1.9;
    letter-spacing:0.2px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Navbar (clean premium floating feel) */
nav{
    position:fixed;
    top:0;
    width:100%;
    background:rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 8%;
    border-bottom:1px solid #eee;
    z-index:1000;
}

.logo{
    font-size:1.1rem;
    font-weight:700;
    letter-spacing:3px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:28px;
}

nav ul li a{
    text-decoration:none;
    color:#111;
    font-size:0.95rem;
    position:relative;
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0%;
    height:1px;
    background:#111;
    transition:0.3s ease;
}

nav ul li a:hover::after{
    width:100%;
}

/* HERO (premium spacing + cinematic layout) */
.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:140px 8% 100px;
    gap:80px;
}

.hero-content{
    flex:1;
}

.hero-content h4{
    font-size:0.85rem;
    letter-spacing:5px;
    color:#777;
    margin-bottom:18px;
}

.hero-content h1{
    font-size:4.2rem;
    line-height:1.05;
    margin-bottom:25px;
}

.hero-content p{
    font-size:1.1rem;
    color:#444;
    max-width:520px;
    margin-bottom:35px;
}

/* Premium button */
.btn{
    display:inline-block;
    text-decoration:none;
    color:#fff;
    background:#111;
    padding:14px 32px;
    border-radius:50px;
    transition:0.3s ease;
    font-size:0.95rem;
}

.btn:hover{
    transform:translateY(-3px);
    opacity:0.85;
}

/* Hero Image */
.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:420px;
    max-width:100%;
    border-radius:18px;
    filter:grayscale(100%);
    transition:0.4s ease;
}

.hero-image img:hover{
    transform:scale(1.02);
}

/* Sections */
section{
    padding:110px 8%;
}

/* Section Titles */
section h2{
    font-size:2.4rem;
    margin-bottom:45px;
    position:relative;
    letter-spacing:0.5px;
}

section h2::after{
    content:"";
    width:60px;
    height:2px;
    background:#111;
    position:absolute;
    left:0;
    bottom:-12px;
}

/* ABOUT (clean reading layout) */
#about p{
    max-width:900px;
    font-size:1.1rem;
    color:#444;
}

/* PROJECTS (premium cards) */
#projects{
    background:#fafafa;
}

.card{
    background:#fff;
    padding:40px;
    border-radius:14px;
    margin-bottom:28px;
    border:1px solid #eee;
    transition:0.3s ease;
}

.card:hover{
    transform:translateY(-6px);
    border-color:#ddd;
}

.card h3{
    font-size:1.6rem;
    margin-bottom:12px;
}

.card p{
    color:#555;
    font-size:1rem;
}

/* EXPERIENCE (timeline feel) */
.timeline-item{
    background:#fff;
    padding:35px;
    border-left:3px solid #111;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.timeline-item p{
    color:#444;
}

/* Scrollbar (minimal premium) */
::-webkit-scrollbar{
    width:6px;
}

::-webkit-scrollbar-track{
    background:#f4f4f4;
}

::-webkit-scrollbar-thumb{
    background:#111;
}

/* Responsive */
@media(max-width:900px){

    .hero{
        flex-direction:column-reverse;
        text-align:center;
        gap:50px;
    }

    .hero-content h1{
        font-size:2.8rem;
    }

    .hero-content p{
        margin:auto auto 30px;
    }

    nav{
        flex-direction:column;
        gap:12px;
    }

    section{
        padding:80px 6%;
    }
}

@media(max-width:600px){

    .hero-content h1{
        font-size:2.2rem;
    }

    section h2{
        font-size:2rem;
    }

    .hero-image img{
        width:280px;
    }
}