/* Quantum Neon Portfolio - Complete CSS (Responsive Section Animations Included) */

/* Base Styles */

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


body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #0f0f0f; color: #e0e0e0; line-height: 1.6; scroll-behavior: smooth; transition: background 0.5s, color 0.5s; }

/* Navbar */ .navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #121212; box-shadow: 0 2px 10px rgba(0, 255, 255, 0.3); position: sticky; top: 0; z-index: 999; }

.navbar h1 { color: #00ffff; font-weight: bold; }

#theme-toggle { background: #00ffff; border: none; padding: 0.5rem 1rem; color: #0f0f0f; font-weight: bold; border-radius: 5px; cursor: pointer; transition: background 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }

#theme-toggle:hover { background: #00cccc; }

/* Hero Section */ .hero { display: flex; justify-content: center; align-items: center; min-height: 80vh; text-align: center; background: radial-gradient(circle, #222, #0f0f0f); }

.typing-container h2 { font-size: 2rem; color: #00ffff; text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; white-space: pre-line; }

/* Section Styles with Animations */ .section { padding: 4rem 2rem; max-width: 800px; margin: 4rem auto; background: #1c1c1c; border-radius: 15px; box-shadow: 0 0 25px rgba(0, 255, 255, 0.2); opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }

.section.visible { opacity: 1; transform: translateY(0); }

.section h2 { font-size: 2rem; margin-bottom: 1rem; text-shadow: 0 0 10px #ff00ff; }

.section p, .section li { font-size: 1.1rem; }

.section ul { list-style-type: disc; margin-left: 1.5rem; }

/* Cards */ .card { background: #242424; padding: 2rem; border-radius: 10px; box-shadow: 0 0 20px rgba(0, 255, 255, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; margin-bottom: 2rem; }

.card:hover { transform: translateY(-10px); box-shadow: 0 0 30px rgba(0, 255, 255, 0.4); }

/* Contact Links */ .link { color: #00ffff; text-decoration: underline; transition: color 0.3s ease; }

.link:hover { color: #ff00ff; }

/* Highlighted Project Link */ .link.highlight { font-weight: bold; border: 2px solid #ff00ff; padding: 0.3rem 0.5rem; border-radius: 5px; background: rgba(255, 0, 255, 0.1); box-shadow: 0 0 10px rgba(255, 0, 255, 0.5); }

footer { text-align: center; padding: 2rem; font-size: 0.9rem; border-top: 1px solid #333; color: #999; background: #121212; }

/* Mobile-Friendly Card Adjustments */ @media (max-width: 767px) { .section { padding: 2.5rem 1.2rem; border-radius: 12px; box-shadow: 0 0 20px rgba(0, 255, 255, 0.15); } }

/* Light Theme Overrides */ body.light-theme { background: #f0f0f0; color: #333; }

body.light-theme .navbar { background: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }

body.light-theme .navbar h1 { color: #333; }

body.light-theme #theme-toggle { background: #333; color: #fff; }

body.light-theme .hero { background: radial-gradient(circle, #eee, #ccc); }

body.light-theme .typing-container h2 { color: #ff00ff; text-shadow: none; }

body.light-theme .section h2 { text-shadow: none; }

body.light-theme .section { background: #ffffff; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); }

body.light-theme .card { background: #ffffff; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); }

body.light-theme footer { background: #ffffff; color: #777; border-top: 1px solid #ddd; }
