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

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-img {
    width: 50px;
    height: auto;
}

.language-selector {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.language-option {
    cursor: pointer;
    margin: 5px 0;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.language-option.active {
    font-weight: bold;
}

.language-option:hover {
    color: #3498db;
}

/* Main content styles */
main {
    flex: 1;
    padding: 40px 0;
}

.portfolio-header {
    margin-bottom: 60px;
    text-align: center;
}

.title {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.portfolio-text {
    display: block;
    margin-bottom: 10px;
}

.underline {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: relative;
}

.subtitle {
    color: #ff5252;
    font-size: 1rem;
    position: absolute;
    right: 0;
    bottom: -20px;
}

/* Projects styles */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #333;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-title span {
    color: #3498db;
}

.project-description {
    margin-bottom: 20px;
    color: #ccc;
}

.project-link {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #2980b9;
}

/* Footer styles */
footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link {
    margin-bottom: 10px;
}

.contact-link a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.contact-link a:hover {
    color: #3498db;
}

.copyright {
    font-size: 0.8rem;
    color: #777;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .language-selector {
        flex-direction: row;
        margin-top: 20px;
    }
    
    .language-option {
        margin: 0 10px 0 0;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
}

/* Animation for text with blue effect */
.blue-effect {
    background-image: linear-gradient(to right, #3498db, #2980b9);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}
