/* =========================================================
   VISHWESH PORTFOLIO
   Modern Dark + Orange Theme
   ========================================================= */


/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0b0b;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    scroll-margin-top: 90px;
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #222;

    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #ff8a00;
}

.navbar nav {
    display: flex;
    gap: 32px;
}

.navbar nav a {
    color: #d5d5d5;
    font-size: 15px;
    font-weight: 600;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: #ff8a00;
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 120px 8% 70px;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(255, 138, 0, 0.18),
            transparent 30%
        ),
        #0b0b0b;

    gap: 60px;
}

.hero-content {
    max-width: 700px;
}

.tagline {
    color: #ff8a00;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(55px, 7vw, 90px);
    line-height: 1.05;
    margin-bottom: 10px;
}

.hero h1 span {
    color: #ff8a00;
}

.hero h2 {
    font-size: clamp(30px, 4vw, 48px);
    color: #eeeeee;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 620px;
    color: #aaaaaa;
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* ================= BUTTONS ================= */

.btn {
    display: inline-block;

    padding: 14px 25px;

    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.primary-btn {
    background: #ff8a00;
    color: #111;
}

.primary-btn:hover {
    background: #ffa733;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 138, 0, 0.25);
}

.secondary-btn {
    border: 1px solid #444;
    color: #ffffff;
}

.secondary-btn:hover {
    border-color: #ff8a00;
    color: #ff8a00;
    transform: translateY(-3px);
}


/* ================= HERO VISUAL ================= */

.hero-card {
    width: 390px;
    height: 390px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(255, 138, 0, 0.22),
            transparent 60%
        );

    flex-shrink: 0;
}

.profile-circle {
    width: 260px;
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #191919;

    border: 1px solid #333;

    font-size: 100px;

    box-shadow:
        0 0 80px rgba(255, 138, 0, 0.15);

    animation: floating 4s ease-in-out infinite;
}

.floating-card {
    position: absolute;

    padding: 15px 20px;

    background: #191919;

    border: 1px solid #333;

    border-radius: 12px;

    font-weight: 700;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    animation: floating 4s ease-in-out infinite;
}

.card-one {
    top: 55px;
    right: -20px;
}

.card-two {
    bottom: 55px;
    left: -25px;
    animation-delay: 1s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* ================= GENERAL SECTION ================= */

.section {
    padding: 110px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: #ff8a00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 45px;
    line-height: 1.1;
}


/* ================= ABOUT ================= */

.about-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    max-width: 1100px;

    margin: auto;
}

.about-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-text p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 17px;
}

.about-info {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.info-box {
    padding: 25px;

    background: #141414;

    border: 1px solid #272727;

    border-radius: 15px;

    transition: 0.3s;
}

.info-box:hover {
    border-color: #ff8a00;
    transform: translateY(-5px);
}

.info-box span {
    font-size: 28px;
}

.info-box h4 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.info-box p {
    color: #999;
    font-size: 14px;
}


/* ================= SKILLS ================= */

.skills-section {
    background: #101010;
}

.skills-grid {
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.skill-card {
    padding: 30px;

    background: #151515;

    border: 1px solid #292929;

    border-radius: 15px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: #ff8a00;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.skill-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.skill-card p {
    color: #999;
    font-size: 14px;
}


/* ================= PROJECTS ================= */

.projects-grid {
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    overflow: hidden;

    background: #141414;

    border: 1px solid #292929;

    border-radius: 16px;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: #ff8a00;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35);
}

.project-image {
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 75px;

    background:
        radial-gradient(
            circle,
            rgba(255, 138, 0, 0.2),
            transparent 65%
        ),
        #1c1c1c;
}

.project-content {
    padding: 25px;
}

.project-tag {
    color: #ff8a00;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.project-content h3 {
    font-size: 22px;

    margin: 10px 0;
}

.project-content p {
    color: #999;

    font-size: 14px;

    margin-bottom: 20px;
}

.project-buttons {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.project-btn {
    padding: 9px 14px;

    border: 1px solid #444;

    border-radius: 7px;

    font-size: 13px;

    font-weight: 700;

    transition: 0.3s;
}

.project-btn:hover {
    border-color: #ff8a00;

    color: #ff8a00;
}


/* ================= SERVICES ================= */

.services-section {
    background: #101010;
}

.services-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    text-align: center;

    padding: 40px 30px;

    background: #151515;

    border: 1px solid #292929;

    border-radius: 16px;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #ff8a00;
}

.service-icon {
    font-size: 45px;

    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;

    margin-bottom: 12px;
}

.service-card p {
    color: #999;

    font-size: 14px;
}


/* ================= CONTACT ================= */

.contact-container {
    max-width: 1050px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: start;
}

.contact-text h3 {
    font-size: 30px;

    margin-bottom: 15px;
}

.contact-text > p {
    color: #999;

    margin-bottom: 30px;

    font-size: 16px;
}

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-details p {
    color: #aaa;
}

.contact-details a {
    color: #ff8a00;

    transition: 0.3s;
}

.contact-details a:hover {
    color: #ffa733;
}


/* ================= FORM ================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 15px 17px;

    background: #151515;

    border: 1px solid #303030;

    border-radius: 8px;

    outline: none;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff8a00;

    box-shadow:
        0 0 0 3px rgba(255, 138, 0, 0.08);
}

.contact-form textarea {
    resize: vertical;
}


/* ================= FOOTER ================= */

footer {
    padding: 30px 8%;

    text-align: center;

    border-top: 1px solid #222;

    color: #777;

    font-size: 13px;

    background: #080808;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

    .hero {
        flex-direction: column;

        text-align: center;

        padding-top: 130px;
    }

    .hero-content {
        max-width: 800px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        width: 350px;
        height: 350px;
    }

    .skills-grid,
    .projects-grid,
    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        gap: 13px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .logo {
        font-size: 22px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-card {
        transform: scale(0.85);
        margin-top: -20px;
    }

    .section {
        padding: 80px 5%;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .skills-grid,
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .contact-container {
        gap: 40px;
    }
}


@media (max-width: 480px) {

    .navbar {
        height: auto;

        padding-top: 15px;
        padding-bottom: 15px;

        flex-direction: column;

        gap: 12px;
    }

    .navbar nav {
        flex-wrap: wrap;

        justify-content: center;

        gap: 12px;
    }

    .hero {
        padding-top: 150px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .hero-card {
        width: 300px;
        height: 300px;
    }

    .profile-circle {
        width: 210px;
        height: 210px;

        font-size: 75px;
    }

    .floating-card {
        font-size: 12px;

        padding: 10px 12px;
    }

    .card-one {
        right: -5px;
    }

    .card-two {
        left: -5px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
/* ================= SCROLL REVEAL ================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* ================= ACTIVE NAV LINK ================= */

.navbar nav a.active {
    color: #ff8a00;
}