/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #FFF;
    color: #333;
    line-height: 1.6;
}

/* Container layout */
.container{
    display: flex;
    min-height: 100vh;
    min-width: 100%;
}

.content {
    min-width: 100%;
}

/* Left sidebar */
#lhs {
    width: 300px;
    background: #f8f9fa;
    padding: 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

#lhs-container {
    text-align: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px 0;
    border: 3px solid #ddd;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

h2 {
    color: #34495e;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h4 {
    color: #004D40;
    border-bottom: 1px #cecece dashed;
    padding-bottom: 10px;
    margin-bottom: 1rem;
}

h5 {
    color: #6D4C41;
}

/* Navigation */
.nav-menu {
    list-style: none;
    margin-top: 2rem;
}

.nav-menu li {
    margin-bottom: 1rem;
}

.nav-menu a {
    color: #34495e;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover {
    background: #3498db;
    color: white;
}

/* Right content area */
#rhs {
    margin-left: 300px;
    padding: 50px;
    flex: 1;
    width: 100%;
}

.content {
    max-width: 800px;
}

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

section section {
    margin-top: 2rem;
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 3px solid #ecf0f1;
}

section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

section small {
    font-size: 0.9rem;
    font-style: italic;
    color: #6D4C41;
    display: block;
    margin-bottom: 0.5rem;
}

#about p {
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tech-icon {
    width: 40px;
    height: 40px;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background: #2980b9;
}

.resources {
    margin-top: 1.5rem;
}

/* Footer */
footer {
    margin-left: 300px;
    padding: 2rem 50px;
    border-top: 1px solid #ecf0f1;
    text-align: center;
    color: #7f8c8d;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
	flex-direction: column;
    }
    
    #lhs {
	position: relative;
	width: 100%;
	height: auto;
	padding: 2rem;
    }
    
    #rhs {
	margin-left: 0;
	padding: 2rem;
    }
    
    footer {
	margin-left: 0;
	padding: 2rem;
    }
    
    .portfolio-grid {
	grid-template-columns: 1fr;
    }
}
