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

html {
    scroll-behavior: smooth;
}

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

/* Color Variables */
:root {
    --primary-navy: #2C3E50;
    --primary-blue: #3498DB;
    --accent-green: #2E8B57;
    --accent-steel-blue: #4682B4;
    --light-gray: #ECF0F1;
    --medium-gray: #BDC3C7;
    --dark-gray: #7F8C8D;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-hover);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(145deg, var(--primary-navy) 0%, #34495E 100%);
    color: var(--white);
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-content {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.headshot-placeholder {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    background: url('kc headshot sept 2025.jpg') center/cover;
    border-radius: 50%;
    border: 3px solid var(--accent-green);
    transition: all 0.3s ease;
    overflow: hidden;
}

.headshot-placeholder:hover {
    transform: scale(1.05);
    border-color: var(--accent-steel-blue);
}


.name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Main Navigation */
.main-nav {
    margin-bottom: 40px;
    flex-grow: 1;
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    margin-bottom: 8px;
}

.nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateX(5px);
}

.nav-link.active {
    color: var(--white);
}

/* Different colors for each navigation section */
.nav-link.active {
    background: #2E8B57; /* Sea Green */
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #2E8B57; /* Sea Green */
    border-radius: 2px;
}

/* Contact Section */
.contact-section {
    margin-top: auto;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: var(--white);
}

.contact-buttons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contact-btn:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(46, 139, 87, 0.4);
}

/* Main Content */
.main-content {
    margin-left: 320px;
    min-height: 100vh;
    background: var(--light-gray);
}

.content-section {
    display: none;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

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

.section-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-steel-blue), var(--accent-green));
    margin: 0 auto;
    border-radius: 2px;
}

.content-card {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px var(--shadow-hover);
}

/* Chatbot Container */
.chatbot-container {
    width: 75%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow);
    background: var(--white);
    margin: 0;
}

/* About Section */
.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 30px;
    text-align: left;
    font-weight: 400;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.about-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.about-item:hover {
    background: var(--white);
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-5px);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-steel-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.about-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-navy);
}

.about-item p {
    color: var(--dark-gray);
    line-height: 1.6;
    text-align: left;
}

/* What I've Done Section */
.intro-section {
    margin-bottom: 50px;
}

.career-highlights-section {
    margin-top: 40px;
}

.subheader {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 30px;
    text-align: left;
    position: relative;
}

.subheader::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-steel-blue), var(--accent-green));
    border-radius: 2px;
}

/* Career Highlights List Styling */
.career-highlights-section ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.career-highlights-section li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.career-highlights-section li:hover {
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow);
    transform: translateY(-2px);
}

.career-highlights-section li i {
    color: var(--accent-green);
    margin-right: 15px;
    width: 16px;
    flex-shrink: 0;
}

.career-highlights-section li .content {
    flex: 1;
    line-height: 1.6;
}

.career-highlights-section li strong {
    font-weight: 600;
    color: var(--primary-navy);
}

/* How I Work Section */
.work-philosophy {
    margin-bottom: 50px;
    text-align: center;
}

.work-philosophy h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.work-philosophy p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto 0 0;
    text-align: left;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background: var(--light-gray);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    background: var(--white);
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-5px);
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 20px;
    opacity: 0.8;
}

.process-step h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.process-step p {
    color: var(--dark-gray);
    line-height: 1.6;
    text-align: left;
}

/* Skills Diagram Styles */
.skills-intro {
    margin-bottom: 50px;
}

.skills-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
    text-align: left;
}

.skills-intro em {
    color: var(--accent-green);
    font-style: italic;
    font-weight: 600;
}

.skills-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.skills-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.skill-box {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px var(--shadow);
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 320px;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px var(--shadow-hover);
}

.skill-box.backend {
    border-top: 4px solid var(--accent-green);
}

.skill-box.frontend {
    border-top: 4px solid var(--accent-steel-blue);
}

.skill-box.leadership {
    border-top: 4px solid var(--primary-navy);
  width: 750px;
  max-width: 750px;
    min-height: auto;
    padding: 20px 30px;
}

.skill-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.skill-box.backend h3 {
    color: var(--accent-green);
}

.skill-box.frontend h3 {
    color: var(--accent-steel-blue);
}

.skill-box.leadership h3 {
    color: var(--primary-navy);
}

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

.skill-box li {
    padding: 8px 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 20px;
}

.skill-box.backend li::before {
    content: '•';
    color: var(--accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.skill-box.frontend li::before {
    content: '•';
    color: var(--accent-steel-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.skill-box.leadership li::before {
    content: '•';
    color: var(--primary-navy);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.arrow-right {
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrows-down {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 640px;
    position: relative;
}

.arrow-down {
    color: var(--accent-steel-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-down.left {
    margin-left: 25%;
}

.arrow-down.right {
    margin-right: 25%;
}

/* Skills Conclusion */
.skills-conclusion {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
    text-align: center;
}

.skills-conclusion p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Sample Work Section */
.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-item {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 25px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);
}

.portfolio-item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 24px var(--shadow-hover);
    transform: translateY(-3px);
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-right: 25px;
    flex-shrink: 0;
}

.portfolio-content {
    flex-grow: 1;
}

.portfolio-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 10px 0;
}

.portfolio-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-link:hover {
    color: var(--accent-steel-blue);
}

.portfolio-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-steel-blue);
    transition: width 0.3s ease;
}

.portfolio-link:hover::after {
    width: 100%;
}

/* How I Lead Section */
.leadership-intro {
    margin-bottom: 50px;
}

.leadership-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: left;
}

.leadership-principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.principle-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.principle-item:hover {
    background: var(--white);
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-5px);
}

.principle-item h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.principle-item p {
    color: var(--dark-gray);
    line-height: 1.6;
    text-align: left;
}

/* GLightbox Custom Overlay */
.goverlay {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        margin-left: 280px;
    }
    
    .sidebar {
        width: 280px;
    }
    
    .content-section {
        padding: 40px 30px;
    }
    
    .content-card {
        padding: 40px 30px;
    }
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 300px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 80px;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .content-card {
        padding: 30px 20px;
    }
    
    .section-header h1 {
        font-size: 36px;
    }
    
    .about-grid,
    .process-steps,
    .work-grid,
    .leadership-principles {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .skills-top-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .arrow-right {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .arrows-down {
        display: none;
    }
    
    .skill-box {
        max-width: 100%;
    }
    
    .skills-intro p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .section-header h1 {
        font-size: 28px;
    }
    
    .intro-text,
    .work-philosophy p,
    .leadership-philosophy p {
        font-size: 16px;
    }
    
    .content-card {
        padding: 25px 15px;
    }
    
    .work-item h3,
    .about-item h3 {
        font-size: 20px;
    }
    
    .contact-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}