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

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --accent: #666;
  --divider: #eee;
  --sidebar-width: 350px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100vh;
  flex: 0 0 var(--sidebar-width);
  justify-content: center;
}

.logo {
  margin-bottom: 2rem;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-evenly;
}

.social-links a {
  display: inline-block;
}

.social-links img {
  width: 28px;
  height: 28px;
}

.sidebar-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
}

.sidebar-nav a:hover {
  text-decoration: underline;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.main-content > * {
  max-width: 100%;
  overflow: hidden;
}

.about {
  padding: 2rem;
}

.about h2 {
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.about p {
  margin-bottom: 1rem;
}

.slider-container {
  display: flex;
  height: calc(100vh - 60px);
  max-height: 100vh;
  width: 100%;
}

.slider-viewport {
  flex: 1;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider-viewport::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  height: 100%;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.slider-btn {
  flex-shrink: 0;
  width: 80px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: 0.2s;
}

.slider-btn img {
  width: 60px;
  height: auto;
}

.slider-btn:hover {
  opacity: 0.7;
}

.slider-btn.hidden {
  visibility: hidden;
}

.slider-btn.prev:hover { 
  transform: translateX(-5px);
}

.slider-btn.next:hover { 
  transform: translateX(5px);
}

.slider-btn:active img {
  transform: translateY(2px);
}

.slider-dots {
  display: flex;
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dot {
  width: 28px;
  height: 18px;
  border: none;
  background: #e1e1e1;
  cursor: pointer;
  padding: 0;
}

.dot.active {
  background: #000;
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    padding: 1rem;
    flex: 1;
  }

  .logo img {
    max-width: 100px;
    width: 100%;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-links img {
    width: 32px;
    height: 32px;
  }

  .sidebar-nav {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }

  .slider-container {
    height: auto;
  }

  .slider {
    height: 60vh;
  }

  .slide {
    padding: 0 1rem;
    align-items: start;
  }

  .slider-btn {
    display: none;
    font-size: 2.5rem;
  }

  .slider-dots {
  display: flex;
    gap: 0;
  }

  .dot {
    height: 2px;
  }
}
