
:root {
  --primary-color: #2D9CDB;
  --secondary-color: #6FCF97;
  --accent-color: #FF00FF;
  --dark-bg: #0D0D0D;
  --light-bg: #FFFFFF;
  --text-dark: #0D0D0D;
  --text-light: #FFFFFF;
  --gray: #828282;
  --cyan: #00FFFF;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Helvetica', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-color), rgba(45, 156, 219, 0.9));
  color: var(--text-light);
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a:hover {
  color: var(--secondary-color);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  min-height: 500px;
}

.hero-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-color), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-image {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.hero-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

article {
  background: var(--light-bg);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 4rem;
}

article h2 {
  font-family: 'Orbitron', sans-serif;
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

article h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

article h4 {
  font-family: 'Orbitron', sans-serif;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

article ol, article ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

article li {
  margin-bottom: 0.5rem;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

article th {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 1rem;
  text-align: left;
}

article td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #eee;
}

article tr:nth-child(even) {
  background: #f9f9f9;
}

article tr:hover {
  background: #f1f1f1;
}

pre {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(45, 156, 219, 0.1);
  color: var(--primary-color);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  padding: 1rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 3rem 2rem;
  text-align: center;
}

.footer p {
  max-width: 800px;
  margin: 0 auto 1rem;
}

.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--secondary-color);
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image {
    order: 2;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  article {
    padding: 2rem 1.5rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .container {
    padding: 5rem 1rem 1rem;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.3rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.highlight {
  background: linear-gradient(90deg, var(--secondary-color), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

.badge {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge-secondary {
  background: var(--secondary-color);
}

.badge-accent {
  background: var(--accent-color);
}

/* Dark theme */
[data-theme="dark"] {
  --primary-color: #6FCF97;
  --secondary-color: #2D9CDB;
  --accent-color: #00FFFF;
  --dark-bg: #1A1A1A;
  --light-bg: #0D0D0D;
  --text-dark: #FFFFFF;
  --text-light: #0D0D0D;
  --gray: #A0A0A0;
}

[data-theme="dark"] article {
  background: var(--dark-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] article tr:nth-child(even) {
  background: #222;
}

[data-theme="dark"] article tr:hover {
  background: #333;
}

[data-theme="dark"] pre {
  background: #111;
}

[data-theme="dark"] code {
  background: rgba(111, 207, 151, 0.1);
}

