/* =========================================
   DINITA'S PERSONAL WEBSITE 🎀
   Pink × Baby Blue × Cute & Soft
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #4d4560;
    background: #fff8fc;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    scroll-margin-top: 80px;
}


/* =========================================
   WARNA UTAMA
========================================= */

:root {
    --pink: #f7a8c4;
    --pink-dark: #ed7fa7;
    --pink-light: #ffe5ef;

    --blue: #9fd8f5;
    --blue-dark: #63b9e8;
    --blue-light: #e3f5ff;

    --purple: #c7b5ef;

    --text: #4d4560;
    --soft-text: #81798f;

    --white: #ffffff;
}


/* =========================================
   NAVBAR 🎀
========================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 248, 252, 0.92);

    backdrop-filter: blur(12px);

    border-bottom: 2px solid #ffe3ee;
}

.navbar {
    max-width: 1100px;
    height: 75px;

    margin: auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #5d536e;
}

.logo span {
    color: var(--pink-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    position: relative;

    font-size: 13px;
    font-weight: 600;

    color: #71687f;

    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--pink-dark);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 3px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        var(--pink),
        var(--blue)
    );

    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}


/* =========================================
   HERO / BERANDA 🌷
========================================= */

.hero {
    position: relative;

    max-width: 1100px;
    min-height: 90vh;

    margin: auto;
    padding: 80px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    overflow: hidden;
}


/* Dekorasi background */

.hero::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    background: var(--pink-light);

    border-radius: 50%;

    top: 20px;
    left: -100px;

    z-index: -1;
}

.hero::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    background: var(--blue-light);

    border-radius: 50%;

    bottom: 20px;
    right: -80px;

    z-index: -1;
}

.hero-text {
    flex: 1;
}

.greeting {
    display: inline-block;

    padding: 6px 15px;

    border-radius: 30px;

    background: var(--pink-light);

    color: var(--pink-dark);

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 68px);

    line-height: 1.1;

    color: #51485f;

    margin-bottom: 18px;
}

.hero h1::after {
    content: " ♡";

    color: var(--pink);
}

.hero h3 {
    font-size: 19px;

    font-weight: 500;

    color: var(--blue-dark);

    margin-bottom: 15px;
}

.hero-description {
    color: var(--soft-text);

    margin-bottom: 15px;
}

.motto {
    display: inline-block;

    padding: 8px 17px;

    border-radius: 20px;

    background: var(--blue-light);

    color: #55a9d7;

    font-size: 13px;

    font-weight: 600;

    font-style: italic;

    margin-bottom: 28px;
}


/* =========================================
   BUTTON 🎀
========================================= */

.btn {
    display: inline-block;

    padding: 12px 25px;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        var(--pink),
        var(--blue)
    );

    color: white;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 8px 18px rgba(237, 127, 167, 0.25);

    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 12px 25px rgba(237, 127, 167, 0.3);
}


/* =========================================
   FOTO ME.JPG 📷
========================================= */

.hero-image {
    flex: 0 0 330px;

    display: flex;

    justify-content: center;
}

