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

html {
    background: #0a1628;
}

body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0a1628;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 60px;
}

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

/* Left section - Deep Navy with geometric feel */
.left {
    background: #0a1628;
    color: #f0f4f8;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.left h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #00d9ff;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.left h3 {
    color: #8b9db5;
    font-weight: 300;
    margin-top: 10px;
}

.left img {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Right section - Complementary dark blue with cyan accents */
.right {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #f0f4f8;
    padding: 20px;
    position: relative;
}

/* Navigation bar */
.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    position: absolute;
    top: 0;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    color: #00d9ff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    /* border-bottom: 2px solid transparent; */
}

.navbar ul li a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
}

/* Centered content */
.content {
    text-align: center;
    max-width: 500px;
    padding: 20px;
}

.content h2 {
    color: #00d9ff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.content p {
    color: #f0f4f8;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.social-icons a {
    color: #00d9ff;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
    
    /* color: #5ae5ff;
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px); */
}

/* ===== BLOG LIST PAGE STYLES ===== */
.blog-container {
    background: #0a1628;
    min-height: 100vh;
    padding: 40px 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    color: #00d9ff;
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.blog-header p {
    color: #8b9db5;
    font-size: 1.2rem;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
}

.blog-tile {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
    border: 1px solid #00a8cc;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.blog-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
}

.blog-tile-date {
    color: #8b9db5;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-tile h2 {
    color: #00d9ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.blog-tile-excerpt {
    color: #f0f4f8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-tile-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tag {
    background: rgba(0, 217, 255, 0.2);
    color: #00d9ff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.read-more {
    color: #00d9ff;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

.back-home {
    text-align: center;
    margin-top: 50px;
}

.back-home a {
    color: #00d9ff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
}

.back-home a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
    
    /* color: #5ae5ff; */
}

/* ===== BLOG POST / LEARNING LOG PAGE STYLES ===== */
.post-container {
    background: #0a1628;
    min-height: 100vh;
    padding: 40px 20px;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    color: #f0f4f8;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #1e3a5f;
}

.post-title {
    color: #00d9ff;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.post-meta {
    color: #8b9db5;
    font-size: 1rem;
}

.post-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.post-body {
    line-height: 1.8;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: medium;
}

.post-body h2 {
    color: #00d9ff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.post-body h3 {
    color: #5ae5ff;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul, .post-body ol {
    margin: 20px 0;
    padding-left: 30px;
    text-align: left; 
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    background: rgba(30, 58, 95, 0.3);
    border-left: 4px solid #00d9ff;
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #8b9db5;
}

.post-body code {
    background: rgba(30, 58, 95, 0.5);
    color: #00d9ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.back-navigation {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #1e3a5f;
}

.back-navigation a {
    color: #00d9ff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 15px;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
}

.back-navigation a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
    
    /* color: #5ae5ff; */
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left {
        justify-content: flex-start;
        padding-top: 80px;
    }
    
    .left h1 {
        font-size: 2rem;
    }
    
    .left img {
        width: 100%;
        margin: 10px 0;
    }
    
    .content {
        max-width: 100%;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .social-icons {
        /* bottom: 20px; */
        position: relative; 
        bottom: auto; 
        left: auto; 
        transform: none; 
        margin-top: 20px;
    }
    
    .social-icons a {
        font-size: 24px;
    }
    
    /* Blog list page responsive */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    /* Blog post page responsive */
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
}