/* ==========================================
   GENERAL
========================================== */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: -apple-system,
                 BlinkMacSystemFont,
                 "Segoe UI",
                 Roboto,
                 Arial,
                 sans-serif;

    background: #0b1120;
    color: #e2e8f0;

    line-height: 1.7;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


section {
    padding: 110px 0;
}


.dark-section {
    background: #080d18;
}



/* ==========================================
   NAVIGATION
========================================== */

nav {

    position: fixed;
    width: 100%;
    top: 0;

    z-index: 1000;

    background: rgba(11, 17, 32, 0.90);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255,255,255,0.06);
}


.nav-container {

    width: 90%;
    max-width: 1200px;

    margin: auto;

    height: 75px;

    display: flex;

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


.logo {

    color: white;

    font-size: 22px;
    font-weight: 700;

    text-decoration: none;
}


.logo span {
    color: #38bdf8;
}


.nav-links {

    display: flex;

    align-items: center;

    gap: 25px;

    list-style: none;
}


.nav-links a {

    text-decoration: none;

    color: #cbd5e1;

    font-size: 14px;

    transition: 0.3s;
}


.nav-links a:hover {
    color: #38bdf8;
}


.nav-links a.active {
    color: #38bdf8;
}


.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 26px;

    cursor: pointer;
}



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

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top: 130px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(56,189,248,0.15),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 90%,
            rgba(99,102,241,0.10),
            transparent 30%
        );
}


.hero-grid {

    display: grid;

    grid-template-columns: 1.4fr 0.6fr;

    gap: 60px;

    align-items: center;
}


.hero-label {

    color: #38bdf8;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 18px;
}


.hero h1 {

    font-size: clamp(45px, 7vw, 75px);

    line-height: 1.05;

    color: white;

    margin-bottom: 25px;
}


.hero h1 span {
    color: #38bdf8;
}


.hero h2 {

    color: #cbd5e1;

    font-size: 21px;

    font-weight: 500;

    max-width: 850px;

    margin-bottom: 25px;
}


.hero-description {

    color: #94a3b8;

    max-width: 750px;

    font-size: 17px;

    margin-bottom: 35px;
}


.hero-image {

    display: flex;

    justify-content: center;
}


.hero-image img {

    width: 280px;
    height: 280px;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid #1e293b;

    box-shadow:
        0 0 70px rgba(56,189,248,0.20);
}



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

.buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}


.btn {

    padding: 13px 25px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    transition: all 0.3s ease;
}


.btn-primary {

    background: #38bdf8;

    color: #07111f;
}


.btn-primary:hover {

    background: #7dd3fc;

    transform: translateY(-3px);
}


.btn-outline {

    border: 1px solid #475569;

    color: white;
}


.btn-outline:hover {

    border-color: #38bdf8;

    color: #38bdf8;

    transform: translateY(-3px);
}



/* ==========================================
   HEADINGS
========================================== */

.section-label {

    color: #38bdf8;

    text-transform: uppercase;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


.section-title {

    font-size: 40px;

    color: white;

    margin-bottom: 20px;

    line-height: 1.2;
}


.section-description {

    max-width: 750px;

    color: #94a3b8;

    margin-bottom: 45px;

    font-size: 17px;
}



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

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}


.about-grid p {

    color: #94a3b8;

    margin-bottom: 20px;
}


.highlights {

    list-style: none;
}


.highlights li {

    padding: 12px 0;

    border-bottom: 1px solid #1e293b;

    color: #cbd5e1;
}


.highlights li::before {

    content: "→";

    color: #38bdf8;

    margin-right: 12px;
}



/* ==========================================
   GRID + CARDS
========================================== */

.grid-3 {

    display: grid;

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

    gap: 25px;
}


.card {

    padding: 30px;

    background: #111827;

    border: 1px solid #1e293b;

    border-radius: 14px;

    transition: all 0.3s ease;
}


.card:hover {

    transform: translateY(-7px);

    border-color: #38bdf8;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.3);
}


.card h3 {

    color: white;

    margin-bottom: 12px;
}


.card p {
    color: #94a3b8;
}


.card-icon {

    font-size: 30px;

    margin-bottom: 18px;
}


.project-category {

    display: block;

    color: #38bdf8;

    text-transform: uppercase;

    font-weight: 700;

    font-size: 12px;

    letter-spacing: 1px;

    margin-bottom: 12px;
}


.cv-button {
    margin-top: 40px;
}



/* ==========================================
   TECHNOLOGIES
========================================== */

.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.tags span {

    background: #111827;

    border: 1px solid #334155;

    border-radius: 50px;

    padding: 9px 16px;

    color: #cbd5e1;

    transition: 0.3s;
}


.tags span:hover {

    border-color: #38bdf8;

    color: #38bdf8;

    transform: translateY(-2px);
}



/* ==========================================
   VISION
========================================== */

.vision-box {

    max-width: 950px;

    margin: auto;

    padding: 55px;

    border-radius: 20px;

    border: 1px solid #334155;

    background:
        linear-gradient(
            135deg,
            rgba(56,189,248,0.07),
            rgba(99,102,241,0.06)
        );
}


.vision-box p {

    color: #cbd5e1;

    margin-bottom: 20px;

    font-size: 18px;
}



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

.contact {

    text-align: center;
}


.contact-description {

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


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


.location {

    margin-top: 35px;

    color: #94a3b8;
}



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

footer {

    border-top: 1px solid #1e293b;

    text-align: center;

    padding: 30px;

    color: #64748b;

    background: #070b13;

    font-size: 14px;
}



/* ==========================================
   SCROLL ANIMATION
========================================== */

.card,
.about-grid,
.vision-box {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.show {

    opacity: 1;

    transform: translateY(0);
}



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

@media (max-width: 900px) {

    section {
        padding: 85px 0;
    }


    .hero-grid {

        grid-template-columns: 1fr;

        text-align: center;
    }


    .hero-image {

        order: -1;
    }


    .hero-image img {

        width: 210px;

        height: 210px;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .buttons {
        justify-content: center;
    }


    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .grid-3 {

        grid-template-columns: 1fr;
    }


    .section-title {
        font-size: 32px;
    }


    .nav-links {

        display: none;

        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        flex-direction: column;

        background: #0b1120;

        padding: 25px;

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


    .nav-links.open {
        display: flex;
    }


    .menu-toggle {
        display: block;
    }


    .vision-box {
        padding: 35px 25px;
    }

}
