/* Additional styles specific to skills page */

/* Header styling to match resumes page */
#main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
}

#copyright {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 12px;
    z-index: 1000;
    text-align: center;
}

#main-header h1 {
    color: white;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.back-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Skills hexagon specific styling */
.skills-hex .hex-content {
    font-family: 'Poppins', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    line-height: 1.1;
    max-width: 90%;
    word-wrap: break-word;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    pointer-events: none;
}

.skills-hex .hex-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.skills-hex .hex-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.hex-domain {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
}

.skills-hex .hex-description {
    font-size: 8px;
    text-align: center;
    line-height: 1.1;
    opacity: 0.8;
    color: #e0e0e0;
    margin-bottom: 2px;
}

.skills-hex svg path {
    fill: #2a2a2a;
    transition: fill 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skills-hex:hover svg path {
    fill: #333333;
}

.skills-hex {
    cursor: pointer;
}

.skills-hex:hover {
    transform: scale(1.05) !important;
    z-index: 10 !important;
    filter: brightness(1.2) !important;
}

/* Star rating styling */
.hex-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 3px;
}

.star {
    font-size: 10px;
    line-height: 1;
}

.star.full {
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.star.half {
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.star.empty {
    color: rgba(255, 255, 255, 0.3);
}

/* Download and email buttons */
.hex-download-btn, .hex-email-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(5px);
    margin-top: 2px;
    pointer-events: auto;
    z-index: 100;
    position: relative;
}

.hex-download-btn:hover, .hex-email-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.hex-download-btn:active, .hex-email-btn:active {
    transform: translateY(0);
}

/* Typewriter animation for header */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

/* Mobile responsive styles - only affects screens 768px and below */
@media screen and (max-width: 768px) {
    
    /* Header adjustments */
    #main-header {
        position: static;
        transform: none;
        padding: 20px;
        background: rgba(0, 0, 0, 0.9);
        margin-bottom: 0;
    }
    
    
    #main-header h1 {
        font-size: 20px !important;
        margin: 0 0 8px 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        animation: none !important;
        border-right: none !important;
    }
    
    .back-button {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    /* Hide hexagon container on mobile */
    #honeycomb-container {
        display: none !important;
    }
    
    /* Mobile content list */
    #mobile-content {
        display: block !important;
        padding: 60px 20px 20px 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-content-item {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        margin: 12px 0;
        padding: 16px;
        color: white;
        backdrop-filter: blur(10px);
    }
    
    .mobile-content-item:last-child {
        margin-bottom: 80px;
    }
    
    .mobile-content-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #61dafb;
    }
    
    .mobile-content-desc {
        font-size: 12px;
        opacity: 0.9;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .mobile-content-tech {
        font-size: 10px;
        opacity: 0.7;
        font-style: italic;
    }
    
    .mobile-download-btn {
        background: #61dafb;
        color: white;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 500;
        text-align: center;
        cursor: pointer;
        border: none;
        margin-top: 8px;
    }
    
    .mobile-cert-buttons {
        display: flex;
        gap: 8px;
        margin-top: 8px;
    }
    
    .mobile-cert-buttons .mobile-download-btn {
        margin-top: 0;
        flex: 1;
    }
    
    /* Copyright positioning */
    #copyright {
        bottom: 5px !important;
        font-size: 10px !important;
    }
}

/* Hide mobile content on desktop */
#mobile-content {
    display: none;
}

@media screen and (max-width: 480px) {
    /* Extra small screens */
    #main-header h1 {
        font-size: 20px !important;
    }
    
    .hex {
        width: 50px !important;
        height: 43px !important;
        margin: 6px 1px !important;
    }
    
    .hex-content {
        font-size: 7px !important;
        padding: 3px !important;
    }
    
    .hex-content svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .star-rating .star {
        font-size: 5px !important;
    }
    
    .hex-download-btn, .hex-email-btn {
        padding: 1px 3px !important;
        font-size: 5px !important;
    }
}
