/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFB6C1 100%);
    min-height: 100vh;
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #800000;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Main content */
main {
    margin-top: 80px;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.9) 0%, rgba(220, 20, 60, 0.9) 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #800000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card, .bio-card {
    background: rgba(255, 182, 193, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover, .bio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-card h3, .bio-card h3 {
    color: #800000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    margin-bottom: 0.5rem;
}

/* Skills and Hobbies sections */
.skills-section, .hobbies-section {
    margin-bottom: 4rem;
}

.skills-section h2, .hobbies-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.skills-grid, .hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card, .hobby-card {
    background: rgba(255, 182, 193, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.skill-card:hover, .hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.skill-card h3, .hobby-card h3 {
    color: #DC143C;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Projects section */
.projects-section {
    margin-bottom: 4rem;
}

.projects-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 182, 193, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    color: #800000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #8b1313;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.project-link:hover {
    background:#ffb366;
}

/* Footer */
footer {
    background: lch(80.77% 57.43 75);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 4rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .personal-info {
        grid-template-columns: 1fr;
    }

    .skills-grid, .hobbies-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .skills-section, .hobbies-section, .projects-section {
    animation: fadeInUp 0.8s ease-out;
}
