/* Creative section divider styles */
.section-divider {
    margin: 64px 0 32px 0;
    text-align: left;
}
.divider-svg {
    width: 100%;
    height: 48px;
    display: block;
    margin-bottom: -12px;
}
.section-label {
    display: flex;
    align-items: center;
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #e53935 0%, #000 100%);
    border-left: 8px solid #e53935;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
    letter-spacing: 1px;
    padding: 14px 22px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 12px rgba(157, 137, 115, 0.09);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.section-icon {
    font-size: 2.2rem;
    margin-right: 18px;
    filter: grayscale(0.1) brightness(0.95);
}
/* 
Dark Beige Color Harmony:
- Background: #faf8f5 (warm off-white)
- Body text: #3d342a (dark warm brown)
- Headings: #6d5f52 (dark beige)
- Links: #5a4d42 (medium beige-brown)
- Meta text: #9c8973 (light beige-gray)
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #3d342a;
    background: #faf8f5;
    font-size: 16px;
}

.container {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Header */
header {
    margin-bottom: 60px;
}

header h1 {
    font-size: 32px;
    font-weight: normal;
    color: #6d5f52;
    margin: 0;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 15px;
}

header h1 a {
    color: inherit;
    text-decoration: inherit;
}

.social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-link {
    color: #5a4d42;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 1;
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* Navigation */
.portfolio-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.nav-item {
    color: #5a4d42;
    text-decoration: underline;
    font-size: 16px;
    line-height: 1.6;
    transition: none;
}

.nav-item:hover {
    opacity: 0.7;
}

.nav-item span {
    font-size: 16px;
    font-weight: normal;
    color: #5a4d42;
}

/* Main content */
.main-content {
    margin-top: 40px;
}

.main-content h2 {
    font-size: 32px;
    font-weight: normal;
    color: #6d5f52;
    margin-bottom: 60px;
    text-decoration: underline;
}

.post-item {
    margin-bottom: 60px;
}

.post-item h3 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 10px;
}

.post-item h3 a {
    color: #6d5f52;
    text-decoration: underline;
}

.post-item h3 a:hover {
    opacity: 0.7;
}

.post-date {
    font-size: 14px;
    color: #9c8973;
    margin-bottom: 10px;
}

.post-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #3d342a;
    margin: 0;
}

/* Back button */
.back-btn {
    display: inline-block;
    margin-bottom: 40px;
    color: #5a4d42;
    text-decoration: underline;
    font-size: 16px;
    transition: none;
}

.back-btn:hover {
    opacity: 0.7;
}

/* Content pages */
.content-page {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
}

.content-page h1 {
    font-size: 32px;
    font-weight: normal;
    color: #6d5f52;
    margin-bottom: 60px;
    text-decoration: underline;
}

.content-page h2 {
    font-size: 24px;
    font-weight: normal;
    color: #6d5f52;
    margin: 40px 0 20px 0;
}

.content-page p {
    font-size: 16px;
    line-height: 1.6;
    color: #3d342a;
    margin-bottom: 20px;
}

.content-page a {
    color: #5a4d42;
    text-decoration: underline;
}

.content-page a:hover {
    opacity: 0.7;
}

/* Project-specific styles */
.project-categories {
    margin-top: 40px;
}

.project-category {
    margin-bottom: 60px;
}

.project-category h2 {
    font-size: 24px;
    font-weight: normal;
    color: #6d5f52;
    margin-bottom: 30px;
    text-decoration: underline;
}

.project-item {
    margin-bottom: 40px;
}

.project-item h3 {
    font-size: 16px;
    font-weight: normal;
    color: #6d5f52;
    margin-bottom: 10px;
}

.project-item h3 a {
    color: #6d5f52;
    text-decoration: underline;
}

.project-item h3 a:hover {
    opacity: 0.7;
}

.project-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 10px;
}

.project-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.project-tech {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Video styles */
.video-container {
    margin: 20px 0;
}

.video-container iframe {
    width: 100%;
    height: 315px;
    border: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .content-page {
        padding: 20px 15px;
    }
    
    header {
        margin-bottom: 40px;
    }
    
    header h1 {
        font-size: 24px;
    }
    
    .content-page h1 {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .content-page h2 {
        font-size: 20px;
        margin: 30px 0 15px 0;
    }
    
    .nav-item {
        margin-bottom: 30px;
    }
    
    .video-container iframe {
        height: 250px;
    }
    
    .project-category {
        margin-bottom: 40px;
    }
    
    .project-item {
        margin-bottom: 30px;
    }
}



.project-card {
    background: linear-gradient(to bottom, #fafafa 0%, #f0f0f0 100%);
    border: 1px solid #cccccc;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #999999;
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

/* Special handling for horizontal videos */
.project-image.video-container {
    height: 250px;
    aspect-ratio: 16/9;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background-color: #000;
}

.project-image iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    background-color: rgba(240, 240, 240, 0.9);
    padding: 1rem;
    border-radius: 4px;
    border: 2px dashed #cccccc;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Trebuchet MS', 'Arial', sans-serif;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: linear-gradient(to bottom, #e8e8e8 0%, #d8d8d8 100%);
    color: #555;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #cccccc;
    font-family: 'Trebuchet MS', 'Arial', sans-serif;
}

.project-info p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background: linear-gradient(to bottom, #f8f8f8 0%, #e0e0e0 100%);
    border: 1px solid #cccccc;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: linear-gradient(to bottom, #f0f0f0 0%, #d8d8d8 100%);
    border-color: #999999;
    transform: translateX(2px);
}

/* Responsive design for project cards */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-image {
        height: 150px;
    }
    
    .project-image.video-container {
        height: 200px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .category-section h2 {
        font-size: 1.5rem;
    }
}

/* Project Detail Pages */
.project-detail {
    max-width: 800px;
}

.project-overview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(to bottom, #fafafa 0%, #f0f0f0 100%);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    color: #555;
    font-size: 0.9rem;
}

.project-image-large {
    height: 300px;
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.project-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    background-color: rgba(240, 240, 240, 0.9);
    padding: 2rem;
    border-radius: 8px;
    border: 2px dashed #cccccc;
}

.project-content h2 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.project-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-content li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

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

.project-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(to bottom, #333 0%, #222 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.project-btn:hover {
    background: linear-gradient(to bottom, #444 0%, #333 100%);
    transform: translateY(-1px);
}

.project-btn.secondary {
    background: linear-gradient(to bottom, #f8f8f8 0%, #e0e0e0 100%);
    color: #333;
    border: 1px solid #cccccc;
}

.project-btn.secondary:hover {
    background: linear-gradient(to bottom, #f0f0f0 0%, #d8d8d8 100%);
    border-color: #999999;
}

/* Responsive design for project detail pages */
@media (max-width: 768px) {
    .project-overview {
        padding: 1rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-image-large {
        height: 200px;
    }
    
    .image-placeholder-large {
        font-size: 1rem;
        padding: 1.5rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-btn {
        text-align: center;
    }
}


