/* CSS Reset and Base Styles */
* {
    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: #333;
    background-color: #fafafa;
}

/* Container for consistent width and centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 3.2em;
    width: auto;
    border-radius: 6px;
}

.name {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

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

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #111;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007acc;
}


/* Main Content Layout */
.main {
    padding: 40px 0;
}

.main .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* Content Section */
.content {
    max-width: 600px;
}

.intro {
    margin-bottom: 30px;
}

.description {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    color: #111;
    margin-bottom: 15px;
    font-weight: 400;
}

.focus {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #111;
    line-height: 1.7;
}

.current-work,
.interests,
.connect,
.experience,
.projects {
    margin-bottom: 30px;
}

.current-work h3,
.experience h3,
.projects h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
}

.current-work p,
.interests p,
.connect p,
.experience-item p,
.projects p {
    font-size: 15px;
    color: #111;
    line-height: 1.7;
    margin-bottom: 8px;
}

.experience-item {
    margin-bottom: 8px;
}

.current-work-item {
    margin-bottom: 8px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

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

/* Links */
.link {
    color: #007acc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link:hover {
    color: #0056a3;
    text-decoration: underline;
}

/* Sidebar with Images */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 80%;
    height: 80%;
}

.image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* QUESTION: I need it to be so that when we collapse into under 968px width then there is only one column so the text doesn't get crammed into the lefthand side only */

/* Responsive Design */
@media (max-width: 968px) {
    .main .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 6px 20px;
    }
    
    .name {
        font-size: 18px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .main {
        padding: 25px 0;
    }
    
    .description {
        font-size: 16px;
    }
    
    .sidebar {
        display: none;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-bottom: 10px;
    }
    
    .nav {
        justify-content: center;
    }
    
    .nav-link.active::after {
        bottom: -10px;
    }
    
    .main .container {
        gap: 25px;
    }
    
}
