/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #3E2723;
    background-color: #F5F5F5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header and Navigation */
.header {
    background: #F5F5F5;
    box-shadow: 0 2px 10px rgba(62,39,35,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #4CAF50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #6D4C41;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4CAF50;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #D4A574;
}

/* Main content */
.main {
    min-height: calc(100vh - 140px);
}

/* Hero section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3E2723;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6D4C41;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #6D4C41;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45A049;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #4CAF50;
    border-color: #4CAF50;
}

.btn-secondary:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

/* About section */
.about {
    padding: 4rem 0;
    background: #EFEBE9;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #3E2723;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-photo {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4CAF50;
    box-shadow: 0 8px 32px rgba(62, 39, 35, 0.15);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #6D4C41;
    line-height: 1.7;
}

.skills h3 {
    margin-bottom: 1.5rem;
    color: #3E2723;
    font-size: 1.25rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: #E8F5E8;
    color: #3E2723;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #3E2723;
    color: #A1887F;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Projects page styles */
.projects-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.projects-grid {
    padding: 4rem 0;
}

.projects-description {
    font-size: 1.1rem;
    color: #6D4C41;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #EFEBE9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(62, 39, 35, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(62, 39, 35, 0.15);
}

.project-image {
    height: 200px;
    background: #E8F5E8;
    position: relative;
}

.project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A1887F;
    font-size: 0.9rem;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #3E2723;
}

.project-description {
    color: #6D4C41;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #C8E6C9;
    color: #3E2723;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Project detail styles */
.project-detail {
    margin-top: 1rem;
    background: #FAF8F5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(62, 39, 35, 0.1);
    transition: all 0.3s ease;
}

.detail-content {
    padding: 2rem;
}

.detail-content h4 {
    color: #3E2723;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.detail-content h4:first-child {
    margin-top: 0;
}

.detail-content p {
    color: #6D4C41;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.detail-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.detail-content li {
    color: #6D4C41;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact section styles */
.contact {
    padding: 4rem 0;
    background: #EFEBE9;
}

.contact-description {
    font-size: 1.1rem;
    color: #6D4C41;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #3E2723;
}

.contact-info p {
    color: #6D4C41;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #3E2723;
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: #4CAF50;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-method span {
    color: #6D4C41;
}

.contact-form-container {
    background: #F5F5F5;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(62, 39, 35, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #3E2723;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E8F5E8;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

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

.btn-full {
    width: 100%;
}

/* Blog page styles */
.blog-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.blog-description {
    font-size: 1.1rem;
    color: #6B5E57;
    max-width: 600px;
    margin: 0 auto;
}

.blog-posts {
    padding: 4rem 0;
}

.posts-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: #FAF8F5;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(44, 36, 33, 0.1);
    transition: box-shadow 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 4px 12px rgba(44, 36, 33, 0.15);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-date {
    color: #6B5E57;
}

.post-category {
    color: #D4A574;
    font-weight: 500;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: #2C2421;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.post-title a:hover {
    color: #D4A574;
}

.post-excerpt {
    color: #6B5E57;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #D4A574;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
} 