@font-face {
  font-family: "Drunk Wide Bold";
  src: url("fonts/DrukWideBold 2.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

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

html,
body {
  height: 100vh;
  overflow: hidden;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  background: #000;
  color: #959595;
  overflow-x: hidden;
}

.main-container {
  display: flex;
  flex-direction: row;
  height: 100vh;
}

/* Contact Sidebar */
.contact-sidebar {
  flex: 0 0 50px;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
}

.contact-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: "Drunk Wide Bold", "Drunk Wide", sans-serif;
  font-size: 42px;
  font-weight: bold;
  color: #959595;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-instagram {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.brand-title {
  font-family: "Drunk Wide Bold", "Drunk Wide", sans-serif;
  font-size: 42px;
  font-weight: bold;
  color: #959595;
  letter-spacing: 0;
}

.contact-text:hover {
  color: #959595;
}

/* Main Content Wrapper */
.main-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100vh;
  padding: 20px 90px 20px 20px;
  box-sizing: border-box;
}

/* Top Section */
.top-section {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Header Section */
.header {
  flex: 1;
  padding: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.header-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header-title {
  font-size: 16px;
  font-weight: 400;
  padding: 8px;
  border-bottom: #4d4d4d 1px solid;
  letter-spacing: 0;
  color: #ffffff;
}

.header-description {
  font-size: 16px;
  line-height: 1.4;
  color: #959595;
}

.header-description strong {
  color: #ffffff;
  font-weight: 300;
}

.header-location {
  font-size: 16px;
  color: #959595;
  margin-bottom: 30px;
}

.header-location a {
  color: #959595;
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.header-location a:hover {
  border-bottom-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.description-box {
  padding: 8px;
  border-bottom: 1px solid #4d4d4d;
  min-height: 146px;
}

.location-box {
  padding: 8px;
  border-bottom: 1px solid #4d4d4d;
}
.location {
  color: #ffffff;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 30px;
  padding: 8px;
  flex-shrink: 0;
  font-weight: 300;
  border-bottom: #4d4d4d 1px solid;
}

.nav-tab {
  background: none;
  border: none;
  color: #959595;
  font-size: 16px;
  transition: all 0.3s ease;
  font-weight: 300;
}

.nav-tab:hover {
  color: #959595;
}

.nav-tab.active {
  color: #ffffff;
  font-weight: 300;
  padding: 0;
}

/* Content Wrapper */
.content-wrapper {
  display: none;
}

/* Works List Sidebar */
.works-list {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.works-list-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.work-item {
  display: flex;
  align-items: center;
  padding: 8px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0;
  border-bottom: #4d4d4d 1px solid;
}

.work-item:hover,
.work-item.active {
  background-color: #222222;
}

.work-item:hover,
.work-item.active {
  color: #959595;
}

.work-item.active {
  background-color: #222222;
}

.work-item.disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.work-name {
  color: #ffffff;
}

.work-info {
  display: flex;
  flex-direction: row;
  flex: 1;
  gap: 8px;
  align-items: center;
}

.work-name {
  font-size: 16px;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.work-meta {
  font-size: 16px;
  color: #959595;
}

.work-year {
  font-size: 16px;
  color: #959595;
  white-space: nowrap;
  margin-left: auto;
}

.vatgpt {
  pointer-events: none;
  user-select: none; /* optional: prevents text selection */
}

/* Bottom Section */
.bottom-section {
  flex: 0 0 auto;
  overflow: hidden;
  height: auto;
}

/* Main Content */
.main-content {
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.brand-section {
  width: 100%;
}

.brand-title {
  font-family: "Drunk Wide Bold", sans-serif;
  font-size: 42px;
  font-weight: bold;
  color: #959595;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-top: auto;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.portfolio-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #222222;
}

.portfolio-item.large {
  background: #222222;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-item.large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item.cta {
  background: #222222;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.cta-text {
  font-size: 16px;
  font-weight: 600;
  color: #959595;
  letter-spacing: 0;
  text-decoration: none;
}

.cta-link {
  text-decoration: none;
  color: inherit;
}

.cta-subtext strong {
  color: #959595;
  display: block;
  margin-top: 10px;
  font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .top-section {
    flex-direction: column;
  }

  .header {
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .works-list {
    max-height: none;
  }

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

@media (max-width: 768px) {
  .header {
    padding: 20px;
  }

  .header-title {
    font-size: 24px;
  }

  .brand-title {
    font-size: 40px;
  }

  .works-list-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .nav-tabs {
    gap: 15px;
  }
}

/* Scrollbar Styling */
.works-list::-webkit-scrollbar {
  width: 6px;
}

.works-list::-webkit-scrollbar-track {
  background: #111;
}

.works-list::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

.works-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}
