/* ── th-banner (copertă Tiny Houses, întunecare ușoară pt lizibilitate) ── */
.th-banner {
  min-height: 460px;
  padding-top: 80px;
  background: url(/img/app/portfolio/tiny-houses/cover.jpg) no-repeat center 32%;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 54px; }

.th-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 10, 4, 0.22) 0%,
    rgba(20, 10, 4, 0.38) 100%
  ); }

.th-banner .container { position: relative; z-index: 1; }

.th-banner-supra {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F7F2EB;
  margin-bottom: 14px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }

.th-banner h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.15em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }

.th-banner-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  max-width: 580px;
  line-height: 1.65em;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }

@media (max-width: 767px) {
  .th-banner { min-height: 280px; padding-bottom: 34px; }
  .th-banner h1 { font-size: 30px; } }

/* ── th-portfolio-label (eticheta "Portofoliu" de deasupra grilei) ── */
.th-portfolio-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B7A3A;
  text-align: center;
  margin: 0 0 14px 0; }

.category-description {
  margin-bottom: 50px;
  font-size: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto; }

.category-line {
  margin-bottom: 50px; }

.category-projects {
  margin-bottom: 40px; }

.category-project {
  margin-bottom: 40px;
  padding-right: 50px; }

.category-project-cnt {
  margin-top: 10px; }

.category-project-line {
  height: 2px;
  background: #cacaca;
  width: 50px;
  margin-top: 10px; }

/* ── th-portfolio-modular (reduce padding-top al .section global,
   ca sa nu se adune cu padding-ul bării th-tour de deasupra) ── */
.th-portfolio-modular { padding-top: 40px; }

/* ── th-tour (bară bej, turneul Food Truck Fergus) ──────────── */
.th-tour {
  background: #EDE5D8;
  padding: 60px 0; }

.th-tour-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #2C1A0E;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.3em; }

/* galerie continua (model: enipau.ro/en/about-us "Project Gallery"): poze
   verticale mari, derulare orizontala, poza "din fata" = cea din stanga,
   titlul apare peste ea; liniute + sageti dedesubt.
   JS: public/js/app/tiny-houses-tour-slider.js */
.th-tour-slider {
  position: relative;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch; }

.th-tour-slider::-webkit-scrollbar { display: none; }

/* spatiu la final, ca si ultima poza sa poata ajunge "in fata" (in stanga) */
.th-tour-slider::after {
  content: "";
  flex: 0 0 calc(100% - 450px - 20px); }

.th-tour-item {
  position: relative;
  flex: 0 0 450px;
  height: 600px;
  scroll-snap-align: start;
  overflow: hidden; }

.th-tour-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer; }

.th-tour-item.is-active .th-tour-link { cursor: zoom-in; }

.th-tour-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease; }

.th-tour-item:not(.is-active) .th-tour-link:hover .th-tour-photo { transform: scale(1.03); }

.th-tour-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 4, 0.78) 0%, rgba(20, 10, 4, 0) 50%);
  opacity: 0;
  transition: opacity 0.5s ease; }

.th-tour-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease; }

.th-tour-item.is-active .th-tour-overlay { opacity: 1; }

.th-tour-item.is-active .th-tour-caption {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s; }

.th-tour-caption-main {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #F7F2EB;
  line-height: 1.15em; }

.th-tour-caption-sub {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 235, 0.8);
  margin-top: 6px; }

/* liniute (unde ai ajuns / cate mai sunt) + sageti */
.th-tour-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px; }

.th-tour-dots {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0; }

.th-tour-dot {
  flex: 0 1 90px;
  height: 23px;
  padding: 10px 0;
  border: 0;
  background-color: rgba(44, 26, 14, 0.2);
  background-clip: content-box;
  cursor: pointer;
  transition: background-color 0.3s ease; }

.th-tour-dot:hover { background-color: rgba(44, 26, 14, 0.45); }

.th-tour-dot.is-active { background-color: #2C1A0E; }

.th-tour-dot:focus { outline: none; }

.th-tour-dot:focus-visible { outline: 2px solid #6B7A3A; outline-offset: 2px; }

.th-tour-arrows {
  display: flex;
  gap: 10px;
  flex: 0 0 auto; }

.th-tour-arrow {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(44, 26, 14, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease; }

.th-tour-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: solid #2C1A0E;
  border-width: 0 2px 2px 0; }

.th-tour-prev::before { transform: translate(-30%, -50%) rotate(135deg); }

.th-tour-next::before { transform: translate(-70%, -50%) rotate(-45deg); }

.th-tour-arrow:hover:not(:disabled) {
  border-color: #2C1A0E;
  background-color: rgba(44, 26, 14, 0.06); }

.th-tour-arrow:disabled {
  opacity: 0.3;
  cursor: default; }

@media (min-width: 768px) and (max-width: 991px) {
  .th-tour-item { flex-basis: 360px; height: 480px; }
  .th-tour-slider::after { flex-basis: calc(100% - 360px - 20px); } }

@media (max-width: 767px) {
  .th-tour { padding: 44px 0; }
  .th-tour-title { font-size: 24px; margin-bottom: 28px; }
  .th-tour-slider { gap: 12px; }
  .th-tour-item { flex-basis: 78%; height: auto; aspect-ratio: 3 / 4; }
  .th-tour-slider::after { flex-basis: calc(22% - 12px); }
  .th-tour-caption { padding: 18px 16px 20px; }
  .th-tour-caption-main { font-size: 22px; }
  .th-tour-nav { margin-top: 18px; gap: 14px; }
  .th-tour-dots { gap: 6px; }
  .th-tour-arrow { width: 40px; height: 40px; } }

/* ── tour-lightbox (vizualizare poze turneu, mărite) ────────── */
.tour-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 4, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 60px; }

.tour-lightbox.is-open { display: flex; }

.tour-lightbox img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5); }

.tour-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F7F2EB;
  font-family: "DM Sans", sans-serif;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(247, 242, 235, 0.4);
  border-radius: 50%;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease; }

.tour-lightbox-close:hover {
  background: rgba(247, 242, 235, 0.12);
  border-color: rgba(247, 242, 235, 0.8); }

@media (max-width: 767px) {
  .tour-lightbox { padding: 20px 16px; }
  .tour-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; } }

/*# sourceMappingURL=../../maps/app/portfolio/category.css.map */
