/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

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

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('../img/background-image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #4169e1 0%, #1e40af 50%, #1e3a8a 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* About section */
.about {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

h1 {
    background: linear-gradient(135deg, #1e40af 0%, #4169e1 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    background: linear-gradient(135deg, #2563eb 0%, #4169e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
}

h3 {
    color: #1e40af;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Hero section */
.hero {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.profile-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #4169e1;
}

.placeholder-image {
    background-color: #bfdbfe;
    color: #1e40af;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.profile-content {
    flex: 1;
}

/* Gallery */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.gallery-item {
    flex: 0 0 calc(50% - 1rem);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.gallery-item .placeholder-image {
    height: 200px;
    margin-bottom: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Skills */
.skills-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.skill-category ul {
    list-style: none;
    margin-top: 1rem;
}

.skill-category li {
    padding: 0.5rem 0;
    color: #1e40af;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Hobbies */
.hobbies-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hobby-item {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.hobby-item .placeholder-image {
    height: 200px;
    margin-bottom: 1rem;
}

.hobby-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Contact */
.contact-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info,
.contact-social {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.contact-info ul,
.contact-social ul {
    list-style: none;
    margin-top: 1rem;
}

.contact-info li,
.contact-social li {
    padding: 0.5rem 0;
    color: #1e40af;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #4169e1 100%);
    color: white;
    margin-top: auto;
    font-family: 'Inter', sans-serif;
}

/* Clear fix */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .gallery-item,
    .hobby-item {
        flex: 0 0 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
