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

body {
    font-family: 'Segoe UI', Tahoma, Arial, Verdana, sans-serif;
    line-height: 1.6;
    color: black;
    background-color: white;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: darkslategray;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: lightblue;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, darkslategray, lightblue);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: darkslategray;
}

.bg-light {
    background-color: white;
}

/* About Section */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 250px;
}

.profile-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: lightgrey;
    font-size: 1.1rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
}

.fun-fact {
    margin-top: 1rem;
    padding: 1rem;
    background-color: lightyellow;
    display: none;
}

.fun-fact.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Buttons */
.btn {
    background-color: lightblue;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: lightskyblue;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Hobbies Grid */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hobby-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hobby-card h3 {
    color: darkslategray;
    margin-bottom: 0.75rem;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: darkslategray;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-link:hover {
    background-color: lightblue;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: darkslategray;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

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

    .nav-menu {
        gap: 1rem;
    }

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

    .about-content {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 auto;
    }

    .image-placeholder {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

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

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}
