/* Base Styles and Variables */
:root {
    /* Modern Professional Color Scheme */
    --primary-color: #2b6cb0;    /* Rich blue - professional and calm */
    --secondary-color: #4299e1;  /* Lighter blue - interactive elements */
    --hover-color: #2c5282;     /* Darker blue - hover states */
    --text-color: #2d3748;      /* Dark slate - main text */
    --light-text: #718096;      /* Gray - secondary text */
    --light-bg: #f7fafc;        /* Off-white - background */
    --white: #ffffff;           /* Pure white - card backgrounds */
    --border: #e2e8f0;         /* Light gray - borders */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* Navigation */
nav {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

nav h1 {
    font-size: 1.5rem;
    margin: 0;
}

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

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

nav a:hover::after {
    width: 100%;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.profile-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.about-text {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 300px;
}

.quick-info ul {
    list-style: none;
    padding: 0;
}

.quick-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.quick-info i {
    width: 20px;
    color: var(--primary-color);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0.5rem;
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.2s;
}

.interest-item:hover {
    transform: translateY(-2px);
}

.interest-item i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.interest-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Adjust card padding */
.interests.card {
    padding: 1.5rem;
}

/* Make sure the card heights match */
.quick-info.card, .interests.card {
    height: auto;
    min-height: 250px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem;
    transition: transform 0.2s;
}

.social-item:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.social-item i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

/* Experience Section */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    padding: 2.5rem;
    cursor: pointer;
    overflow: hidden;
}

.timeline-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-item .date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.timeline-item ul {
    list-style: none;
    margin-bottom: 2rem;
}

.timeline-item ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.timeline-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Read More Button */
.read-more {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background-color: var(--light-bg);
    transition: var(--transition);
    border: 1px solid var(--border);
    opacity: 0;
}

.timeline-item:hover .read-more,
.project-card:hover .read-more {
    opacity: 1;
    transform: translateX(-0.5rem);
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Add a subtle indicator line on the left */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--secondary-color);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: top;
}

.timeline-item:hover::before {
    transform: scaleY(1);
}

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

.project-card {
    cursor: pointer;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.project-card:hover::before {
    transform: scaleX(1);
}

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

.project-links a {
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

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

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

.skill-category {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-item {
    background-color: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    display: inline-block;
    margin: 0.25rem;
    transition: none;
    cursor: default;
}

.skill-item:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
    border-color: var(--border);
    transform: none;
}

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

.contact-item {
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Detailed Experience/Project Pages */
.detailed-experience, .detailed-project {
    padding-top: 100px;
}

.experience-navigation, .project-navigation {
    margin-bottom: 2rem;
}

.experience-navigation a, .project-navigation a {
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.experience-navigation a:hover, .project-navigation a:hover {
    color: var(--secondary-color);
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.technologies span {
    background-color: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    display: inline-block;
    margin: 0.25rem;
    transition: none;
    cursor: default;
}

.technologies span:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
    border-color: var(--border);
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .about-content {
        flex-direction: column;
    }
    
    .about-left {
        width: 100%;
    }

    .profile-photo {
        max-width: 300px;
        margin: 0 auto;
    }

    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 0.8s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Button Styles */
.button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.button i {
    margin-right: 0.5rem;
}

/* Card Styles - Base */
.card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

/* Card Hover Effects */
.card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-8px);
    border-color: var(--secondary-color);
}

/* Back Navigation */
.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: var(--secondary-color);
}

.back-link i {
    margin-right: 0.5rem;
}

/* Detailed Experience Page Enhancements */
.experience-header {
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: var(--white);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.company-logo {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.header-content {
    flex: 1;
}

.header-content h2 {
    margin-bottom: 0.5rem;
}

.header-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.header-content .date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-section {
    padding: 2.5rem;
}

.experience-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.experience-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Role Details Styling */
.role-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.role-item ul {
    list-style: none;
    margin-top: 1rem;
}

.role-item ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.role-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Project Details Styling */
.project-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.challenges-solutions ul li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.challenges-solutions ul li strong {
    color: var(--primary-color);
}

/* Skills Container */
.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.technical-skills,
.soft-skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Metrics Styling */
.metrics ul li {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .role-details,
    .skills-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .experience-section {
        padding: 1.5rem;
    }
}

/* Animation for cards */
.experience-section {
    transition: transform 0.3s ease;
}

.experience-section:hover {
    transform: translateY(-4px);
}

/* Enhanced list styling */
.experience-section ul:not(.technologies) li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.experience-section ul:not(.technologies) li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Remove all the old banner styles */
.company-banner,
.company-banner::before,
.company-banner::after,
.banner-content,
.banner-content img,
.banner-content h1 {
    display: none;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.company-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Project Page Specific Styles */
.project-hero {
    margin-top: 2rem;
}

.project-section {
    margin-top: 3rem;
}

.project-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.hero-image {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 2rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 800px;
}

.overview-content {
    margin-top: 1.5rem;
}

.process-stage {
    margin-top: 2.5rem;
}

.process-stage:first-child {
    margin-top: 0;
}

.stage-steps {
    margin-top: 1.5rem;
}

.step {
    margin-top: 2rem;
}

.step:first-child {
    margin-top: 0;
}

.features-content {
    margin-top: 2rem;
}

.feature {
    margin-top: 2.5rem;
}

.feature:first-child {
    margin-top: 0;
}

.results-content {
    margin-top: 2rem;
}

.key-outcomes, .lessons-learned {
    margin-top: 2rem;
}

.key-outcomes:first-child {
    margin-top: 0;
}

.project-status {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.meta-item span {
    color: var(--light-text);
}

.project-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 5.2rem;
}

.social-links .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.social-links .button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.social-links .button i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 2.5rem;
    }
}

/* Screenshots Grid Layout */
.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin: 2rem auto;
    max-width: 800px;  /* Reduced from 1000px */
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.screenshot-item h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;  /* Slightly smaller heading */
}

.comparison-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;  /* Change to flex-start to align tops */
}

.comparison-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 250px;
}

.screenshot-image {
    width: 100%;
    height: auto;
    object-fit: contain;  /* Change from cover to contain */
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.screenshot-caption {
    text-align: center;
    color: var(--light-text);
    font-size: 0.85rem;  /* Slightly smaller caption */
    max-width: 200px;  /* Limit caption width */
    margin: 0 auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .screenshots-grid {
        max-width: 100%;
        padding: 0 1rem;
    }

    .comparison-container {
        flex-direction: column;
        gap: 2rem;
    }

    .comparison-item {
        max-width: 220px;
    }
} 