/* Base styles and reset */
* {
    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: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    background: linear-gradient(135deg, #4ECDC4 0%, #2C7A7B 100%);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

/* Section styles */
section {
    margin-bottom: 3rem;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #2C7A7B;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #4ECDC4;
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* About section */
#about {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.photo-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4ECDC4 0%, #2C7A7B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 1rem;
}

/* Work section */
#work {
    background: #f0f4f8;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    flex: 1 1 300px;
    max-width: 450px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card h3 {
    color: #2C7A7B;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.visit-btn {
    display: inline-block;
    background: #4ECDC4;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.visit-btn:hover {
    background: #2C7A7B;
}

/* Footer */
footer {
    background: #2C7A7B;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-photo {
        order: -1;
        margin-bottom: 1.5rem;
    }
    
    .photo-placeholder {
        width: 150px;
        height: 150px;
        font-size: 1rem;
    }
    
    .projects-container {
        flex-direction: column;
    }
    
    .project-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 1rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    main {
        padding: 1.5rem 0.5rem;
    }
    
    section {
        padding: 1rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
}
