:root {
    --bg-color: #fff0f5; /* Lavender blush */
    --nav-bg: #ffa4c2; /* Light pink #ffb6c1*/
    --text-main: #5c4d5c;
    --accent: #ff71a0;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation Bar */
nav {
    background-color: var(--nav-bg);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--text-main);
    /* transform: translateY(-2px); */
}

/* --- Dropdown Styles on Desktop --- */
.dropdown {
    position: relative;
}

.submenu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 101;
}

.submenu li {
    width: 100%;
}

.submenu a {
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    display: block;
    font-weight: 600;
}

.submenu a:hover {
    background-color: var(--bg-color);
    color: var(--accent);
    transform: none; /* Disable the bounce effect for submenu items */
}

/* Show submenu on hover for desktop */
@media (min-width: 769px) {
    .dropdown:hover .submenu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Mobile Menu Icon */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.profile-pic {
    width: 150px;
    height: 150px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: var(--nav-bg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    border: 5px solid white;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
}

p.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:hover {
    background-color: #ff588f;
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.social-icons {
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--nav-bg);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        padding: 1rem 0;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: 0.5rem 0;
    }
  
    .menu-toggle {
        display: block;
    }

 /* Mobile Submenu Styles */
    .submenu {
        position: static; /* Flows naturally down the page */
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.2); /* Slightly transparent */
        border-radius: 0;
        margin-top: 0.5rem;
    }
    
    .submenu a {
        color: white;
    }
    
    .submenu a:hover {
        background-color: transparent;
        color: var(--text-main);
    }
  
    h1 {
        font-size: 2.2rem;
    }
}