
:root {
  --primary: #000000;
  --secondary: #ffffff;
  --accent: #00aaff;
  --highlight: #ff5500;
  --neutral: #f0f0f0;
  --text: #333333;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, var(--secondary), var(--neutral));
  min-height: 100%;
  overflow-x: hidden;
}

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

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--primary);
  color: var(--secondary);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,170,255,0.1), rgba(255,85,0,0.1));
  z-index: -1;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { transform: translateX(-50%) translateY(-50%); }
  50% { transform: translateX(50%) translateY(50%); }
  100% { transform: translateX(-50%) translateY(-50%); }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text);
}

.notice {
  background: var(--highlight);
  color: var(--secondary);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 40px;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(255,85,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.content {
  padding: 80px 0;
}

article {
  background: var(--secondary);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}

article h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  border-radius: 2px;
}

article h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 40px 0 20px;
}

article p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

pre {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  overflow: auto;
  border-left: 4px solid var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0,170,255,0.1);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--accent);
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.card {
  background: var(--secondary);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 50px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  article {
    padding: 30px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 15px;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  article {
    padding: 20px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

