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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}


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

nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    background: rgba(5, 5, 5, 0.80);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #1c1c1c;

    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;

    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}


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

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    padding: 120px 10% 80px;
}

.hero-text {
    max-width: 650px;
}

.small-text {
    color: #666;
    font-size: 18px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 100px);

    line-height: 1;

    margin-bottom: 20px;

    background: linear-gradient(
        90deg,
        #ffffff,
        #666666
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero h2 {
    color: #aaa;

    font-size: 24px;

    margin-bottom: 20px;
}

.hero-text > p {
    color: #777;

    line-height: 1.7;

    max-width: 550px;
}


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

.hero-image {
    width: 350px;
    height: 450px;

    overflow: hidden;

    border-radius: 24px;

    border: 1px solid #292929;

    transform: rotate(3deg);

    box-shadow:
        0 20px 80px rgba(0, 0, 0, 0.8);
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    transition: 0.5s;
}

.hero-image:hover img {
    filter: grayscale(0%);

    transform: scale(1.05);
}


/* =========================
   BUTTONS
========================= */

.buttons {
    display: flex;

    gap: 15px;

    margin-top: 30px;
}

.button {
    display: inline-block;

    padding: 13px 25px;

    border-radius: 8px;

    background: white;
    color: black;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.button:hover {
    transform: translateY(-3px);
}

.button.secondary {
    background: #111;

    color: white;

    border: 1px solid #333;
}


/* =========================
   SECTIONS
========================= */

.section {
    max-width: 1100px;

    margin: auto;

    padding: 120px 30px;
}

.section-title {
    margin-bottom: 60px;
}

.section-title p {
    color: #444;

    font-size: 14px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 45px;
}


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

.about-content {
    display: flex;

    align-items: center;

    gap: 70px;
}

.about-image {
    min-width: 280px;
    height: 350px;

    overflow: hidden;

    border-radius: 20px;

    border: 1px solid #222;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);
}

.about-text {
    color: #888;

    line-height: 1.8;
}

.about-text h3 {
    color: white;

    font-size: 28px;

    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text strong {
    color: white;
}


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

.experience-container {
    border-left: 1px solid #2b2b2b;

    padding-left: 40px;
}

.experience-card {
    display: flex;

    gap: 30px;

    padding: 30px;

    margin-bottom: 30px;

    background: #090909;

    border: 1px solid #1c1c1c;

    border-radius: 15px;

    transition: 0.3s;
}

.experience-card:hover {
    border-color: #444;

    transform: translateX(5px);
}

.experience-number {
    min-width: 30px;

    color: #555;

    font-size: 20px;

    font-weight: bold;
}

.experience-date {
    color: #555;

    font-size: 14px;

    margin-bottom: 10px;
}

.experience-card h3 {
    font-size: 24px;

    margin-bottom: 15px;
}

.experience-card p {
    color: #888;

    line-height: 1.7;
}


/* =========================
   TAGS
========================= */

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.tags span {
    padding: 7px 12px;

    border-radius: 20px;

    background: #141414;

    border: 1px solid #292929;

    color: #888;

    font-size: 13px;

    transition: 0.3s;
}

.tags span:hover {
    color: white;

    border-color: #555;
}


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

.skills {
    display: grid;

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

    gap: 20px;
}

.skill {
    padding: 30px;

    background: #090909;

    border: 1px solid #1c1c1c;

    border-radius: 15px;

    transition: 0.3s;
}

.skill:hover {
    transform: translateY(-5px);

    border-color: #444;
}

.skill h3 {
    margin-bottom: 15px;

    font-size: 20px;
}

.skill p {
    color: #666;

    letter-spacing: 3px;
}


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

footer {
    text-align: center;

    padding: 80px 20px;

    border-top: 1px solid #181818;
}

footer h2 {
    margin-bottom: 10px;
}

footer p {
    color: #666;
}

.copyright {
    margin-top: 30px;

    font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    nav {
        padding: 0 5%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;

        text-align: center;

        padding-top: 130px;
    }

    .hero-text {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero-image {
        width: 280px;
        height: 350px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 280px;
    }

    .skills {
        grid-template-columns: 1fr;
    }

    .experience-container {
        padding-left: 20px;
    }

    .experience-card {
        padding: 20px;

        gap: 15px;
    }
}

/* =========================
   SOCIALS
========================= */

.socials {
    display: flex;

    gap: 12px;

    margin-top: 25px;

    flex-wrap: wrap;
}

.social {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 210px;

    padding: 12px 15px;

    background: rgba(15, 15, 15, 0.8);

    border: 1px solid #242424;

    border-radius: 12px;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.social::before {
    content: "";

    position: absolute;

    width: 80px;
    height: 80px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.03);

    filter: blur(25px);

    left: -30px;
    top: -30px;

    transition: 0.3s;
}

.social:hover {
    transform: translateY(-4px);

    background: #111;

    border-color: #444;
}

.social:hover::before {
    transform: scale(2);
}


/* ICON */

.social-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: flex;

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

    border-radius: 10px;

    background: #1b1b1b;

    border: 1px solid #2d2d2d;
}

.social-icon span {
    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;

    color: #ddd;
}


/* TEXT */

.social-info {
    position: relative;

    display: flex;

    flex-direction: column;

    gap: 3px;
}

.social-label {
    color: #777;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.social-name {
    color: #ddd;

    font-size: 14px;

    font-weight: 600;
}


/* ARROW */

.social-arrow {
    margin-left: auto;

    color: #555;

    font-size: 18px;

    transition: 0.3s;
}

.social:hover .social-arrow {
    color: white;

    transform: translate(2px, -2px);
}

