
/* =========================================
   ROOT
========================================= */

:root {

    --primary: #c8944d;
    --primary-light: #e5b76d;
    --primary-dark: #96682f;

    --dark: #10100f;
    --dark-2: #171614;
    --dark-3: #211f1c;

    --white: #ffffff;
    --text: #eeeae4;
    --muted: #99958f;

    --border: rgba(255,255,255,.10);

    --container: 1180px;

}


/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    background: var(--dark);

    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;

}

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

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

button,
input,
textarea {
    font-family: inherit;
}


/* =========================================
   CONTAINER
========================================= */

.container {

    width: min(
        calc(100% - 50px),
        var(--container)
    );

    margin: auto;

}


/* =========================================
   NAVBAR
========================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 999;

    padding: 25px 0;

    transition: .3s;

}

.navbar.scrolled {

    background: rgba(16,16,15,.92);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);

    padding: 17px 0;

}


.nav-wrapper {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

}

.logo > span {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-weight: 800;

    font-size: 14px;

}

.logo div {

    display: flex;

    flex-direction: column;

}

.logo strong {

    font-family: "Manrope", sans-serif;

    font-size: 15px;

}

.logo small {

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


/* NAV */

.nav-menu {

    display: flex;

    gap: 34px;

}

.nav-menu a {

    color: #aaa6a0;

    font-size: 13px;

    font-weight: 500;

    transition: .3s;

    position: relative;

}

.nav-menu a:hover,
.nav-menu a.active {

    color: var(--white);

}

.nav-menu a.active::after {

    content: "";

    position: absolute;

    bottom: -10px;

    left: 50%;

    width: 5px;
    height: 5px;

    background: var(--primary);

    border-radius: 50%;

    transform: translateX(-50%);

}


/* NAV BUTTON */

.nav-button {

    display: flex;

    align-items: center;

    gap: 10px;

    border: 1px solid var(--border);

    padding: 11px 18px;

    font-size: 12px;

    transition: .3s;

}

.nav-button:hover {

    border-color: var(--primary);

    color: var(--primary);

}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    padding: 140px 0 80px;

    overflow: hidden;

}

.hero-bg {

    position: absolute;

    width: 650px;
    height: 650px;

    border-radius: 50%;

    background: rgba(200,148,77,.06);

    filter: blur(20px);

    right: -250px;
    top: 100px;

}

.hero-grid {

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 80px;

}


/* AVAILABILITY */

.availability {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 8px 13px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,.02);

    color: #b8b3ad;

    font-size: 11px;

    margin-bottom: 28px;

}

.status-dot {

    width: 7px;
    height: 7px;

    background: #63d68a;

    border-radius: 50%;

    box-shadow: 0 0 12px #63d68a;

}


/* HERO TEXT */

.hero-label {

    color: var(--primary);

    letter-spacing: 4px;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 8px;

}

.hero h1 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(58px, 7vw, 100px);

    line-height: .95;

    letter-spacing: -5px;

    font-weight: 800;

    color: var(--white);

}

.hero h1 span {

    display: block;

    color: var(--primary);

}

.hero h2 {

    margin-top: 25px;

    font-size: 21px;

    font-weight: 500;

    color: #d8d4cf;

}

.hero-description {

    max-width: 590px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 15px;

}


/* BUTTON */

.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 32px;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 14px 21px;

    font-size: 12px;

    font-weight: 600;

    transition: .3s;

}

.btn-primary {

    background: var(--primary);

    color: var(--dark);

}

.btn-primary:hover {

    background: var(--primary-light);

    transform: translateY(-2px);

}

.btn-outline {

    border: 1px solid var(--border);

    color: var(--text);

}

.btn-outline:hover {

    border-color: var(--primary);

    color: var(--primary);

}


/* SOCIAL */

.hero-social {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 42px;

}

.hero-social span {

    color: #68645f;

    font-size: 11px;

    margin-right: 5px;

}

.hero-social a {

    width: 34px;
    height: 34px;

    border: 1px solid var(--border);

    display: flex;

    align-items: center;
    justify-content: center;

    color: #aaa59e;

    font-size: 13px;

    transition: .3s;

}

.hero-social a:hover {

    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-3px);

}


/* =========================================
   PROFILE
========================================= */

