*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff; color: #333; line-height: 1.6;
  min-height: 100vh; display: flex; flex-direction: column;
}
header {
  position: fixed; top: 0; left: 0; right: 0; height: 60px;
  background: #fff; border-bottom: 1px solid #eee;
  display: flex; align-items: center; padding: 0 24px;
  z-index: 100;
}
header h1 { font-size: 20px; font-weight: 600; letter-spacing: 1px; }
header h1 a { color: #333; text-decoration: none; }
.menu-toggle {
  display: none; background: none; border: none; font-size: 24px;
  cursor: pointer; color: #333; margin-right: 16px;
}
.wrapper { display: flex; margin-top: 60px; min-height: calc(100vh - 60px); }
.sidebar {
  width: 220px; flex-shrink: 0; background: #fff;
  border-right: 1px solid #eee; padding: 32px 24px;
  position: fixed; top: 60px; left: 0; bottom: 0; overflow-y: auto;
  z-index: 50; transition: transform 0.3s ease;
}
.sidebar a.page-link {
  display: block; font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; color: #999; text-decoration: none;
  margin-bottom: 8px; cursor: pointer; transition: color 0.2s;
}
.sidebar a.page-link:hover, .sidebar a.page-link.active { color: #333; }
.sidebar .section-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: #ccc; margin: 24px 0 8px 0;
}
.sidebar .project-link {
  display: block; font-size: 14px; color: #666; text-decoration: none;
  padding: 4px 0; cursor: pointer; transition: color 0.2s;
}
.sidebar .project-link:hover, .sidebar .project-link.active { color: #333; }
.main {
  flex: 1; margin-left: 220px; padding: 40px;
  min-height: calc(100vh - 60px);
}
.main.home { display: flex; align-items: center; justify-content: center; }
.carousel-container {
  position: relative; width: 100%; max-width: 900px; margin: 0 auto;
}
.carousel { position: relative; overflow: hidden; border-radius: 4px; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; }
.carousel-slide img {
  display: block; width: 100%; height: 500px; object-fit: cover;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.8); border: none; width: 40px; height: 40px;
  border-radius: 50%; font-size: 18px; cursor: pointer; color: #333;
  z-index: 10; transition: background 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 16px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ddd;
  border: none; cursor: pointer; transition: background 0.2s;
}
.carousel-dot.active { background: #333; }
.project-title {
  text-align: center; font-size: 14px; color: #999; margin-top: 12px;
  letter-spacing: 1px; text-transform: uppercase;
}
.page-content { max-width: 640px; margin: 0 auto; padding: 40px 0; }
.page-content h2 { font-size: 24px; font-weight: 300; margin-bottom: 20px; }
.page-content p { font-size: 15px; color: #666; margin-bottom: 16px; }
.page-content a { color: #333; }
.contact-form { margin-top: 32px; }
.contact-form label {
  display: block; font-size: 12px; text-transform: uppercase;
  letter-spacing: 1px; color: #999; margin-bottom: 4px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid #ddd;
  font-family: inherit; font-size: 15px; color: #333;
  background: transparent; margin-bottom: 20px; outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: #333; }
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form button {
  background: none; border: 1px solid #333; color: #333;
  padding: 10px 32px; font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; cursor: pointer; transition: all 0.2s;
}
.contact-form button:hover { background: #333; color: #fff; }
.empty-state {
  text-align: center; padding: 80px 20px; color: #ccc; font-size: 14px;
}
.empty-state p { margin-bottom: 8px; }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .sidebar {
    transform: translateX(-100%); width: 240px;
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; padding: 24px; }
  .carousel-slide img { height: 300px; }
  .carousel-btn { width: 32px; height: 32px; font-size: 14px; }
}
