/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e8e8e8;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section - Centered */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.name .highlight {
    color: #4a90e2;
}

.subtitle {
    font-size: 1.5rem;
    color: #718096;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background-color: #2d3748;
    color: #fff;
    transform: translateY(-2px);
}

/* Terminal Window */
.terminal {
    width: 100%;
    max-width: 600px;
    background-color: #d6d6d6;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.terminal-header {
    background-color: #f5f0ef;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.btn-close {
    background-color: #ff6059;
}

.btn-minimize {
    background-color: #febc2d;
}

.btn-maximize {
    background-color: #28c840;
}

.terminal-title {
    color: #524f4f;
    font-size: 0.875rem;
    flex-grow: 1;
    text-align: center;
}

.terminal-body {
    padding: 2rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #c7c7c7;
    min-height: 100px;
    background-color: #1e1e1e;
    text-align: left;
}

.terminal-prompt {
    color: #f1f1f1;
    margin-right: 0.5rem;
}

.terminal-text {
    color: #f1f1f1;
}

.cursor {
    color: #f1f1f1;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Content Sections */
.content-section {
    background-color: #fff;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d3748;
    text-align: center;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    padding: 1.5rem;
    border-left: 3px solid #4a90e2;
    background-color: #f7fafc;
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.skill-category ul {
    list-style: none;
    padding-left: 0;
}

.skill-category ul li {
    padding: 0.5rem 0;
    color: #4a5568;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.project-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4a90e2;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background-color: #357abd;
}

/* Learning Section */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.learning-item {
    padding: 2rem;
    border-left: 4px solid #4a90e2;
    background-color: #f7fafc;
    border-radius: 4px;
}

.learning-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.learning-source {
    font-style: italic;
    color: #718096;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.learning-item p:last-child {
    color: #4a5568;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #718096;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .terminal-body {
        padding: 1.5rem;
        font-size: 0.875rem;
    }
    
    #hero {
        min-height: auto;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
    }
}