/* Enhanced Styles for Personal Website */

/* ============================================
   WORK EXPERIENCE SECTION
   ============================================ */
.work-experience-item {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.work-experience-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.job-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.company-highlight {
    color: #ff9019;
    font-weight: 600;
}

.job-meta {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    padding: 10px 0;
}

.job-meta i {
    margin-right: 5px;
}

.separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.3);
}

.accomplishments-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left !important;
}

.accomplishments-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-align: left !important;
}

.accomplishments-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #ff9019;
    font-size: 20px;
}

/* Light mode styles for work experience */
body:not(.dark-mode) .work-experience-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body:not(.dark-mode) .work-experience-item:hover {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .job-header h3 {
    color: #252525;
}

body:not(.dark-mode) .job-meta {
    color: rgba(0, 0, 0, 0.6);
}

body:not(.dark-mode) .accomplishments-list li {
    color: rgba(0, 0, 0, 0.75);
}

body:not(.dark-mode) .separator {
    color: rgba(0, 0, 0, 0.3);
}


/* ============================================
   ARTICLES SECTION
   ============================================ */
.article-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-header h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.article-header h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-header h3 a:hover {
    color: #ff9019;
}

.article-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.article-description {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.article-tags {
    margin: 15px 0;
}

.article-tag {
    display: inline-block;
    background: rgba(255, 144, 25, 0.2);
    color: #ff9019;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.article-link {
    color: #ff9019;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: #fff;
}

/* ============================================
   PROJECT TAGS
   ============================================ */
.project-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    display: inline-block;
    background: rgba(255, 144, 25, 0.15);
    color: #ff9019;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 144, 25, 0.3);
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: rgba(255, 144, 25, 0.25);
    transform: scale(1.05);
}

/* ============================================
   TECHNOLOGIES SECTION - Enhanced
   ============================================ */
.tech-category-section {
    margin-bottom: 40px;
}

.tech-category-title {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 600;
}

.tech-scroll-row {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.tech-scroll-track {
    display: flex;
    gap: 20px;
    will-change: transform;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ============================================
   CONTACT SECTION - Enhanced
   ============================================ */
#contact .contact-info-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 35px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    height: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#contact .contact-info-card h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
}

#contact .contact-detail {
    margin: 20px 0;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border-left: 4px solid #ff9019;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85);
}

#contact .contact-detail:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

#contact .contact-detail i {
    color: #ff9019;
    margin-right: 12px;
    font-size: 20px;
}

#contact .contact-detail strong {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
}

#contact .contact-detail a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact .contact-detail a:hover {
    color: #ff9019;
}

#contact .google-map {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 500px;
    min-height: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#contact .google-map #map {
    height: 100% !important;
    width: 100% !important;
}

/* Dark mode support for contact section */
body.dark-mode #contact .contact-info-card {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode #contact .contact-detail {
    background: rgba(0, 0, 0, 0.3);
}

body.dark-mode #contact .contact-detail:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Light mode adjustments */
body:not(.dark-mode) #contact .contact-info-card {
    background: rgba(255, 255, 255, 0.25);
}

body:not(.dark-mode) #contact .contact-detail {
    background: rgba(255, 255, 255, 0.15);
}

body:not(.dark-mode) #contact .contact-detail:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Responsive for contact section */
@media (max-width: 768px) {
    #contact .contact-info-card,
    #contact .google-map {
        height: auto;
        min-height: 400px;
        margin-bottom: 20px;
    }
}

/* ============================================
   SPACE INVADERS GAME
   ============================================ */
#space-invaders-game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.game-overlay {
    background: #1a1a1a;
    border: 3px solid #ff9019;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 50px rgba(255, 144, 25, 0.5);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.game-header h2 {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    margin: 0;
    font-size: 24px;
}

.game-close {
    background: #ff0000;
    border: none;
    color: white;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-close:hover {
    background: #ff3333;
    transform: scale(1.1);
}

#gameCanvas {
    display: block;
    border: 2px solid #333;
    background: #000;
}

.game-controls {
    margin-top: 15px;
    text-align: center;
    color: #fff;
    font-family: 'Courier New', monospace;
}

.game-controls p {
    margin: 5px 0;
    font-size: 14px;
}

#game-score {
    font-size: 18px;
    color: #00ff00;
    font-weight: bold;
}

/* ============================================
   GLASSMORPHISM EFFECTS
   ============================================ */
.project-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .work-experience-item {
        padding: 20px;
    }
    
    .job-meta {
        font-size: 14px;
    }
    
    .separator {
        display: block;
        margin: 5px 0;
    }
    
    .tech-category-title {
        font-size: 18px;
    }
}
