@import url('https://rsms.me/inter/inter.css');

@font-face {
  font-family: 'Konrad-Regular';
  font-weight: 400;
  font-style: normal;
  src: url("../assets/fonts/NNKonradSTD-Regular.woff2") format("woff2"),
       url("../assets/fonts/NNKonradSTD-Regular.woff") format("woff"),
       url("../fonts/NNKonradSTD-Regular.ttf") format("ttf");
}

/* ===== ROOT & GLOBAL STYLES ===== */
:root {
  font-family: InterVariable, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

html {
  font-family: 'KONRAD-REGULAR';
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  scrollbar-width: none;
  scrollbar-gutter: stable;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background-color: #121212;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

/* ===== TYPOGRAPHY ===== */
button,
a {
  font-family: 'Konrad-Regular', Times, serif;
  font-size: 2.2vh;
  font-style: normal;
  font-weight: 100;
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
}

button {
  border: none;
  text-align: center;
  text-decoration: none;
  background: none;
}

button:hover {
  text-shadow: 0 0 30px #cdcdcd;
  cursor: pointer;
}

a {
  text-decoration: none;
}

a:link,
a:visited,
a:active {
  color: rgba(255, 255, 255, 0.80);
}

a:hover {
  text-shadow: 0 0 30px #cdcdcd;
}

h1 {
  font-family: 'Konrad-Regular';
  font-size: 2.2vh;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.80);
}

h2 {
  color: rgba(255, 255, 255, 0.80);
  font-family: 'Konrad-Regular';
  font-size: 8vw;
  line-height: 86%;
  letter-spacing: -1.05px;
  margin: 0;
  font-feature-settings: "lnum";
  font-variant-numeric: lining-nums;
}

h3 {
  font-family: 'Konrad-Regular', Times, serif;
  color: rgba(255, 255, 255, 0.80);
  font-size: 2.2vh;
  font-style: normal;
  font-weight: 100;
  line-height: normal;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

h4 {
  font-family: 'Inter';
  color: rgba(255, 255, 255, 0.80);
  font-size: 2.2vh;
  line-height: 92%;
  letter-spacing: -0.95px;
  font-style: normal;
  font-weight: 300;
}

h5 {
  font-family: 'Konrad-Regular', Times, serif;
  color: rgba(255, 255, 255, 0.80);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 100;
  line-height: 104%;
  letter-spacing: 1.2px;
}

p {
  color: rgba(255, 255, 255, 0.80);
}

dd,
dd.list {
  display: list-item;
  list-style-type: square;
  color: white;
  text-transform: none;
}

ul {
  padding-inline-start: 0;
  list-style-type: none;
}

ul > li {
  display: inline-block;
  margin-right: 1vw;
}

/* ===== LAYOUT ===== */
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 15px 0 15px;
  z-index: 500;
}

.menu {
  list-style: none;
  list-style-type: none;
}

.menu a {
  text-decoration: none;
}

.menu a button {
  cursor: pointer;
}

.main-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

  .mobile-image-footer {
    display: none;
  }

  .mobile-image-footer .footer {
    display: none;
  }

.footer {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 5px 15px 15px 15px;
  gap: 2rem;
}

.right-info {
  flex: 0 0 auto;
}

.description {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 200px;
  min-height: 2.2vh;
  height: 100%;
}

.description h3 {
  opacity: 0;
  transition: opacity 1.3s ease;
  left: 15px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.description h3.active {
  opacity: 1;
  text-shadow: 0 0 30px #cdcdcd;
}

/* ===== PROJECT LISTS ===== */
.project-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.project-list li {
  list-style: none;
}

.project-list li:not(:last-child) {
  border-bottom: 0.2rem solid #E9E9E9;
  padding-bottom: 0.3rem;
  margin-bottom: 0.3rem;
}

.project-list li a {
  text-decoration: none;
}

.project-list li a h2 {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  perspective: 1000;
  transform: translateZ(0);
  will-change: transform;
  -webkit-text-size-adjust: 100%;
  -webkit-font-variant-ligatures: no-common-ligatures;
}

.project-item {
  position: relative;
}

.preview-badge {
  font-family: 'Inter';
  line-height: 0;
  font-size: 0.4em;
  color: #6c0303;
  margin-left: 0.5em;
  font-weight: 300;
  text-transform: uppercase;
}

.links-list {
  display: flex;
  flex-direction: row;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0 1rem 0 1rem;
}

/* ===== PREVIEW IMAGES ===== */
.preview-images-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1001;
}

.project-image-preview {
  position: fixed;
  width: 250px;
  height: 250px;
  aspect-ratio: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  right: 5%;
  z-index: 1001;
  --y-offset: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* border: #E9E9E9 2px solid; */

}

.project-image-preview.active {
  opacity: 1;
}

.preview-img {
  width: 100%;
  height: 100%;
  display: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.preview-img.active {
  display: block;
}

.projects-menu-container .project-image-preview,
.commissioned-menu-container .project-image-preview {
  --y-offset: -40vh;
}

.work-menu-container .project-image-preview {
  --y-offset: 10px;
}

/* ===== MODALS ===== */
.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-height: 80%;
  padding: 0.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.944);
  overflow: scroll;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(-50%, -50%, 0);
}

