﻿/* =========================================================
   DAWA BHUTIA — PERSONAL PORTFOLIO
   Main stylesheet
   ========================================================= */

:root {
    --bg: #080b12;
    --bg-soft: #0d111a;
    --surface: #111722;
    --surface-hover: #151c29;
    --border: rgba(255,255,255,.09);
    --border-strong: rgba(255,255,255,.16);
    --text: #f4f5f7;
    --muted: #99a2b2;
    --muted-light: #c1c7d0;
    --accent: #b9ff66;
    --accent-dark: #8fdb38;
    --white: #ffffff;
    --max-width: 1180px;
    --radius: 18px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button { font: inherit; }

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 120px 0;
    position: relative;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(8,11,18,.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: .3s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--accent);
    color: #0a0d11;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.brand-name {
    font-size: 15px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--muted-light);
    font-size: 14px;
    transition: color .25s ease;
}

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

.main-nav .nav-cta {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    color: var(--white);
}

.main-nav .nav-cta:hover {
    background: var(--white);
    color: #080b12;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 1px;
    background: var(--white);
    display: block;
    margin: 5px 0;
}

/* HERO */
.hero {
    min-height: 820px;
    padding-top: 170px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .13;
    pointer-events: none;
}

.hero-glow-one {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -220px;
    right: -120px;
}

.hero-glow-two {
    width: 380px;
    height: 380px;
    background: #516dff;
    bottom: -220px;
    left: -160px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.025);
    border-radius: 100px;
    color: var(--muted-light);
    font-size: 12px;
    letter-spacing: .04em;
    margin-bottom: 28px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

h1, h2, h3 {
    font-family: "Manrope", sans-serif;
    line-height: 1.1;
    letter-spacing: -.045em;
}

h1 {
    max-width: 720px;
    font-size: clamp(58px, 7vw, 88px);
    font-weight: 800;
}

h1 span,
h2 span {
    color: var(--accent);
}

.hero-text {
    max-width: 620px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--accent);
    color: #0a0d11;
}

.btn-primary:hover { background: #d0ff99; }

.btn-secondary {
    border: 1px solid var(--border-strong);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: #080b12;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 42px;
    font-size: 12px;
    color: var(--muted);
}

.hero-note strong { color: var(--muted-light); font-weight: 500; }

.hero-visual {
    position: relative;
    max-width: 470px;
    justify-self: end;
    width: 100%;
}

.profile-card {
    padding: 22px;
    border: 1px solid var(--border-strong);
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
    border-radius: 24px;
    box-shadow: 0 35px 80px rgba(0,0,0,.35);
    transform: rotate(2deg);
}

.profile-top,
.profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-label,
.profile-footer {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.profile-symbol {
    color: var(--accent);
    font-size: 18px;
}

.profile-photo {
    margin-top: 20px;
    aspect-ratio: 4 / 4.6;
    border-radius: 15px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 20%, rgba(185,255,102,.35), transparent 25%),
        linear-gradient(145deg, #202936, #10151e);
}
.photo-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #151b25;
    position: relative;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 72% center;
    transition: transform 0.6s ease;
}

.profile-card:hover .photo-placeholder img {
    transform: scale(1.03);
}


.profile-info { padding: 22px 3px 16px; }

.profile-info h2 {
    font-size: 25px;
    letter-spacing: -.035em;
}

.profile-info p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.profile-line {
    height: 1px;
    background: var(--border);
}

.profile-footer { padding: 15px 3px 0; }

.floating-card {
    position: absolute;
    padding: 15px 17px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: #131a25;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.floating-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
}

.floating-card span {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.floating-card-top {
    top: 10%;
    left: -55px;
}

.floating-card-bottom {
    right: -42px;
    bottom: 8%;
}

.mini-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(185,255,102,.1);
    color: var(--accent) !important;
    font-size: 20px !important;
}

/* TRUST */
.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.015);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px;
    border-right: 1px solid var(--border);
}

.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }

.trust-item strong {
    font-family: "Manrope", sans-serif;
    font-size: 29px;
    letter-spacing: -.04em;
}

.trust-item span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

/* COMMON */
.section-number {
    display: block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .13em;
    margin-bottom: 22px;
}

.two-column {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
}

.section-intro h2,
.section-heading h2 {
    font-size: clamp(38px, 4vw, 54px);
    max-width: 620px;
}

.section-intro p {
    margin-top: 25px;
    color: var(--muted);
    max-width: 460px;
}

