/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * Designed, built, and released under MIT license by @mdo. Learn more at
 * https://github.com/poole/hyde.
 */


/*
 * Contents
 *
 * Global resets
 * Sidebar
 * Container
 * Reverse layout
 * Themes
 */


/*
 * Global resets
 *
 * Update the foundational and global aspects of the page.
 */

html {
    font-family: 'PT Sans', sans-serif;
}

@media (min-width: 48em) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 58em) {
    html {
        font-size: 20px;
    }
}


/*
 * Sidebar
 *
 * Flexible banner for housing site name, intro, and "footer" content. Starts
 * out above content in mobile and later moves to the side with wider viewports.
 */

.sidebar {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, .5);
    background-color: #1a1c1d;
    line-height: 1.25;
}

@media (min-width: 48em) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 18rem;
        text-align: left;
    }
}

/* Sidebar links */
.sidebar a {
    color: #fff;
}

/* About section */
.sidebar-about h1 {
    color: #fff;
    margin-top: 0;
    font-family: 'Roboto Slab', serif;
    font-size: 3rem;
    line-height: 1;
}

/* Sidebar nav */
.sidebar-nav {
    margin-bottom: 1rem;
}

.sidebar-nav-item {
    display: block;
    line-height: 1.75;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-nav-item i {
    margin-right: 0.5rem;
    width: 1.2rem;
}

a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
    text-decoration: none;
    background-color: rgba(255, 255, 255, .1);
    border-color: transparent;
}

.sidebar-nav-item.active {
    background-color: rgba(255, 255, 255, .1);
    border-color: transparent;
}

/* Sidebar social links */
.sidebar-social {
    margin: 2rem 0 1rem;
    text-align: center;
}

.sidebar-social a {
    display: inline-block;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, .6);
    transition: color 0.3s ease;
}

.sidebar-social a:hover {
    color: #fff;
    text-decoration: none;
}

/* Sticky sidebar
 *
 * Add the `sidebar-sticky` class to the sidebar's container to affix it the
 * contents to the bottom of the sidebar in tablets and up.
 */

@media (min-width: 48em) {
    .sidebar-sticky {
        position: absolute;
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }
}