.hero-profile {

    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.profile-glow {

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    border: 1px solid rgba(200,148,77,.15);

}

.profile-card {

    width: 355px;

    position: relative;

    z-index: 2;

    background: var(--dark-2);

    border: 1px solid var(--border);

    padding: 14px;

    transform: rotate(2deg);

    box-shadow:
        0 40px 100px rgba(0,0,0,.4);

}

.profile-top {

    display: flex;

    justify-content: space-between;

    padding: 12px 8px;

    color: #68645f;

    font-size: 9px;

    letter-spacing: 2px;

}

.profile-photo {

    height: 390px;

    overflow: hidden;

    position: relative;

    background: #25231f;

}

.profile-photo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.photo-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(16,16,15,.9),
            transparent 55%
        );

}

.profile-info {

    padding: 15px 8px 10px;

}

.profile-info h3 {

    font-family: "Manrope", sans-serif;

    font-size: 21px;

    color: var(--white);

}

.profile-info p {

    font-size: 11px;

    color: var(--primary);

}

.profile-line {

    height: 1px;

    background: var(--border);

    margin: 13px 0;

}

.profile-location {

    font-size: 10px;

    color: #77736d;

    display: flex;

    align-items: center;

    gap: 7px;

}


/* FLOATING CARDS */

.floating-card {

    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 12px;

    background: #1d1b19;

    border: 1px solid var(--border);

    padding: 13px 17px;

    box-shadow: 0 15px 40px rgba(0,0,0,.3);

}

.floating-card > i {

    color: var(--primary);

    font-size: 17px;

}

.floating-card div {

    display: flex;

    flex-direction: column;

}

.floating-card strong {

    font-size: 11px;

}

.floating-card small {

    color: #706c66;

    font-size: 9px;

}

.card-one {

    left: 5px;

    top: 130px;

}

.card-two {

    right: 5px;

    bottom: 130px;

}


/* SCROLL */

.scroll-down {

    position: absolute;

    bottom: 35px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    color: #55514c;

    font-size: 9px;

    letter-spacing: 2px;

}


/* =========================================
   SECTION
========================================= */

.section {

    padding: 125px 0;

}

.section-heading {

    max-width: 760px;

    margin-bottom: 65px;

}

.section-heading.center {

    text-align: center;

    margin-left: auto;
    margin-right: auto;

}

.section-number {

    display: block;

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 17px;

}

.section-heading h2 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -3px;

    color: var(--white);

}

.section-heading h2 span {

    color: var(--primary);

}

.section-heading p {

    color: var(--muted);

    font-size: 14px;

    max-width: 600px;

    margin: 18px auto 0;

}


/* =========================================
   ABOUT
========================================= */

.about {

    background: var(--dark-2);

}

.about-grid {

    display: grid;

    grid-template-columns: 1.3fr .7fr;

    gap: 100px;

}

.about-text {

    max-width: 700px;

}

.about-text p {

    color: var(--muted);

    margin-bottom: 20px;

    font-size: 14px;

}

.about-text .large-text {

    font-size: 21px;

    line-height: 1.7;

    color: #ded9d3;

}

.text-link {

    display: inline-flex;

    gap: 12px;

    color: var(--primary);

    font-size: 12px;

    margin-top: 10px;

    font-weight: 600;

}

.about-stats {

    display: grid;

    grid-template-columns: 1fr 1fr;

}

.stat-box {

    min-height: 150px;

    border: 1px solid var(--border);

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.stat-box strong {

    font-family: "Manrope", sans-serif;

    font-size: 35px;

    color: var(--primary);

}

.stat-box span {

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


/* =========================================
   SKILLS
========================================= */

.skills-section {

    background: var(--dark);

}

.skills-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

}

.skill-card {

    border: 1px solid var(--border);

    background: rgba(255,255,255,.015);

    padding: 30px;

    transition: .3s;

}

.skill-card:hover {

    border-color: rgba(200,148,77,.45);

    transform: translateY(-5px);

}

.skill-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--primary);

    font-size: 19px;

    margin-bottom: 20px;

}

.skill-card h3 {

    font-family: "Manrope", sans-serif;

    color: var(--white);

    font-size: 17px;

}

.skill-card p {

    color: var(--muted);

    font-size: 12px;

    min-height: 48px;

    margin: 8px 0 20px;

}

.skill-bar {

    height: 3px;

    background: #292622;

    margin-bottom: 8px;

}

.skill-bar span {

    display: block;

    height: 100%;

    background: var(--primary);

}

