
:root {
  --primary: #0A74DA;
  --secondary: #C0C0C0;
  --accent: #FF8C00;
  --success: #28A745;
  --text: #333;
  --light: #f8f9fa;
  --dark: #212529;
}

* {
  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, #f5f7fa 0%, #e4e8eb 100%);
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

header {
  background: rgba(10, 116, 218, 0.9);
  color: white;
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

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

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

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

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

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a73e8 100%);
  color: white;
  padding: 3rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(10, 116, 218, 0.2);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.notice {
  background: white;
  color: var(--primary);
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

article {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
}

article h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary);
}

article h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.color-sample {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  vertical-align: middle;
  margin: 0 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

pre {
  background: #282c34;
  color: #abb2bf;
  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 4px 6px rgba(0,0,0,0.1);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(40, 44, 52, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #e06c75;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--secondary);
}

th {
  background-color: var(--primary);
  color: white;
  font-weight: 500;
}

tr:nth-child(even) {
  background-color: rgba(10, 116, 218, 0.05);
}

tr:hover {
  background-color: rgba(10, 116, 218, 0.1);
}

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

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

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px 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: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.card-title {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-subtitle {
  color: var(--success);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

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

.button:hover {
  background: #FFA500;
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.sidebar {
  position: fixed;
  top: 80px;
  left: 0;
  width: 250px;
  height: calc(100vh - 80px);
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transform: translateX(-250px);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 1rem;
}

.sidebar-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  display: block;
  padding: 0.5rem 0;
}

.sidebar-nav a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.toggle-sidebar {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

footer {
  background: var(--dark);
  color: white;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

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

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-250px);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .toggle-sidebar {
    display: block;
  }
  
  main {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .image-gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .nav-links {
    display: none;
  }
  
  .toggle-sidebar {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }
  
  article {
    padding: 1.5rem;
  }
  
  pre {
    padding: 1rem;
    font-size: 0.85rem;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

