
:root {
  --primary: #5d473a;
  --secondary: #dcd0c0;
  --accent: #ff7e5f;
  --bg: #f5f5dc;
  --text: #333;
  --light: #fff;
  --dark: #222;
}

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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(circle at 10% 20%, rgba(245, 245, 220, 0.8) 0%, rgba(245, 245, 220, 0.6) 90%);
  padding-top: 80px;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #3a2c24 100%);
  color: var(--light);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
  font-family: 'Times New Roman', Times, serif;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

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

.nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

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

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

.hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  background: url('https://images.gptkong.com/demo/sample5.png') no-repeat right center/contain;
  margin-bottom: 60px;
  padding: 60px 0;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--dark);
}

.notice {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-left: 4px solid var(--accent);
  margin-bottom: 40px;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

article h2 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 32px;
  color: var(--primary);
  margin: 40px 0 20px;
  position: relative;
  padding-bottom: 10px;
}

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

article h3 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 26px;
  color: var(--primary);
  margin: 30px 0 15px;
}

article p {
  margin-bottom: 20px;
}

.code-container {
  background: #2d2d2d;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

code {
  font-family: 'Courier New', Courier, monospace;
  color: #f8f8f2;
  font-size: 15px;
  line-height: 1.5;
}

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

.image-card {
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px 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 15px 30px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

.image-caption {
  padding: 15px;
  background: var(--light);
}

.footer {
  background: linear-gradient(135deg, var(--primary) 0%, #3a2c24 100%);
  color: var(--light);
  padding: 40px 0;
  text-align: center;
}

.footer p {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .hero {
    background: none;
    text-align: center;
    padding: 40px 0;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  article {
    padding: 30px 20px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}

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

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

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

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.scroll-indicator.visible {
  opacity: 1;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  fill: var(--light);
}

