/* =========================================================
   1. CSS VARIABLES
   ========================================================= */

:root {
    --bg-color: #F3E9DC;
    --card-bg: #FFFFFF;

    --accent-color: #C08552;
    --secondary-color: #895737;

    --text-color: #5E3023;
    --secondary-text: #7A5043;

    --dark-color: #1D1915;

    --border-color: rgba(137, 87, 55, 0.2);

    --shadow:
        0 10px 30px rgba(94, 48, 35, 0.08);

    --shadow-hover:
        0 15px 35px rgba(94, 48, 35, 0.15);
}


/* =========================================================
   2. GLOBAL STYLE
   ========================================================= */

* {
    margin: 0;
    padding: 0;

    /* Requirement: CSS Box Sizing */
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Inter', sans-serif;

    background-color: var(--bg-color);
    color: var(--text-color);

    line-height: 1.6;
}


h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
}


a {
    text-decoration: none;
}


/* =========================================================
   3. NAVBAR
   ========================================================= */

.custom-navbar {
    background-color: rgba(243, 233, 220, 0.95);

    backdrop-filter: blur(8px);

    border-bottom: 2px solid rgba(192, 133, 82, 0.2);

    z-index: 1000;
}


.logo {
    font-family: 'Poppins', sans-serif;

    font-size: 1.5rem;
    font-weight: 700;

    color: var(--text-color);
}


.logo span {
    color: var(--accent-color);
}


.navbar-nav {
    gap: 0.5rem;
}


