/* ==========================================
   DOCS-STYLE LAYOUT
   Black & White Minimalistic Design
   ========================================== */

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0f0c29;
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a40 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #000000;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 100vh;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================
   WRAPPER CONTAINER
   ========================================== */

.wrapper {
  width: 100%;
  max-width: 1200px;
  height: calc(100vh - 6rem);
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   HEADER
   ========================================== */

.header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e5e5;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.logo {
  width: 10rem;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

.tagline {
  font-size: 0.875rem;
  color: #666666;
  font-weight: 400;
}

/* ==========================================
   LAYOUT CONTAINER
   ========================================== */

.layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ==========================================
   SIDEBAR NAVIGATION
   ========================================== */

.sidebar {
  width: 200px;
  background-color: #fafafa;
  border-right: 1px solid #e5e5e5;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #666666;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.menu-btn:hover {
  background-color: #f5f5f5;
  color: #000000;
}

.menu-btn.active {
  color: #000000;
  font-weight: 500;
  background-color: #ffffff;
  border-left-color: #000000;
}

/* ==========================================
   CONTENT AREA
   ========================================== */

.content {
  flex: 1;
  overflow-y: auto;
  padding: 3rem 4rem;
  max-width: 800px;
}

.section {
  display: none;
}

.section.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */

.section h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #000000;
  letter-spacing: -0.02em;
}

.section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000000;
}

.section p {
  margin-bottom: 1rem;
  color: #333333;
  line-height: 1.7;
}

.section p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.about-image {
  width: 200px;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.about-text {
  flex: 1;
}

.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.profile-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #000000;
  margin: 0;
}

.profile-title {
  font-size: 0.875rem;
  color: #666666;
  margin: 0;
}

.profile-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.profile-btn-telegram {
  background-color: #000000;
  color: #ffffff;
}

.profile-btn-telegram:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

.profile-btn-whatsapp {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
}

.profile-btn-whatsapp:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================
   SERVICE ITEMS
   ========================================== */

.service-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e5e5;
}

.service-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ==========================================
   VENTURE ITEMS
   ========================================== */

.venture-item {
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.venture-item.priority {
  background-color: #fafafa;
  border: 2px solid #000000;
  padding: 2rem;
  margin-bottom: 2rem;
}

.venture-item.priority h3 {
  font-size: 1.5rem;
}

.venture-description {
  color: #666666;
  font-size: 0.9375rem;
}

.link {
  display: inline-block;
  margin-top: 1rem;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.link:hover {
  opacity: 0.7;
}

/* ==========================================
   SOCIAL SECTION
   ========================================== */

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #000000;
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: #ffffff;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.social-name {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ==========================================
   CONTACT BUTTONS
   ========================================== */

.contact-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  text-align: center;
  padding: 1rem 0;
  margin-top: 1rem;
  width: 100%;
  max-width: 1200px;
}

.footer-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 300;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 768px) {
  body {
    padding: 0;
    justify-content: flex-start;
  }

  .wrapper {
    width: 100%;
    height: auto;
    min-height: 100vh;
    border-radius: 0;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
  }

  .logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo {
    width: 8rem;
    display: block;
  }

  .tagline {
    font-size: 0.8125rem;
  }

  .layout {
    flex-direction: column;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    background-color: #fafafa;
  }

  .menu-btn {
    padding: 0.75rem 1rem;
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .menu-btn.active {
    border-left: none;
    border-bottom-color: #000000;
  }

  .content {
    padding: 2rem 1.5rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section h3 {
    font-size: 1.125rem;
  }

  .about-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-profile {
    width: 100%;
    align-items: center;
  }

  .about-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
  }

  .profile-buttons {
    width: 100%;
    max-width: 250px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer {
    padding: 1.5rem 1rem;
    margin-top: 0;
    width: 100%;
  }

  .footer-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0;
  }

  .wrapper {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
  }

  .logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo {
    width: 8rem;
    display: block;
  }

  .content {
    padding: 1.5rem 1rem;
  }

  .section h2 {
    font-size: 1.25rem;
  }

  .about-image {
    max-width: 200px;
  }

  .profile-buttons {
    max-width: 200px;
  }

  .profile-btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }

  .venture-item {
    padding: 1rem;
  }

  .footer {
    padding: 1.5rem 1rem;
    margin-top: 0;
  }

  .footer-text {
    font-size: 0.6875rem;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fafafa;
  }
}