.modal-container.active {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translate3d(-50%, -50%, 0);
}

.links-modal {
  position: fixed;
  background-color: #000000;
  bottom: 10vh;
  right: 2vh;
  width: fit-content;
  height: auto;
  padding: 0.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  z-index: 999;
  border: #121212 1px solid;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(112, 112, 112, 0.44);
  overflow: none;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}

.links-modal.active {
  opacity: 1;
  pointer-events: all;
}

.footer-modal {
  position: fixed;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: auto;
  padding: 0.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  z-index: 999;
  border: #121212 1px solid;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(112, 112, 112, 0.44);
  overflow: scroll;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}

/* ===== INFO/BIO SECTIONS ===== */
.info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem;
}

.profile-pic {
  display: block;
  width: 15vw;
  height: 100%;
  padding-right: 2rem;
}

.bio {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  justify-content: space-around;
  margin: 1rem;
  gap: 3rem;
}

.bio-text-wrapper {
  width: 40vw;
}

#bio-top{
    border-top: #cdcdcd 1px solid;
}

.bio-sections-wrapper {
  display: grid;
  justify-items: center;
  /* align-items: center; */
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  /* border-top: #cdcdcd 1px solid; */
  margin: 2rem;
}

.bio-section-lists {
  display: flex;
  flex-direction: column;
  list-style: none;
  align-items: baseline;
  padding: 0;
  margin: 0;
}

.bio-section-lists a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.2px;
  text-transform: none !important;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
}

.bio-section-lists a:link,
.bio-section-lists a:visited,
.bio-section-lists a:active {
  color: rgba(255, 255, 255, 0.80);
}

.bio-section-lists a:hover {
  text-shadow: 0 0 30px #cdcdcd;
}

.headline-list {
  width: 50%;
}

.list {
  font-family: 'inter';
  width: auto;
  color: rgba(255, 255, 255, 0.80);
}

.project-text {
  width: 70%;
}

.projectinfo-btn.disabled {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== SWIPER ===== */
.swiper {
  width: 100vw;
  height: 100%;
  background: transparent;
  overflow: visible;
  z-index: 1;
  scrollbar-width: none;
}

.swiper::-webkit-scrollbar {
  display: none;
}

.swiper-wrapper {
  height: 100%;
  margin: 0;
  padding: 0;
  will-change: transform;
  scrollbar-width: none;
}

.swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.swiper-slide {
  width: auto !important;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}

.swiper-slide img {
  height: calc(100vh - 80px - 60px);
  width: auto;
  object-fit: contain;
  display: block;
}

.swiper-to-start {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16, 16, 16, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
  display: block;
}

.swiper-to-start:hover {
  background: rgba(255, 255, 255, 1);
}

.swiper-button-next:hover {
  cursor: e-resize;
}

.swiper-button-prev:hover {
  cursor: w-resize;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent-modal {
  position: fixed;
  top: 70vh;
  left: 5%;
  max-width: 400px;
  height: auto;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 8px;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
  overflow: none;
}

.cookie-consent-modal.active {
  opacity: 1;
}

.cookie-content {
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 1.5rem;
}

.cookie-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.80);
}