/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.sidebar`.
 */

.content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 48em) {
    .content {
        max-width: 38rem;
        margin-left: 20rem;
        margin-right: 2rem;
    }
}

@media (min-width: 64em) {
    .content {
        margin-left: 22rem;
        margin-right: 4rem;
    }
}


/*
 * Reverse layout
 *
 * Flip the orientation of the page by placing the `.sidebar` on the right.
 */

@media (min-width: 48em) {
    .layout-reverse .sidebar {
        left: auto;
        right: 0;
    }

    .layout-reverse .content {
        margin-left: 2rem;
        margin-right: 20rem;
    }
}

@media (min-width: 64em) {
    .layout-reverse .content {
        margin-left: 4rem;
        margin-right: 22rem;
    }
}



/*
 * Themes
 *
 * As of v1.1, Hyde includes optional themes to color the sidebar and links
 * within blog posts. To use, add the class of your choosing to the `body`.
 */

/* Base16 (http://chriskempson.github.io/base16/#default) */

/* Red */
.theme-base-08 .sidebar {
    background-color: #ac4142;
}

.theme-base-08 .content a,
.theme-base-08 .related-posts li a:hover {
    color: #ac4142;
}

/* Orange */
.theme-base-09 .sidebar {
    background-color: #d28445;
}

.theme-base-09 .content a,
.theme-base-09 .related-posts li a:hover {
    color: #d28445;
}

/* Yellow */
.theme-base-0a .sidebar {
    background-color: #f4bf75;
}

.theme-base-0a .content a,
.theme-base-0a .related-posts li a:hover {
    color: #f4bf75;
}

/* Green */
.theme-base-0b .sidebar {
    background-color: #90a959;
}

.theme-base-0b .content a,
.theme-base-0b .related-posts li a:hover {
    color: #90a959;
}

/* Cyan */
.theme-base-0c .sidebar {
    background-color: #75b5aa;
}

.theme-base-0c .content a,
.theme-base-0c .related-posts li a:hover {
    color: #75b5aa;
}

/* Blue */
.theme-base-0d .sidebar {
    background-color: #6a9fb5;
}

.theme-base-0d .content a,
.theme-base-0d .related-posts li a:hover {
    color: #6a9fb5;
}

/* Magenta */
.theme-base-0e .sidebar {
    background-color: #aa759f;
}

.theme-base-0e .content a,
.theme-base-0e .related-posts li a:hover {
    color: #aa759f;
}

/* Brown */
.theme-base-0f .sidebar {
    background-color: #8f5536;
}

.theme-base-0f .content a,
.theme-base-0f .related-posts li a:hover {
    color: #8f5536;
}

/* Cole's Theme - Matching obriencole11.github.io */
.theme-base-cole {
    background-color: #2c3033;
    color: #99aeb5;
}

.theme-base-cole .sidebar,
.theme-base-cole code,
.theme-base-cole pre,
.theme-base-cole .message {
    background-color: #1a1c1d;
}

.theme-base-cole .content a,
.theme-base-cole .related-posts li a:hover,
.theme-base-cole .sidebar-nav-item.active,
.theme-base-cole i:hover,
.theme-base-cole i {
    color: #55dcf7;
}

.theme-base-cole,
.theme-base-cole .post-date {
    color: #99aeb5;
}

.theme-base-cole h1,
.theme-base-cole h2,
.theme-base-cole h3,
.theme-base-cole h4,
.theme-base-cole h5,
.theme-base-cole h6,
.theme-base-cole strong,
.theme-base-cole .masthead-title,
.theme-base-cole .content .post-title a,
.theme-base-cole code,
.theme-base-cole .message,
.theme-base-cole blockquote,
.theme-base-cole .sidebar strong,
.theme-base-cole abbr,
.theme-base-cole i:hover,
.theme-base-cole dt {
    color: #ebfaff;
}

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

.project-card {
    background: #1a1c1d;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #55dcf7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-title {
    margin-top: 0;
    color: #ebfaff;
    font-size: 1.25rem;
}

.project-description {
    color: #99aeb5;
    margin-bottom: 1rem;
}

.project-tech {
    margin-bottom: 1rem;
}

.tech-tag {
    display: inline-block;
    background: #55dcf7;
    color: #1a1c1d;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    font-weight: 600;
}

.project-links a {
    display: inline-block;
    margin-right: 1rem;
    color: #55dcf7;
    font-weight: bold;
}

.skills-section .skill-category {
    margin-bottom: 2rem;
}

.skills-section h3 {
    color: #ebfaff;
    border-bottom: 2px solid #55dcf7;
    padding-bottom: 0.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #1a1c1d;
    border-radius: 4px;
}

.skill-icon {
    margin-right: 1rem;
    color: #55dcf7;
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #ebfaff;
}

.skill-bar {
    background: #e5e5e5;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #55dcf7, #75e6ff);
    border-radius: 4px;
    transition: width 0.8s ease-in-out;
}

.skill-level {
    margin-left: 1rem;
    font-weight: bold;
    color: #55dcf7;
    min-width: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    background: #1a1c1d;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    color: #55dcf7;
    margin-bottom: 1rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.btn {
    background: #55dcf7;
    color: #1a1c1d;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #75e6ff;
}

@media (max-width: 48em) {

    .projects-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .skill-item {
        flex-direction: column;
        text-align: center;
    }

    .skill-icon {
        margin-bottom: 0.5rem;
    }

    .skill-level {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/*
 * Dark Theme
 *
 * Dark mode styling for better viewing experience
 */

.dark-theme {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.dark-theme .content {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
    color: #ffffff;
}

.dark-theme .page-title,
.dark-theme .post-title {
    color: #ffffff;
}

.dark-theme p,
.dark-theme li,
.dark-theme td,
.dark-theme th {
    color: #e0e0e0;
}

.dark-theme a {
    color: #6a9fb5;
}

.dark-theme a:hover,
.dark-theme a:focus {
    color: #8bb5c7;
}

.dark-theme strong {
    color: #ffffff;
}

.dark-theme code {
    background-color: #2d2d2d;
    color: #f8f8f2;
    border: 1px solid #404040;
}

.dark-theme pre {
    background-color: #2d2d2d;
    border: 1px solid #404040;
}

.dark-theme blockquote {
    color: #b0b0b0;
    border-left-color: #404040;
}

.dark-theme table {
    border-color: #404040;
}

.dark-theme td,
.dark-theme th {
    border-color: #404040;
}

.dark-theme tbody tr:nth-child(odd) td,
.dark-theme tbody tr:nth-child(odd) th {
    background-color: #2d2d2d;
}

.dark-theme hr {
    border-top-color: #404040;
    border-bottom-color: #2d2d2d;
}

/* Dark theme project cards */
.dark-theme .project-card {
    background-color: #2d2d2d;
    border-left-color: #6a9fb5;
    color: #e0e0e0;
}

.dark-theme .project-card:hover {
    background-color: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-theme .project-title {
    color: #ffffff;
}

.dark-theme .project-description {
    color: #e0e0e0;
}

.dark-theme .tech-tag {
    background-color: #6a9fb5;
    color: #ffffff;
}

.dark-theme .project-links a {
    color: #6a9fb5;
}

.dark-theme .project-links a:hover {
    color: #8bb5c7;
}

/* Dark theme skills section */
.dark-theme .skills-section h3 {
    color: #ffffff;
    border-bottom-color: #6a9fb5;
}

.dark-theme .skill-item {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.dark-theme .skill-icon {
    color: #6a9fb5;
}

.dark-theme .skill-name {
    color: #ffffff;
}

.dark-theme .skill-bar {
    background-color: #404040;
}

.dark-theme .skill-progress {
    background: linear-gradient(90deg, #6a9fb5, #8bb5c7);
}

.dark-theme .skill-level {
    color: #6a9fb5;
}

/* Dark theme contact section */
.dark-theme .contact-item {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.dark-theme .contact-icon {
    color: #6a9fb5;
}

.dark-theme .contact-form input,
.dark-theme .contact-form textarea {
    background-color: #2d2d2d;
    border-color: #404040;
    color: #e0e0e0;
}

.dark-theme .contact-form input:focus,
.dark-theme .contact-form textarea:focus {
    border-color: #6a9fb5;
    outline: none;
}

.dark-theme .contact-form label {
    color: #ffffff;
}

.dark-theme .btn {
    background-color: #6a9fb5;
    color: #ffffff;
}

.dark-theme .btn:hover {
    background-color: #5a8fa5;
}

/* Dark theme message/alert boxes */
.dark-theme .message {
    background-color: #2d2d2d;
    color: #e0e0e0;
    border: 1px solid #404040;
}

/* Dark theme pagination */
.dark-theme .pagination-item {
    background-color: #2d2d2d;
    border-color: #404040;
    color: #e0e0e0;
}

.dark-theme a.pagination-item:hover {
    background-color: #333333;
}

/* Dark theme related posts */
.dark-theme .related {
    border-top-color: #404040;
}

.dark-theme .related-posts li small {
    color: #b0b0b0;
}

/* Dark theme post meta */
.dark-theme .post-date {
    color: #b0b0b0;
}

/* Ensure sidebar remains unchanged in dark theme */
.dark-theme .sidebar {
    background-color: #6a9fb5;
    /* Keep the blue sidebar */
}

.dark-theme .sidebar a {
    color: #fff;
}

.dark-theme .sidebar-about h1 {
    color: #fff;
}

.dark-theme .sidebar p {
    color: rgba(255, 255, 255, .5);
}

/* Theme Toggle Button */
.theme-toggle {
    margin: 1rem 0;
    text-align: center;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: scale(1.1);
}

.theme-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Light theme adjustments */
body:not(.dark-theme) {
    background-color: #fff;
    color: #515151;
}

body:not(.dark-theme) .content {
    background-color: #fff;
    color: #515151;
}

/* Smooth transitions for theme switching */
body,
.content,
.project-card,
.skill-item,
.contact-item,
.message,
.pagination-item {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.post-title,
p,
li,
td,
th,
a,
strong,
code,
pre,
blockquote {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Force dark theme styles with higher specificity */
body.dark-theme {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
}

body.dark-theme .content {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
}

body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
    color: #ffffff !important;
}

body.dark-theme p {
    color: #e0e0e0 !important;
}

body.dark-theme .post-title,
body.dark-theme .page-title {
    color: #ffffff !important;
}

body.dark-theme a {
    color: #6a9fb5 !important;
}

body.dark-theme strong {
    color: #ffffff !important;
}

/* Home Page Specific Styles */
.tech-stack {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #1a1c1d;
    border-radius: 8px;
    border-left: 4px solid #55dcf7;
}

.dark-theme .tech-stack {
    background: #2d2d2d;
    border-left-color: #6a9fb5;
}

.tech-stack h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #ebfaff;
}

.dark-theme .tech-stack h3 {
    color: #ffffff;
}

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

.tech-tag {
    background: #55dcf7;
    color: #1a1c1d;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(85, 220, 247, 0.3);
}

.current-focus {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #1a1c1d;
    border-radius: 8px;
    border-left: 4px solid #55dcf7;
}

.dark-theme .current-focus {
    background: #2d2d2d;
    border-left-color: #6a9fb5;
}

.current-focus h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #ebfaff;
}

.dark-theme .current-focus h3 {
    color: #ffffff;
}

.current-focus ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.current-focus li {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.current-focus li:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-tags {
        justify-content: center;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .current-focus li {
        font-size: 0.95rem;
    }
}

/* Hero Section with Profile Image */
.hero-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}

.profile-image {
    flex-shrink: 0;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6a9fb5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 159, 181, 0.3);
}

.hero-content {
    flex: 1;
}

.hero-content .post-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.hero-content .lead {
    margin-bottom: 1rem;
}

/* Dark theme adjustments for hero section */
.dark-theme .profile-photo {
    border-color: #6a9fb5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-theme .profile-photo:hover {
    box-shadow: 0 6px 20px rgba(106, 159, 181, 0.4);
}

/* Responsive design for hero section */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .hero-content {
        text-align: center;
    }
}

/* Profile Placeholder Styling */
.profile-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a9fb5 0%, #4a7c95 100%);
    border: 4px solid #6a9fb5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(106, 159, 181, 0.3);
}

.profile-initials {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: "Abril Fatface", serif;
}

/* Dark theme adjustments for placeholder */
.dark-theme .profile-placeholder {
    border-color: #6a9fb5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-theme .profile-placeholder:hover {
    box-shadow: 0 6px 20px rgba(106, 159, 181, 0.4);
}

/* Responsive design for placeholder */
@media (max-width: 768px) {
    .profile-placeholder {
        width: 120px;
        height: 120px;
    }

    .profile-initials {
        font-size: 2.5rem;
    }
}

/* Sidebar Resume Section */
.sidebar-resume-section {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.resume-section-title {
    color: rgba(255, 255, 255, .8);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resume-section-title i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, .6);
}

.resume-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resume-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, .2);
}

.resume-link:hover {
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
    transform: translateX(3px);
}

.resume-link i {
    margin-right: 0.5rem;
    width: 1rem;
    text-align: center;
}

.resume-link.download {
    background-color: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
}

.resume-link.download:hover {
    background-color: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.6);
}

.resume-link.preview {
    background-color: rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.4);
}

.resume-link.preview:hover {
    background-color: rgba(33, 150, 243, 0.3);
    border-color: rgba(33, 150, 243, 0.6);
}

/* Resume Modal */
.resume-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.resume-modal-content {
    position: relative;
    background-color: #fff;
    margin: 2% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resume-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.resume-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.resume-modal-header h3 i {
    margin-right: 0.5rem;
    color: #6c757d;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

.resume-modal-body {
    padding: 0;
    background-color: #f8f9fa;
}

.resume-modal-body iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.resume-modal-footer {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.modal-download-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-download-btn:hover {
    background-color: #218838;
    text-decoration: none;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.modal-download-btn i {
    margin-right: 0.5rem;
}

/* Dark theme adjustments for modal */
.dark-theme .resume-modal-content {
    background-color: #2d2d2d;
}

.dark-theme .resume-modal-header {
    background-color: #1a1a1a;
    border-bottom-color: #404040;
}

.dark-theme .resume-modal-header h3 {
    color: #e0e0e0;
}

.dark-theme .resume-modal-header h3 i {
    color: #b0b0b0;
}

.dark-theme .close-btn {
    color: #b0b0b0;
}

.dark-theme .close-btn:hover {
    background-color: #404040;
    color: #e0e0e0;
}

.dark-theme .resume-modal-body {
    background-color: #1a1a1a;
}

.dark-theme .resume-modal-footer {
    background-color: #1a1a1a;
    border-top-color: #404040;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .resume-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .resume-modal-header {
        padding: 0.75rem 1rem;
    }

    .resume-modal-header h3 {
        font-size: 1.1rem;
    }

    .resume-modal-body iframe {
        height: 500px;
    }

    .resume-modal-footer {
        padding: 0.75rem 1rem;
    }

    .modal-download-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Mobile sidebar adjustments for resume section */
@media (max-width: 48em) {
    .sidebar-resume-section {
        margin: 1rem 0;
        padding: 0.75rem 0;
    }

    .resume-section-title {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .resume-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Resume Page Styles */
.resume-container {
    max-width: 100%;
    margin: 0 auto;
}

.resume-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #6a9fb5;
}

.resume-actions {
    display: flex;
    gap: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #6a9fb5;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background-color: #5a8fa5;
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 159, 181, 0.3);
}

.btn-download i {
    margin-right: 0.5rem;
}

.resume-viewer {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.resume-viewer iframe {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

.pdf-fallback {
    padding: 3rem;
    text-align: center;
    background: #f8f9fa;
    color: #6c757d;
}

.pdf-fallback p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Dark theme adjustments for resume page */
.dark-theme .resume-header {
    border-bottom-color: #6a9fb5;
}

.dark-theme .resume-viewer {
    background-color: #2d2d2d;
    border-color: #404040;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-theme .pdf-fallback {
    background-color: #1a1a1a;
    color: #b0b0b0;
}

.dark-theme .btn-download {
    background-color: #6a9fb5;
}

.dark-theme .btn-download:hover {
    background-color: #5a8fa5;
}

/* Responsive adjustments for resume page */
@media (max-width: 768px) {
    .resume-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .resume-header h2 {
        font-size: 1.5rem;
    }

    .resume-actions {
        justify-content: center;
    }

    .btn-download {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .resume-viewer iframe {
        height: 600px;
    }

    .pdf-fallback {
        padding: 2rem 1rem;
    }
}

/* ==========================================================================
   CUSTOM STYLES - CONSOLIDATED FROM hyde-custom-clean.css and hyde-custom.css
   ========================================================================== */

/* Custom Color Variables - Updated to match obriencole11 theme */
:root {
    --primary-color: #2c3033;
    --secondary-color: #55dcf7;
    --accent-color: #55dcf7;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-color: #99aeb5;
    --light-gray: #ecf0f1;
    --dark-gray: #34495e;
    --off-white: #2c3033;
    --content-bg: #2c3033;
    --sidebar-bg: #1a1c1d;
    --sidebar-text: #ffffff;
    --sidebar-accent: #55dcf7;
    --border-color: #e1e1e1;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Typography */
    --font-size-sm: 0.8rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.2rem;
    --font-size-xl: 1.4rem;
    --line-height-base: 1.6;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* Dark background for the main content area - Cole's theme colors */
body {
    background-color: #2c3033 !important;
    color: #99aeb5 !important;
}

.content {
    background-color: #2c3033 !important;
    color: #99aeb5 !important;
}

/* Override sidebar background - Cole's theme colors */
.sidebar {
    background-color: #1a1c1d !important;
    color: var(--sidebar-text) !important;
    border-right: 1px solid #333 !important;
}

/* Sidebar title styling */
.sidebar-about h1 {
    color: var(--sidebar-text) !important;
    font-size: 2.2rem !important;
    margin-bottom: 0.3rem !important;
    font-weight: 700 !important;
}

.sidebar-about h1 a {
    color: var(--sidebar-text) !important;
    text-decoration: none !important;
}

.sidebar-about h1 a:hover {
    color: #55dcf7 !important;
}

/* Sidebar description */
.sidebar .lead {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
    font-style: italic !important;
}

/* Navigation items - Clean minimal style */
.sidebar-nav-item {
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: none !important;
    padding: 0.6rem 1rem !important;
    transition: all 0.2s ease !important;
    border-radius: 0 !important;
    margin-bottom: 0.2rem !important;
    font-size: 0.95rem !important;
}

.sidebar-nav-item:hover,
.sidebar-nav-item:focus {
    background-color: rgba(85, 220, 247, 0.1) !important;
    color: #55dcf7 !important;
    border-radius: 4px !important;
    transform: none !important;
    padding-left: 1rem !important;
}

.sidebar-nav-item.active {
    background-color: rgba(85, 220, 247, 0.15) !important;
    color: #55dcf7 !important;
    border-radius: 4px !important;
    padding-left: 1rem !important;
}

/* Social links */
.sidebar-social a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.1rem !important;
    transition: color 0.2s ease !important;
}

.sidebar-social a:hover {
    color: #55dcf7 !important;
}

/* ==========================================================================
   MOBILE HAMBURGER MENU STYLES
   ========================================================================== */



/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #1a1c1d;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav-overlay.active .mobile-nav {
    transform: translateX(0);
}

/* Mobile Navigation Header */
.mobile-nav-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    font-family: 'Roboto Slab', serif;
}

.mobile-nav-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* Mobile Navigation Items */
.mobile-nav-items {
    padding: 1rem 0;
}

.mobile-nav-item {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.5;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    padding-left: 1.5rem !important;
}

/* Disable active states for mobile navigation items - High specificity override */
.mobile-nav .mobile-nav-item.active,
.mobile-nav-overlay .mobile-nav .mobile-nav-item.active,
.mobile-nav-item.active {
    background: transparent !important;
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-left: none !important;
    border: none !important;
}

.mobile-nav-item i {
    margin-right: 0.75rem;
    width: 1.2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.mobile-nav-item:hover i,
.mobile-nav-item:focus i {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Disable active icon styling for mobile navigation - High specificity override */
.mobile-nav .mobile-nav-item.active i,
.mobile-nav-overlay .mobile-nav .mobile-nav-item.active i,
.mobile-nav-item.active i {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Mobile Social Links */
.mobile-nav-social {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-nav-social a {
    display: inline-block;
    margin: 0 0.75rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.mobile-nav-social a:hover {
    color: #55dcf7;
}

/* Responsive Breakpoints */
@media (max-width: 767px) {

    /* Hide sidebar on mobile */
    .sidebar {
        display: none;
    }

    /* Show hamburger button on mobile */
    .hamburger-btn {
        display: flex;
    }

    /* Show mobile navigation overlay */
    .mobile-nav-overlay {
        display: block;
    }

    /* Adjust content margin for mobile */
    .content {
        margin-left: 0;
        margin-right: 0;
        padding-top: 5rem;
    }
}

/* Tablet and up - ensure sidebar is shown and mobile nav is hidden */
@media (min-width: 768px) {
    .hamburger-btn {
        display: none !important;
    }

    .mobile-nav-overlay {
        display: none !important;
    }

    .sidebar {
        display: block !important;
    }
}

/* Focus trap and accessibility improvements */
.mobile-nav-overlay.active .mobile-nav-item:first-child {
    /* First focusable element in mobile menu */
}

.mobile-nav-overlay.active .mobile-nav-social a:last-child {
    /* Last focusable element in mobile menu */
}

/* Smooth hardware-accelerated animations */
.mobile-nav,
.mobile-nav-overlay,
.hamburger-line {
    will-change: transform;
    backface-visibility: hidden;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hamburger-btn {
        border-color: #fff;
    }

    .hamburger-line {
        background: #fff;
    }

    .mobile-nav {
        border-right: 2px solid #fff;
    }

    .mobile-nav-item {
        border-bottom-color: rgba(255, 255, 255, 0.3);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .hamburger-btn,
    .hamburger-line,
    .mobile-nav-overlay,
    .mobile-nav,
    .mobile-nav-item {
        transition: none;
    }
}

/* Print styles - hide mobile navigation */
@media print {

    .hamburger-btn,
    .mobile-nav-overlay {
        display: none !important;
    }
}

ortant;
margin: 0 0.3rem !important;
}

.sidebar-social a:hover {
    color: #55dcf7 !important;
}

/* Content area colors - RGB(44, 48, 51) */
body {
    background-color: #2c3033 !important;
}

.content {
    background-color: #2c3033 !important;
    color: #e2e8f0 !important;
}

.content.container {
    background-color: #2c3033 !important;
}

/* Override any off-white backgrounds */
body:not(.dark-theme) {
    background-color: #2c3033 !important;
}

body:not(.dark-theme) .content {
    background-color: #2c3033 !important;
}

/* Heading colors - Cole's theme */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    color: #ebfaff !important;
}

.content h2 {
    border-bottom: 2px solid #55dcf7 !important;
    padding-bottom: 0.5rem !important;
}

.content h3 {
    color: #55dcf7 !important;
}

/* Paragraph text color - Cole's theme */
.content p {
    color: #99aeb5 !important;
    font-size: 0.9rem !important;
}

/* List text color */
.content li {
    color: #99aeb5 !important;
    font-size: 0.9rem !important;
}

/* Strong text color */
.content strong {
    color: #ebfaff !important;
}

/* Link colors for dark background */
.content a {
    color: var(--sidebar-accent) !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.2s ease !important;
}

.content a:hover {
    color: var(--sidebar-accent) !important;
    border-bottom-color: var(--sidebar-accent) !important;
}

/* Table styling for dark background */
.content table td {
    color: #cbd5e0 !important;
}

.content table td:first-child {
    color: #f7fafc !important;
}

/* Code blocks */
.content code {
    background-color: #f8f9fa !important;
    color: #e83e8c !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 3px !important;
}

.content pre {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 5px !important;
    padding: 1rem !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--sidebar-accent) !important;
    border-color: var(--sidebar-accent) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--sidebar-bg) !important;
    border-color: var(--sidebar-bg) !important;
}

/* Tables */
.content table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 1rem 0 !important;
}

.content table th,
.content table td {
    border: 1px solid var(--border-color) !important;
    padding: 0.75rem !important;
    text-align: left !important;
}

.content table th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
}

/* Footer */
.sidebar p:last-child {
    color: rgba(236, 240, 241, 0.6) !important;
    font-size: 0.85rem !important;
    margin-top: 2rem !important;
}

/* Sidebar Navigation Styling - High Specificity for GitHub Pages */
.sidebar .sidebar-nav .sidebar-nav-item {
    border-radius: 8px !important;
    margin-bottom: 0.1rem !important;
    transition: all 0.3s ease !important;
    padding: 0.3rem 0.5rem 0.3rem 1rem !important;
    display: block !important;
}

.sidebar .sidebar-nav a.sidebar-nav-item:hover,
.sidebar .sidebar-nav a.sidebar-nav-item:focus {
    background-color: rgba(255, 255, 255, .15) !important;
    border-radius: 8px !important;
    transform: translateX(3px) !important;
    border-color: transparent !important;
    padding-left: 1.2rem !important;
    text-decoration: none !important;
}

.sidebar .sidebar-nav .sidebar-nav-item.active {
    background-color: rgba(255, 255, 255, .2) !important;
    border-radius: 8px !important;
    border-color: transparent !important;
    padding-left: 1.2rem !important;
}

/* Sidebar Description - Italics */
.sidebar .sidebar-about .lead {
    font-style: italic !important;
    text-align: left !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
}

/* Sidebar Section Spacing */
.sidebar .sidebar-about {
    margin-bottom: 1rem !important;
}

.sidebar .sidebar-nav {
    margin-bottom: 1rem !important;
}

.sidebar .sidebar-social {
    margin: 1rem 0 0.5rem !important;
}

/* FORCE BACKGROUND RGB(44, 48, 51) - HIGHEST PRIORITY */
html {
    background-color: #2c3033 !important;
}

html body {
    background-color: #2c3033 !important;
}

html body .content {
    background-color: #2c3033 !important;
}

html body .content.container {
    background-color: #2c3033 !important;
}

/* Override any possible theme or variable conflicts */
* {
    --off-white: #2c3033 !important;
    --content-bg: #2c3033 !important;
}

/* Force all possible content selectors */
.page,
.post,
.posts,
main,
article,
section {
    background-color: #2c3033 !important;
}

/* Profile Image Styling - Rectangle */
.profile-image {
    text-align: center;
    margin-bottom: 2rem;
}

/* Profile Image - Force Rectangle Override */
.profile-image .profile-photo,
.hero-section .profile-photo,
img.profile-photo {
    width: 200px !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    /* Soft rounded corners for a modern look */
    border: 3px solid #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.profile-image .profile-photo:hover,
.hero-section .profile-photo:hover,
img.profile-photo:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Dark theme profile image adjustments */
body.dark-theme .profile-photo {
    border-color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

body.dark-theme .profile-photo:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Light theme profile image adjustments */
body:not(.dark-theme) .profile-photo {
    border-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body:not(.dark-theme) .profile-photo:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive profile image */
@media (max-width: 768px) {
    .profile-photo {
        width: 150px !important;
        height: 188px !important;
        /* Maintain aspect ratio */
    }
}

@media (max-width: 480px) {
    .profile-photo {
        width: 120px !important;
        height: 150px !important;
        /* Maintain aspect ratio */
    }
}

/* ==========================================================================
   MOBILE HAMBURGER MENU ANIMATIONS AND TRANSITIONS
   ========================================================================== */

/* Hamburger Button Styles and Animations */
.hamburger-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: rgba(26, 28, 29, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    display: none;
    /* Hidden by default, shown on mobile */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.hamburger-btn:hover {
    background: rgba(85, 220, 247, 0.1);
    border-color: #55dcf7;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(85, 220, 247, 0.2);
}

.hamburger-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(85, 220, 247, 0.3);
}

/* Hamburger Lines */
.hamburger-line {
    display: block !important;
    width: 20px !important;
    height: 3px !important;
    background: #ffffff !important;
    border-radius: 2px;
    margin: 4px 0 !important;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 1 !important;
}

/* Hamburger Animation to X when active */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #55dcf7;
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: #55dcf7;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    /* Hidden by default, shown on mobile */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

/* Backdrop fade-in/fade-out animation */
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Container */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #1a1c1d;
    padding: 5rem 0 2rem 0;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    will-change: transform;
    /* Hardware acceleration hint */
}

/* Menu slide-in animation */
.mobile-nav-overlay.active .mobile-nav {
    transform: translateX(0);
}

/* Mobile Navigation Items */
.mobile-nav-item {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover and focus state transitions for menu items */
.mobile-nav-item:hover,
.mobile-nav-item:focus {
    background: rgba(85, 220, 247, 0.1);
    color: #55dcf7;
    text-decoration: none;
    transform: translateX(8px);
    padding-left: 2rem;
}

.mobile-nav-item:focus {
    outline: none;
    box-shadow: inset 3px 0 0 #55dcf7;
}

.mobile-nav-item.active {
    background: rgba(85, 220, 247, 0.15);
    color: #55dcf7;
    font-weight: 600;
}

.mobile-nav-item i {
    margin-right: 0.75rem;
    width: 1.2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.mobile-nav-item:hover i,
.mobile-nav-item:focus i {
    transform: scale(1.1);
}

/* Ripple effect for mobile nav items */
.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(85, 220, 247, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.mobile-nav-item:active::before {
    width: 300px;
    height: 300px;
}

/* Mobile-specific responsive styles */
@media (max-width: 767px) {
    .hamburger-btn {
        display: flex !important;
        visibility: visible !important;
    }

    .mobile-nav-overlay {
        display: block;
    }

    .sidebar {
        display: none;
    }
}

/* Tablet and larger screens - hide mobile navigation */
@media (min-width: 768px) {
    .hamburger-btn {
        display: none !important;
    }

    .mobile-nav-overlay {
        display: none !important;
    }

    .sidebar {
        display: block;
    }
}

/* Animation performance optimizations */
.mobile-nav,
.mobile-nav-overlay,
.hamburger-btn,
.hamburger-line,
.mobile-nav-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

/* Smooth transitions for theme switching compatibility */
.mobile-nav-item,
.hamburger-btn,
.mobile-nav {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Dark theme compatibility for mobile navigation */
.dark-theme .hamburger-btn {
    background: rgba(45, 45, 45, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.dark-theme .hamburger-btn:hover {
    background: rgba(85, 220, 247, 0.1) !important;
    border-color: #55dcf7 !important;
}

.dark-theme .hamburger-line {
    background: #ffffff !important;
}

.dark-theme .mobile-nav {
    background: #2d2d2d;
}

.dark-theme .mobile-nav-item:hover,
.dark-theme .mobile-nav-item:focus {
    background: rgba(106, 159, 181, 0.1);
    color: #6a9fb5;
}

.dark-theme .mobile-nav-item:focus {
    box-shadow: inset 3px 0 0 #6a9fb5;
}

.dark-theme .mobile-nav-item.active {
    background: rgba(106, 159, 181, 0.15);
    color: #6a9fb5;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .hamburger-btn,
    .hamburger-line,
    .mobile-nav-overlay,
    .mobile-nav,
    .mobile-nav-item {
        transition: none;
    }

    .mobile-nav-item::before {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hamburger-btn {
        border: 2px solid #fff;
    }

    .mobile-nav {
        border-right: 2px solid #fff;
    }

    .mobile-nav-item {
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    }
}

/* CRITICAL: Ensure hamburger button is always visible on mobile */
@media (max-width: 767px) {
    .hamburger-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 1rem !important;
        left: 1rem !important;
        z-index: 1001 !important;
        background: rgba(26, 28, 29, 0.95) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        width: 50px !important;
        height: 50px !important;
    }

    .hamburger-line {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 20px !important;
        height: 3px !important;
        background: #ffffff !important;
        margin: 4px 0 !important;
    }
}

/* Theme overrides for hamburger visibility */
.theme-base-cole .hamburger-btn,
.dark-theme .hamburger-btn,
body .hamburger-btn {
    background: rgba(26, 28, 29, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.theme-base-cole .hamburger-line,
.dark-theme .hamburger-line,
body .hamburger-line {
    background: #ffffff !important;
    opacity: 1 !important;
}

/* Unicode hamburger icon fallback */
.hamburger-icon {
    font-size: 24px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
}

/* Hide hamburger lines when using Unicode icon */
@media (max-width: 767px) {
    .hamburger-btn .hamburger-line {
        display: none !important;
    }

    .hamburger-btn .hamburger-icon {
        display: block !important;
    }
}

/* Alternative CSS-only hamburger using pseudo-elements */
.hamburger-btn-alt {
    position: fixed !important;
    top: 1rem !important;
    left: 1rem !important;
    z-index: 1001 !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid #ffffff !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: none !important;
}

.hamburger-btn-alt::before,
.hamburger-btn-alt::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    width: 20px !important;
    height: 3px !important;
    background: #ffffff !important;
    transform: translateX(-50%) !important;
    transition: all 0.3s ease !important;
}

.hamburger-btn-alt::before {
    top: 15px !important;
    box-shadow: 0 8px 0 #ffffff !important;
}

.hamburger-btn-alt::after {
    top: 31px !important;
}

@media (max-width: 767px) {
    .hamburger-btn-alt {
        display: block !important;
    }
}

/* Font Awesome hamburger icon */
.hamburger-fa-icon {
    font-size: 20px !important;
    color: #ffffff !important;
    display: block !important;
    line-height: 1 !important;
}

/* Hide all other hamburger elements when using Font Awesome */
@media (max-width: 767px) {

    .hamburger-btn .hamburger-line,
    .hamburger-btn .hamburger-icon {
        display: none !important;
    }

    .hamburger-btn .hamburger-fa-icon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hamburger-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* MOBILE NAVIGATION STATES - CONTROLLED OVERRIDE */
.mobile-nav-item,
.mobile-nav-item:link,
.mobile-nav-item:visited {
    background: transparent !important;
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-left: none !important;
    border: none !important;
    box-shadow: none !important;
}

.mobile-nav-item i,
.mobile-nav-item:link i,
.mobile-nav-item:visited i {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Allow active state styling with more prominent background */
.mobile-nav-item.active,
.mobile-nav-item.active:link,
.mobile-nav-item.active:visited {
    background: rgba(85, 220, 247, 0.25) !important;
    background-color: rgba(85, 220, 247, 0.25) !important;
    color: #55dcf7 !important;
    border-left: 3px solid #55dcf7 !important;
}

.mobile-nav-item.active i,
.mobile-nav-item.active:link i,
.mobile-nav-item.active:visited i {
    color: #55dcf7 !important;
}

/* Disable ALL interactive states including hover and focus */
.mobile-nav-item:hover,
.mobile-nav-item:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding-left: 1.5rem !important;
    border: none !important;
    text-decoration: none !important;
}

.mobile-nav-item:hover i,
.mobile-nav-item:focus i {
    color: rgba(255, 255, 255, 0.6) !important;
}
