/* --- RESET & VARIABLES --- */
:root {
    --primary: #2563EB; /* Professional Blue */
    --primary-dark: #1E40AF;
    --text-main: #1F2937; /* Dark Slate for Text */
    --text-muted: #6B7280;
    --bg-white: #FFFFFF;
    --bg-grey: #F9FAFB;
    --bg-dark: #111827;
    --border-color: #E5E7EB; /* Light grey border */
    --accent: #F59E0B; /* Subtle accent for creativity */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- UTILITIES --- */
.section { padding: 80px 0; }
.bg-grey { background-color: var(--bg-grey); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: white; }
.border-top { border-top: 1px solid var(--border-color); }
.border-top-dark { border-top: 1px solid #374151; }

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px; /* Minimal radius */
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: var(--bg-grey);
}

/* --- NAVBAR --- */
.navbar {
    height: 80px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.btn-nav {
    padding: 8px 20px;
    background-color: var(--text-main);
    color: white !important;
    border-radius: 4px;
}

.btn-nav:hover { background-color: black; }

/* --- HERO SECTION --- */
.hero {
    padding: 100px 0;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
}

.badge {
    display: inline-block;
    background-color: #DBEAFE;
    color: var(--primary);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 4px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.social-links a:hover { color: var(--primary); }

.hero-image {
    position: relative;
    /* Frame style box for realistic feel without shadow */
    border: 1px solid var(--border-color);
    padding: 10px;
    background: white;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5; /* Portrait ratio */
    filter: grayscale(100%); /* Artistic touch */
    transition: filter 0.3s ease;
}

.hero-image:hover img {
    filter: grayscale(0%);
}

/* --- ABOUT & SKILLS --- */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.subsection-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 8px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border-color);
    font-weight: 500;
    font-size: 0.95rem;
    background: white;
}

.skill-item i { color: var(--primary); width: 20px; text-align: center; }

/* --- EXPERIENCE --- */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color); /* No Shadow */
    padding: 32px;
    transition: border-color 0.3s;
}

.timeline-card:hover {
    border-color: var(--primary);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.timeline-header h3 { font-size: 1.25rem; font-weight: 700; }
.timeline-header .date { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.company {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.job-desc {
    padding-left: 20px;
}

.job-desc li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: var(--text-muted);
}

/* --- PROJECTS --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    border: 1px solid var(--border-color); /* Realism via border */
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
}

.project-thumb {
    height: 200px;
    background-color: #EEF2FF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
    border-bottom: 1px solid var(--border-color);
}

/* Distinct placeholders for variety */
.placeholder-design { background-color: #FEF3C7; color: #D97706; }
.placeholder-video { background-color: #FCE7F3; color: #DB2777; }

.project-thumb span {
    font-size: 1rem;
    margin-top: 10px;
    font-weight: 600;
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 { font-size: 1.25rem; margin-bottom: 12px; }
.project-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

/* --- CONTACT --- */
.contact-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-info h2 { font-size: 2.5rem; margin-bottom: 16px; }
.contact-info p { margin-bottom: 40px; color: #9CA3AF; }

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.contact-item {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item a { color: white; border-bottom: 1px solid #4B5563; }
.contact-item a:hover { color: var(--primary); border-color: var(--primary); }
.contact-item i { color: var(--primary); }

.footer {
    padding: 32px 0;
    background: #000;
    color: #6B7280;
    text-align: center;
    font-size: 0.875rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified for demo */
    
    .hero-wrapper, .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content { order: 2; text-align: center; }
    .hero-image { order: 1; margin: 0 auto; max-width: 300px; }
    
    .hero-actions { justify-content: center; }
    .social-links { justify-content: center; }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .timeline-header { flex-direction: column; }
}