/* Main Global Styles */
body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
    background-color: #0d1117;
    color: #f0f6fc;
    line-height: 1.6;
    margin: 0;
    padding: 40px 20px 20px 20px;
    word-spacing: -0.1em;
}

/* Remove focus outlines and blue lines */
* {
    outline: none !important;
}

h1, h2, h3, h4, h5, h6 {
    outline: none !important;
    border: none !important;
    color: #ffffff !important;
    word-spacing: -0.15em;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-picture img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.navigation {
    text-align: center;
    margin-bottom: 40px;
}

.nav-row {
    margin-bottom: 10px;
}

.nav-link {
    color: #8b949e;
    text-decoration: underline;
    margin: 0 15px;
    font-size: 18px;
    word-spacing: -0.1em;
}

.nav-link:hover {
    color: #4a7c9a;
}

.nav-link.active {
    color: #4a7c9a;
}

.social-icons-row {
    margin-bottom: 10px;
}

.social-icon {
    text-decoration: none !important;
    font-size: 24px !important;
    margin: 0 15px !important;
    color: #8b949e;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #4a7c9a !important;
}

.content {
    max-width: 1000px;
    margin: 0 auto;
}

.home-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff !important;
}

.home-section p {
    margin-bottom: 15px;
    color: #8b949e;
    word-spacing: -0.05em;
}

.featured-posts h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
    color: #ffffff !important;
}

