/* =========================================
   VAIBHAV SOLANKE PORTFOLIO
   CINEMATIC / DARK / PREMIUM
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: #ffffff;
    color: #000000;
}


/* =========================================
   LOADER
========================================= */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.08em;
}

.loader-text span {
    color: #777;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 86px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.logo span {
    color: #777;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.nav-links a {
    position: relative;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contact {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-contact:hover {
    background: #fff;
    color: #000;
}

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-btn span {
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: #050505;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(.77,0,.18,1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #f5f5f5;
    text-decoration: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 7vw 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -250px;
    top: 5%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.09),
        transparent 65%
    );
    filter: blur(25px);
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 85%
    );
    z-index: -3;
}

.hero-bg-text {
    position: absolute;
    left: 3vw;
    bottom: 3vh;
    font-size: clamp(7rem, 19vw, 19rem);
    font-weight: 900;
    letter-spacing: -0.1em;
    line-height: 0.7;
    color: rgba(255,255,255,0.018);
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    width: 58%;
    position: relative;
    z-index: 5;
}

.hero-intro {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #999;
    margin-bottom: 28px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 15px rgba(255,255,255,0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.7);
    }
}

.hero h1 {
    font-size: clamp(4.5rem, 10.5vw, 11rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.79;
    text-transform: uppercase;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.7);
}

.hero-bottom {
    margin-top: 48px;
    display: flex;
    align-items: flex-start;
    gap: 35px;
    max-width: 720px;
}

.hero-role {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    gap: 14px;
    color: #eee;
}

.hero-role span {
    color: #666;
}

.hero-bottom p {
    max-width: 410px;
    color: #8c8c8c;
    font-size: 0.84rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 42px;
}

.btn {
    min-height: 52px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    transition: all 0.35s ease;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.12);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #ddd;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image-wrap {
    position: absolute;
    right: 5vw;
    top: 50%;
    width: min(35vw, 520px);
    aspect-ratio: 0.74;
    transform: translateY(-50%) rotate(5deg);
    z-index: 2;
    perspective: 1200px;
}

.hero-image-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.18);
    background: #111;
    box-shadow:
        0 40px 100px rgba(0,0,0,0.7),
        0 0 80px rgba(255,255,255,0.04);
    transform: rotateY(-8deg);
}

.hero-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0.16),
            transparent 25%,
            transparent 70%,
            rgba(255,255,255,0.04)
        );
    pointer-events: none;
}

.hero-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        transparent 45%
    );
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%) contrast(1.08);
    transform: scale(1.02);
    transition: transform 0.8s ease;
}

.hero-image-card:hover img {
    transform: scale(1.07);
}

.image-glow {
    position: absolute;
    inset: 15%;
    background: #fff;
    opacity: 0.08;
    filter: blur(100px);
    z-index: -1;
}

