﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@300;400;500;600&family=Noto+Serif+Georgian:wght@300;400;500;600&display=swap');
/* ============================================================
   NASAKHI — Project Detail Page
   project-detail.css
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #0D0D0B;
  color: #EDE8DF;
  font-family: 'Noto Sans Georgian', 'Work Sans', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* --- Header / Nav ------------------------------------------ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(13,13,11,.96);
  border-color: #2A2A25;
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: #EDE8DF;
  letter-spacing: -.02em;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  position: relative;
  z-index: 2;
}

.nav-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Noto Sans Georgian', 'Work Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: #EDE8DF; opacity: .85;
  display: flex; align-items: center; gap: 6px;
  transition: opacity .2s;
  position: relative;
  z-index: 2;
}

.nav-btn a,
.nav-anchor { color: inherit; text-decoration: none; }
.nav-btn:hover { opacity: 1; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px); left: 0;
  background: #141410;
  border: 1px solid #2A2A25;
  min-width: 220px;
  padding: 8px 0;
  z-index: 10;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }

.dropdown-link {
  display: block;
  padding: 10px 24px;
  font-size: 12px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: #8A8578; text-decoration: none;
  transition: color .15s;
}

.dropdown-link:hover { color: #C4955A; }

.lang-btn {
  background: none;
  border: 1px solid #2A2A25;
  cursor: pointer;
  font-family: 'Noto Sans Georgian', 'Work Sans', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em;
  color: #8A8578;
  padding: 5px 12px;
  transition: border-color .2s, color .2s;
}

.lang-btn:hover { border-color: #C4955A; color: #C4955A; }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; color: #EDE8DF; padding: 8px;
}

.mobile-menu {
  display: none;
  background: #141410;
  border-top: 1px solid #2A2A25;
  padding: 24px 40px 32px;
}

.mobile-menu.open { display: block; }

.mobile-menu > a,
.mobile-nav-group {
  display: block;
  border-bottom: 1px solid #2A2A25;
}

.mobile-menu a,
.mobile-toggle {
  display: block;
  padding: 14px 0;
  font-size: 14px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: #EDE8DF; text-decoration: none;
}

.mobile-toggle {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Noto Sans Georgian', 'Work Sans', sans-serif;
  cursor: pointer;
}

.mobile-toggle svg {
  transition: transform .2s ease;
  color: #8A8578;
}

.mobile-nav-group.open .mobile-toggle svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  padding: 0 0 10px;
}

.mobile-nav-group.open .mobile-submenu {
  display: block;
}

.mobile-submenu a {
  padding: 10px 0 10px 18px;
  color: #8A8578;
  letter-spacing: .08em;
  border-bottom: none;
}

.mobile-submenu a:last-child {
  padding-bottom: 14px;
}

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .hamburger { display: block; }
}

/* --- Main -------------------------------------------------- */
.main-wrap { padding-top: 72px; }

/* --- Detail Hero ------------------------------------------- */
.detail-hero {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-bottom: 1px solid #2A2A25;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 13, 11, 0.96),
    rgba(13, 13, 11, 0.58) 52%,
    rgba(13, 13, 11, 0.2)
  );
}

.detail-hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

@media (min-width: 640px) {
  .detail-hero-inner { padding: 24px 40px; }
}

.detail-back {
  position: relative;
  bottom: 35px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  color: #C4955A;
  font-size: 24px;
  transition: color 0.2s;
  text-decoration: none;
}

.detail-back::before { content: "უკან"; }

.detail-back:hover { color: #EDE8DF; }

.detail-hero-text { max-width: 896px; }

.detail-title {
  font-family: 'Noto Serif Georgian', 'Fraunces', serif;
  font-size: clamp(4rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: #EDE8DF;
  margin-top: 25px;
}
@media (max-width: 640px) {
  .detail-title{ font-size: 45px; }
}

.detail-subtitle {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B6B0A6;
}

/* --- Detail Body ------------------------------------------- */
.detail-body {
  max-width: 1400px;
  margin: 0 auto;
  border-left: 1px solid #2A2A25;
  border-right: 1px solid #2A2A25;
  display: grid;
}

@media (min-width: 1024px) {
  .detail-body { grid-template-columns: 4fr 8fr; }
}

/* --- Profile (left column) --------------------------------- */
.detail-profile {
  padding: 48px 20px;
  border-bottom: 1px solid #2A2A25;
}

@media (min-width: 640px) {
  .detail-profile { padding: 48px 40px; }
}

@media (min-width: 1024px) {
  .detail-profile {
    padding: 64px 40px;
    border-bottom: none;
    border-right: 1px solid #2A2A25;
  }
}

.profile-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C4955A;
}

.profile-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  font-size: 14px;
}

.profile-row {
  border-bottom: 1px solid #2A2A25;
  padding-bottom: 16px;
}

.profile-row dt {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A8578;
}

.profile-row dd {
  margin-top: 8px;
  font-weight: 300;
  color: #EDE8DF;
}

/* --- Gallery (right column) -------------------------------- */
.detail-gallery {
  padding: 48px 20px;
}

@media (min-width: 640px) {
  .detail-gallery { padding: 48px 40px; }
}

@media (min-width: 1024px) {
  .detail-gallery { padding: 64px 40px; }
}

.gallery-grid {
  display: grid;
  gap: 1px;
  background: #2A2A25;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Gallery Item ------------------------------------------ */
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #141410;
  border: 0;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  text-align: left;
}

/* First image spans full width and is shorter (16:8 ratio) */
.gallery-item--wide {
  aspect-ratio: 16 / 8;
}

@media (min-width: 640px) {
  .gallery-item--wide { grid-column: span 2; }
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.02);
  filter: grayscale(0);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 11, 0);
  transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(13, 13, 11, 0.2);
}

.gallery-expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  border: 1px solid rgba(237, 232, 223, 0.35);
  background: rgba(13, 13, 11, 0.75);
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EDE8DF;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-expand { opacity: 1; }

/* --- Lightbox ---------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 13, 11, 0.95);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@media (min-width: 640px) {
  .lightbox { padding: 40px; }
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid rgba(237, 232, 223, 0.3);
  background: rgba(13, 13, 11, 0.8);
  padding: 12px 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EDE8DF;
  transition: border-color 0.2s, color 0.2s;
  z-index: 10;
}

@media (min-width: 640px) {
  .lightbox-close { top: 40px; right: 40px; }
}

.lightbox-close:hover { border-color: #C4955A; color: #C4955A; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(237, 232, 223, 0.3);
  background: rgba(13, 13, 11, 0.8);
  padding: 12px 16px;
  font-size: 20px;
  color: #EDE8DF;
  transition: border-color 0.2s, color 0.2s;
  z-index: 10;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (min-width: 640px) {
  .lightbox-prev { left: 40px; }
  .lightbox-next { right: 40px; }
}

.lightbox-prev:hover,
.lightbox-next:hover { border-color: #C4955A; color: #C4955A; }
@font-face {
  font-family: 'BPG Nino Mtavruli';
  src: url('../fonts/bpg-nino-mtavruli-normal.otf') format('opentype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

body,
body * {
  font-family: 'BPG Nino Mtavruli', sans-serif !important;
}

.logo-name {
  font-family: 'Fraunces', serif !important;
}






