
/* =====================================
   RISMA RAWE PORTFOLIO
   SOFT PINK AESTHETIC THEME
===================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inknut Antiqua', serif;
    background: #FFF7FA;
    color: #9C536F;
    overflow-x: hidden;
}

/* BACKGROUND DECORATION */

body::before {
    content: "";
    position: fixed;
    width: 400px;
    height: 400px;
    top: 100px;
    right: -180px;
    background: #F8C8D9;
    filter: blur(120px);
    border-radius: 50%;
    opacity: .55;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    width: 350px;
    height: 350px;
    bottom: 0;
    left: -150px;
    background: #F9D6E3;
    filter: blur(120px);
    border-radius: 50%;
    opacity: .6;
    z-index: -1;
    pointer-events: none;
}

/* NAVBAR */

nav {
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,247,250,.88);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #F5DCE5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #B94F76;
}

.logo span {
    color: #E99BB7;
    font-size: 27px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

nav ul li a {
    color: #A75B78;
    text-decoration: none;
    font-size: 11px;
    transition: .3s;
}

nav ul li a:hover {
    color: #E47FA4;
    border-bottom: 1px solid #E47FA4;
    padding-bottom: 5px;
}

/* HERO SECTION */

header {
    padding: 100px 0 75px;
    background: linear-gradient(
        135deg,
        #FCE2EB,
        #FFF8FA,
        #FADDE8
    );
    position: relative;
    overflow: hidden;
}

header::before {
    content: "♡";
    position: absolute;
    top: 40px;
    left: 48%;
    font-size: 65px;
    color: #ECA4BC;
    transform: rotate(-15deg);
    opacity: .7;
}

header::after {
    content: "✧";
    position: absolute;
    bottom: 20px;
    left: 50%;
    font-size: 70px;
    color: #E89BB6;
    opacity: .6;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.small-text {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    color: #C47A95;
}

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(45px, 6vw, 70px);
    line-height: 1.15;
    color: #C66C8D;
    margin: 20px 0;
    animation: muncul 1s ease;
}

h1 span {
    color: #A83F66;
}

.heart {
    position: absolute;
    top: 30px;
    right: 15px;
    font-size: 65px;
    color: #E99AB5;
    transform: rotate(-15deg);
}

.intro-list {
    list-style: none;
    margin-top: 25px;
    line-height: 2.6;
    font-size: 12px;
    color: #98546F;
}

.intro-list li {
    transition: .3s;
}

.intro-list li:hover {
    transform: translateX(8px);
    color: #D65F8C;
}

/* BUTTON */

.button {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 28px;
    border-radius: 50px;
    color: white;
    background: linear-gradient(
        135deg,
        #ECA7C0,
        #D36F95
    );
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(197,93,133,.2);
    transition: .4s;
}

.button span {
    margin-left: 12px;
    font-size: 16px;
}

.button:hover {
    transform: translateY(-5px);
    background: linear-gradient(
        135deg,
        #D982A5,
        #B94E78
    );
    box-shadow: 0 15px 30px rgba(197,93,133,.3);
}

/* PROFILE IMAGE */

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    width: 100%;
    max-width: 390px;
    height: 410px;
    border: 5px solid white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(190,104,140,.2);
    animation: fotoMasuk 1.2s ease;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.image-frame img:hover {
    transform: scale(1.06);
}

.flower {
    position: absolute;
    right: -5px;
    bottom: -30px;
    font-size: 90px;
    color: #EFA6BD;
    animation: mengambang 4s infinite ease-in-out;
}

.star {
    position: absolute;
    right: 10px;
    top: 90px;
    font-size: 50px;
    color: #E9A0B8;
}

/* SKILLS */

.skills {
    padding: 20px 7%;
}

.skill-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 20px;
    background: rgba(255,225,235,.55);
    border: 1px solid #F9D7E3;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(190,104,140,.06);
}

.skill-list li {
    font-size: 10px;
    color: #A64F70;
    padding: 0 12px;
    border-right: 1px solid #E8A4BB;
    transition: .3s;
}

.skill-list li:last-child {
    border: none;
}

.skill-list li:hover {
    color: #DE729A;
    transform: translateY(-4px);
}

/* PROJECT SECTION */

.project {
    padding: 65px 5%;
    position: relative;
}

.project:nth-of-type(even) {
    background: linear-gradient(
        120deg,
        #FFF7FA,
        #FDEAF1
    );
}

.project-image img {
    width: 100%;
    max-width: 450px;
    height: 280px;
    object-fit: cover;
    border: 4px solid white;
    border-radius: 23px;
    box-shadow: 0 15px 35px rgba(180,93,127,.15);
    transition: .5s;
}

.project-image img:hover {
    transform: scale(1.04) translateY(-7px);
    box-shadow: 0 22px 40px rgba(180,93,127,.22);
}

figcaption {
    font-family: Arial, sans-serif;
    color: #B77D92;
    font-size: 10px;
    margin: 10px;
}

