
:root {
  --primary: #81C784;
  --secondary: #F5DEB3;
  --accent: #FF9966;
  --highlight: #6495ED;
  --dark: #2E7D32;
  --light: #FFFFFF;
  --text: #333333;
}

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

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  line-height: 1.6;
  letter-spacing: 0.5px;
  padding-top: 80px;
}

.header {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

.article {
  background-color: var(--light);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 40px;
  margin-bottom: 60px;
}

.article h2 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

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

.article h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  font-size: 1.5rem;
  margin: 30px 0 20px;
}

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

.code-container {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

pre {
  margin: 0;
}

code {
  font-family: 'Courier New', monospace;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px 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 15px 30px rgba(0,0,0,0.15);
}

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

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

.notice {
  background: rgba(255,255,255,0.9);
  border-left: 5px solid var(--accent);
  padding: 20px;
  margin: 40px 0;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
}

.footer {
  text-align: center;
  padding: 30px;
  background: rgba(255,255,255,0.9);
  margin-top: 60px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px;
  }
  
  .nav-menu {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-item {
    margin: 10px;
  }
  
  .article {
    padding: 30px 20px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

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

.animate {
  animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

