
:root {
  --primary: #f5f5dc;
  --secondary: #2f4f4f;
  --accent: #00ffff;
  --text: #333;
  --light: #fffdd0;
  --dark: #1a1a1a;
}

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

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

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 253, 208, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Times New Roman', serif;
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: bold;
}

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

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  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: var(--accent);
  transition: width 0.3s ease;
}

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

.banner {
  height: 400px;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('https://images.gptkong.com/demo/sample1.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 3rem;
  border-radius: 0 0 20px 20px;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.banner p {
  font-size: 1.2rem;
  max-width: 700px;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-family: 'Times New Roman', serif;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-content p {
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  background: var(--light);
  color: var(--secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

article {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

article h2 {
  font-family: 'Times New Roman', serif;
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

article h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--accent);
}

article h3 {
  font-family: 'Times New Roman', serif;
  color: var(--secondary);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

article p {
  margin-bottom: 1.5rem;
}

pre {
  background: #f8f8f8;
  padding: 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  color: #333;
}

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

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

.notice {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin: 2rem 0;
  border: 2px dashed var(--accent);
}

.notice p {
  font-weight: bold;
  color: var(--secondary);
}

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

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 2rem 1.5rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

