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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Georgia", "Times New Roman", serif;
    background: #fffdf2;
    color: #342236;
    line-height: 1.7;
}

.portfolio {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #fffdf2;
    overflow: hidden;
}

/* NAVBAR */

.navbar {
    width: 100%;
    padding: 20px 12%;
    background: #fffdf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f3dfc8;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-logo {
    font-size: 26px;
    font-weight: bold;
    color: #d63384;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    padding-left: 0;
}

.nav-links li {
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: #342236;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #d63384;
}

/* HERO */

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 70px 12%;
    background:
        radial-gradient(circle at top left, #ffe9b8, transparent 35%),
        radial-gradient(circle at bottom right, #ffc4dd, transparent 35%),
        linear-gradient(135deg, #fff8dc, #ffe3ef);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: #fff1a8;
    border-radius: 50%;
    top: 60px;
    right: 120px;
    filter: blur(15px);
    opacity: 0.7;
}

.hero-content,
.photo-card {
    position: relative;
    z-index: 1;
}

.tag {
    display: inline-block;
    padding: 8px 18px;
    background: #ffe3ef;
    color: #9d3b72;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1;
    color: #2f1d35;
    margin-bottom: 20px;
}

.subtitle {
    max-width: 530px;
    font-size: 20px;
    color: #6d536b;
}

.photo-card {
    background: #fff8dc;
    padding: 18px;
    border-radius: 38px;
    transform: rotate(2deg);
    box-shadow: 0 18px 35px rgba(116, 67, 95, 0.2);
}

.profile-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

/* QUOTE */

.quote-box {
    padding: 35px 12%;
    text-align: center;
    background: #f8c7da;
    color: #542a49;
    font-size: 25px;
    font-weight: bold;
}

/* SECTIONS */

.section {
    padding: 65px 12%;
    border-bottom: 1px solid #f3dfc8;
    scroll-margin-top: 90px;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 38px;
    color: #d63384;
}

.section-title.small h2 {
    font-size: 32px;
}

/* ABOUT */

.about-card {
    background: #fff8dc;
    border: 2px solid #f5d6e7;
    padding: 35px;
    border-radius: 26px;
    font-size: 18px;
}

.about-card p {
    margin-bottom: 15px;
}

/* FAVORITES */

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.favorites-grid .card {
    min-height: 190px;
}

/* CARDS */

.card,
.like-card,
.soft-panel,
.mini-profile {
    background: #fffaf0;
    border: 2px solid #f6d9e8;
    border-radius: 24px;
    padding: 28px;
    transition: 0.3s ease;
}

.card:hover,
.like-card:hover,
.soft-panel:hover,
.mini-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(214, 51, 132, 0.14);
}

.card h3,
.like-card h3,
.mini-profile h3 {
    color: #7b2cbf;
    font-size: 23px;
    margin-bottom: 12px;
}

.card p,
.card li,
.like-card li,
.clean-list li,
.mini-profile p {
    font-size: 17px;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
}

/* RANDOM FACTS */

.split-section {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    align-items: stretch;
}

.soft-panel {
    background: #fff8dc;
}

.clean-list li {
    margin-bottom: 10px;
}

.mini-profile {
    background: #ffe3ef;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* LIKES */

.likes-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.like-card {
    background: #fff8dc;
}

.dislike {
    background: #fff0f4;
}

/* GOAL */

.goal-section {
    padding: 75px 12%;
    text-align: center;
    background:
        radial-gradient(circle at center, #fff1a8, transparent 28%),
        #ffe3ef;
    scroll-margin-top: 90px;
}

.goal-section h2 {
    font-size: 42px;
    color: #2f1d35;
    margin-bottom: 20px;
}

.goal-section p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    color: #60455d;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 25px;
    background: #2f1d35;
    color: #fffdf2;
}

/* RESPONSIVE */

@media screen and (max-width: 1000px) {
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 850px) {
    .navbar {
        padding: 18px 28px;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 45px 28px;
        text-align: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .subtitle {
        font-size: 17px;
        margin: 0 auto;
    }

    .photo-card {
        transform: none;
    }

    .profile-img {
        height: 360px;
    }

    .quote-box,
    .section,
    .goal-section {
        padding: 45px 28px;
    }

    .section-title {
        justify-content: center;
        text-align: center;
    }

    .section-title h2 {
        font-size: 31px;
    }

    .favorites-grid,
    .likes-layout,
    .split-section {
        grid-template-columns: 1fr;
    }

    .goal-section h2 {
        font-size: 32px;
    }
}