﻿/* =========================
   RESET & BASE
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, rgb(11, 15, 18), rgb(18, 24, 28));
    color: rgb(242, 230, 217);
    line-height: 1.6;
}

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

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: rgb(205, 195, 190);
    font-size: 15px;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav .active {
    color: rgb(233, 188, 178);
}

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

.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    padding: 90px 28px 70px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(40, 60, 80, 0.25),
            transparent 55%
        ),
        linear-gradient(135deg, rgb(11, 15, 18), rgb(18, 24, 28));
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 220px;
    background: linear-gradient(
        to bottom,
        rgba(11, 15, 18, 0) 0%,
        rgba(11, 15, 18, 0.4) 40%,
        rgba(11, 15, 18, 0.8) 70%,
        rgb(11, 15, 18) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to left, rgba(11, 15, 18, 0.9), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-logo {
    position: absolute;
    left: 55px;
    top: 75px;
    width: 500px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 70px;
    align-items: center;
}

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

.eyebrow {
    color: rgb(233, 188, 178);
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 1px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 300;
    line-height: 1.12;
}

.hero-description {
    margin-top: 28px;
    max-width: 720px;
    font-size: 20px;
    color: rgb(205, 195, 190);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn.primary {
    background: rgb(233, 188, 178);
    color: rgb(15, 15, 15);
}

.btn.primary:hover {
    background: rgb(218, 134, 149);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(233, 188, 178, 0.16);
}

.btn.secondary {
    border: 1px solid rgba(233, 188, 178, 0.7);
    color: rgb(233, 188, 178);
}

.btn.secondary:hover {
    background: rgba(233, 188, 178, 0.08);
    transform: translateY(-2px);
}

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

.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(30px, 20px);
}

.hero-image-wrap::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 188, 178, 0.10), transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

.profile-image {
    position: relative;
    z-index: 1;
    width: 190px;
    height: auto;
    filter:
        drop-shadow(0 22px 38px rgba(0, 0, 0, 0.6))
        brightness(0.96)
        contrast(1.04);
}

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

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 76px 28px;
}

.page-hero {
    padding-top: 95px;
    padding-bottom: 35px;
}

.section-heading {
    margin-bottom: 34px;
}

.section h2 {
    font-size: 34px;
    font-weight: 300;
    color: rgb(233, 188, 178);
}

.heading p {
    color: rgb(205, 195, 190);
    margin-top: 8px;
}

.dark-section {
    background: rgba(0, 0, 0, 0.22);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.highlight-box {
    background: rgba(233, 188, 178, 0.07);
    border: 1px solid rgba(233, 188, 178, 0.18);
    border-radius: 18px;
    padding: 30px;
}

.text-link {
    display: inline-block;
    margin-top: 22px;
    color: rgb(233, 188, 178);
    transition: transform 0.25s ease;
}

.text-link:hover {
    transform: translateY(-2px);
}

/* =========================
   CARDS
========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    padding: 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(233, 188, 178, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
    margin-bottom: 14px;
    color: rgb(242, 230, 217);
}

.card p {
    color: rgb(205, 195, 190);
}

.card span {
    display: block;
    margin-top: 16px;
    color: rgb(233, 188, 178);
    font-size: 14px;
}

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

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.project-card {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 34px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 188, 178, 0.38);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.project-card h2 {
    font-size: 30px;
    font-weight: 300;
    color: rgb(233, 188, 178);
    margin-bottom: 12px;
}

.project-card p {
    max-width: 820px;
    color: rgb(205, 195, 190);
    font-size: 17px;
}

.project-card ul {
    margin-left: 20px;
    color: rgb(205, 195, 190);
}

.project-card li {
    margin-bottom: 8px;
}

.project-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 120px;
}

.tech-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.tech-list span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(233, 188, 178, 0.08);
    border: 1px solid rgba(233, 188, 178, 0.18);
    color: rgb(233, 188, 178);
    font-size: 14px;
}

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

.exp-card {
    margin-bottom: 30px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.exp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 188, 178, 0.4);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
}

.exp-header h2 {
    font-size: 22px;
    color: rgb(233, 188, 178);
    font-weight: 400;
}

.exp-header span {
    font-size: 14px;
    color: rgb(180, 180, 180);
    white-space: nowrap;
}

.exp-card ul {
    margin-left: 18px;
}

.exp-card li {
    margin-bottom: 6px;
    color: rgb(205, 195, 190);
}

.exp-result {
    margin-top: 12px;
    color: rgb(205, 195, 190);
    font-style: italic;
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-group {
    padding: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.skill-group:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 188, 178, 0.4);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.skill-group h2 {
    font-size: 22px;
    color: rgb(233, 188, 178);
    margin-bottom: 15px;
    font-weight: 400;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-list span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(233, 188, 178, 0.08);
    border: 1px solid rgba(233, 188, 178, 0.18);
    color: rgb(233, 188, 178);
    font-size: 14px;
}

/* =========================
   SYSTEMS
========================= */