.skill-card small {

    color: var(--primary);

    font-size: 9px;

}

.tech-list {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 9px;

    margin-top: 50px;

}

.tech-list span {

    border: 1px solid var(--border);

    padding: 8px 13px;

    color: #85817b;

    font-size: 10px;

}


/* =========================================
   EXPERIENCE
========================================= */

.experience {

    background: var(--dark-2);

}

.timeline {

    position: relative;

    max-width: 950px;

    margin: auto;

}

.timeline::before {

    content: "";

    position: absolute;

    left: 175px;

    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--border);

}

.timeline-item {

    display: grid;

    grid-template-columns: 150px 50px 1fr;

    min-height: 220px;

}

.timeline-date {

    color: #77726b;

    font-size: 11px;

    padding-top: 5px;

}

.timeline-dot {

    width: 9px;
    height: 9px;

    background: var(--primary);

    border-radius: 50%;

    margin: 7px auto;

    position: relative;

    z-index: 2;

    box-shadow: 0 0 0 6px var(--dark-2);

}

.timeline-content {

    padding-left: 30px;

}

.timeline-content > span {

    color: var(--primary);

    font-size: 9px;

    letter-spacing: 2px;

}

.timeline-content h3 {

    font-family: "Manrope", sans-serif;

    font-size: 22px;

    color: var(--white);

    margin: 8px 0;

}

.timeline-content p {

    color: var(--muted);

    font-size: 13px;

    max-width: 650px;

}

.timeline-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 15px;

}

.timeline-tags span {

    font-size: 9px;

    padding: 5px 9px;

    border: 1px solid var(--border);

    color: #89847e;

}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio {

    background: var(--dark);

}

.portfolio-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;

}

.project-card {

    border: 1px solid var(--border);

    background: var(--dark-2);

    overflow: hidden;

}

.project-large {

    grid-row: span 2;

}

.project-image {

    height: 300px;

    position: relative;

    overflow: hidden;

    background: #1b1917;

}

.project-large .project-image {

    height: 480px;

}

.project-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 60px;

    color: rgba(200,148,77,.4);

    background:
        radial-gradient(
            circle at center,
            rgba(200,148,77,.12),
            transparent 60%
        );

}

.project-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.5);

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;

    transition: .3s;

}

.project-card:hover .project-overlay {

    opacity: 1;

}

.project-link {

    width: 50px;
    height: 50px;

    background: var(--primary);

    color: var(--dark);

    display: flex;

    align-items: center;
    justify-content: center;

}

.project-info {

    padding: 24px;

}

.project-info > span {

    color: var(--primary);

    font-size: 9px;

    letter-spacing: 2px;

}

.project-info h3 {

    font-family: "Manrope", sans-serif;

    color: var(--white);

    font-size: 21px;

    margin: 8px 0;

}

.project-info p {

    color: var(--muted);

    font-size: 12px;

}

.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 16px;

}

.project-tech span {

    padding: 5px 9px;

    background: rgba(255,255,255,.04);

    color: #858078;

    font-size: 9px;

}

.portfolio-more {

    display: flex;

    justify-content: center;

    margin-top: 50px;

}


/* =========================================
   EDUCATION
========================================= */

.education {

    background: var(--dark-2);

}

.education-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}

.education-card {

    border: 1px solid var(--border);

    padding: 30px;

    display: flex;

    gap: 20px;

}

.education-icon {

    min-width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--primary);

}

.education-card span {

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--primary);

}

.education-card h3 {

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 20px;

    margin: 5px 0;

}

.education-card p {

    color: var(--muted);

    font-size: 12px;

}

.education-card small {

    color: #69655f;

    display: block;

    margin-top: 8px;

    font-size: 10px;

}


/* =========================================
   CONTACT
========================================= */

.contact-section {

    padding: 120px 0;

    background: var(--dark);

}

.contact-box {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 70px;

    border: 1px solid var(--border);

    padding: 70px;

    position: relative;

    overflow: hidden;

}

.contact-box::before {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    border: 1px solid rgba(200,148,77,.12);

    right: -200px;
    bottom: -250px;

}

.contact-content h2 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -3px;

    color: var(--white);

}

.contact-content h2 span {

    color: var(--primary);

}

.contact-content p {

    color: var(--muted);

    font-size: 13px;

    max-width: 550px;

    margin: 22px 0;

}

.contact-email {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 600;

}


/* CONTACT BUTTON */

