/* Portfolio Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.glow {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.7);
}

.terminal {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.3);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 8px 12px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}

.dot-red {
    background-color: #ff5f56;
}

.dot-yellow {
    background-color: #ffbd2e;
}

.dot-green {
    background-color: #27c93f;
}

.terminal-content {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.5;
}

.terminal-content span {
    display: inline-block;
}

.terminal-content .prompt {
    color: #4ade80;
}

.terminal-content .command {
    color: #60a5fa;
}

.terminal-content .output {
    color: #e2e8f0;
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.social-link {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: #818cf8;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #818cf8;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: #4ade80;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

header {
    background-color: #000000;
    transition: background-color 0.3s ease;
}

header.dark {
    background-color: #000000;
}

header .text-gray-300 {
    color: #d1d5db;
    transition: color 0.3s ease;
}

header .text-white {
    color: #ffffff;
}

header.dark .text-gray-300 {
    color: #9ca3af;
}

header a:hover,
header button:hover {
    color: #93c5fd;
}

header.dark a:hover,
header.dark button:hover {
    color: #93c5fd;
}

#theme-toggle i {
    transition: transform 0.3s ease;
}

#theme-toggle:hover i {
    transform: scale(1.1);
}

#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
}

/* Resume Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid #6366f1;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.close-modal {
    color: #9ca3af;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #6366f1;
}

/* Modern Project Slideshow Styles */
.slideshow-container {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.project-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.project-slide-content {
    max-width: 900px;
    margin: 0 auto;
}

.slideshow-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slide-btn {
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid #6366f1;
    color: #818cf8;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slide-btn:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.4);
    transform: scale(1.05);
}

.slide-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slide-dots {
    display: flex;
    gap: 10px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: #6366f1;
    transform: scale(1.4);
}

.slide-counter {
    color: #818cf8;
    font-weight: 600;
    font-size: 14px;
}