/* --- General Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

:root {
    --primary-color: #0A66C2;
    --secondary-color: #0073B1;
    --background-color: #f3f2ef;
    --card-background: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* --- Navigation Bar --- */
.navbar {
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 700;
}

.navbar .nav-links a:hover {
    color: var(--primary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Cards & Forms --- */
.card {
    background: var(--card-background);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.auth-card {
    max-width: 450px;
    margin: 4rem auto;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

form p {
    margin-bottom: 1.5rem;
}

form label {
    display: none; /* Hide default labels */
}

form input[type='text'],
form input[type='email'],
form input[type='password'],
form input[type='url'],
form input[type='date'],
form textarea,
form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.social-login-buttons {
    text-align: center;
    margin-top: 1.5rem;
}

.social-login-buttons .btn {
    margin: 0.5rem;
}

/* --- Profile Page --- */
.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-background);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-info h1 {
    margin: 0;
    font-size: 2rem;
}

.profile-info h2 {
    margin: 0.2rem 0 1rem 0;
    font-weight: 400;
    color: var(--text-secondary);
}

.profile-info .btn {
    margin-top: 1rem;
}

.profile-section {
    margin-top: 2rem;
}

.profile-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.profile-item:last-child {
    border-bottom: none;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills-list li {
    background: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}
