
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b1120;
    color: #e5e7eb;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

/* Navbar */
header {
    background: rgba(11, 17, 32, 0.95);
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    min-height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
}

.logo span,
.hero-text h1 span {
    color: #38bdf8;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-size: 14px;
    color: #cbd5e1;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Hero */
.hero {
    padding: 100px 0;
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(14, 165, 233, 0.13),
            transparent 35%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 60px;
}

.greeting,
.section-label {
    color: #38bdf8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.hero-text h1 {
    color: #ffffff;
    font-size: clamp(40px, 6vw, 65px);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-text h2 {
    font-size: 21px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 18px;
}

.description {
    color: #94a3b8;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary {
    background: #38bdf8;
    color: #082032;
}

.btn-primary:hover {
    background: #7dd3fc;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #475569;
    color: #e2e8f0;
}

.btn-outline:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 260px;
    height: 300px;
    border: 1px solid #334155;
    border-radius: 24px;
    background: linear-gradient(145deg, #172554, #0f172a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.profile-placeholder span {
    font-size: 90px;
}

.profile-placeholder p {
    color: #94a3b8;
    font-size: 13px;
}

/* General sections */
.section {
    padding: 90px 0;
}

.section-title {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 30px;
}

.section-dark {
    background: #101a2d;
}

.about-card {
    padding: 30px;
    background: #111c30;
    border: 1px solid #24334a;
    border-radius: 14px;
    color: #94a3b8;
}

.about-card p + p {
    margin-top: 15px;
}

.about-card strong {
    color: #e2e8f0;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-card {
    padding: 25px 20px;
    border-radius: 12px;
    border: 1px solid #26364e;
    background: #0b1120;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.skill-icon {
    font-size: 32px;
}

.skill-card h3 {
    color: #ffffff;
    margin: 12px 0 8px;
}

.skill-card p {
    color: #94a3b8;
    font-size: 14px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: #111c30;
    border: 1px solid #26364e;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.project-visual {
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 55px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
}

.visual-one {
    background: linear-gradient(135deg, #0e7490, #1e3a8a);
}

.visual-two {
    background: linear-gradient(135deg, #7c3aed, #be185d);
}

.visual-three {
    background: linear-gradient(135deg, #047857, #164e63);
}

.project-info {
    padding: 22px;
}

.project-info h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.project-info p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.tags span {
    background: #1e293b;
    color: #7dd3fc;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
}

.project-link {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
}

/* Contact */
.contact-content {
    text-align: center;
}

.contact-content .section-title {
    margin-bottom: 15px;
}

.contact-content > p:not(.section-label) {
    color: #94a3b8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-links a {
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #38bdf8;
}

/* Footer */
footer {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 13px;
}

/* Responsive: tablet and mobile */
@media (max-width: 850px) {
    .hero-content {
        grid-template-columns: 1fr 0.7fr;
        gap: 30px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
        gap: 12px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 15px;
    }

    .profile-placeholder {
        width: 220px;
        height: 240px;
    }

    .profile-placeholder span {
        font-size: 70px;
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        font-size: 29px;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 22px;
    }
}