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

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #e2e8f0;
    overflow-x: hidden;
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    animation: zoomIn 6s ease forwards;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.hero-bg.active {
    filter: blur(6px) brightness(0.45);
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.25),
        rgba(2, 6, 23, 0.55)
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.hero-content p {
    font-size: 24px;
    color: #dbeafe;
    margin-bottom: 20px;
}

.hero-note {
    margin-top: 18px;
    font-size: 14px !important;
    color: #93c5fd !important;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 22px;
    background: #38bdf8;
    color: #020617;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.25s ease;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.btn:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
}

/* CONTENT */
.hidden-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease, max-height 1.2s ease;
}

.hidden-content.show {
    opacity: 1;
    max-height: 6000px;
    transform: translateY(0);
}

section:not(.hero) {
    max-width: 950px;
    margin: 0 auto;
    padding: 70px 24px;
    animation: fadeIn 0.7s ease;
}

h2 {
    color: #38bdf8;
    margin-bottom: 22px;
    font-size: 22px;
}

.about p,
.contact p,
.project p {
    line-height: 1.7;
    color: #e2e8f0;
}

/* SKILLS */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skills-list span {
    background: #1e293b;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: #f8fafc;
    box-shadow: 0 0 12px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.skills-list span:hover {
    transform: translateY(-2px);
    background: #334155;
}

/* PROJECTS */
.project {
    background: #1e293b;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 22px;
    transition: all 0.25s ease;
    box-shadow: 0 0 16px rgba(2, 6, 23, 0.18);
}

.project:hover {
    transform: translateY(-6px);
    background: #334155;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
}

.project h3 {
    margin-bottom: 14px;
    font-size: 18px;
    color: #ffffff;
}

.project a,
.contact a {
    color: #38bdf8;
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
    transition: color 0.2s ease;
}

.project a:hover,
.contact a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* ANIMATIONS */
@keyframes zoomIn {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .btn {
        padding: 10px 18px;
    }

    section:not(.hero) {
        padding: 55px 20px;
    }
}