/* ------------------------------
   RESET + BASE
------------------------------ */

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

body {
    background: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

a {
    color: #ffffff;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p, span {
    color: #ffffff;
}

/* ------------------------------
   HEADER
------------------------------ */

.hud-header {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    letter-spacing: 2px;
}

.hud-nav a {
    margin-left: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.hud-nav a:hover {
    color: #00eaff;
}

.hud-nav a.active {
    color: #00eaff;
    font-weight: 700;
    text-shadow: 0 0 8px #00eaff;
}

/* ------------------------------
   HERO
------------------------------ */

.hero {
    padding: 80px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 70px;
    font-weight: 800;
    color: #00eaff;
}

.hero-subtitle {
    margin-top: 10px;
    font-size: 20px;
    opacity: 0.8;
}

.btn-neon {
    padding: 12px 25px;
    border: 2px solid #00eaff;
    border-radius: 6px;
    margin-right: 15px;
    transition: 0.3s;
    display: inline-block;
}

.btn-neon:hover {
    background: #00eaff;
    color: #000;
}

.btn-outline {
    padding: 12px 25px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    transition: 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: #ffffff;
    color: #000;
}

/* ------------------------------
   SECTIONS
------------------------------ */

main {
    padding-bottom: 40px;
}

.skills {
    padding: 40px 40px 20px;
}

.skills h1, .skills h2 {
    margin-bottom: 10px;
}

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

.skill-card {
    padding: 20px;
    border: 1px solid #ffffff33;
    border-radius: 6px;
    text-align: left;
    transition: 0.3s;
}

.skill-card h3 {
    margin-bottom: 8px;
}

.skill-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.skill-card:hover {
    background: #ffffff11;
}

/* logos section on home */

.skills-logos {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.skills-logos img {
    max-width: 200px;
    height: auto;
}

/* ------------------------------
   HOME PORTFOLIO PREVIEW
------------------------------ */

.home-portfolio-preview {
    padding: 20px 40px 40px;
}

.preview-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.preview-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ffffff22;
    transition: 0.3s;
}

.preview-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* ------------------------------
   PORTFOLIO PAGE
------------------------------ */

.portfolio {
    padding: 20px 40px 40px;
}

.portfolio-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ffffff22;
    transition: 0.3s;
}

.portfolio-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* ------------------------------
   CONTACT
------------------------------ */

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-btn {
    padding: 12px 20px;
    border: 1px solid #00eaff;
    border-radius: 6px;
    text-align: center;
    transition: 0.3s;
    display: block;
}

.contact-btn:hover {
    background: #00eaff;
    color: #000;
}

/* ------------------------------
   FOOTER
------------------------------ */

.footer {
    text-align: center;
    padding: 40px;
    opacity: 0.6;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */

@media (max-width: 900px) {
    .hud-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

    .hero-title {
        font-size: 42px;
    }
}
