/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #973232;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: #9ccf0f;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

/* Navigation Styles */
nav {
    background: #34495e;
    padding: 1rem 0;
}

.menu {
    display: flex;
    list-style: none;
    justify-content: center;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 5px;
    border-radius: 4px;
    transition: background 0.3s;
}

.menu li a:hover, .menu li a.active {
    background: #2980b9;
}

/* Main Content Styles */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

h3 {
    margin: 1rem 0;
    color: #2980b9;
}

/* Post/Article Styles */
.post {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post h3 a {
    color: #2980b9;
    text-decoration: none;
}

.post h3 a:hover {
    text-decoration: underline;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* About Page Styles */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 1rem auto;
    border: 3px solid #2980b9;
}

.skills {
    margin: 1rem 0;
}

.skill {
    display: inline-block;
    background: #2980b9;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin: 0.3rem;
    font-size: 0.9rem;
}

.experience {
    margin: 1.5rem 0;
}

.experience h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
#contact-form {
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
}

.submit-btn {
    background: #2980b9;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2c3e50;
}

.contact-info {
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
}

/* Footer Styles */
footer {
    background: #ccaf0d;
    color: rgb(139, 160, 63);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.social-links a {
    color: rgb(219, 34, 34);
    text-decoration: none;
    margin: 0 5px;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }
    
    .menu li {
        margin: 5px 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
}