.contact-actions {

    display: flex;

    flex-direction: column;

    gap: 10px;

    position: relative;

    z-index: 2;

}

.contact-button {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px;

    border: 1px solid var(--border);

    transition: .3s;

}

.contact-button > i:first-child {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--primary);

}

.contact-button div {

    flex: 1;

    display: flex;

    flex-direction: column;

}

.contact-button small {

    color: #68645e;

    font-size: 9px;

}

.contact-button strong {

    font-size: 11px;

}

.contact-button > i:last-child {

    color: #5f5b56;

    font-size: 11px;

}

.contact-button:hover {

    border-color: var(--primary);

    transform: translateX(5px);

}


/* =========================================
   FOOTER
========================================= */

footer {

    border-top: 1px solid var(--border);

    padding: 30px 0;

    background: var(--dark-2);

}

.footer-wrapper {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.footer-wrapper strong {

    font-family: "Manrope", sans-serif;

    color: var(--white);

    font-size: 13px;

}

.footer-wrapper p {

    color: #65615c;

    font-size: 10px;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .nav-menu {

        gap: 17px;

    }

    .nav-button {

        display: none;

    }

    .hero-grid {

        gap: 40px;

    }

    .about-grid {

        gap: 50px;

    }

}


@media (max-width: 800px) {

    .container {

        width: min(
            calc(100% - 30px),
            var(--container)
        );

    }

    .navbar {

        padding: 18px 0;

    }

    .nav-menu {

        display: none;

    }

    .hero {

        padding-top: 120px;

    }

    .hero-grid {

        grid-template-columns: 1fr;

    }

    .hero-content {

        text-align: center;

    }

    .availability {

        margin-left: auto;
        margin-right: auto;

    }

    .hero h1 {

        font-size: clamp(55px, 17vw, 90px);

    }

    .hero-description {

        margin-left: auto;
        margin-right: auto;

    }

    .hero-buttons {

        justify-content: center;

        flex-wrap: wrap;

    }

    .hero-social {

        justify-content: center;

    }

    .hero-profile {

        min-height: 500px;

        margin-top: 20px;

    }

    .profile-card {

        width: min(350px, 85vw);

    }

    .profile-photo {

        height: 360px;

    }

    .card-one {

        left: 0;

    }

    .card-two {

        right: 0;

    }

    .about-grid {

        grid-template-columns: 1fr;

    }

    .skills-grid {

        grid-template-columns: 1fr 1fr;

    }

    .portfolio-grid {

        grid-template-columns: 1fr;

    }

    .project-large {

        grid-row: auto;

    }

    .project-large .project-image {

        height: 300px;

    }

    .education-grid {

        grid-template-columns: 1fr;

    }

    .contact-box {

        grid-template-columns: 1fr;

        padding: 40px 25px;

    }

}


@media (max-width: 520px) {

    .section {

        padding: 90px 0;

    }

    .hero h1 {

        letter-spacing: -3px;

    }

    .hero h2 {

        font-size: 17px;

    }

    .hero-description {

        font-size: 13px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons .btn {

        width: 100%;

    }

    .hero-profile {

        min-height: 430px;

    }

    .profile-card {

        width: 290px;

    }

    .profile-photo {

        height: 310px;

    }

    .floating-card {

        padding: 10px;

    }

    .card-one {

        left: -5px;

        top: 70px;

    }

    .card-two {

        right: -5px;

        bottom: 60px;

    }

    .about-stats {

        grid-template-columns: 1fr 1fr;

    }

    .stat-box {

        min-height: 120px;

        padding: 18px;

    }

    .stat-box strong {

        font-size: 28px;

    }

    .skills-grid {

        grid-template-columns: 1fr;

    }

    .timeline::before {

        left: 8px;

    }

    .timeline-item {

        grid-template-columns: 25px 1fr;

    }

    .timeline-date {

        grid-column: 2;

        grid-row: 1;

        padding: 0;

        margin-bottom: 5px;

    }

    .timeline-dot {

        grid-column: 1;

        grid-row: 1 / span 2;

        margin-left: 4px;

    }

    .timeline-content {

        grid-column: 2;

        padding-left: 0;

        padding-bottom: 50px;

    }

    .contact-content h2 {

        letter-spacing: -2px;

    }

    .footer-wrapper {

        flex-direction: column;

        gap: 12px;

        text-align: center;

    }

}
