
:root {
  --primary: #FF8C00;
  --secondary: #0083B0;
  --accent: #00B4DB;
  --dark: #2C3E50;
  --light: #F9F9F9;
  --text: #333333;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

* {
  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%);
  min-height: 100%;
  padding: 0;
  margin: 0;
}

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

.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin: 1rem auto;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary);
}

.card-content {
  padding: 1.5rem;
}

.note {
  background: rgba(0, 131, 176, 0.1);
  border-left: 4px solid var(--secondary);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

pre {
  background: var(--dark);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.highlight {
  background: linear-gradient(120deg, rgba(255,140,0,0.2) 0%, rgba(255,140,0,0) 100%);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

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

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

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

.footer {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background: var(--dark);
  color: white;
  border-radius: 12px 12px 0 0;
}

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

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

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

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

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  position: relative;
}

.tab.active {
  color: var(--primary);
  font-weight: bold;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

