/* styles.css */

/* CSS VARIABLES */
:root {
  --accent1: #ff6ec4;
  --accent2: #7873f5;
  --hover1: #e055a8;
  --hover2: #6fd0e8;
  --text-light: #ccc;
  --bg-dark: #1a1a1a;
  --section-pad: 80px 20px;
  --transition: 0.3s ease;
  --nav-height: 64px;
  --mobile-break: 600px;
}

/* GLOBAL RESET & BACKGROUND */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.2s ease-in-out;
}
html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(45deg, #0b0c10, #1f2833, #53354a, #4b0082);
  background-size: 400% 400%;
  animation: gradientBG 25s ease infinite;
  color: #ffffff;
}
@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* HEADER / NAVBAR */
header, .navbar {
  width: 100%;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid #222;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.logo img { height: 36px; width: auto; }
.logo span { font-size: 1.2rem; color: var(--accent2); letter-spacing: 1px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  margin-left: auto;
  cursor: pointer;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 18px;
  margin-left: auto;
}
.nav-menu.open {
  display: flex;
  flex-direction: column;
  background: rgba(15, 15, 15, 0.95);
  position: absolute;
  top: var(--nav-height);
  right: 20px;
  padding: 10px;
}
.nav-menu li a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 8px;
  position: relative;
  transition: color var(--transition);
}
.nav-menu li a.active,
.nav-menu li a:hover {
  color: var(--accent1);
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent1);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-menu li a:hover::after {
  width: 100%;
  left: 0;
}

/* BUTTONS */
.btn-primary {
  padding: 8px 16px;
  background: var(--accent2);
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--hover2);
  transform: translateY(-2px);
}
.btn-secondary {
  padding: 8px 16px;
  background: var(--accent1);
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  background: var(--hover1);
  transform: translateY(-2px);
}

/* LAYOUT SECTIONS */
.content-page,
.feature-section,
.projects,
.focus-areas {
  padding: calc(var(--nav-height) + 20px) 20px 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.hero,
.page-hero {
  margin-top: var(--nav-height);
  text-align: center;
}
.hero-subtitle {
  margin-top: 8px;
  font-size: 1.2rem;
  color: var(--accent2);
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FEATURE GRID & CARDS */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.feature-card {
  background: var(--bg-dark);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 24px;
  text-align: left;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #fff;
  transition: color var(--transition), transform var(--transition);
}
.feature-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 8px;
}
.feature-card .read-more {
  font-weight: bold;
  color: var(--accent1);
  transition: color var(--transition), transform var(--transition);
}
.feature-card:hover {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4),
              0 0 12px rgba(255, 110, 196, 0.6),
              0 0 16px rgba(120, 115, 245, 0.6);
}
.feature-card:hover h3 {
  color: var(--accent1);
  transform: translateY(-2px);
}
.feature-card:hover .read-more {
  color: #fff;
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
  }
}

