/* style.css - Main stylesheet */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 20px;
}

/* About Section */
.about {
    background: white;
    padding: 40px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2rem;
}

.about p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    background: white;
    padding: 40px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.skills h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2rem;
}

.skills ul {
    list-style-type: none;
    columns: 2;
    gap: 20px;
}

.skills li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.skills li:last-child {
    border-bottom: none;
}

/* Blog Preview Section */
.blog-preview {
    background: white;
    padding: 40px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-preview h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 2rem;
}

.blog-preview article {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
}

.blog-preview article:hover {
    transform: translateX(10px);
}

.blog-preview article:last-child {
    border-bottom: none;
}

.blog-preview h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.blog-preview p {
    color: #666;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .about, .skills, .blog-preview {
        padding: 20px;
    }

    .skills ul {
        columns: 1;
    }
}