/* Blog post styling */
.blog-post {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.blog-post h1 {
    font-size: 2.5rem;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.post-meta {
    color: #8b949e;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.post-meta span {
    margin-right: 20px;
}

.post-content {
    line-height: 1.7;
    color: #f0f6fc;
    word-spacing: -0.05em;
}

.post-content p {
    margin-bottom: 15px;
}

.tag {
    background-color: #161b22;
    color: #4a7c9a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 8px;
}

/*Home page styling */
.home-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.home-section h1 {
    font-size: 2.5rem;
    color: #ffffff !important;
    margin-bottom: 30px;
    text-align: left;
}

.home-section p {
    font-size: 1.1rem;
    color: #8b949e;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.featured-posts {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.post-card {
    background-color: #161b22;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4a7c9a;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.post-card h3 {
    color: #ffffff !important;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.post-card p {
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-card .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.post-card .category {
    background-color: #4a7c9a;
    color: #0d1117;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.post-card .date {
    color: #8b949e;
}

/* All Posts page styling */
.blog-posts {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.blog-post-card {
    background-color: #161b22;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4a7c9a;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.blog-post-card .post-header h2 {
    margin-bottom: 10px;
}

.blog-post-card .post-header h2 a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.5rem;
}

.blog-post-card .post-header h2 a:hover {
    color: #4a7c9a;
}

.blog-post-card .post-meta {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-post-card .post-meta span {
    margin-right: 20px;
}

.blog-post-card .post-excerpt {
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-post-card .post-tags {
    margin-bottom: 15px;
}

.blog-post-card .post-footer {
    text-align: right;
}

.read-more {
    color: #4a7c9a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #3d6a7a;
}

.no-posts {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.no-posts p {
    color: #8b949e;
    font-size: 1.1rem;
}

/* Post detail page styling */
.post-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #30363d;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #ffffff !important;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-header .post-meta {
    color: #8b949e;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.post-header .post-meta span {
    margin-right: 20px;
}

.post-header .post-tags {
    margin-top: 15px;
}

.post-content {
    line-height: 1.7;
    color: #f0f6fc;
    margin-bottom: 40px;
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    color: #ffffff !important;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid #30363d;
    padding-bottom: 10px;
}

.post-content h3 {
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content ul, .post-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content code {
    background-color: #161b22;
    color: #c85a4a;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.post-content pre {
    background-color: #161b22;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.post-content pre code {
    background-color: transparent;
    color: #f0f6fc;
    padding: 0;
}

.post-content blockquote {
    border-left: 4px solid #4a7c9a;
    padding-left: 20px;
    margin: 20px 0;
    color: #8b949e;
    font-style: italic;
}

.post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #30363d;
}

.post-navigation {
    margin-bottom: 20px;
}

.back-link {
    color: #4a7c9a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #3d6a7a;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.post-share span {
    color: #8b949e;
    font-weight: bold;
}

.share-link {
    color: #4a7c9a;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #4a7c9a;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-link:hover {
    background-color: #4a7c9a;
    color: #0d1117;
}

.post-not-found {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.post-not-found h1 {
    color: #c85a4a;
    font-size: 2rem;
    margin-bottom: 20px;
}

.post-not-found p {
    color: #8b949e;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Page header styling */
.page-header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #ffffff !important;
    margin-bottom: 10px;
    text-align: left;
}

.page-header p {
    color: #8b949e;
    font-size: 1.1rem;
    text-align: left;
}

/* Gallery page styling */
.gallery-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #161b22;
    border-radius: 8px;
    border-left: 4px solid #4a7c9a;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-section label {
    color: #f0f6fc;
    font-weight: bold;
    font-size: 0.9rem;
}

.filter-section select {
    padding: 8px 12px;
    border: 1px solid #30363d;
    border-radius: 4px;
    background-color: #0d1117;
    color: #f0f6fc;
    font-size: 0.9rem;
}

.filter-section select:focus {
    outline: none;
    border-color: #4a7c9a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #161b22;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-container img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.image-info h3 {
    color: #f0f6fc;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.image-info p {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.image-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
}

.image-meta .category {
    background-color: #4a7c9a;
    color: #0d1117;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.image-meta .date {
    color: #8b949e;
}

.image-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.action-btn {
    background-color: rgba(88, 166, 255, 0.2);
    border: 1px solid #4a7c9a;
    color: #4a7c9a;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-btn:hover {
    background-color: #4a7c9a;
    color: #0d1117;
}

.no-images {
    text-align: center;
    padding: 60px 20px;
    color: #8b949e;
}

.no-images i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #30363d;
}

.no-images h3 {
    color: #f0f6fc;
    margin-bottom: 10px;
}

/* Lightbox styling */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    background-color: #161b22;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: #f0f6fc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background-color: rgba(248, 81, 73, 0.8);
}

.lightbox-image {
    max-height: 70vh;
    overflow: hidden;
}

.lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-info {
    padding: 20px;
    border-top: 1px solid #30363d;
}

.lightbox-info h2 {
    color: #f0f6fc;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.lightbox-info p {
    color: #8b949e;
    margin-bottom: 15px;
    line-height: 1.6;
}

.lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.lightbox-meta span {
    color: #8b949e;
}

.lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.lightbox-tags strong {
    color: #f0f6fc;
}

.lightbox-actions {
    display: flex;
    gap: 15px;
}

.lightbox-actions .action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Music page styling */
.music-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.music-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #161b22;
    border-radius: 8px;
    border-left: 4px solid #4a7c9a;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.music-item {
    background-color: #161b22;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #4a7c9a;
}

.music-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: rgba(88, 166, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d1117;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: #4a7c9a;
    transform: scale(1.1);
}

.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #f0f6fc;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.music-info {
    padding: 20px;
}

.music-info h3 {
    color: #f0f6fc;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.music-info .artist {
    color: #4a7c9a;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.music-info .album {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.music-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.music-meta .genre {
    background-color: #4a7c9a;
    color: #0d1117;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.music-meta .year {
    color: #8b949e;
}

.music-info .description {
    color: #8b949e;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.music-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.music-actions .action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.no-videos {
    text-align: center;
    padding: 60px 20px;
    color: #8b949e;
}

.no-videos i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #30363d;
}

.no-videos h3 {
    color: #f0f6fc;
    margin-bottom: 10px;
}

/* Video Modal styling */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.video-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    background-color: #161b22;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: #f0f6fc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(248, 81, 73, 0.8);
}

.video-player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
    border-top: 1px solid #30363d;
}

.video-info h2 {
    color: #f0f6fc;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.video-info .artist {
    color: #4a7c9a;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.video-info .album {
    color: #8b949e;
    font-size: 1rem;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.video-meta span {
    color: #8b949e;
}

.video-info .description {
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.video-tags strong {
    color: #f0f6fc;
}

/* Lyrics Modal styling */
.lyrics-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.lyrics-modal-content {
    max-width: 600px;
    max-height: 80vh;
    background-color: #161b22;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.lyrics-header {
    padding: 20px;
    border-bottom: 1px solid #30363d;
    text-align: center;
}

.lyrics-header h2 {
    color: #f0f6fc;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.lyrics-header .artist {
    color: #4a7c9a;
    font-size: 1.1rem;
}

.lyrics-content {
    padding: 20px;
    color: #8b949e;
    line-height: 1.8;
    font-size: 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

