/* =====================================================
   RESET
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-block: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #f4f1eb;
  color: #222222;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

/* =====================================================
   HEADER
===================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 5vw;
  color: #ffffff;
}

/* LOGO */
.logo {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.logo .logo-main {
  font-size: 29px;
}
.logo .logo-sub {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* NAV */
.main-nav {
  display: flex;
  gap: 36px;
}
.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.main-nav a:hover, .main-nav a.active {
  color: #ffffff;
}
.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}

/* MOBILE BUTTON */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 9px;
  width: 24px;
  height: 1px;
  background: #ffffff;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-toggle span:first-child {
  top: 16px;
}
.menu-toggle span:last-child {
  top: 24px;
}

/* =====================================================
   HERO
===================================================== */
.gallery-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111111;
  color: #ffffff;
  background: linear-gradient(90deg, #29a6dc 0%, rgb(0, 0, 0) 100%);
}

/* HERO IMAGE */
.hero-overlay {
  position: absolute;
  inset: 0;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 90%);
  margin: 0 auto;
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.eyebrow.dark {
  color: #777777;
}

.hero-content h1 {
  max-width: 800px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(52px, 7vw, 105px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-content h1 em,
.gallery-cta h2 em {
  color: #b89b68;
  font-style: normal;
}

/* HERO BUTTON */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 21px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-button span {
  font-size: 19px;
  color: #29a6dc;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-button:hover {
  color: #111111;
  background: #29a6dc;
}
.cta-button:hover span {
  transform: translateY(4px);
}

.container {
  display: flex;
  justify-content: flex-end;
}

/* =====================================================
   GALLERY SECTION
===================================================== */
.gallery-section {
  width: min(1400px, 90%);
  margin: 0 auto;
  padding: 13px 0px;
}

/* HEADER */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 35px;
}
.gallery-header h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.gallery-intro {
  max-width: 350px;
  margin: 0;
  color: #777777;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* =====================================================
   FILTERS
===================================================== */
.filters {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 38px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  justify-content: center;
}

.filter {
  padding: 11px 18px;
  color: #777777;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.filter::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-right: 0;
  background: currentColor;
  vertical-align: middle;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.filter:hover {
  color: #222222;
}
.filter.active {
  color: #111111;
  letter-spacing: 1.5px;
  font-weight: bolder;
  border-bottom: 1px black solid;
}

/* =====================================================
   META
===================================================== */
.gallery-meta-all {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.gallery-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #777777;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.gallery-meta strong {
  color: #222222;
  font-weight: 700;
}

.project-many {
  text-align: center;
  background: #f4f1eb;
  border: none;
  border-bottom: 1px solid #111111;
}

/* =====================================================
   MASONRY GRID
===================================================== */
.gallery-grid {
  -moz-column-count: 4;
       column-count: 4;
  -moz-column-gap: 22px;
       column-gap: 22px;
}

/* CARD */
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 22px;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  overflow: hidden;
  background: #111111;
  cursor: pointer;
  opacity: 0;
  transform: translateY(35px);
  animation: cardReveal 0.8s forwards;
}
.gallery-card img {
  width: 100%;
  height: auto;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.gallery-card:hover img {
  transform: scale(1.045);
  opacity: 0.75;
}
.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}
.gallery-card:hover .gallery-card-number {
  transform: translateY(0);
  opacity: 1;
}

.divContainer {
  display: none;
}

.spiner_show {
  display: block;
}

.spiner_off {
  display: none;
}

.listki {
  box-sizing: border-box;
  display: block;
  width: 3px;
  height: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(#29a6dc 0%, #f4f1eb 100%);
  transform-origin: center 20px;
  z-index: 100;
}

.listek1 {
  rotate: 0deg;
  animation: list 1.5s infinite;
  -webkit-animation: list 1.5s infinite;
}

.listek2 {
  animation: list 1.5s infinite 0.15s;
  rotate: 36deg;
}

.listek3 {
  rotate: 72deg;
  animation: list 1.5s infinite 0.3s;
}

.listek4 {
  animation: list 1.5s infinite 0.45s;
  rotate: 108deg;
}

.listek5 {
  rotate: 144deg;
  animation: list 1.5s infinite 0.6s;
}

.listek6 {
  rotate: 180deg;
  animation: list 1.5s infinite 0.75s;
}

.listek7 {
  rotate: 216deg;
  animation: list 1.5s infinite 0.9s;
}

.listek8 {
  animation: list 1.5s infinite 1.05s;
  rotate: 252deg;
}

.listek9 {
  rotate: 288deg;
  animation: list 1.5s infinite 1.2s;
}

.listek10 {
  rotate: 324deg;
  animation: list 1.5s infinite 1.35s;
}

@keyframes list {
  0% {
    background: #111111;
  }
  1% {
    background: #111111;
  }
  50% {
    background: linear-gradient(#29a6dc 0%, #f4f1eb 100%);
  }
  51% {
    background: linear-gradient(#29a6dc 0%, #f4f1eb 100%);
  }
  100% {
    background: #111111;
  }
}
/* OVERLAY */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* INFO */
.gallery-card-info {
  color: #ffffff;
  transform: translateY(12px);
  opacity: 0;
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-card-info span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gallery-card-info h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

/* NUMBER */
.gallery-card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  opacity: 0;
  transform: translateY(-8px);
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================
   CTA
===================================================== */
.gallery-cta {
  position: relative;
  padding: 150px 5vw;
  background: #111111;
  color: #ffffff;
  overflow: hidden;
}
.gallery-cta::before {
  content: "AdiBau";
  position: absolute;
  right: 40px;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.08);
  font-family: "Manrope", sans-serif;
  font-size: 240px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.cta-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.gallery-cta h2 {
  margin: 0 0 45px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(45px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.065em;
}

/* =====================================================
   LIGHTBOX
===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 85vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 22px;
  color: #ffffff;
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.45);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.lightbox-counter span {
  display: inline;
  margin: 0;
  color: #ffffff;
}

/* CLOSE */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 35px;
  z-index: 4;
  width: 50px;
  height: 50px;
}
.lightbox-close span {
  position: absolute;
  left: 13px;
  width: 25px;
  height: 1px;
  background: #ffffff;
}
.lightbox-close span:first-child {
  transform: rotate(45deg);
}
.lightbox-close span:last-child {
  transform: rotate(-45deg);
}

/* ARROWS */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 65px;
  height: 65px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 25px;
  transform: translateY(-50%);
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox-arrow:hover {
  background: #ffffff;
  color: #111111;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-arrow-disabled {
  display: none;
}

/* =====================================================
   MOBILE MENU
===================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  padding: 30px;
  background: linear-gradient(90deg, #29a6dc 0%, rgb(0, 0, 0) 100%);
  color: #ffffff;
  transform: translateX(100%);
  transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu a {
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.mobile-menu.active {
  transform: translateX(0);
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes loading {
  from {
    opacity: 0.2;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-4px);
  }
}
/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1000px) {
  .gallery-grid {
    -moz-column-count: 2;
         column-count: 2;
  }
  .main-nav {
    gap: 22px;
  }
  .hero-scroll {
    display: none;
  }
  .lightbox-arrow {
    width: 50px;
    height: 50px;
  }
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 22px 6vw;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-content {
    padding-top: 60px;
  }
  .hero-content h1 {
    font-size: clamp(48px, 15vw, 75px);
  }
  .hero-description {
    font-size: 14px;
  }
  .gallery-section {
    width: 88%;
    padding: 10px 0;
  }
  .gallery-header {
    display: block;
    margin-bottom: 25px;
  }
  .gallery-header h2 {
    margin-bottom: 25px;
  }
  .gallery-intro {
    max-width: 100%;
  }
  .filters {
    gap: 1px;
  }
  .filter {
    padding: 2px 5px;
  }
  .gallery-grid {
    -moz-column-count: 1;
         column-count: 1;
  }
  .gallery-card {
    margin-bottom: 15px;
  }
  .gallery-card-overlay {
    opacity: 1;
  }
  .gallery-card-info {
    opacity: 1;
    transform: translateY(0);
  }
  .gallery-card-number {
    opacity: 1;
    transform: translateY(0);
  }
  .gallery-cta {
    padding: 100px 8vw;
  }
  .gallery-cta::before {
    font-size: 100px;
  }
  .lightbox {
    padding: 20px;
  }
  .lightbox-content {
    width: 100%;
  }
  #lightbox-image {
    max-height: 70vh;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
  }
  .lightbox-arrow {
    top: auto;
    bottom: 25px;
    transform: none;
  }
  .lightbox-prev {
    left: 20px;
  }
  .lightbox-next {
    right: 20px;
  }
  .lightbox-caption {
    padding-bottom: 75px;
  }
}
/* =====================================================
   REDUCED MOTION
===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}/*# sourceMappingURL=galeria.css.map */