/* Cyberpunk theme variables */
:root {
  --bg-primary: #111111;
  --text-primary: #ffffff;
  --accent-electric: #00ffff;
  --accent-magenta: #ff00ff;
  --accent-purple: #9B00FF;
  --accent-pink: #ec4899;
  --shadow: rgba(255, 0, 255, 0.3);
  --shadow-blue: rgba(0, 255, 255, 0.3);
}

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

body {
  font-family: 'Courier New', monospace;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

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

/* Navigation */
.nav-header {
  position: sticky;
  top: 0;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 0, 204, 0.3);
  z-index: 100;
}

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

.nav-brand {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.brand-text {
  color: var(--accent-electric);
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 0 10px var(--accent-electric);
}

.brand-secondary {
  color: var(--accent-magenta);
  font-size: 1.25rem;
  font-weight: bold;
  text-shadow: 0 0 10px var(--accent-magenta);
}

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

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-magenta);
  text-shadow: 0 0 10px var(--accent-magenta);
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(26, 0, 51, 0.8));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(45deg, var(--accent-electric), var(--accent-magenta));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  sm:flex-row;
  justify-content: center;
  gap: 1rem;
}

.cta-primary, .cta-secondary {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}

.cta-primary {
  background: var(--accent-purple);
  color: white;
  box-shadow: 0 0 12px rgba(155, 0, 255, 0.3);
}

.cta-primary:hover {
  background: var(--accent-magenta);
  box-shadow: 0 0 12px rgba(255, 0, 204, 0.5);
  transform: scale(1.05);
}

.cta-secondary {
  border: 2px solid var(--accent-magenta);
  color: var(--accent-magenta);
  box-shadow: 0 0 12px rgba(255, 0, 204, 0.2);
}

.cta-secondary:hover {
  background: rgba(255, 0, 204, 0.1);
  box-shadow: 0 0 12px rgba(255, 0, 204, 0.4);
  transform: scale(1.05);
}

/* Page content */
.page {
  display: none;
  padding: 4rem 0;
}

.page.active {
  display: block;
}

.page h2 {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, var(--accent-electric), var(--accent-magenta));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid layouts */
.products-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Cards */
.gallery-item, .product-item {
  background: linear-gradient(135deg, rgba(24, 0, 46, 0.8), rgba(6, 0, 26, 0.8));
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(255, 0, 204, 0.1);
  border: 1px solid rgba(255, 0, 204, 0.2);
  transition: all 0.3s;
  cursor: pointer;
}

.gallery-item:hover, .product-item:hover {
  box-shadow: 0 0 20px rgba(255, 0, 204, 0.3);
  transform: scale(1.02);
  border-color: rgba(155, 0, 255, 0.3);
}

.gallery-img {
  width: 100%;
  height: 200px;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 1px solid rgba(155, 0, 255, 0.2);
}

.gallery-title {
  font-size: 1.25rem;
  color: var(--accent-magenta);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 0, 204, 0.3);
}

.gallery-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--accent-magenta);
}

/* Footer */
footer {
  background: rgba(17, 17, 17, 0.9);
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 0, 204, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .products-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
}
