/* Pages CSS - Common styles for all pages */

/* Holographic text effect */
.holographic-bg {
    background: linear-gradient(135deg,
            #3b82f6 0%,
            #8b5cf6 25%,
            #06b6d4 50%,
            #3b82f6 75%,
            #8b5cf6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: holographic 5s ease infinite;
}

@keyframes holographic {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Terminal styling */
.terminal-window {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* Skill card hover effect */
.skill-card {
    cursor: default;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -15px rgba(59, 130, 246, 0.3);
}

/* Filter button active state */
.filter-btn.active,
.blog-category-btn.active {
    background-color: #3b82f6 !important;
    color: white !important;
    border-color: #3b82f6 !important;
}

/* Card animations */
.project-card,
.blog-card {
    transition: all 0.3s ease;
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth page transitions */
body {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Contact card hover effects */
.contact-card:hover {
    transform: translateY(-2px);
}

/* Mobile menu improvements */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terminal-body {
        font-size: 12px;
        padding: 16px;
    }

    .skill-card {
        padding: 12px;
    }

    .skill-card span:first-child {
        font-size: 24px;
    }
}

/* Dark mode adjustments */
.dark .glassmorphism {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Button hover animations */
a[class*="bg-brand-primary"]:hover,
button[class*="bg-brand-primary"]:hover {
    transform: scale(1.02);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}