/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Header Styles */
.main-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

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

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    background-color: var(--dark-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    display: block;
    padding: 15px 0;
    color: white;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
}

.bio {
    flex: 1;
}

.bio p {
    margin-bottom: 15px;
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.work-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-item h3 {
    margin: 20px 20px 10px;
    font-size: 1.5rem;
}

.work-item p {
    margin: 0 20px 20px;
    color: var(--text-light);
}

.work-item .btn {
    margin: 0 20px 20px;
    display: block;
    text-align: center;
}

/* Contact Section */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 30px 0;
}

.main-footer p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-img {
        margin-bottom: 30px;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-methods .btn {
        width: 200px;
        margin-bottom: 10px;
    }
}