
:root {
  --primary-green: #8BC34A;
  --primary-blue: #2196F3;
  --secondary-gray: #E0E0E0;
  --accent-orange: #FFC107;
  --dark-blue: #1976D2;
  --light-green: #DCEDC8;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  margin: 0;
  padding: 0;
  min-height: 100%;
}

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

.header {
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  color: white;
  padding: 40px 0;
  text-align: center;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.note {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  font-weight: bold;
  color: var(--dark-blue);
  border-left: 4px solid var(--accent-orange);
}

article {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 40px;
  margin-bottom: 40px;
}

article h2 {
  color: var(--primary-green);
  font-size: 1.8rem;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green);
}

article h3 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-top: 30px;
}

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

pre {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
  border-left: 4px solid var(--primary-blue);
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
}

code {
  font-family: 'Courier New', monospace;
  background-color: #f8f9fa;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 0.95rem;
}

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

.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.image-caption {
  padding: 15px;
  text-align: center;
  background: linear-gradient(to right, var(--light-green), white);
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--secondary-gray);
}

.nav-tabs a {
  padding: 12px 20px;
  margin-right: 10px;
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: bold;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

.nav-tabs a:hover {
  background-color: var(--light-green);
  color: var(--primary-green);
}

.nav-tabs a.active {
  background-color: var(--primary-blue);
  color: white;
}

.button {
  display: inline-block;
  background-color: var(--accent-orange);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.footer {
  background-color: var(--secondary-gray);
  padding: 30px 0;
  text-align: center;
  border-radius: 20px 20px 0 0;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 25px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

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

.section {
  animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

