/* HazaDesign.com clean static Dreamweaver rebuild */
:root {
  --page-width: 1240px;
  --text: #181818;
  --muted: #666;
  --rule: #e7e7e7;
  --bg: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rule);
}
.nav-wrap {
  max-width: var(--page-width);
  min-height: 76px;
  padding: 0 28px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .16em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .15em;
  padding: 28px 0 24px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.active { border-bottom-color: #111; }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

.page-head {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 58px 28px 34px;
  text-align: center;
}
.page-head h1 {
  margin: 0;
  font-size: 27px;
  font-weight: 400;
}
.page-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}
.hero-wrap {
  width: 100%;
  position: relative;
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 76px);
  object-fit: cover;
}
.hero-name {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.88);
  padding: 11px 18px;
  font-size: 13px;
  letter-spacing: .18em;
}

/* ART portfolio — fail-safe Wix-style gallery.
   Before JavaScript has image dimensions, a normal CSS grid remains visible.
   After layout is ready, JS adds .wix-layout-ready and uses fixed x/y positions. */
.portfolio-wrap {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 28px 78px;
}

/* FALLBACK: always visible, including file:// and slow image loads */
.portfolio-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.portfolio-item {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f5f5f5;
  box-sizing: border-box;
}

.portfolio-item.is-hidden {
  display: none !important;
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* WIX-STYLE MODE: applied only after JS has successfully computed layout */
.portfolio-grid.wix-layout-ready {
  position: relative;
  display: block;
  min-height: 1px;
}

.portfolio-grid.wix-layout-ready .portfolio-item {
  position: absolute;
}

.portfolio-grid.wix-layout-ready .portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.load-more-wrap {
  padding: 54px 0 0;
  text-align: center;
}
.load-more {
  padding: 18px 34px;
  background: #f4f4f4;
  color: #333;
  border: 1px solid #555;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  cursor: pointer;
}
.load-more:hover { background: #eaeaea; }
.load-more[hidden] { display: none; }
.load-more:disabled { opacity: .55; cursor: default; }

@media (max-width: 800px) {
  .portfolio-grid:not(.wix-layout-ready) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .portfolio-grid:not(.wix-layout-ready) {
    grid-template-columns: 1fr;
  }
}

.design-stack {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px 80px;
  display: grid;
  gap: 40px;
}
.design-stack figure { margin: 0; }
.design-stack img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.logo-grid {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}
.logo-card {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.logo-card img {
  display: block;
  width: 100%;
  max-width: 180px;
  max-height: 110px;
  object-fit: contain;
}
.email-link {
  text-decoration: none;
  border-bottom: 1px solid #bbb;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 25px 20px 36px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: #f3f3f3;
  color: #222;
  overflow: hidden;
  user-select: none;
}
.lightbox.open { display: block; }

.lightbox-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 68px 90px 58px;
}
.lightbox-image {
  display: block;
  max-width: min(82vw, 1200px);
  max-height: calc(100vh - 118px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next,
.lightbox-tool {
  position: absolute;
  z-index: 3;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.lightbox-close {
  top: 22px;
  right: 23px;
  width: 42px;
  height: 42px;
  font-size: 46px;
  font-weight: 200;
  line-height: 36px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 88px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 56px;
  font-weight: 200;
  line-height: 1;
}
.lightbox-prev { left: 7px; }
.lightbox-next { right: 7px; }

.lightbox-tools {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.lightbox-tool {
  position: static;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.lightbox-tool svg,
.lightbox-prev svg,
.lightbox-next svg,
.lightbox-close svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox-favorite.is-favorite svg {
  fill: #333;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: 70vw;
  color: #444;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox-counter {
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: #777;
  font-size: 12px;
  letter-spacing: .05em;
}

.lightbox button:hover { opacity: .62; }
.lightbox button:focus-visible {
  outline: 1px solid #555;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .lightbox-stage { padding: 62px 46px 70px; }
  .lightbox-image {
    max-width: calc(100vw - 92px);
    max-height: calc(100vh - 108px);
  }
  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 70px;
    font-size: 44px;
  }
  .lightbox-tools { gap: 13px; left: 14px; top: 14px; }
  .lightbox-close { right: 11px; top: 13px; }
}

@media (max-width: 800px) {
  .nav-wrap { min-height: 64px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--rule);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 0;
  }
  .site-nav a.active { font-weight: 600; }
  .hero { min-height: auto; }
  .hero img { max-height: none; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .page-head { padding-top: 42px; }
  .page-head h1 { font-size: 23px; }
  .portfolio-wrap { padding-left: 10px; padding-right: 10px; }
  .portfolio-grid { gap: 10px; }
}


/* HAZA-WIX-HOVER-TITLES-START */
.portfolio-item {
  isolation: isolate;
}
.portfolio-hover-ui {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.48);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.portfolio-item:hover .portfolio-hover-ui,
.portfolio-item:focus-within .portfolio-hover-ui {
  opacity: 1;
}
.portfolio-hover-title {
  max-width: 84%;
  padding: 8px 10px;
  color: #fff;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.portfolio-hover-action {
  position: absolute;
  bottom: 12px;
  width: 34px;
  height: 34px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}
.portfolio-hover-favorite { left: 12px; }
.portfolio-hover-share { right: 12px; }
.portfolio-hover-action svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portfolio-hover-favorite.is-favorite svg {
  fill: currentColor;
}
@media (hover: none) {
  .portfolio-hover-ui { display: none; }
}
/* HAZA-WIX-HOVER-TITLES-END */
