@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Poppins:wght@300;400;500;600&display=swap');
:root {
    --bg-color: #fff8fb;
    --section-color: #ffeef6;
    --card-color: #ffffff;
    --primary: #f8bfd6;
    --secondary: #ffd7e6;
    --accent: #ff8fb7;
    --text: #4b3a45;
    --heading: #d86c97;
    --shadow: 0 8px 20px rgba(0, 0, 0, .08);
    --radius: 20px;
}

body.dark-mode {
    --bg-color: #2d1f28;
    --section-color: #392935;
    --card-color: #473340;
    --primary: #6c4960;
    --secondary: #84576f;
    --accent: #ff9dc4;
    --text: #f9eef4;
    --heading: #ffc6de;
    --shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text);
    transition: .4s;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

body.dark-mode .navbar {
    background: rgba(40, 30, 40, .9);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Dancing Script', cursive;
    color: var(--heading);
    font-size: 2rem;
}

.logo-icon {
    width: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: .3s;
}

.nav-links a:hover {
    color: var(--accent);
}

#theme-toggle {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: .3s;
}

#theme-toggle:hover {
    transform: scale(1.08);
}

#theme-toggle img {
    width: 24px;
}

section {
    min-height: 100vh;
    padding: 120px 8% 70px;
}

.home {
    display: flex;
    align-items: center;
    background: var(--bg-color);
}

.home-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.home-text {
    flex: 1;
}

.home-text h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: var(--heading);
    margin-bottom: 20px;
}

.home-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.home-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.profile-image {
    width: 340px;
    max-width: 100%;
    border-radius: 50%;
    border: 8px solid var(--primary);
    box-shadow: var(--shadow);
}

.butterfly {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 90px;
}

#about {
    background: var(--section-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card {
    max-width: 900px;
    width: 100%;
    background: var(--card-color);
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--primary);
}

.about-card h2 {
    font-family: 'Dancing Script', cursive;
    text-align: center;
    font-size: 3rem;
    color: var(--heading);
    margin-bottom: 30px;
}

.about-card h3 {
    margin-top: 20px;
    color: var(--heading);
}

.about-card p {
    margin-top: 10px;
    line-height: 1.8;
}

.social-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    background: var(--section-color);
    padding: 12px 20px;
    border-radius: 50px;
    transition: .3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links img {
    width: 24px;
}

#hobbies {
    background: var(--bg-color);
}

.section-title {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--heading);
    margin-bottom: 50px;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hobby-card {
    background: var(--card-color);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow);
    transition: .35s;
}

.hobby-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 143, 183, .3);
}

.hobby-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid var(--secondary);
    margin-bottom: 20px;
}

.hobby-card h3 {
    color: var(--heading);
    margin-bottom: 15px;
}

.hobby-card p {
    line-height: 1.7;
}

footer {
    background: var(--primary);
    text-align: center;
    padding: 30px;
}

.footer-butterfly {
    width: 70px;
    margin-bottom: 15px;
}

footer p {
    color: var(--text);
    font-weight: 500;
}

@media (max-width:992px) {
    .home-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .home-text h1 {
        font-size: 3.3rem;
    }
    .hobby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .butterfly {
        right: 0;
    }
}

@media (max-width:768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 20px;
    }
    .hobby-grid {
        grid-template-columns: 1fr;
    }
    .profile-image {
        width: 250px;
    }
    .about-card {
        padding: 30px;
    }
    .home-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width:480px) {
    .social-links {
        flex-direction: column;
    }
    .social-links a {
        justify-content: center;
    }
    .home-text h1 {
        font-size: 2.3rem;
    }
}