/* ============================================
   CYBERPUNK MINIMALISM PORTFOLIO
   Color Scheme: Deep Charcoal (#0f0f1e), Neon Cyan (#00d9ff), Electric Blue (#0066ff)
   Typography: IBM Plex Mono (body), Poppins (headings)
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: #0f0f1e;
    color: #e0e0e0;
    line-height: 1.6;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e0e0e0;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

a {
    color: #00d9ff;
    text-decoration: none;
    transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
}

button {
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    border: none;
    transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d9ff;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.logo-bracket {
    color: #00d9ff;
}

.logo-text {
    color: #e0e0e0;
    margin: 0 0.5rem;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-links.active {
    display: flex;
}

.nav-link {
    color: #e0e0e0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d9ff;
    transition: width 200ms ease-out;
}

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #00d9ff;
    transition: all 300ms ease-out;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    animation: fadeInUp 800ms ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.bracket {
    color: #00d9ff;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #00d9ff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1rem;
    color: #a0a0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 250px;
    height: 250px;
    border: 2px solid #00d9ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), inset 0 0 30px rgba(0, 217, 255, 0.1);
    animation: glowPulse 3s ease-in-out infinite;
}

.profile-placeholder svg {
    width: 80%;
    height: 80%;
    stroke: #00d9ff;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid;
}

.btn-primary {
    background: #00d9ff;
    color: #0f0f1e;
    border-color: #00d9ff;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    background: #00ffff;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #00d9ff;
    border-color: #00d9ff;
    box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::before {
    content: '[';
    color: #00d9ff;
    margin-right: 0.5rem;
}

.section-title::after {
    content: ']';
    color: #00d9ff;
    margin-left: 0.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9) 0%, rgba(26, 26, 46, 0.7) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #a0a0b0;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.highlight-card {
    padding: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 217, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.1), inset 0 0 15px rgba(0, 217, 255, 0.05);
    transition: all 300ms ease-out;
}

.highlight-card:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), inset 0 0 30px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.highlight-card h3 {
    color: #00d9ff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight-card p {
    margin: 0;
    color: #a0a0b0;
    font-size: 0.95rem;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills {
    position: relative;
    background: #0f0f1e;
}

.skills-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.skills-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.skills .container {
    position: relative;
    z-index: 1;
}

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

.skill-category {
    padding: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    background: rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1), inset 0 0 20px rgba(0, 217, 255, 0.05);
    transition: all 300ms ease-out;
    animation: fadeInUp 800ms ease-out;
}

.skill-category:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3), inset 0 0 40px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.category-title {
    color: #00d9ff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.4);
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 0.85rem;
    transition: all 200ms ease-out;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */

.certifications {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9) 0%, rgba(26, 26, 46, 0.7) 100%);
}

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

.cert-card {
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    background: rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1), inset 0 0 20px rgba(0, 217, 255, 0.05);
    transition: all 300ms ease-out;
    animation: fadeInUp 800ms ease-out;
}

.cert-card:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3), inset 0 0 40px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cert-card h3 {
    color: #00d9ff;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.cert-card p {
    color: #a0a0b0;
    font-size: 0.95rem;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    background: #0f0f1e;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.project-card {
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    background: rgba(26, 26, 46, 0.8);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1), inset 0 0 20px rgba(0, 217, 255, 0.05);
    transition: all 300ms ease-out;
    animation: fadeInUp 800ms ease-out;
}

.project-card:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3), inset 0 0 40px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 102, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.project-placeholder {
    font-size: 1.5rem;
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    font-weight: 700;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.project-content p {
    color: #a0a0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    color: #00d9ff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.link-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 217, 255, 0.5);
    border-radius: 4px;
    color: #00d9ff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 200ms ease-out;
}

.link-btn:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

/* ============================================
   CYBERSECURITY SECTION
   ============================================ */

.cybersecurity {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9) 0%, rgba(26, 26, 46, 0.7) 100%);
}

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

.cyber-card {
    padding: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    background: rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1), inset 0 0 20px rgba(0, 217, 255, 0.05);
    transition: all 300ms ease-out;
    animation: fadeInUp 800ms ease-out;
}

.cyber-card:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3), inset 0 0 40px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.cyber-card h3 {
    color: #00d9ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cyber-card p {
    color: #a0a0b0;
    line-height: 1.6;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.stats {
    background: #0f0f1e;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    background: rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1), inset 0 0 20px rgba(0, 217, 255, 0.05);
    transition: all 300ms ease-out;
    animation: fadeInUp 800ms ease-out;
}

.stat-card:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3), inset 0 0 40px rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d9ff;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #a0a0b0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   RESUME SECTION
   ============================================ */

.resume {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9) 0%, rgba(26, 26, 46, 0.7) 100%);
    text-align: center;
}

.resume-content p {
    color: #a0a0b0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resume-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: #0f0f1e;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #00d9ff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    color: #e0e0e0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    transition: all 200ms ease-out;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3), inset 0 0 20px rgba(0, 217, 255, 0.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: #00d9ff;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: #a0a0b0;
}

.contact-item a {
    color: #00d9ff;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 217, 255, 0.5);
    border-radius: 4px;
    color: #00d9ff;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 200ms ease-out;
}

.social-link:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: rgba(15, 15, 30, 0.95);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-content p {
    color: #a0a0b0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #a0a0b0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-links a:hover {
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), inset 0 0 30px rgba(0, 217, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 217, 255, 0.5), inset 0 0 50px rgba(0, 217, 255, 0.2);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .contact-content {
        gap: 2rem;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
