* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #df789d;
    --dark-pink: #c65f86;
    --soft-pink: #f8dce7;
    --light-pink: #fff4f8;
    --very-light: #fffafd;
    --text: #5f4650;
    --muted: #967b85;
    --white: #ffffff;
}

body {
    background: var(--very-light);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}


/* =========================
   NAVBAR
========================= */

header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid #f8e3eb;
}

.navbar {
    width: 90%;
    max-width: 1150px;

    height: 75px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;

    color: var(--dark-pink);

    font-family: 'Playfair Display', serif;

    font-size: 30px;
    font-weight: 700;
}

.logo span {
    color: #f2a5bd;
}

.nav-menu {
    display: flex;
    gap: 35px;

    list-style: none;
}

.nav-menu a {
    text-decoration: none;

    color: #755a65;

    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--pink);
}


/* =========================
   HOME
========================= */

.hero {
    width: 90%;
    max-width: 1150px;

    min-height: calc(100vh - 75px);

    margin: auto;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 80px;
}

.hero-left {
    max-width: 580px;
}

.small-title {
    display: inline-block;

    color: var(--pink);

    background: #fce7ef;

    padding: 8px 16px;

    border-radius: 30px;

    font-size: 11px;
    letter-spacing: 2px;

    margin-bottom: 18px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;

    font-size: 68px;

    line-height: 1.1;

    color: #4f3841;
}

.hero h1 span {
    color: var(--pink);
}

.hero h2 {
    margin: 15px 0;

    font-size: 21px;

    font-weight: 500;

    color: #9a7180;
}

.hero-left > p {
    color: var(--muted);

    line-height: 1.8;

    font-size: 15px;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 30px;
}

