/* CENGMAN Website Styles - Formal & Minimal */

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fdfdfd;
}

/* Header styles */
header {
    border-bottom: 3px solid #34495e;
    margin-bottom: 40px;
    padding-bottom: 25px;
    text-align: center;
}

.header-title {
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 5px;
}

header h1 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

header h1 a:hover {
    color: #3498db;
}



/* Navigation styles */
nav {
    margin-top: 15px;
    text-align: center;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    font-size: 1.05em;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

nav a:hover {
    background-color: #ecf0f1;
    color: #2c3e50;
}

/* Main content styles */
main {
    margin-bottom: 50px;
}

/* Home page specific styles */
.home-title {
    text-align: center;
    margin-bottom: 30px;
}

.home-page h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 400;
}



.home-image {
    text-align: center;
    margin: 0 0 40px 0;
}

.home-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
}

.home-description {
    text-align: center;
    margin: 30px 0;
}

/* Typography */
h1 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 500;
}

h2 {
    color: #34495e;
    font-size: 1.6em;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 12px;
    margin: 30px 0 20px 0;
    font-weight: 500;
}

h3 {
    color: #34495e;
    font-size: 1.3em;
    margin: 25px 0 15px 0;
    font-weight: 500;
}

p {
    margin-bottom: 18px;
}

/* Lists */
ul, ol {
    padding-left: 30px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Content container */
.content {
    margin-top: 25px;
}

/* Footer styles */
footer {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 2px solid #ecf0f1;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.95em;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    nav a {
        margin-right: 20px;
        margin-bottom: 10px;
        display: inline-block;
    }
    
    .home-page h1 {
        font-size: 2em;
    }
}

/* Focus styles for accessibility */
a:focus, nav a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Contributors page styles */
.contributors-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.contributor-card {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.contributor-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.contributor-photo {
    flex-shrink: 0;
    margin-right: 25px;
}

.contributor-photo img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ecf0f1;
}

.default-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: 600;
}

.contributor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contributor-name {
    margin: 0 0 8px 0;
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: 600;
}

.contributor-description {
    margin: 0 0 15px 0;
    color: #5d6d7e;
    line-height: 1.5;
    flex-grow: 1;
}

.contributor-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.link-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
}

.link-btn.linkedin {
    background-color: #0077b5;
}

.link-btn.linkedin:hover {
    background-color: #005885;
}

.link-btn.github {
    background-color: #333;
}

.link-btn.github:hover {
    background-color: #24292e;
}

.link-btn.website {
    background-color: #3498db;
}

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

/* Responsive design for contributor cards */
@media (max-width: 600px) {
    .contributor-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contributor-photo {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .contributor-links {
        justify-content: center;
    }
} 