/* Cyber Portfolio CSS - Lighter Purple Theme */

/* CSS Variables for consistent theming - Eye-friendly colors */
:root {
  --primary-purple: #8b5cf6;
  --secondary-purple: #a78bfa;
  --light-purple: #f3f4f6;
  --dark-purple: #6d28d9;
  --accent-cyan: #3229ae;
  --accent-pink: #c277bd;
  --bg-dark: #1e1b2e;
  --bg-darker: #0f0f1a;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --border-color: #475569;
  --gradient-primary: linear-gradient(135deg, #8b5cf6, #3229ae);
  --gradient-secondary: linear-gradient(135deg, #c277bd, #8b5cf6);
  --shadow-glow: 0 0 15px rgba(139, 92, 246, 0.2);
  --shadow-strong: 0 0 25px rgba(139, 92, 246, 0.3);
}

.header-container {
  position: relative;
  text-align: center;
  padding: 20px 0;
}

.header-container .name {
  margin: 0;
  font-size: 4rem; /* adjust font size */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.gallery-photo {
  width: 100%;
  max-width: 700px; /* Adjust as needed */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Mono", monospace;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Eye-friendly Cyber Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(50, 41, 174, 0.03) 0%, transparent 50%);
  z-index: -1;
}

/* Very subtle Grid Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 41, 174, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: -1;
}

/* Header and Navigation */
header {
  background: rgba(30, 27, 46, 0.95);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

header h1 {
  margin: 0;
  font-family: "Orbitron", monospace;
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.contact {
  margin-top: 15px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
}

nav {
  background: rgba(30, 27, 46, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 25px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 15px;
  border-radius: 8px;
}

nav a:hover {
  color: var(--primary-purple);
  text-shadow: 0 0 5px var(--primary-purple);
  background: rgba(139, 92, 246, 0.06);
  transform: translateY(-2px);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 80%;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section Styling */
section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(139, 92, 246, 0.03);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

h2 {
  font-family: "Orbitron", monospace;
  color: var(--primary-purple);
  border-bottom: 2px solid var(--primary-purple);
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-cyan);
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(139, 92, 246, 0.02);
  border-radius: 8px;
  border-left: 2px solid var(--primary-purple);
  transition: all 0.2s ease;
}

li:hover {
  background: rgba(139, 92, 246, 0.04);
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.12);
}

strong {
  color: var(--text-primary);
  font-weight: 700;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Project Cards */
.project-card {
  background: rgba(139, 92, 246, 0.02);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
  border-color: var(--primary-purple);
}

.project-card h3 {
  margin-top: 0;
  color: var(--primary-purple);
  font-family: "Orbitron", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Hero section for main page */
.hero {
  text-align: center;
  padding: 80px 0;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-family: "Roboto Mono", monospace;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
  background: var(--primary-purple);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

/* Overview grid for home page */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.overview-card {
  background: rgba(139, 92, 246, 0.02);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  text-align: center;
}

.overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.12);
}

.overview-card h3 {
  color: var(--primary-purple);
  font-family: "Orbitron", monospace;
  margin-bottom: 12px;
  font-size: 1rem;
}

.overview-card i {
  margin-right: 10px;
  color: var(--accent-cyan);
}

/* Page-specific styles */
.page-content {
  min-height: 80vh;
  padding: 40px 0;
}

.back-button {
  display: inline-block;
  margin-bottom: 30px;
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Experience items */
.experience-item {
  background: rgba(139, 92, 246, 0.02);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-cyan);
  transition: all 0.2s ease;
}

.experience-item:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.12);
}

.experience-item h3 {
  color: var(--primary-purple);
  font-family: "Orbitron", monospace;
  margin-bottom: 10px;
}

.experience-item p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.experience-item ul {
  margin-left: 20px;
}

.experience-item li {
  margin-bottom: 8px;
  background: rgba(50, 41, 174, 0.02);
  border-left: 2px solid var(--accent-cyan);
  padding: 8px 12px;
}

/* Education items */
.education-item {
  background: rgba(139, 92, 246, 0.02);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.2s ease;
}

.education-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.12);
}

.education-item h3 {
  color: var(--primary-purple);
  font-family: "Orbitron", monospace;
  margin-bottom: 15px;
}

.education-item h4 {
  color: var(--accent-cyan);
  margin: 20px 0 15px 0;
}

/* Leadership items */
.leadership-item {
  background: rgba(190, 24, 93, 0.02);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-pink);
  transition: all 0.2s ease;
}

.leadership-item:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(190, 24, 93, 0.12);
}

.leadership-item h3 {
  color: var(--primary-purple);
  font-family: "Orbitron", monospace;
  margin-bottom: 10px;
}

/* Skills categories */
.skills-category {
  background: rgba(139, 92, 246, 0.02);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.skills-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.12);
}

.skills-category h3 {
  color: var(--primary-purple);
  font-family: "Orbitron", monospace;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.skills-category i {
  margin-right: 10px;
  color: var(--accent-cyan);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.skill-item {
  background: rgba(139, 92, 246, 0.03);
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid var(--primary-purple);
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.skill-item:hover {
  background: rgba(139, 92, 246, 0.06);
  transform: scale(1.02);
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.15);
}

/* Active navigation */
nav a.active {
  color: var(--primary-purple) !important;
  background: rgba(168, 85, 247, 0.1) !important;
  text-shadow: 0 0 5px var(--primary-purple) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav a {
    margin: 5px;
    font-size: 1rem;
  }

  section {
    margin: 40px 0;
    padding: 30px 20px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact {
    font-size: 1rem;
  }

  nav a {
    margin: 2px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }
}


/* Floating animation for sections */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

section:hover {
  animation: float 3s ease-in-out infinite;
}

/* Glow effect for headers */
@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px rgba(168, 85, 247, 0.3); }
  50% { text-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
}

h2 {
  animation: glow 3s ease-in-out infinite;
}

/* Community Service & Gallery Sections */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.community-item {
  background: rgba(139, 92, 246, 0.02);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  text-align: center;
}

.community-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
  border-color: var(--primary-purple);
}

.community-item h3 {
  color: var(--primary-purple);
  font-family: "Orbitron", monospace;
  margin: 15px 0 10px 0;
  font-size: 1rem;
}

.community-item p {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  background: rgba(139, 92, 246, 0.02);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  text-align: center;
}

.gallery-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.12);
  border-color: var(--primary-purple);
}

.image-placeholder {
  width: 100%;
  height: 120px;
  background: rgba(139, 92, 246, 0.03);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.image-placeholder:hover {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.05);
}

.image-placeholder i {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.image-placeholder p {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: 0;
  text-align: center;
}

.image-caption {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.75rem;
  margin-top: 8px;
  line-height: 1.3;
  padding: 0 5px;
}

/* === Disable Ripple & Hover Effects === */

/* Remove floating animation on sections */
section:hover {
  animation: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Remove glowing text animation */
h2 {
  animation: none !important;
  text-shadow: none !important;
}

/* Neutralize hover effects on cards, items, and nav */
.project-card:hover,
.overview-card:hover,
.community-item:hover,
.gallery-item:hover,
.leadership-item:hover,
.skills-category:hover,
.skill-item:hover,
.experience-item:hover,
.education-item:hover,
li:hover,
nav a:hover {
  transform: none !important;
  box-shadow: none !important;
  background: inherit !important;
  border-color: inherit !important;
  text-shadow: none !important;
}

/* Keep active nav highlight */
nav a.active {
  background: rgba(168, 85, 247, 0.1) !important;
  color: var(--primary-purple) !important;
  text-shadow: none !important;
}
