/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: rgb(245, 244, 238);
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Mobile toggle button */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: rgb(245, 244, 238);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #333;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

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

.sidebar-nav li {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link svg {
    flex-shrink: 0;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-left-color: #666;
}

.nav-link.active {
    background-color: rgba(0, 0, 0, 0.08);
    border-left-color: #333;
    font-weight: 600;
}

/* Sidebar footer */
.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.resume-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    text-align: center;
}

.resume-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: #999;
}

/* Main content */
.main-content {
    flex: 1;
    background-color: rgb(250, 249, 245);
    overflow-y: auto;
    min-height: 100vh;
    margin-left: 280px;
}

.content-section {
    display: none;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-section.active {
    display: block;
}

/* Photography section uses full width */
#photography {
    max-width: none;
    margin: 0;
    padding: 3rem;
}

.section-content {
    animation: fadeIn 0.3s ease;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Introduction section */
.intro-content {
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.7;
}

/* Social links */
.social-links {
    margin-top: 2rem;
}

.social-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #333;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.social-link:hover {
    background-color: #f8f8f8;
    border-color: #999;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-link svg {
    flex-shrink: 0;
}

/* Photography section */
.photography-content {
    margin-top: 2rem;
}

.photo-gallery {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.photo-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.photo-item.error {
    opacity: 0.5;
}

.polaroid {
    background: white;
    padding: 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    transform: rotate(-1deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.polaroid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-width: 2000px;
    max-height: 2000px;
    object-fit: contain;
}

.polaroid img.loaded {
    opacity: 1;
}

.photo-info {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.photo-location {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.photo-date {
    font-style: italic;
    color: #888;
}

/* Loading placeholder */
.photo-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        z-index: 1000;
        transition: transform 0.3s ease;
    }
    
    .sidebar.expanded {
        transform: translateX(0);
    }
    
    .sidebar-header {
        padding-top: 5rem;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 4rem;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-icons {
        flex-direction: column;
    }
    
    .social-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 1.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
}

/* Photo Gallery Responsive Grid */
@media (min-width: 769px) and (max-width: 1449px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .photo-item.landscape {
        grid-column: span 1;
    }
    
    .polaroid {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .photo-item.landscape .polaroid {
        max-width: 800px;
    }
}

@media (min-width: 1450px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
        gap: 2rem;
    }
    
    .photo-item.landscape {
        grid-column: span 2;
    }
    
    .polaroid {
        max-width: 450px;
    }
    
    .photo-item.landscape .polaroid {
        max-width: 900px;
    }
}

@media (min-width: 1800px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 1.5rem;
    }
    
    .photo-item.landscape {
        grid-column: span 2;
    }
    
    .polaroid {
        max-width: 400px;
    }
    
    .photo-item.landscape .polaroid {
        max-width: 1000px;
    }
}

@media (max-width: 1000px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .photo-item.landscape {
        grid-column: span 1;
    }
    
    .photo-info {
        font-size: 0.8rem;
    }
}

/* Smooth transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Experience Section */
.experience-section {
    margin-bottom: 3rem;
}

.experience-category {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.experience-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.experience-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.experience-location {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.experience-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.experience-duration {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    font-weight: 500;
}

.experience-description {
    color: #444;
    line-height: 1.6;
}

.experience-description p {
    margin-bottom: 1rem;
}

.experience-description ul {
    margin-left: 1.5rem;
}

.experience-description li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Education Section */
.education-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.education-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.education-header {
    margin-bottom: 0.5rem;
}

.education-degree {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.education-school {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.education-duration {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    font-weight: 500;
}

.education-details {
    color: #444;
    line-height: 1.6;
}

.education-details p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: #555;
}

.education-details ul {
    margin-left: 1.5rem;
}

.education-details li {
    margin-bottom: 0.5rem;
    color: #555;
}

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

.skill-category {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.skill-category:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.skill-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

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

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.skill-name {
    font-weight: 500;
    color: #333;
    min-width: 80px;
    flex-shrink: 0;
}

.skill-level {
    flex: 1;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

/* Responsive adjustments for experience, education, and skills */
@media (max-width: 768px) {
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skill-level {
        width: 100%;
    }
    
    .education-item,
    .experience-item,
    .skill-category {
        padding: 1rem;
    }
} 