/* =========================
   GLOBAL
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #080b12;
    color: #f5f7fa;
    line-height: 1.6;
}

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

.container {
    width: min(1120px, 92%);
    margin: auto;
}


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

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(8, 11, 18, 0.85);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid #1b2230;
}

.nav-container {
    height: 75px;

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

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #5eead4;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #9ca6b5;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: #5eead4;
}

.nav-button {
    padding: 10px 18px;

    border: 1px solid #2a3545;

    border-radius: 8px;

    font-size: 13px;

    transition: 0.3s;
}

.nav-button:hover {
    border-color: #5eead4;
    color: #5eead4;
}


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

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(45, 212, 191, 0.09),
            transparent 30%
        );
}

.hero-container {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;

    align-items: center;
}

.hero-small {
    color: #5eead4;

    font-size: 14px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 20px;
}

.hero h1 span {
    color: #5eead4;
}

.hero h2 {
    color: #d8dee9;

    font-size: 24px;

    margin-bottom: 20px;
}

.hero-description {
    max-width: 620px;

    color: #8f99a8;

    font-size: 17px;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 30px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 21px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;
}

.primary-button {
    background: #5eead4;

    color: #07110f;
}

.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(94, 234, 212, 0.15);
}

.secondary-button {
    border: 1px solid #293342;

    color: #d5dae2;
}

.secondary-button:hover {
    border-color: #5eead4;

    color: #5eead4;
}

.social-links {
    display: flex;

    gap: 20px;

    margin-top: 30px;
}

.social-links a {
    color: #707b8c;

    font-size: 20px;

    transition: 0.3s;
}

.social-links a:hover {
    color: #5eead4;

    transform: translateY(-3px);
}


/* =========================
   CODE CARD
========================= */

.hero-card {
    display: flex;

    justify-content: center;
}

.code-window {
    width: 100%;

    max-width: 480px;

    background: #0d111a;

    border: 1px solid #202938;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}

.window-top {
    height: 45px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 0 15px;

    border-bottom: 1px solid #202938;

    color: #667286;

    font-size: 12px;
}

.window-buttons {
    display: flex;

    gap: 6px;
}

.window-buttons span {
    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #333b49;
}

.code {
    padding: 30px;

    font-family: "Courier New", monospace;

    font-size: 14px;

    color: #aab4c4;
}

.code p {
    margin-bottom: 14px;
}

.indent {
    padding-left: 25px;
}

.purple {
    color: #c084fc;
}

.blue {
    color: #60a5fa;
}

.green {
    color: #5eead4;
}

.orange {
    color: #fbbf24;
}


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

.section {
    padding: 110px 0;
}

.dark-section {
    background: #0b0f17;

    border-top: 1px solid #151c27;

    border-bottom: 1px solid #151c27;
}

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

.section-title p {
    color: #5eead4;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-title h2 {
    font-size: clamp(30px, 5vw, 48px);

    line-height: 1.15;

    letter-spacing: -2px;
}

.section-title h2 span {
    color: #5eead4;
}


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

.about-grid {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 70px;
}

.about-text p {
    color: #929baa;

    font-size: 16px;

    margin-bottom: 20px;

    max-width: 650px;
}

.about-stats {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.stat-card {
    padding: 25px;

    background: #0d121b;

    border: 1px solid #1d2634;

    border-radius: 12px;
}

.stat-card h3 {
    color: #5eead4;

    font-size: 35px;

    margin-bottom: 5px;
}

.stat-card p {
    color: #7e8999;

    font-size: 13px;
}


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

.timeline {
    position: relative;

    max-width: 900px;

    margin: auto;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 8px;

    top: 0;

    bottom: 0;

    width: 1px;

    background: #26303f;
}

.timeline-item {
    position: relative;

    padding-left: 45px;

    margin-bottom: 35px;
}

.timeline-dot {
    position: absolute;

    left: 2px;

    top: 25px;

    width: 13px;

    height: 13px;

    border-radius: 50%;

    background: #5eead4;

    box-shadow:
        0 0 0 5px #0b0f17;
}

.experience-card {
    padding: 30px;

    background: #0d121b;

    border: 1px solid #1e2836;

    border-radius: 12px;

    transition: 0.3s;
}

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

    transform: translateY(-3px);
}

.experience-header {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;
}

.experience-header h3 {
    font-size: 19px;
}

.experience-header h4 {
    color: #5eead4;

    font-size: 14px;

    font-weight: 500;
}

.experience-header > span {
    color: #687588;

    font-size: 12px;
}

.experience-card > p {
    color: #8994a4;

    font-size: 14px;
}


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

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}

.tags span {
    padding: 5px 9px;

    border-radius: 5px;

    background: #151c27;

    color: #8e9aaa;

    font-size: 11px;
}


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

.skills-grid {
    display: grid;

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

    gap: 18px;
}

.skill-card {
    padding: 30px;

    border: 1px solid #1d2633;

    border-radius: 12px;

    background: #0b1018;

    transition: 0.3s;
}

.skill-card:hover {
    border-color: #5eead4;

    transform: translateY(-5px);
}

.skill-card i {
    color: #5eead4;

    font-size: 25px;

    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 17px;

    margin-bottom: 8px;
}

.skill-card p {
    color: #788496;

    font-size: 13px;
}


/* =========================
   PROJECTS
========================= */

.projects-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.project-card {
    display: flex;

    gap: 20px;

    padding: 30px;

    border: 1px solid #202a38;

    border-radius: 12px;

    background: #0d121b;

    transition: 0.3s;
}

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

    border-color: #394758;
}

.project-icon {
    min-width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #14221f;

    color: #5eead4;

    font-size: 20px;
}

.project-type {
    color: #5eead4;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 5px;
}

.project-content h3 {
    font-size: 19px;

    margin-bottom: 8px;
}

.project-content > p:not(.project-type) {
    color: #7f8998;

    font-size: 13px;
}

.github-button-container {
    text-align: center;

    margin-top: 45px;
}


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

.contact-section {
    text-align: center;
}

.contact-container {
    max-width: 800px;
}

.contact-description {
    color: #8b96a6;

    font-size: 16px;

    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;
}


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

footer {
    border-top: 1px solid #1b2330;

    padding: 25px 0;
}

.footer-container {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.footer-container p {
    color: #606b7b;

    font-size: 12px;
}

.footer-container div {
    display: flex;

    gap: 20px;
}

.footer-container a {
    color: #687385;

    font-size: 12px;
}

.footer-container a:hover {
    color: #5eead4;
}


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

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;

        padding: 70px 0;
    }

    .hero-card {
        justify-content: flex-start;
    }

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

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

}


@media (max-width: 650px) {

    .nav-button {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -3px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .section {
        padding: 80px 0;
    }

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

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .experience-header {
        flex-direction: column;
    }

    .project-card {
        flex-direction: column;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons a {
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

}

/* =========================
   APP STORE LINKS
========================= */

.store-links {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 22px;
}

.store-links a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border: 1px solid #273241;

    border-radius: 6px;

    color: #aab4c3;

    font-size: 11px;

    font-weight: 600;

    transition: 0.3s;
}

.store-links a:hover {
    color: #5eead4;

    border-color: #5eead4;

    background: rgba(94, 234, 212, 0.05);

    transform: translateY(-2px);
}

.store-links i {
    font-size: 14px;
}
