/* assets/css/style.css */

:root {
  /* Light Modern Tech Theme Colors */
  --primary-color: #0066FF;     /* Bright Blue */
  --primary-dark: #0044CC;      /* Deeper Blue */
  --accent-color: #FF3366;      /* Hot Pink */
  --secondary-color: #6B46C1;   /* Purple */
  --bg-light: #FFFFFF;          /* White */
  --bg-lighter: #F8FAFC;        /* Very Light Gray */
  --card-bg: #FFFFFF;           /* White */
  --text-primary: #1E293B;      /* Dark Blue Gray */
  --text-secondary: #475569;;    /* Medium Gray */
  --text-accent: #0066FF;       /* Bright Blue */
  --gradient-start: #6B46C1;    /* Purple */
  --gradient-end: #0066FF;      /* Blue */
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Animations */
  --transition-speed: 0.3s;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  margin: 0;
  background-image: 
      radial-gradient(circle at 20% 20%, rgba(107, 70, 193, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
}

/* Navigation */
.nav {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .container {
  padding-left: 6rem;
  padding-right: 6rem;
}

@media (max-width: 768px) {
  .nav .container {
      padding-left: 2rem;
      padding-right: 2rem;
  }
}

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.nav a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

/* Geometric Background */
.geometric-bg {
  background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--card-bg) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(107, 70, 193, 0.05);
}

.geometric-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(0, 102, 255, 0.05) 0%,
      transparent 50%
  );
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 0.5rem;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn {
  border-width: 0.5px;
}

/* Forms */
.form-input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--bg-lighter);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  color: var(--text-primary);
  transition: all var(--transition-speed) ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
  background-color: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  margin: 0 0 var(--spacing-md) 0;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
}

/* 3D Content Container */
.three-d-container {
  width: 100%;
  height: 400px;
  position: relative;
  background-color: var(--bg-lighter);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 30px rgba(0, 102, 255, 0.05);
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
  text-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn var(--transition-speed) ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp var(--transition-speed) ease-out;
}

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

/* Media Queries */
@media (max-width: 768px) {
  :root {
      --spacing-xl: 2rem;
  }
  
  .container {
      padding: 0 var(--spacing-md);
  }
  
  h1 {
      font-size: 2.5rem;
  }
  
  .three-d-container {
      height: 300px;
  }
}

.content-section {
  position: relative;
  z-index: 20;
  background: white; /* Changed from the dark gradient */
}

/* Update footer to match other sections */
footer {
  background: white; /* Changed from bg-darker */
  padding: 2rem 0;
}

footer .container {
  max-width: 1280px; /* Same as other containers */
  margin: 0 auto;
  padding: 0 1rem;
}


/* Name Styling */
.name-fade {
  color: #D1D5DB; /* equivalent to text-gray-300 */
}

.group:hover .name-fade,
.group:hover .name-main {
  color: #60A5FA; /* equivalent to text-blue-400 */
  transition: color var(--transition-speed) ease;
}