.image-label {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.image-label span {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.image-label small {
    color: #aaa;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
}

.floating-circle {
    position: absolute;
    right: -60px;
    bottom: 10%;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.52rem;
    letter-spacing: 0.15em;
    color: #888;
    background: rgba(5,5,5,0.7);
    backdrop-filter: blur(10px);
}

.hero-scroll {
    position: absolute;
    bottom: 35px;
    left: 7vw;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: #555;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    position: relative;
    padding: 150px 7vw;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.section-number {
    color: #555;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 70px;
}

.eyebrow {
    color: #666;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
}

.section-heading h2 {
    max-width: 850px;
    font-size: clamp(3rem, 7vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
    font-weight: 900;
}

.section-heading h2 span {
    color: #555;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    margin-top: 90px;
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 10vw;
}

.about-main {
    max-width: 750px;
}

.about-main p {
    color: #888;
    line-height: 1.9;
    font-size: 0.95rem;
    margin-top: 28px;
}

.about-main .large-text {
    color: #ddd;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.55;
    margin-top: 0;
}

.about-main strong {
    color: #fff;
}

.about-stats {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.stat strong {
    font-size: 1.4rem;
    font-weight: 800;
}

.stat span {
    color: #666;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================
   SKILLS
========================================= */

.skills-grid {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-left: 1px solid rgba(255,255,255,0.12);
}

.skill-card {
    min-height: 230px;
    padding: 28px;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: background 0.35s ease, transform 0.35s ease;
}

.skill-card:hover {
    background: rgba(255,255,255,0.035);
    transform: translateY(-5px);
}

.skill-card > span {
    color: #555;
    font-size: 0.6rem;
}

.skill-card h3 {
    margin-top: 60px;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
}

.skill-card p {
    margin-top: 12px;
    color: #666;
    font-size: 0.76rem;
    line-height: 1.6;
}


/* =========================================
   PROJECTS
========================================= */

.projects-grid {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    transition: transform 0.45s ease, border-color 0.45s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.22);
}

.project-top {
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.project-preview {
    height: 330px;
    margin: 0 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 50% 40%, #333, #0a0a0a 65%);
}

.project-preview::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,0.18);
    transform: rotate(45deg);
}

.project-preview::after {
    content: "";
    position: absolute;
    inset: 15%;
    border: 1px solid rgba(255,255,255,0.06);
    transform: perspective(600px) rotateX(55deg) rotateZ(15deg);
}

.preview-content {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    color: rgba(255,255,255,0.82);
}

.project-info {
    padding: 28px 28px 32px;
}

.project-info h3 {
    font-size: 1.45rem;
    letter-spacing: -0.05em;
}

.project-info p {
    margin-top: 12px;
    max-width: 500px;
    color: #777;
    font-size: 0.76rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.project-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: #777;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
}

.project-link {
    display: inline-flex;
    margin-top: 25px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-bottom: 1px solid #555;
    padding-bottom: 6px;
    transition: border-color 0.3s ease;
}

.project-link:hover {
    border-color: #fff;
}


/* =========================================
   CERTIFICATES
========================================= */

.certificate-list {
    margin-top: 90px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.certificate-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 25px;
    padding: 30px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: padding 0.35s ease, background 0.35s ease;
}

.certificate-item:hover {
    padding-left: 20px;
    padding-right: 20px;
    background: rgba(255,255,255,0.025);
}

.certificate-item > span {
    color: #555;
    font-size: 0.6rem;
}

.certificate-item h3 {
    font-size: 1rem;
    font-weight: 600;
}

.certificate-item p {
    margin-top: 6px;
    color: #666;
    font-size: 0.65rem;
}

.certificate-item strong {
    color: #aaa;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -300px;
    bottom: -350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    filter: blur(130px);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    font-size: clamp(4rem, 9vw, 10rem);
    line-height: 0.83;
    letter-spacing: -0.1em;
    font-weight: 900;
}

.contact-content h2 span {
    color: #555;
}

.contact-description {
    max-width: 470px;
    margin-top: 40px;
    color: #777;
    line-height: 1.8;
    font-size: 0.85rem;
}

.contact-buttons {
    margin-top: 55px;
    max-width: 850px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: padding 0.35s ease, background 0.35s ease;
}

.contact-btn:hover {
    padding-left: 18px;
    padding-right: 18px;
    background: rgba(255,255,255,0.025);
}

.contact-btn strong {
    color: #666;
    font-size: 1rem;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 35px 7vw;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.footer span {
    color: #aaa;
}


/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1000px) {

    .nav-links {
        display: none;
    }

    .nav-contact {
        margin-left: auto;
        margin-right: 15px;
    }

    .menu-btn {
        display: flex;
    }

    .hero-content {
        width: 65%;
    }

    .hero-image-wrap {
        right: 2vw;
        width: 38vw;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        max-width: 600px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 700px) {

    .navbar {
        height: 72px;
        padding: 0 6vw;
    }

    .nav-contact {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .hero {
        min-height: 100svh;
        padding: 115px 6vw 70px;
        display: block;
    }

    .hero::after {
        background-size: 50px 50px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-intro {
        font-size: 0.52rem;
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 17vw, 6rem);
        line-height: 0.83;
    }

    .hero-bottom {
        margin-top: 35px;
        display: block;
    }

    .hero-role {
        font-size: 0.6rem;
    }

    .hero-bottom p {
        margin-top: 18px;
        font-size: 0.75rem;
        line-height: 1.7;
        max-width: 100%;
    }

    .hero-buttons {
        margin-top: 28px;
        flex-wrap: wrap;
    }

    .btn {
        min-height: 48px;
        padding: 0 18px;
        font-size: 0.58rem;
    }

    .hero-image-wrap {
        position: relative;
        top: auto;
        right: auto;
        width: 78%;
        max-width: 340px;
        margin: 70px auto 0;
        transform: rotate(4deg);
    }

    .hero-image-card {
        transform: none;
        border-radius: 18px;
    }

    .floating-circle {
        width: 75px;
        height: 75px;
        right: -35px;
        font-size: 0.43rem;
    }

    .hero-scroll {
        display: none;
    }

    .hero-bg-text {
        font-size: 34vw;
        bottom: 18%;
    }

    .section {
        padding: 100px 6vw;
    }

    .section-number {
        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: clamp(2.7rem, 14vw, 5rem);
    }

    .about-grid {
        margin-top: 60px;
    }

    .about-main .large-text {
        font-size: 1.15rem;
    }

    .about-main p {
        font-size: 0.78rem;
    }

    .skills-grid {
        margin-top: 60px;
        grid-template-columns: 1fr;
    }

    .skill-card {
        min-height: 190px;
    }

    .skill-card h3 {
        margin-top: 40px;
    }

    .projects-grid {
        margin-top: 60px;
        grid-template-columns: 1fr;
    }

    .project-preview {
        height: 260px;
    }

    .project-info {
        padding: 23px;
    }

    .certificate-list {
        margin-top: 60px;
    }

    .certificate-item {
        grid-template-columns: 35px 1fr;
        gap: 12px;
        padding: 23px 0;
    }

    .certificate-item strong {
        grid-column: 2;
    }

    .certificate-item h3 {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .certificate-item p {
        font-size: 0.58rem;
    }

    .contact {
        min-height: auto;
    }

    .contact-content h2 {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }

    .contact-description {
        font-size: 0.75rem;
    }

    .contact-btn {
        font-size: 0.58rem;
        gap: 15px;
    }

    .footer {
        padding: 28px 6vw;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero-image-wrap {
        width: 82%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .contact-content h2 {
        font-size: 3.3rem;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
