* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
    background: #f5f5f5;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    position: sticky;
    top: 0;
}

nav .logo {
    font-size: 28px;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

/* HERO SECTION */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero h1 {
    font-size: 50px;
}

.hero h1 span {
    color: #ff3c00;
}

.hero p {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 20px;
    background: #ff3c00;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
}
/* ABOUT SECTION */
.about {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.about p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.3s forwards;
}


.skills {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.skill {
    background: #ff3c00;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.5s forwards;
}


@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Base style para hidden sa start */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Active state kapag visible na sa viewport */
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}
/* PROJECTS SECTION */
.projects {
    padding: 80px 20px;
    background: #f0f0f0;
    text-align: center;
}

.projects h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Card */
.project-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Hover Animation */
.project-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
nav {
    position: fixed; /* o sticky */
    top: 0;
    width: 100%;
    background: white;
    z-index: 100;
    padding: 20px 40px;
}

/* Add top padding sa sections para hindi matakpan ng navbar */
section {
    padding-top: 100px; /* adjust base sa navbar height */
    margin-top: -100px; /* same value, para smooth scroll */
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.project-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
#projects {
    padding: 80px 20px;
    background: #f8f8f8;
}

#projects h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.contact {
    text-align: center;
    padding: 80px 20px;
}

.contact-links a {
    display: inline-block;
    margin: 10px;
    padding: 10px 22px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: .2s;
}

.contact-links a:hover {
    background: #444;
}
body {
    font-family: "Poppins", sans-serif;
    background: #f5f5f5;
    color: #111;
    margin: 0;
}

/* Headings */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Light shadows */
.project-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: .25s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.contact {
    text-align: center;
    padding: 80px 20px;
}

.contact-links a {
    display: inline-block;
    margin: 10px;
    padding: 10px 22px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: .2s;
}

.contact-links a:hover {
    background: #444;
}