.about { background: var(--bg-soft); }

.about-copy {
    padding-top: 6px;
    max-width: 660px;
}

.about-copy p {
    color: var(--muted);
    margin-bottom: 22px;
}

.about-copy .lead {
    color: var(--muted-light);
    font-size: 19px;
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 4px;
}

.text-link span { color: var(--accent); transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* SERVICES */
.services-section { background: var(--bg); }

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.section-heading > p {
    max-width: 350px;
    color: var(--muted);
    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.service-card {
    position: relative;
    min-height: 290px;
    padding: 32px;
    background: var(--bg);
    transition: background .3s ease, transform .3s ease;
}

.service-card:hover {
    background: var(--surface);
    transform: translateY(-2px);
    z-index: 2;
}

.service-index {
    position: absolute;
    top: 25px;
    right: 28px;
    color: #596171;
    font-size: 11px;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    height: 55px;
    padding: 0 9px;
    margin-bottom: 42px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: var(--accent);
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.service-card h3 {
    font-size: 21px;
    letter-spacing: -.03em;
}

.service-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    max-width: 300px;
}

.service-arrow {
    position: absolute;
    right: 29px;
    bottom: 27px;
    color: var(--muted);
}

/* WORK */
.work-section { background: var(--bg-soft); }

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.project-card {
    display: block;
}

.project-large { grid-row: span 2; }

.project-image {
    min-height: 340px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    transition: transform .35s var(--ease);
}

.project-large .project-image { min-height: 705px; }

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

.project-image-one {
    background: linear-gradient(145deg, #283527, #0e1711);
}

.project-image-two {
    background: linear-gradient(145deg, #272d3e, #111722);
}

.project-image-three {
    background: linear-gradient(145deg, #36302a, #15130f);
}

.project-image-four {
    background: linear-gradient(145deg, #202d32, #0e1518);
}

.project-placeholder {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent 35%, rgba(0,0,0,.72));
}

.project-placeholder span {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: .15em;
    font-weight: 600;
}

.project-placeholder strong {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -.055em;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 2px 5px;
}

.project-type {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.project-meta h3 {
    margin-top: 5px;
    font-size: 18px;
}

.project-link {
    color: var(--accent);
    font-size: 20px;
}

.project-wide { grid-column: 1 / -1; }

.project-wide .project-image { min-height: 390px; }

/* SKILLS */
.skills-section { background: var(--bg); }

.skills-layout { align-items: start; }

.skills-content {
    border-top: 1px solid var(--border);
}

.skill-group {
    padding: 27px 0;
    border-bottom: 1px solid var(--border);
}

.skill-label {
    display: block;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .13em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--muted-light);
    font-size: 12px;
    transition: border-color .2s, color .2s;
}

.skill-tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* JOURNEY */
.journey-section { background: var(--bg-soft); }

.timeline {
    margin-top: 35px;
    border-top: 1px solid var(--border);
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 35px 1fr;
    gap: 25px;
    min-height: 160px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.timeline-year {
    padding-top: 3px;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
}

.timeline-marker {
    width: 11px;
    height: 11px;
    margin-top: 7px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(185,255,102,.06);
}

.timeline-content > span {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: .12em;
    font-weight: 600;
}

.timeline-content h3 {
    margin-top: 7px;
    font-size: 24px;
}

.timeline-content p {
    max-width: 650px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 14px;
}

/* CTA */
.cta-section {
    padding: 130px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(185,255,102,.14), transparent 28%),
        var(--accent);
    color: #0a0d11;
}

.cta-inner { text-align: center; }

.cta-section .section-number {
    color: rgba(10,13,17,.6);
}

.cta-section h2 {
    font-size: clamp(50px, 7vw, 82px);
    max-width: 850px;
    margin: auto;
}

.cta-section h2 span { color: #0a0d11; }

.cta-section p {
    max-width: 580px;
    margin: 25px auto 0;
    color: rgba(10,13,17,.68);
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 35px;
}

.btn-light {
    background: #0a0d11;
    color: var(--white);
}

.btn-light:hover { background: #222831; }

.light-link {
    color: #0a0d11;
    border-bottom-color: rgba(10,13,17,.3);
}

/* FOOTER */
.site-footer {
    background: #06080d;
    padding: 55px 0 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 45px;
}

.footer-brand { margin-bottom: 12px; }

.footer-top p {
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: #626a78;
    font-size: 10px;
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: .01ms !important; }
}
