/* CSS Variables for consistent theming */
:root {
    --primary-color: #0d9488; /* Teal / Professional Green */
    --primary-dark: #0f766e;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --border-color: #e5e7eb;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-heading {
    margin-bottom: 40px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2rem;
    color: var(--text-main);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 20%;
    border-radius: 2px;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-small {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
}

/* Header & Nav */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav a {
    margin-left: 20px;
    color: var(--text-muted);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-pic {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 4px solid var(--bg-white);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.about-details {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.about-details li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.about-details li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.skill-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.skill-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Experience Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    background: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline-meta {
    flex: 0 0 200px;
    padding-right: 20px;
    border-right: 2px solid var(--border-color);
    margin-right: 20px;
}

.timeline-meta h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.timeline-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-content h3 {
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: disc inside;
    color: var(--text-muted);
}

.timeline-content li {
    margin-bottom: 8px;
}

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

.project-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.project-card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.project-card strong {
    color: var(--text-main);
}

/* Education Section */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.edu-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.edu-item p {
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Footer */
footer {
    background-color: var(--text-main);
    color: #fff;
    padding: 30px 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container nav {
        display: none; /* Hide nav on mobile for simplicity in draft */
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-meta {
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 15px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}