.cookie-content p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.70);
}

.cookie-content strong {
  color: rgba(255, 255, 255, 0.90);
}

.cookie-content em {
  color: rgba(255, 255, 255, 0.75);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cookie-consent-btn,
.cookie-reject-btn {
  flex: 1;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-consent-btn {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.80);
}

.cookie-consent-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 1);
}

.cookie-reject-btn {
  background: rgba(200, 50, 50, 0.3);
  color: rgba(255, 100, 100, 0.80);
}

.cookie-reject-btn:hover {
  background: rgba(200, 50, 50, 0.5);
  color: rgba(255, 100, 100, 1);
}

/* ===== BURGER MENU (Hidden on Desktop) ===== */
.burger-menu {
  display: none;
}

.burger-line {
  width: 25px;
  height: 2px;
  background-color: rgba(233, 233, 233, 0.8);
  transition: all 0.3s ease;
}

/* Mobile category view - hidden on desktop */
.mobile-category-view {
    display: none;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 1.2rem;
    margin: 0.2rem;
  }

  h2 {
    font-size: 5vw;
    line-height: 90%;
  }

  h3,
  button,
  a {
    font-size: 1.2rem;
  }

  .description h3 {
    font-size: 1.8vh;
    left: 0;
  }

  /* Burger Menu */
  .burger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: fixed;
    top: 7rem;
    right: 15px;
  }

  .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Header & Menu */
  .header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    /* gap: 1rem; */
    margin: 0vh 0px 3vh 0px;
    align-items: center;
    /* background-color: #121212;
    box-shadow: 0px 0px 29px 0px rgba(112, 112, 112, 0.44); */

  }

  .logo{

  }

  .menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 80% !important;
    height: 100vh !important;
    background-color: rgba(18, 18, 18, 0.98) !important;
    backdrop-filter: blur(10px);
    transition: right 0.3s ease !important;
    z-index: 1000 !important;
    padding: 4rem 2rem 2rem 2rem !important;
    overflow-y: auto !important;
  }

  .menu.active {
    right: 0 !important;
  }

  .menu ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 0;
  }

  .menu li {
    display: block !important;
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .menu button {
    width: 100%;
    text-align: left;
    font-size: 1.5rem;
  }

  html {
    overflow-y: auto !important;
  }

  /* Layout - Remove order property */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
  }

  /* Footer - stays at bottom */
  .footer {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex-shrink: 0 !important;
    display: flex;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 1rem 15px 2rem 15px !important;
    gap: 1rem !important;
    padding-top: 1rem !important;
    height: auto !important;
  }

  .right-info {
    width: 100%;
  }

  .mobile-project-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 2rem;
    gap: 1rem;
  }

  .mobile-project-swiper {
    width: 100%;
    height: 60vh;
    margin: 0;
  }

  .mobile-project-name {
    font-size: 1.2rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
  }

  .mobile-category-title {
    font-size: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.9);
  }

  .mobile-category-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10rem 0 0 0;
    text-transform: uppercase;
  }

  .mobile-projects-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 1rem;
    gap: 2rem;
  }

    .project-info-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-height: 70vh !important;
    z-index: 2000 !important;
    display: none !important;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .project-info-modal.active {
    display: block !important;
    opacity: 1;
  }

  .modal-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }
}
@media (min-width: 769px) {
  .mobile-construction-placeholder {
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none !important;
  }
}


