/* ============================================================
   portofoliu01.css
   Shortcode portofolio – filtre + card (stânga text / dreapta slider)
   ============================================================ */

/* ── Reset / Base ─────────────────────────────────────────── */
.porto-wrap *,
.porto-wrap *::before,
.porto-wrap *::after {
  box-sizing: border-box;
}

.porto-wrap {
  --blue: #E30001;
  --blue-light: #cf1213;
  --blue-pale:  #e3f0ff;
  --text:       #1a2233;
  --muted:      #5a6a80;
  --border:     #dde4ef;
  --radius:     10px;
  --shadow:     0 2px 16px rgba(21, 101, 192, 0.08);
  --transition: 0.25s ease;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  width: 100%;
}

/* ── Filtre ───────────────────────────────────────────────── */
.porto-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.portofoliu-row > div {
    max-width: 1270px;
    margin: 0 auto !important;
    float: none !important;
    padding: 60px 0;
}
.porto-filter-btn {
  display: inline-block;
  padding: 9px 22px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  outline: none;
  letter-spacing: 0.01em;
}

.porto-filter-btn:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.porto-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── Lista carduri ────────────────────────────────────────── */
.porto-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Card ─────────────────────────────────────────────────── */
.porto-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.porto-card:hover {
  box-shadow: 0 6px 32px rgba(21, 101, 192, 0.13);
  transform: translateY(-2px);
}

/* Card ascuns de filtru */
.porto-card.porto-hidden {
  display: none;
}

/* Card vizibil – animație apariție */
.porto-card.porto-visible {
  animation: portoFadeIn 0.35s ease both;
}

@keyframes portoFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Card inner: 2 coloane ────────────────────────────────── */
.porto-card-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 220px;
}

/* ── Stânga: text ─────────────────────────────────────────── */
.porto-card-left {
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--border);
}

.porto-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.porto-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.porto-title a:hover {
  color: var(--blue);
}

.porto-cats {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.porto-excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.porto-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
  align-self: flex-start;
}

.porto-btn:hover {
  background: var(--blue-light);
  color: #fff;
}

/* ── Dreapta: slider ──────────────────────────────────────── */
.porto-card-right {
  position: relative;
  overflow: hidden;
  background: #f4f7fc;
}

.porto-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
  color: var(--muted);
  font-size: 13px;
}

/* ── Slick slider ─────────────────────────────────────────── */
.porto-slider {
  height: 100%;
}

/* Slick track & slide la înălțimea cardului */
.porto-slider .slick-list,
.porto-slider .slick-track {
  height: 100%;
}

.porto-slide {
  height: 100%;
  overflow: hidden;
}

.porto-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
  max-height: 320px;
  border: 5px solid transparent;
}

/* ── Săgeți custom Slick ──────────────────────────────────── */
.porto-slider .slick-prev,
.porto-slider .slick-next {
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background var(--transition), box-shadow var(--transition);
}

.porto-slider .slick-prev {
  left: 10px;
}

.porto-slider .slick-next {
  right: 10px;
}

.porto-slider .slick-prev:hover,
.porto-slider .slick-next:hover {
  background: var(--blue);
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.25);
}

.porto-slider .slick-prev::before,
.porto-slider .slick-next::before {
  font-size: 16px;
  color: var(--text);
  line-height: 1;
  transition: color var(--transition);
}

.porto-slider .slick-prev:hover::before,
.porto-slider .slick-next:hover::before {
  color: #fff;
}

/* Dots (opțional – dezactivat implicit, activat din JS dacă vrei) */
.porto-slider .slick-dots {
  bottom: 8px;
}

.porto-slider .slick-dots li button::before {
  color: #fff;
  opacity: 0.6;
  font-size: 8px;
}

.porto-slider .slick-dots li.slick-active button::before {
  opacity: 1;
  color: #fff;
}

/* ── Mesaj fără rezultate ─────────────────────────────────── */
.porto-no-results-msg {
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  display: none;
}

.porto-no-results-msg.visible {
  display: block;
}

/* ── Responsive ───────────────────────────────────────────── */
@media ( max-width: 900px ) {
  .porto-card-inner {
    grid-template-columns: 1fr;
  }

  .porto-card-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 22px 20px;
  }

  .porto-card-right {
    min-height: 220px;
  }

  .porto-slide img {
    max-height: 260px;
    min-height: 180px;
  }
}

@media ( max-width: 600px ) {
  .porto-filter-btn {
    padding: 7px 14px;
    font-size: 13px;
  }

  .porto-title {
    font-size: 17px;
  }
}



.porto-wrap button.slick-prev.slick-arrow, .porto-wrap button.slick-next.slick-arrow {
    font-size: 0;
    padding: 0 12px;
    background: transparent;
    border: 0 !important;
    line-height: 1;
    outline: 0;
    top: 42%;
    margin: 0 10px;
    width: 35px;
    height: 35px;
    background: #24ABC4;
    text-align: center;
    line-height: 38px;
    border-radius: 5px;
    font-size: 13px;
    color: transparent;
    cursor: pointer;
    background: var(--blue);
}

.porto-wrap button.slick-prev.slick-arrow::before, .porto-wrap button.slick-next.slick-arrow::before {
    font-size: 22px;
    font-family: FontAwesome;
    color: #fff;
    position: relative;
    text-align: ce;
}

.porto-wrap button.slick-prev.slick-arrow::before {
    content: '\f104';
}

.porto-wrap button.slick-next.slick-arrow::before {
    content: '\f105';
}

.portofoliu-row0 > div {
    max-width: 1270px;
    margin: 0 auto !important;
    float: none !important;
    padding: 300px 0 150px;
    text-align: center;
}

.portofoliu-row0 {
    background-size: cover;
    background-position: center;
}

.portofoliu-row0 > div h2 {
    text-align: right;
    color: #fff;
    margin-top: 0;
    font-family: 'Anton', Arial;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 42px;
    text-align: left;
    font-weight: 500;
    /* max-width: 540px; */
    margin-bottom: 20px;
    text-align: center;
}

.portofoliu-row0 > div h2 + p {
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
}