.photo-placeholder {
    position: relative;

    width: 300px;
    height: 360px;

    border-radius: 45% 45% 40% 40%;

    background: linear-gradient(
        145deg,
        var(--pink-light),
        var(--blue-light)
    );

    border: 6px solid white;

    box-shadow:
        0 15px 35px rgba(237, 127, 167, 0.18),
        0 0 0 5px #ffeaf2;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* Foto */

.photo-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* Hiasan hati di foto */

.photo-placeholder::before {
    content: "♡";

    position: absolute;

    top: -25px;
    right: 15px;

    font-size: 50px;

    color: var(--pink);

    z-index: 2;
}

.photo-placeholder::after {
    content: "✦";

    position: absolute;

    bottom: 15px;
    left: -25px;

    font-size: 35px;

    color: var(--blue);

    z-index: 2;
}


/* =========================================
   GENERAL SECTION
========================================= */

.section {
    max-width: 1100px;

    margin: auto;

    padding: 95px 25px;
}

.section-title {
    text-align: center;

    margin-bottom: 55px;
}

.section-title p,
.section-label {
    display: inline-block;

    padding: 5px 14px;

    border-radius: 20px;

    background: var(--blue-light);

    color: var(--blue-dark);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 38px;

    color: #544b62;
}

.section-title h2::after {
    content: " ♡";

    color: var(--pink);
}


/* =========================================
   TENTANG SAYA 🌸
========================================= */

.about-content {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 55px;

    align-items: center;
}


/* Bio */

.about-text {
    background: white;

    padding: 35px;

    border-radius: 30px;

    border: 2px solid #ffe7f0;

    box-shadow:
        0 10px 30px rgba(237, 127, 167, 0.08);
}

.about-text h3 {
    color: var(--pink-dark);

    font-size: 24px;

    margin-bottom: 18px;
}

.about-text p {
    color: var(--soft-text);

    font-size: 14px;

    margin-bottom: 14px;
}


/* Info */

.about-info {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.info-card {
    padding: 20px;

    background: white;

    border-radius: 22px;

    border: 2px solid #e4f5ff;

    display: flex;

    gap: 15px;

    align-items: flex-start;

    transition: 0.3s;
}

.info-card:nth-child(2) {
    border-color: #ffe5ef;
}

.info-card:nth-child(3) {
    border-color: #e8e0ff;
}

.info-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(120, 190, 230, 0.12);
}

.info-card span {
    font-size: 27px;
}

.info-card h4 {
    margin-bottom: 3px;

    color: #5d536e;
}

.info-card p {
    color: var(--soft-text);

    font-size: 12px;
}


/* =========================================
   MINAT & KEAHLIAN 🎨
========================================= */

.skills-section {
    max-width: 1200px;
}

.cards-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.card {
    position: relative;

    background: white;

    padding: 35px 30px;

    border-radius: 30px;

    border: 2px solid #ffe5ef;

    overflow: hidden;

    transition: 0.3s;
}

.card:nth-child(2) {
    border-color: #dff3ff;
}

.card:nth-child(3) {
    border-color: #e9e1ff;
}

.card::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: var(--pink-light);

    top: -40px;
    right: -30px;

    opacity: 0.8;
}

.card:nth-child(2)::before {
    background: var(--blue-light);
}

.card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 30px rgba(237, 127, 167, 0.12);
}

.card-icon {
    position: relative;

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--pink-light),
        var(--blue-light)
    );

    border-radius: 20px;

    font-size: 28px;

    margin-bottom: 20px;
}

.card h3 {
    color: #5a5067;

    margin-bottom: 10px;
}

.card p {
    color: var(--soft-text);

    font-size: 13px;
}


/* =========================================
   PENGALAMAN & RENCANA 🌷
========================================= */

.experience-section {
    max-width: 900px;
}

.experience-box {
    position: relative;

    padding-left: 35px;
}

.experience-box::before {
    content: "";

    position: absolute;

    left: 8px;

    top: 5px;
    bottom: 5px;

    width: 3px;

    border-radius: 20px;

    background: linear-gradient(
        var(--pink),
        var(--blue)
    );
}

.timeline-item {
    position: relative;

    margin-bottom: 45px;

    background: white;

    padding: 25px;

    border-radius: 25px;

    border: 2px solid #ffe8f0;

    box-shadow:
        0 8px 20px rgba(237, 127, 167, 0.06);
}

.timeline-item:nth-child(2) {
    border-color: #e0f4ff;
}

.timeline-item:nth-child(3) {
    border-color: #e8e0ff;
}

.timeline-dot {
    position: absolute;

    left: -35px;

    top: 30px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: var(--pink);

    border: 4px solid #fff5f9;

    box-shadow:
        0 0 0 2px var(--pink);
}

.timeline-item:nth-child(2) .timeline-dot {
    background: var(--blue);

    box-shadow:
        0 0 0 2px var(--blue);
}

.timeline-item:nth-child(3) .timeline-dot {
    background: var(--purple);

    box-shadow:
        0 0 0 2px var(--purple);
}

