/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&display=swap');

/* VARIABLES */
:root {
    --primary-color: #00C3FF; /* Neon Blue */
    --dark-color: #000000;
    --gray-color: #888888;

    --h1-font-size: 40px;
    --h2-font-size: 32px;
    --small-font-size: 14px;
}

/* RESET CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* GLOBAL CSS */
section {
    padding: 70px 0;
    background-color: var(--dark-color);
    color: white;
}

.section-title {
    font-size: var(--h2-font-size);
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.btn-orange {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-orange:hover {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.text-orange {
    color: var(--primary-color);
}

.text-dark {
    color: var(--dark-color);
}

.fs-7 {
    font-size: var(--small-font-size);
}

.form-control:focus {
    box-shadow: 0 0 5px var(--primary-color);
    border-color: var(--primary-color);
}

/* NAVBAR */
.navbar {
    background-color: var(--dark-color);
}

.navbar .nav-item .nav-link {
    color: #ccc;
    transition: 0.3s;
}

.navbar .nav-item .nav-link:hover,
.navbar .nav-item .nav-link:active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* HEADER */
.header-section .header-title {
    font-size: var(--h1-font-size);
    color: white;
}

.header-section .header-img {
    width: 50%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 20px var(--primary-color);
    display: block;
    margin-left: auto;
}

/* PORTFOLIO */
.portfolio-section .card {
    background-color: #111111;
    border: 1px solid #222;
    color: white;
    transition: 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px var(--primary-color);
}

.portfolio-section .card .card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.portfolio-section .card h6 {
    min-height: 48px;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}

/* SKILLS */
.skills-section {
    background-color: var(--dark-color);
}

.skill-card {
    background-color: #111111;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.skill-card:hover {
    background-color: #111111;
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-5px);
}

.skill-card img {
    height: 40px;
    margin-bottom: 10px;
}

.skill-card span {
    display: block;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

/* SOCIAL ICONS IN CONTACT */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 32px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--primary-color);
}

/* FOOTER */
.footer-section {
    background-color: var(--dark-color);
    color: white;
    border-top: 1px solid #222;
}

.footer-section .social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: 0.3s;
}

.footer-section .social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.footer-section p {
    margin-top: 10px;
    color: #aaa;
    font-size: 14px;
}

/* Tambahan khusus untuk tombol submit di form */
/* === CONTACT FORM STYLE === */
.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 40px;
}

.contact-section form .form-label {
    color: white;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-section form .form-control {
    background-color: #1f2937; /* biru gelap */
    color: white;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-section form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
    outline: none;
}

/* Tombol Submit */
.contact-section form .btn-orange {
    background-color: #374151; /* tombol biru gelap */
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    margin-top: 20px;
    border: none;
    transition: all 0.3s ease-in-out;
}

.contact-section form .btn-orange:hover {
    background-color: var(--primary-color);
    color: black;
    box-shadow: 0 0 10px var(--primary-color);
}

.contact-section form {
    padding: 20px 0;
}

/* Menghilangkan underline pada link di card portfolio */
.portfolio-section .card a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.portfolio-section .card a:hover {
    color: white;
}
