/* Base Styles */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 2rem; 
    line-height: 1.6; 
    padding-bottom: 80px; 
    color: #333;
}
h1, h2, h3 { color: #111; }
hr { border: 0; border-top: 1px solid #ddd; margin: 2rem 0; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Profile & Header Styles */
.header-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 15%;
    border: 2px solid #eee;
}
.header-text { flex: 1; }
.header-text h1 { margin-top: 0; margin-bottom: 0.5rem; }
.contact-links { margin-bottom: 1rem; font-size: 0.95rem; }

/* CV Section Styles */
.cv-section { margin-bottom: 2.5rem; }
.cv-item { margin-bottom: 1.5rem; }
.cv-item h3 { margin: 0 0 0.2rem 0; font-size: 1.1rem; }
.cv-item .meta { font-style: italic; color: #666; margin: 0 0 0.5rem 0; font-size: 0.95rem; }
.cv-item ul { margin-top: 0.5rem; padding-left: 1.5rem; }

.skills-group { margin-bottom: 0.5rem; }
.skill-title { font-weight: bold; margin-right: 0.5rem; }

/* Form Styles */
.form-group { margin-bottom: 1rem; }
input[type="text"], input[type="email"], textarea { 
    width: 100%; 
    padding: 0.5rem; 
    margin-top: 0.25rem; 
    box-sizing: border-box; 
    border: 1px solid #ccc;
    border-radius: 4px;
}
button { 
    padding: 0.6rem 1.2rem; 
    cursor: pointer; 
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
}
button:hover { background-color: #0052a3; }

/* Form Status Styles */
#status-message { margin-top: 1rem; font-weight: bold; }
.success { color: green; }
.error { color: red; }

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    box-sizing: border-box;
}
#cookie-banner p { margin: 0 0 10px 0; font-size: 0.9rem; display: inline-block; margin-right: 15px; }
#cookie-banner button { background-color: #4CAF50; color: white; border: none; padding: 8px 15px; border-radius: 4px; font-weight: bold; }
#cookie-banner button:hover { background-color: #45a049; }

.download-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap; /* Allows safe wrapping on tiny screens */
    margin-top: 1rem;
}

.download-label {
    font-weight: bold;
    color: #555;
    margin-right: 0.5rem;
}

.btn-pill {
    background-color: #f0f0f0;
    color: #333;
    padding: 0.4rem 0.8rem;
    border-radius: 20px; /* Makes them look like pills */
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
}

.btn-pill:hover {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
    text-decoration: none;
}

/* Language Navigation Styles */
.language-switcher {
    text-align: right;
    margin-bottom: 1rem;
}

.language-switcher a {
    text-decoration: none;
    color: #666;
    margin-left: 15px;
    font-weight: bold;
    font-size: 0.95rem;
}

.language-switcher a.active {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
}

.language-switcher a:hover {
    color: #0066cc;
}