.timeline-label {
    display: inline-block;

    padding: 4px 10px;

    border-radius: 15px;

    background: var(--pink-light);

    color: var(--pink-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}

.timeline-item:nth-child(2) .timeline-label {
    background: var(--blue-light);

    color: var(--blue-dark);
}

.timeline-item:nth-child(3) .timeline-label {
    background: #eee8ff;

    color: #9376d2;
}

.timeline-content h3 {
    color: #5b5268;

    margin: 8px 0;
}

.timeline-content p {
    color: var(--soft-text);

    font-size: 13px;
}


/* =========================================
   RENCANA MASA DEPAN 💭
========================================= */

.future-section {
    max-width: 1200px;
}

.future-content {
    position: relative;

    overflow: hidden;

    background: linear-gradient(
        135deg,
        #f7a8c4,
        #9fd8f5
    );

    color: white;

    padding: 60px;

    border-radius: 40px;

    display: grid;

    grid-template-columns: 1.5fr 0.8fr;

    gap: 60px;

    align-items: center;

    box-shadow:
        0 15px 35px rgba(237, 127, 167, 0.2);
}


/* Dekorasi */

.future-content::before {
    content: "♡";

    position: absolute;

    font-size: 170px;

    right: 30%;
    top: -70px;

    opacity: 0.12;
}

.future-content h2 {
    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 20px;
}

.future-content h2 span {
    color: #fff5fa;
}

.future-content > div > p:last-child {
    color: white;

    opacity: 0.9;

    font-size: 14px;
}


/* Future Card */

.future-card {
    position: relative;

    background: rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(10px);

    padding: 30px;

    border-radius: 30px;

    border: 2px solid rgba(255, 255, 255, 0.35);
}

.future-card span {
    font-size: 27px;
}

.future-card h3 {
    margin-top: 4px;
}

.future-card p {
    margin-bottom: 18px;

    opacity: 0.9;
}


/* =========================================
   KONTAK 💌
========================================= */

.contact-section {
    max-width: 800px;
}

.contact-box {
    position: relative;

    background: white;

    text-align: center;

    padding: 50px 25px;

    border-radius: 30px;

    border: 2px solid #ffe2ed;

    box-shadow:
        0 10px 30px rgba(237, 127, 167, 0.08);

    overflow: hidden;
}

.contact-box::before {
    content: "♡";

    position: absolute;

    font-size: 100px;

    color: #ffe5ef;

    top: -45px;
    left: -10px;
}

.contact-box::after {
    content: "✦";

    position: absolute;

    font-size: 70px;

    color: #e0f4ff;

    bottom: -30px;
    right: 15px;
}

.contact-box p {
    position: relative;

    color: var(--soft-text);

    font-size: 14px;

    margin-bottom: 20px;
}

.email {
    position: relative;

    display: inline-block;

    padding: 10px 20px;

    border-radius: 25px;

    background: linear-gradient(
        135deg,
        var(--pink-light),
        var(--blue-light)
    );

    color: var(--pink-dark);

    font-size: 13px;

    font-weight: 700;

    transition: 0.3s;
}

.email:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(237, 127, 167, 0.15);
}


/* =========================================
   FOOTER 🌸
========================================= */

footer {
    text-align: center;

    padding: 30px 20px;

    border-top: 2px solid #ffe8f1;

    background: #fffafd;

    color: #9b92a5;

    font-size: 11px;
}


/* =========================================
   RESPONSIVE / TABLET 📱
========================================= */

@media (max-width: 800px) {

    /* Navbar */

    .nav-links {
        display: none;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding-top: 60px;

        flex-direction: column-reverse;

        text-align: center;
    }

    .hero-image {
        flex: none;
    }

    .photo-placeholder {
        width: 250px;
        height: 300px;
    }

    .hero h1 {
        font-size: 42px;
    }


    /* About */

    .about-content {
        grid-template-columns: 1fr;
    }


    /* Cards */

    .cards-container {
        grid-template-columns: 1fr;
    }


    /* Future */

    .future-content {
        grid-template-columns: 1fr;

        padding: 40px 25px;
    }

    .future-content h2 {
        font-size: 32px;
    }


    /* Section */

    .section {
        padding: 75px 20px;
    }
}


/* =========================================
   RESPONSIVE / HP 📱💕
========================================= */

@media (max-width: 450px) {

    /* Navbar */

    .navbar {
        height: 65px;
    }

    .logo {
        font-size: 22px;
    }


    /* Hero */

    .hero h1 {
        font-size: 35px;
    }

    .hero h3 {
        font-size: 16px;
    }

    .hero-description {
        font-size: 12px;
    }


    /* Foto */

    .photo-placeholder {
        width: 210px;
        height: 260px;
    }


    /* Section */

    .section-title h2 {
        font-size: 30px;
    }


    /* About */

    .about-text {
        padding: 25px;
    }


    /* Card */

    .card {
        padding: 28px 22px;
    }


    /* Future */

    .future-content {
        border-radius: 30px;
    }

    .future-card {
        padding: 25px;
    }
}