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

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../Images/FoggyForest.jpg') center/cover no-repeat;
    background-attachment: fixed;
    background-color: #000;
    color: #333;
}

/* ===== Navigation Bar ===== */
.navbar {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-link {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    padding: 10px 20px;
}

.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===== Main Container ===== */
.main-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 80px;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
}

/* ===== Profile Section ===== */
.profile-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-card {
    background: rgba(100, 150, 120, 0.2);
    border: 2px solid rgba(200, 220, 200, 0.5);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    max-width: 350px;
    width: 100%;
    text-align: center;
}

.profile-name {
    color: #f0f0f0;
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 40px;
    line-height: 1.2;
}

.profile-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(150, 180, 160, 0.6), rgba(100, 130, 110, 0.6));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(200, 220, 200, 0.5);
    font-size: 14px;
    border: 1px dashed rgba(200, 220, 200, 0.4);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
/* ===== Bio Section ===== */
.bio-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bio-card {
    background: rgba(100, 150, 120, 0.2);
    border: 2px solid rgba(200, 220, 200, 0.5);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 794px;
}

.bio-text {
    color: rgba(240, 240, 240, 0.95);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* ===== Projects Container ===== */
.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    min-height: calc(100vh - 100px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-card {
    display: block;
    background: rgba(100, 150, 120, 0.2);
    border: 2px solid rgba(200, 220, 200, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(200, 220, 200, 0.8);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(150, 180, 160, 0.6), rgba(100, 130, 110, 0.6));
    background-size: cover;        
    background-position: center;   
    background-repeat: no-repeat;  
    border-bottom: 1px solid rgba(200, 220, 200, 0.3);
}

.project-title {
    color: #f0f0f0;
    font-size: 24px;
    font-weight: 400;
    padding: 20px 20px 10px 20px;
    letter-spacing: 1px;
}

.project-description {
    color: rgba(240, 240, 240, 0.8);
    font-size: 14px;
    padding: 0 20px;
    line-height: 1.6;
}

.project-engine {
    color: rgba(200, 220, 200, 0.7);
    font-size: 12px;
    padding: 5px 20px 0 20px;
    line-height: 1.4;
    font-style: italic;
}

.project-link {
    display: inline-block;
    color: rgba(240, 240, 240, 0.9);
    text-decoration: none;
    padding: 15px 20px;
    margin: 10px 20px 20px 20px;
    border: 1px solid rgba(200, 220, 200, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.project-link:hover {
    background: rgba(200, 220, 200, 0.2);
    border-color: rgba(200, 220, 200, 0.8);
    color: #fff;
}

/* ===== Back Link ===== */
.back-link {
    color: rgba(240, 240, 240, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #f0f0f0;
}

/* ===== CV Link ===== */
.cv-link {
    display: inline-block;
    color: #f0f0f0;
    text-decoration: none;
    padding: 15px 35px;
    margin-top: 20px;
    background: rgba(150, 180, 160, 0.3);
    border: 2px solid rgba(200, 220, 200, 0.6);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.cv-link:hover {
    background: rgba(150, 180, 160, 0.5);
    border-color: rgba(200, 220, 200, 0.9);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(150, 180, 160, 0.3);
}

/* ===== CV Sections ===== */
.cv-section {
    margin: 20px 0;
}

.cv-section h4 {
    color: rgba(240, 240, 240, 0.85);
    font-size: 16px;
    margin: 15px 0 8px 0;
    font-weight: 500;
}

/* ===== Footer ===== */
footer.footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(200, 220, 200, 0.3);
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    color: rgba(240, 240, 240, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-link {
    color: rgba(240, 240, 240, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-separator {
    color: rgba(240, 240, 240, 0.5);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .nav-container {
        gap: 40px;
    }

    .profile-card {
        padding: 40px;
    }

    .profile-name {
        font-size: 40px;
    }

    .bio-card {
        max-width: 100%;
    }

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

@media (max-width: 640px) {
    .nav-container {
        gap: 20px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 18px;
        padding: 8px 12px;
    }

    .main-container {
        padding: 20px 15px;
        gap: 20px;
    }

    .profile-card {
        padding: 30px;
    }

    .profile-name {
        font-size: 32px;
    }

    .bio-card {
        padding: 25px;
    }

    .bio-text {
        font-size: 14px;
    }

    .projects-container {
        padding: 40px 15px;
    }

    .projects-grid {
        gap: 20px;
    }
}