.button,
.button-outline {
    text-decoration: none;

    padding: 13px 24px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.button {
    background: var(--pink);
    color: white;

    box-shadow: 0 10px 25px rgba(223, 120, 157, 0.25);
}

.button:hover {
    background: var(--dark-pink);

    transform: translateY(-3px);
}

.button-outline {
    color: var(--pink);

    border: 1.5px solid var(--pink);
}

.button-outline:hover {
    background: var(--pink);
    color: white;
}


/* HOME PHOTO */

.hero-right {
    width: 400px;
    height: 500px;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-frame {
    width: 320px;
    height: 420px;

    background: #f7d5e1;

    padding: 10px;

    border-radius: 170px 170px 35px 35px;

    transform: rotate(3deg);

    box-shadow: 0 20px 50px rgba(198, 95, 134, 0.16);

    position: relative;

    z-index: 3;
}

.photo-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 160px 160px 27px 27px;
}

.flower {
    position: absolute;

    color: var(--pink);

    z-index: 5;

    font-size: 40px;
}

.flower-one {
    top: 35px;
    right: 20px;

    transform: rotate(15deg);
}

.flower-two {
    bottom: 50px;
    left: 15px;

    font-size: 45px;
}

.flower-three {
    top: 100px;
    left: 0;

    font-size: 25px;
}

.sticker {
    position: absolute;

    right: 15px;
    bottom: 20px;

    width: 75px;
    height: 75px;

    background: white;

    border: 7px solid #f5d5e1;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--pink);

    font-size: 35px;

    z-index: 6;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}


/* MINI BOX */

.cute-box {
    width: 90%;
    max-width: 1000px;

    margin: 0 auto 70px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.cute-box > div {
    background: white;

    padding: 28px;

    text-align: center;

    border-radius: 25px;

    border: 1px solid #f6e3eb;

    transition: 0.3s;
}

.cute-box > div:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(198, 95, 134, 0.1);
}

.cute-box span {
    display: block;

    color: var(--pink);

    font-size: 25px;

    margin-bottom: 10px;
}

.cute-box h3 {
    color: #6b4b57;

    margin-bottom: 8px;

    font-family: 'Playfair Display', serif;
}

.cute-box p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================
   GENERAL PAGE
========================= */

.page {
    width: 90%;
    max-width: 1100px;

    margin: auto;

    padding: 75px 0;

    min-height: calc(100vh - 135px);
}

.page-title {
    text-align: center;

    margin-bottom: 65px;
}

.page-title > p {
    color: var(--pink);

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 600;

    margin-bottom: 8px;
}

.page-title h1 {
    font-family: 'Playfair Display', serif;

    font-size: 48px;

    color: #513a44;
}

.page-title h1 span {
    color: var(--pink);
}

.title-description {
    color: var(--muted);

    margin-top: 8px;

    font-size: 14px;
}


/* =========================
   ABOUT
========================= */

.about-section {
    display: grid;

    grid-template-columns: 400px 1fr;

    align-items: center;

    gap: 70px;
}

.about-photo {
    position: relative;

    text-align: center;
}

.about-photo img {
    width: 330px;
    height: 410px;

    object-fit: cover;

    border-radius: 30px;

    border: 8px solid white;

    box-shadow: 0 20px 45px rgba(198, 95, 134, 0.15);
}

.about-decoration {
    position: absolute;

    top: -25px;
    left: 20px;

    color: var(--pink);

    font-size: 45px;

    transform: rotate(-15deg);
}

.about-label {
    position: absolute;

    bottom: 10px;
    right: 15px;

    background: white;

    color: var(--pink);

    padding: 8px 15px;

    border-radius: 20px;

    font-size: 11px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.hello-text {
    color: var(--pink);

    font-size: 13px;

    font-weight: 600;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;

    font-size: 35px;

    color: #523b45;

    margin: 10px 0 18px;
}

.about-content > p {
    color: var(--muted);

    line-height: 1.8;

    margin-bottom: 14px;
}

.biodata {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;

    margin-top: 25px;
}

.bio-card {
    background: #fff3f7;

    border: 1px solid #f8dfe9;

    padding: 15px;

    border-radius: 18px;
}

.bio-card span {
    color: var(--pink);

    display: block;

    font-size: 18px;
}

.bio-card small {
    color: #aa8b97;

    display: block;

    font-size: 11px;

    margin-top: 3px;
}

.bio-card strong {
    color: #694c59;

    font-size: 13px;
}


/* FAVORITES */

.favorite-section {
    margin-top: 100px;
}

.section-heading {
    text-align: center;

    margin-bottom: 35px;
}

.section-heading p {
    color: var(--pink);

    font-size: 11px;

    letter-spacing: 2px;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;

    font-size: 32px;

    color: #513a44;
}

.section-heading h2 span {
    color: var(--pink);
}

.favorite-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.favorite {
    text-align: center;

    background: white;

    padding: 25px 15px;

    border-radius: 22px;

    border: 1px solid #f6e3eb;
}

.favorite > div {
    font-size: 30px;

    margin-bottom: 10px;
}

.favorite h3 {
    color: #674955;

    margin-bottom: 7px;
}

.favorite p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================
   PORTFOLIO
========================= */

.portfolio-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.portfolio-card {
    background: white;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid #f5e0e8;

    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 40px rgba(198, 95, 134, 0.12);
}

.portfolio-image {
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.pink-one {
    background: #f8dce7;
}

.pink-two {
    background: #f5e7ec;
}

.pink-three {
    background: #f9d6e4;
}

.pink-four {
    background: #f6e1ea;
}

.project-symbol {
    width: 90px;
    height: 90px;

    background: rgba(255,255,255,0.75);

    border-radius: 30px;

    display: flex;

    justify-content: center;
    align-items: center;

    font-size: 40px;

    box-shadow: 0 10px 25px rgba(150,80,110,0.08);
}

.portfolio-content {
    padding: 25px;
}

.project-number {
    color: #d99bb2;

    font-size: 11px;

    font-weight: 700;
}

.portfolio-content h2 {
    color: #624552;

    font-family: 'Playfair Display', serif;

    font-size: 24px;

    margin: 5px 0 10px;
}

.portfolio-content p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 18px;
}

.tags span {
    display: inline-block;

    background: #fff0f5;

    color: var(--pink);

    padding: 6px 11px;

    border-radius: 20px;

    font-size: 10px;

    margin-right: 4px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: start;
}

.contact-photo {
    position: relative;

    width: fit-content;

    margin-bottom: 20px;
}

.contact-photo img {
    width: 130px;
    height: 130px;

    object-fit: cover;

    border-radius: 50%;

    border: 6px solid white;

    box-shadow: 0 10px 25px rgba(198,95,134,0.15);
}

.heart-decoration {
    position: absolute;

    right: -5px;
    bottom: 0;

    background: #f7d6e2;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--pink);

    font-size: 23px;
}

.contact-left h2 {
    font-family: 'Playfair Display', serif;

    font-size: 34px;

    color: #513a44;
}

.contact-left > p {
    color: var(--muted);

    line-height: 1.8;

    font-size: 14px;

    max-width: 470px;

    margin: 10px 0 25px;
}

.social-list {
    display: grid;

    gap: 12px;
}

.social {
    text-decoration: none;

    display: flex;

    align-items: center;

    gap: 14px;

    background: white;

    border: 1px solid #f5e1e9;

    border-radius: 18px;

    padding: 12px 15px;

    transition: 0.3s;
}

.social:hover {
    transform: translateX(5px);

    border-color: #eeb5c8;
}

.social > div {
    width: 42px;
    height: 42px;

    border-radius: 13px;

    background: #fff0f5;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.social span {
    color: #674955;

    font-size: 13px;
}

.social small {
    display: block;

    color: #ae8c99;

    font-size: 10px;

    margin-bottom: 2px;
}


/* FORM */

.contact-form-box {
    background: white;

    padding: 35px;

    border-radius: 28px;

    border: 1px solid #f5e0e8;

    box-shadow: 0 15px 40px rgba(198,95,134,0.08);
}

.form-top {
    margin-bottom: 25px;
}

.form-top > span {
    color: var(--pink);

    font-size: 25px;
}

.form-top h2 {
    font-family: 'Playfair Display', serif;

    color: #5a414b;

    font-size: 26px;

    margin: 5px 0;
}

.form-top p {
    color: var(--muted);

    font-size: 12px;
}

form label {
    display: block;

    color: #70535e;

    font-size: 12px;

    margin-bottom: 6px;
}

input,
textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #f0d5df;

    background: #fffafd;

    border-radius: 13px;

    outline: none;

    font-family: 'DM Sans', sans-serif;

    margin-bottom: 18px;

    color: #60444f;
}

input:focus,
textarea:focus {
    border-color: #dfa0b8;

    background: white;
}

textarea {
    resize: none;
}

form button {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 25px;

    background: var(--pink);

    color: white;

    font-family: 'DM Sans', sans-serif;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

form button:hover {
    background: var(--dark-pink);

    transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

footer {
    text-align: center;

    background: #fbe6ee;

    color: #a07b8a;

    padding: 22px;

    font-size: 11px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .navbar {
        height: auto;

        padding: 18px 0;

        flex-direction: column;

        gap: 15px;
    }

    .nav-menu {
        gap: 18px;

        justify-content: center;

        flex-wrap: wrap;
    }

    .hero {
        flex-direction: column;

        text-align: center;

        padding: 70px 0;

        gap: 40px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-right {
        transform: scale(0.85);
    }

    .cute-box {
        grid-template-columns: 1fr;

        max-width: 500px;
    }

    .about-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .about-photo {
        margin: auto;
    }

    .about-content {
        text-align: center;
    }

    .biodata {
        text-align: left;
    }

    .favorite-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-left {
        text-align: center;
    }

    .contact-photo {
        margin: auto auto 20px;
    }

    .social-list {
        text-align: left;
    }

}

@media (max-width: 500px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-right {
        transform: scale(0.72);

        margin-top: -30px;
        margin-bottom: -40px;
    }

    .page {
        padding-top: 50px;
    }

    .page-title h1 {
        font-size: 38px;
    }

    .favorite-grid {
        grid-template-columns: 1fr;
    }

    .biodata {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button,
    .button-outline {
        text-align: center;
    }

}