.nav-link {
    color: var(--text-color);

    font-weight: 500;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.nav-link:hover {
    color: var(--accent-color);

    transform: translateY(-2px);
}


/* Tombol hamburger Bootstrap */
.navbar-toggler {
    border-color: var(--accent-color);
}


.navbar-toggler:focus {
    box-shadow:
        0 0 0 0.2rem rgba(192, 133, 82, 0.25);
}


/* =========================================================
   4. HERO SECTION
   ========================================================= */

.hero-section {
    padding: 6rem 0;

    /* Requirement: CSS Gradient */
    background:
        linear-gradient(135deg,
            #F3E9DC 0%,
            #EAD5C0 100%);
}


.profile-img {
    width: 280px;
    height: 280px;

    object-fit: cover;

    /* Requirement: Rounded Corners */
    border-radius: 50%;

    /* Requirement: Shadow Effect */
    box-shadow:
        0 15px 35px rgba(94, 48, 35, 0.15);

    border: 6px solid var(--card-bg);

    /* Requirement: 2D Transform */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.profile-img:hover {
    transform: scale(1.04);

    box-shadow:
        0 20px 40px rgba(94, 48, 35, 0.2);
}


.custom-badge {
    background-color: var(--accent-color);

    color: #FFFFFF;

    padding: 0.45rem 0.9rem;

    border-radius: 20px;

    font-size: 0.85rem;
    font-weight: 500;
}


.hero-section h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;

    font-size: 2.8rem;

    color: var(--text-color);
}


.hero-description {
    max-width: 650px;

    color: var(--secondary-text);

    font-size: 1.1rem;

    margin-bottom: 1.5rem;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 0.8rem;
}


/* =========================================================
   5. BUTTON
   ========================================================= */

.gradient-btn {
    /* Requirement: CSS Gradient */
    background:
        linear-gradient(135deg,
            var(--accent-color),
            var(--secondary-color));

    color: #FFFFFF;

    border: none;

    border-radius: 10px;

    padding: 0.65rem 1.2rem;

    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(94, 48, 35, 0.12);

    /* Requirement: 2D Transform */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.gradient-btn:hover {
    color: #FFFFFF;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(94, 48, 35, 0.2);
}


.outline-btn {
    color: var(--secondary-color);

    background-color: transparent;

    border: 2px solid var(--accent-color);

    border-radius: 10px;

    padding: 0.6rem 1.15rem;

    font-weight: 600;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.outline-btn:hover {
    background-color: var(--accent-color);

    color: #FFFFFF;

    transform: translateY(-3px);
}


/* =========================================================
   6. GENERAL SECTION
   ========================================================= */

.section-padding {
    padding: 5rem 0;
}


.section-header {
    margin-bottom: 2.5rem;
}


.section-header h2 {
    color: var(--secondary-color);

    font-size: 2rem;

    margin-bottom: 0.5rem;
}


.section-header p {
    color: var(--secondary-text);

    max-width: 650px;

    margin: 0 auto;

    font-size: 0.95rem;
}


/* =========================================================
   7. BOOTSTRAP CARD - ABOUT
   ========================================================= */

.custom-card {
    background-color: var(--card-bg);

    /* Requirement: Rounded Corners */
    border-radius: 16px;

    border: none;

    /* Requirement: Shadow Effect */
    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Requirement: 2D Transform */
.custom-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);
}


.custom-card .card-body {
    padding: 2rem;
}


.custom-card .card-title {
    color: var(--secondary-color);

    font-size: 1.35rem;

    margin-bottom: 1rem;
}


.custom-card p {
    color: var(--secondary-text);
}


/* =========================================================
   8. BIODATA
   ========================================================= */

.biodata-list {
    display: flex;

    flex-direction: column;

    gap: 0.9rem;
}


.biodata-list li {
    color: var(--secondary-text);

    padding-bottom: 0.7rem;

    border-bottom:
        1px solid rgba(137, 87, 55, 0.12);
}


.biodata-list li:last-child {
    border-bottom: none;
}


.biodata-list strong {
    color: var(--text-color);
}


/* =========================================================
   9. SKILL CARD
   ========================================================= */

.skill-card {
    background-color: var(--card-bg);

    border: none;

    /* Requirement: Rounded Corners */
    border-radius: 14px;

    /* Requirement: Shadow */
    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.skill-card:hover {
    /* Requirement: 2D Transform */
    transform: scale(1.04);

    box-shadow: var(--shadow-hover);
}


.skill-card .card-body {
    padding: 1.5rem 0.8rem;
}


.skill-title {
    color: var(--secondary-color);

    font-size: 1rem;

    margin-bottom: 0.3rem;
}


.skill-card p {
    color: var(--secondary-text);

    font-size: 0.85rem;
}


/* =========================================================
   10. PROJECT CARD
   ========================================================= */

.project-card {
    background-color: var(--card-bg);

    border: none;

    /* Requirement: Rounded Corners */
    border-radius: 16px;

    /* Requirement: Shadow */
    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.project-card:hover {
    /* Requirement: 2D Transform */
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}


.project-card .card-body {
    padding: 1.8rem;
}


.project-label {
    color: var(--accent-color);

    font-size: 0.8rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 0.6rem;
}


.project-card .card-title {
    color: var(--text-color);

    font-size: 1.35rem;

    margin-bottom: 0.8rem;
}


.project-card .card-text {
    color: var(--secondary-text);

    font-size: 0.95rem;
}


.project-tech {
    color: var(--secondary-color);

    font-size: 0.8rem;

    font-weight: 600;

    margin-top: 1.2rem;

    margin-bottom: 0.8rem;
}


/* =========================================================
   11. EDUCATION
   ========================================================= */

.education-card {
    overflow: hidden;
}


.education-item h3 {
    color: var(--text-color);

    font-size: 1.25rem;

    margin: 0.4rem 0;
}


.education-item p {
    color: var(--secondary-text);
}


.education-year {
    color: var(--accent-color);

    font-size: 0.85rem;

    font-weight: 600;
}


.education-card hr {
    border-color:
        rgba(137, 87, 55, 0.15);

    margin: 1.5rem 0;
}


/* =========================================================
   12. CONTACT
   ========================================================= */

.contact-card {
    max-width: 800px;

    margin: 0 auto;

    padding: 3rem 2rem;

    background-color: var(--card-bg);

    /* Requirement: Rounded Corners */
    border-radius: 18px;

    /* Requirement: Shadow */
    box-shadow: var(--shadow);
}


.contact-card h2 {
    color: var(--secondary-color);

    margin-bottom: 0.7rem;
}


.contact-card p {
    color: var(--secondary-text);

    margin-bottom: 1.5rem;
}


.contact-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 0.8rem;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

.custom-footer {
    background-color: var(--dark-color);

    color: #E7E8E7;

    /* Requirement: Rounded Corners */
    border-radius: 20px 20px 0 0;

    padding: 2rem 0;

    text-align: center;

    font-size: 0.85rem;
}


/* =========================================================
   14. RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 991px) {

    .hero-section {
        text-align: center;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-buttons {
        justify-content: center;
    }


    .profile-img {
        width: 240px;
        height: 240px;
    }

}


@media (max-width: 576px) {

    .hero-section {
        padding: 4rem 0;
    }


    .hero-section h1 {
        font-size: 2rem;
    }


    .hero-description {
        font-size: 1rem;
    }


    .section-padding {
        padding: 3.5rem 0;
    }


    .section-header h2 {
        font-size: 1.7rem;
    }


    .profile-img {
        width: 200px;
        height: 200px;
    }


    .custom-card .card-body {
        padding: 1.5rem;
    }


    .contact-card {
        padding: 2rem 1.2rem;
    }

}