.system-card {
    padding: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.system-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 188, 178, 0.4);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.system-card h2 {
    color: rgb(233, 188, 178);
    margin-bottom: 12px;
    font-weight: 400;
}

.system-card p {
    color: rgb(205, 195, 190);
    margin-bottom: 15px;
}

.system-card ul {
    margin-left: 18px;
}

.system-card li {
    margin-bottom: 6px;
    color: rgb(205, 195, 190);
}

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

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

.contact-section p {
    max-width: 720px;
    margin: 20px auto;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 188, 178, 0.32);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.contact-card h2 {
    color: rgb(233, 188, 178);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 400;
}

.contact-item {
    margin-bottom: 18px;
}

.contact-item span {
    display: block;
    font-size: 13px;
    color: rgb(180, 180, 180);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 16px;
}

.contact-item a {
    color: rgb(233, 188, 178);
    transition: color 0.25s ease;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-links {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.contact-links a {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(233, 188, 178, 0.3);
    color: rgb(233, 188, 178);
    font-size: 14px;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.contact-links a:hover {
    background: rgba(233, 188, 178, 0.08);
    border-color: rgba(233, 188, 178, 0.5);
    transform: translateY(-2px);
    text-decoration: none;
}

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

.site-footer {
    padding: 26px;
    text-align: center;
    background: rgb(15, 15, 15);
    color: rgb(180, 180, 180);
}

/* =========================
   PURE CSS ANIMATIONS
========================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softFloat {
    0%, 100% {
        transform: translate(30px, 20px);
    }

    50% {
        transform: translate(30px, 12px);
    }
}

.hero-text,
/*.hero-bg-logo,*/
.section-heading,
.card,
.project-card,
.exp-card,
.skill-group,
.contact-card,
.system-card,
.highlight-box {
    animation: fadeUp 0.7s ease both;
}

.hero-image-wrap {
    animation:
        fadeUp 0.7s ease both,
        softFloat 6s ease-in-out infinite;
}

.card:nth-child(2),
.project-card:nth-child(2),
.skill-group:nth-child(2) {
    animation-delay: 0.08s;
}

.card:nth-child(3),
.project-card:nth-child(3),
.skill-group:nth-child(3) {
    animation-delay: 0.16s;
}

.skill-group:nth-child(4) {
    animation-delay: 0.24s;
}

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

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 65px 28px 70px;
    }

    .hero-content,
    .split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrap {
        transform: none;
        order: -1;
    }

    .hero::after {
        display: none;
    }

    .hero-bg-logo {
        left: 50%;
        top: 75px;
        width: 360px;
        opacity: 0.10;
        transform: translateX(-50%);
    }

    .hero-actions {
        justify-content: center;
    }

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

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

    .project-actions {
        justify-content: flex-start;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .exp-header span {
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 14px 18px;
    }

    .main-nav {
        gap: 14px;
        justify-content: center;
    }

    .main-nav a {
        font-size: 14px;
    }

    .hero {
        padding: 60px 20px 55px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 36px;
    }

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

    .profile-image {
        width: 185px;
    }

    .section {
        padding: 60px 20px;
    }

    .project-card {
        padding: 26px;
    }
}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}