.project-text {
    padding: 15px 30px;
}

.project-number {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: #D18AA5;
}

.project h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    color: #C47794;
    margin: 15px 0;
}

.project p {
    font-size: 11px;
    line-height: 2;
    color: #94546D;
    text-align: justify;
}

.project-two {
    background: linear-gradient(
        135deg,
        #FCE8EF,
        #FFF8FA
    );
}

/* FOOTER */

footer {
    text-align: center;
    padding: 75px 20px 40px;
    background: linear-gradient(
        135deg,
        #F8DCE7,
        #FCEAF0,
        #F6D3E1
    );
    position: relative;
    overflow: hidden;
}

footer h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    line-height: 1.2;
    color: #B9557B;
    margin-bottom: 20px;
}

.email {
    text-decoration: none;
    color: #A34D70;
    font-size: 13px;
    transition: .3s;
}

.email:hover {
    color: #E0789F;
}

.footer-decoration {
    position: absolute;
    right: 18%;
    top: 40px;
    font-size: 65px;
    color: #E99CB7;
    transform: rotate(-15deg);
}

.footer-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 35px;
}

.footer-line span {
    width: 70px;
    height: 1px;
    background: #DFA0B6;
}

.footer-line p {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #A96A83;
}

/* ANIMATIONS */

@keyframes muncul {
    from {
        opacity: 0;
        transform: translateY(-35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fotoMasuk {
    from {
        opacity: 0;
        transform: translateX(45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mengambang {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 768px) {

    nav {
        padding: 18px 15px;
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 9px;
    }

    .logo {
        font-size: 20px;
    }

    header {
        padding: 55px 20px;
        text-align: center;
    }

    header::before {
        left: 5%;
    }

    h1 {
        font-size: 43px;
    }

    .heart {
        display: none;
    }

    .intro-list {
        font-size: 10px;
        line-height: 2.5;
    }

    .hero-image {
        margin-top: 45px;
    }

    .image-frame {
        height: 350px;
        max-width: 320px;
    }

    .flower {
        right: 0;
        font-size: 65px;
    }

    .skills {
        padding: 20px;
    }

    .skill-list {
        border-radius: 25px;
        gap: 12px;
    }

    .skill-list li {
        border: none;
        font-size: 10px;
    }

    .project {
        padding: 45px 20px;
        text-align: center;
    }

    .project-image img {
        height: 240px;
        margin-bottom: 20px;
    }

    .project-text {
        padding: 15px 5px;
    }

    .project h2 {
        font-size: 27px;
    }

    .project p {
        font-size: 10px;
        text-align: center;
    }

    footer h2 {
        font-size: 32px;
    }

    .footer-line {
        gap: 10px;
    }

    .footer-line span {
        width: 25px;
    }

    .footer-line p {
        font-size: 9px;
    }
}

/* REDUCE MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* =====================================
   CREATIVE FOOTER
   RISMA RAWE - SOFT PINK EDITION
===================================== */

footer {
    position: relative;
    padding: 100px 8% 30px;
    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            #F9C9DB 0,
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            #F4C6D8 0,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #FCE7EF,
            #FFF8FA,
            #F9DFE9
        );
}

/* DECORATION */

.footer-decoration {
    position: absolute;
    color: #D982A4;
    pointer-events: none;
    animation: footerFloat 5s ease-in-out infinite;
}

.footer-flower {
    top: 65px;
    left: 8%;
    font-size: 75px;
}

.footer-star {
    top: 120px;
    right: 12%;
    font-size: 55px;
    animation-delay: 1s;
}

.footer-heart {
    bottom: 150px;
    left: 12%;
    font-size: 60px;
    animation-delay: 2s;
}

@keyframes footerFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(12deg);
    }
}

/* FOOTER CONTAINER */

.footer-container {
    max-width: 1000px;
    margin: auto;
    position: relative;
    z-index: 2;
}

/* LABEL */

.footer-label {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #EAB2C7;
    border-radius: 50px;

    color: #B75E80;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 4px;

    background: rgba(255,255,255,.4);
    animation: footerFade 1s ease;
}

/* MAIN HEADING */

footer h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(40px, 6vw, 65px);
    line-height: 1.2;
    color: #B65378;
    margin: 30px 0 20px;
    animation: footerFade 1.2s ease;
}

footer h2 span {
    color: #DC91AB;
    font-style: italic;
}

/* DESCRIPTION */

.footer-description {
    max-width: 520px;
    margin: auto;
    color: #946078;
    font-size: 12px;
    line-height: 2.2;
}

/* MAIN BUTTON */

.footer-main-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    margin-top: 30px;
    padding: 15px 32px;

    border-radius: 50px;
    background: linear-gradient(
        135deg,
        #E99CB8,
        #C9658C
    );

    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;

    box-shadow: 0 12px 30px #D982A455;
    transition: .4s;
}

.footer-main-button:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 35px #D982A477;
}

.footer-main-button span {
    font-size: 18px;
}

