/* =========================
   GENERAL STYLING
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --lavender: #c8a9e8;
    --dark-lavender: #7957a8;
    --light-lavender: #f3edfa;
    --soft-purple: #e5d5f5;
    --text-dark: #393044;
    --text-light: #766b82;
    --white: #ffffff;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #fcfaff;
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 100px 10%;
}

/* =========================
   NAVIGATION
========================= */

header {
    background: rgba(252, 250, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee4f7;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--dark-lavender);
}

.logo span {
    color: var(--lavender);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-light);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--dark-lavender);
}

/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background: linear-gradient(
        135deg,
        #fcfaff,
        #f2e9fb,
        #e9dcf6
    );
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.intro-label,
.section-label {
    color: var(--dark-lavender);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 75px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero h1 span,
.section-heading h2 span,
.contact-box h2 span {
    color: var(--dark-lavender);
    font-style: italic;
}

.hero h2 {
    font-size: 23px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-description {
    max-width: 550px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 14px;
    transition: 0.3s;
}

.primary-btn {
    background: var(--dark-lavender);
    color: white;
}

.primary-btn:hover {
    background: #62428d;
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid var(--dark-lavender);
    color: var(--dark-lavender);
}

.secondary-btn:hover {
    background: var(--soft-purple);
    transform: translateY(-3px);
}

/* Hero Decoration */

.hero-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 40px;
}

.decor-card {
    width: 280px;
    height: 350px;
    border: 1px solid #d8c5ed;
    border-radius: 150px 150px 30px 30px;
    background: linear-gradient(
        180deg,
        #dfc9f3,
        #f7f1fc
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 60px rgba(121, 87, 168, 0.12);
    position: relative;
}

.decor-card p {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    color: var(--dark-lavender);
}

.flower {
    font-size: 70px;
    color: #a47bcc;
    margin-bottom: 15px;
}

.sparkle {
    position: absolute;
    bottom: 25px;
    right: 30px;
    font-size: 30px;
    color: #a47bcc;
}

.floating-flower {
    position: absolute;
    color: #b99bdb;
}

.flower-one {
    top: 100px;
    right: 15%;
    font-size: 35px;
}

.flower-two {
    bottom: 100px;
    right: 40%;
    font-size: 45px;
}

.flower-three {
    top: 25%;
    left: 5%;
    font-size: 30px;
}

/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 45px;
}

/* =========================
   ABOUT SECTION
========================= */

.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-card {
    padding: 35px;
    border: 1px solid #eee3f8;
    border-radius: 20px;
    background: #fcfaff;
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(121, 87, 168, 0.08);
}

.about-icon {
    font-size: 35px;
    color: var(--dark-lavender);
    margin-bottom: 15px;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* =========================
   SKILLS SECTION
========================= */

.skills {
    background: var(--light-lavender);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-item {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #e9ddf5;
}

.skill-item:hover {
    transform: translateY(-8px);
}

.skill-symbol {
    display: block;
    font-size: 35px;
    color: var(--dark-lavender);
    margin-bottom: 15px;
}

.skill-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.skill-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* =========================
   PROJECT SECTION
========================= */

.projects {
    background: white;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    border: 1px solid #eee3f8;
    padding: 30px;
    border-radius: 20px;
    background: #fcfaff;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(121, 87, 168, 0.08);
}

.project-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.project-number {
    color: #a48ac5;
    font-size: 14px;
}

.project-icon {
    color: var(--dark-lavender);
    font-size: 25px;
}

.project-card h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    background: #e9ddf6;
    color: var(--dark-lavender);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
}

/* =========================
   CONTACT SECTION
========================= */

.contact {
    background: linear-gradient(
        135deg,
        #f3edfa,
        #e6d7f5
    );
    text-align: center;
}

.contact-box {
    max-width: 700px;
    margin: auto;
}

.contact-box h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.contact-box > p:not(.section-label) {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 30px 10%;
    text-align: center;
    background: #fcfaff;
    color: var(--text-light);
    font-size: 13px;
}

footer span {
    color: var(--dark-lavender);
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1000px) {

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
        padding-top: 80px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-decoration {
        margin: 0;
    }

    .about-content,
    .project-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    section {
        padding: 70px 6%;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px 6%;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .section-heading h2 {
        font-size: 35px;
    }

    .contact-box h2 {
        font-size: 35px;
    }

    .about-content,
    .project-container,
    .skills-container {
        grid-template-columns: 1fr;
    }

    .decor-card {
        width: 240px;
        height: 300px;
    }

    .flower-one {
        right: 10%;
    }
}