/* ================================================
   REZA SHAMJI RESEARCH PORTFOLIO - CUSTOM THEME
   Clean, professional, light theme with blue accents
   ================================================ */

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

/* Colors */
:root {
    --primary-color: #0F79D0;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-text: #666;
    --background: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --accent: #0F79D0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
}

/* Header */
.site-header {
    background-color: var(--light-bg);
    border-bottom: 2px solid var(--border-color);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.profile-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.header-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.site-description {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 500px;
}

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

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

a:hover {
    color: #0a5ba8;
    text-decoration: underline;
}

strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Lists */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Horizontal rules */
hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 2rem 0;
}

/* Code blocks */
code {
    background-color: var(--light-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

pre {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

pre code {
    background-color: transparent;
    padding: 0;
    color: var(--text-color);
}

/* Highlights */
.highlight {
    background-color: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
}

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

/* Footer */
.site-footer {
    background-color: var(--light-bg);
    border-top: 2px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 140px;
        height: 140px;
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .site-description {
        max-width: 100%;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .header-content {
        padding: 0 1rem;
    }
}

/* Print styles */
@media print {
    .site-header {
        border-bottom: 1px solid #ccc;
    }

    .site-footer {
        border-top: 1px solid #ccc;
    }

    a {
        color: #333;
    }
}