/* CONTACT CARDS */

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 65px auto;
    max-width: 750px;
}

.contact-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 22px;
    text-align: left;

    background: rgba(255,255,255,.65);
    border: 1px solid #F4C8D9;
    border-radius: 20px;

    text-decoration: none;
    box-shadow: 0 10px 30px rgba(190,100,140,.08);
    transition: .4s;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: #FFFFFF;
    box-shadow: 0 15px 35px rgba(190,100,140,.18);
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;
    background: #FCE1EB;
    color: #BF6486;
    font-size: 24px;
}

.contact-card h3 {
    font-family: 'DM Serif Display', serif;
    color: #B65378;
    font-size: 17px;
}

.contact-card p {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #A7788B;
    margin-top: 5px;
}

.contact-arrow {
    margin-left: auto;
    color: #D47D9C;
    font-size: 20px;
    transition: .3s;
}

.contact-card:hover .contact-arrow {
    transform: translate(5px, -5px);
}

/* ABOUT ME CARDS */

.footer-about {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    padding: 35px 0;
    border-top: 1px solid #EDC2D2;
    border-bottom: 1px solid #EDC2D2;
}

.about-item {
    padding: 15px;
    transition: .4s;
}

.about-item:hover {
    transform: translateY(-7px);
}

.about-item span {
    font-size: 30px;
    color: #D77F9F;
}

.about-item h4 {
    margin: 12px 0;
    color: #B45C7C;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
}

.about-item p {
    color: #A47789;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

/* FOOTER BOTTOM */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 35px;
}

.footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: #B65378;
}

.footer-logo span {
    color: #E59AB5;
}

.footer-bottom p {
    color: #A47789;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1.8;
}

.back-top {
    text-decoration: none;
    color: #B65378;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    transition: .3s;
}

.back-top:hover {
    color: #E17D9F;
    transform: translateY(-4px);
}

/* FADE ANIMATION */

@keyframes footerFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    footer {
        padding: 75px 20px 25px;
    }

    .footer-flower {
        left: 0;
        font-size: 45px;
    }

    .footer-star {
        right: 5%;
        font-size: 35px;
    }

    footer h2 {
        font-size: 38px;
    }

    .footer-description {
        font-size: 11px;
    }

    .contact-cards {
        flex-direction: column;
        margin: 40px auto;
    }

    .footer-about {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    footer *,
    footer *::before,
    footer *::after {
        animation: none !important;
        transition: none !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    footer *,
    footer *::before,
    footer *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =====================================
   POSISI FORM PROFIL TEPAT DI TENGAH
===================================== */

/* Mengatur posisi seluruh section */
body.no-sticky .project.blue {
    min-height: calc(100vh - 70px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
}

/* Mengatur lebar container */
body.no-sticky .project.blue .container {
    width: 100%;
    max-width: 650px;
    margin: auto;

    padding: 40px;
    background: rgba(255, 255, 255, 0.65);

    border: 1px solid #f2d1df;
    border-radius: 25px;

    box-shadow: 0 15px 45px rgba(180, 99, 132, 0.12);
}

/* Membuat kolom berada di tengah */
body.no-sticky .project.blue .row {
    display: flex;
    justify-content: center;
}

body.no-sticky .project.blue .col-sm {
    width: 100%;
    text-align: center;
}

/* Judul */
body.no-sticky .project.blue h1 {
    text-align: center;
    font-size: 45px;
    color: #c96990;
    animation: profileMenari 3s ease-in-out infinite;
}

/* Deskripsi */
body.no-sticky .project.blue p {
    text-align: center;
    color: #997286;
}

/* Form */
body.no-sticky #profilForm {
    width: 100%;
    max-width: 450px;
    margin: 25px auto 0;
}

/* Menghilangkan bullet list */
body.no-sticky #profilForm ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Setiap kolom input */
body.no-sticky #profilForm li {
    text-align: left;
    margin-bottom: 20px;
}

/* Label */
body.no-sticky #profilForm label {
    display: block;
    margin-bottom: 8px;
    color: #a85278;
}

/* Input dan textarea */
body.no-sticky #profilForm input,
body.no-sticky #profilForm textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #edc3d2;
    border-radius: 10px;
    background: #fffafd;
    outline: none;
    transition: 0.3s;
}

/* Efek klik */
body.no-sticky #profilForm input:focus,
body.no-sticky #profilForm textarea:focus {
    border-color: #cf7899;
    box-shadow: 0 0 12px rgba(207, 120, 153, 0.25);
}

/* Tombol */
body.no-sticky #profilForm button {
    display: block;
    margin: 25px auto 0;
    min-width: 170px;
    border: none;
    cursor: pointer;
}

/* Animasi judul */
@keyframes profileMenari {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Tampilan HP */
@media (max-width: 600px) {
    body.no-sticky .project.blue .container {
        padding: 25px 18px;
    }

    body.no-sticky .project.blue h1 {
        font-size: 34px;
    }
}
