/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@font-face {
  font-family: 'Eina 01';
  src: url('../fonts/Eina01-Regular.woff2') format('woff2'),
       url('../fonts/Eina01-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


body {
  font-family: 'Eina 01', sans-serif;
  color: #002a0d;
  background-color: #F2F0EF;
}

/* Spațiu mai mare sub navbar pe mobil */
@media (max-width: 768px) {
  .section {
    padding-top: 60px;
  }
}

/* ===== Mobile (default) ===== */

.text-titlu {
  letter-spacing: 2px;
  line-height: 1.4;
  font-size: 0.8rem;
  font-weight: 300;
}

.text-spatiat {
  letter-spacing: 1.5px;
  line-height: 1.4;
  font-size: 0.55rem;
}


/* ===== Desktop ===== */

@media (min-width: 992px) {

  .text-titlu {
    font-size: 0.7rem;
    letter-spacing: 5px;
  }

  .text-spatiat {
    font-size: 0.55rem;
    letter-spacing: 4px;
  }

}

.page-title-brand {
  font-size: 1.6rem;
  letter-spacing: 5px;
}
.portfolio-spacing {
  margin-bottom: 6rem; /* ajustează după gust */
}

.scaled-image {
  width: 100%;
  max-width: 400px;   /* ajustezi: 600–800px în funcție de cum arată pe laptop */
  height: auto;
  display: block;
  margin: 0 auto;

}


.separator {
  height: 4rem;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 48px;
  height: 48px;
  background: #F2F0EF;
  color: gray;
  border-radius: 50%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  border: 2px solid gray;

  display: flex;
  align-items: center;
  justify-content: center;
}

@supports (-webkit-touch-callout: none) {
  .back-to-top i {
    font-size: 22px;
    margin-top: 1px;
  }
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top i {
  font-size: 24px;
}

@media (max-width: 576px) {
  .burger {
    right: 16px;
  }

  .text-spatiat {
    font-size: 80% !important;
  }  
}

@media (max-width: 768px) {
  .scaled-image {
    max-width: 100%;
  }

  .sticky-content {
    max-width: 100%;
  }
}

a {
  color: #777;
  text-decoration: none;
}

a:hover {
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: "Eina 01", sans-serif;
}

.section {
  padding: 2rem 0;
}

.filters a {
  text-decoration: none;
  color: #000;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;
}

.filters a:hover:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.filters a.active {
  color: #000;
}

.filters a.active:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

/* Portfolio filters (horizontal) */
.portfolio-filters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.portfolio-filters li {
  margin: 0;
}

.portfolio-filters a {
  text-decoration: none;
  color: #6c757d; /* exact ca text-muted in Bootstrap*/
  padding: 6px 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.portfolio-filters a:hover {
  color: #000;
}

.portfolio-filters a.active {
  color: #000;
  font-weight: 600;
}

.item {
  border: none;
  margin-bottom: 30px;
}

.item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}

.item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.item .item-wrap img {
  transition: 0.3s transform ease;
  transform: scale(1);
}

.item .item-wrap>.work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  z-index: 3;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  margin-top: 20px;
  transition: 0.3s all ease;
}

.item .item-wrap>.work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .item-wrap>.work-info span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.item .item-wrap:hover {
  text-decoration: none;
}

.item .item-wrap:hover img {
  transform: scale(1.05);
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .item-wrap:hover .work-info {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

.testimonial-wrap {
  padding: 50px 50px 80px 50px;
  background: #eceff2;
}

.testimonial-wrap .testimonial {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.testimonial-wrap .testimonial img {
  border-radius: 50%;
  width: 120px;
  margin: 0 auto 30px auto;
}

.testimonial-wrap .testimonial blockquote p {
  font-size: 20px;
}

.h3 {
  font-size: 20px;
}

.h4 {
  font-size: 16px;
}

.heading {
  font-size: 28px;
}

.readmore {
  display: inline-block;
  border: 1px solid #000;
  padding: 10px 15px;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  transition: 0.2s all ease;
  font-weight: 700;
}

.readmore:active,
.readmore:focus,
.readmore:hover {
  outline: none;
}

.readmore:hover {
  color: #fff;
  text-decoration: none;
  background: #000;
}

.testimonials-slider .swiper-pagination {
  margin-top: -60px;
  position: relative;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(13, 30, 45, 0.3);
  opacity: 1;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(13, 30, 45, 0.6);
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 2px;
  background: #000;
}

.form-control {
  border-radius: 0;
  background: #f8f9fa;
  border: 1px solid transparent;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.form-control:active,
.form-control:focus {
  background: #eff1f4;
  outline: none;
  box-shadow: none;
  border: 1px solid transparent;
}

.custom-progress {
  height: 7px;
  border-radius: 0;
}

.custom-progress .progress-bar {
  background: #000;
}

/* Services */
.services i {
  font-size: 40px;
}

.services h4 {
  padding-top: 10px;
}

.cta-compact { padding: 3rem 0; }
.cta-compact p { letter-spacing: 4px; color: #444; margin-bottom: .75rem; }
.btn-cta { display:inline-block; padding: .85rem 1.3rem; border:2px solid #000; color:#000; background:#fff; text-transform:uppercase; letter-spacing:2px; transition:all .2s; }
.btn-cta:hover { background:#000; color:#fff; text-decoration:none; }

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* Custom Navmenu */
.custom-navmenu {
  /* slide-in menu from the right */
  position: fixed;
  top: 0;
  right: 0;
  height: auto; /* size to content height */
  max-height: calc(100vh - 2rem); /* cap to viewport with slight padding */
  width: 240px;
  max-width: 85%;
  transform: translateX(100%);
  transition: transform 0.28s ease-in-out;
  z-index: 1040;
  overflow-y: auto; /* allow scrolling only if content exceeds max-height */
  background-color: #F2F0EF;
  color: #000;
  box-shadow: -6px 0 18px rgba(0,0,0,0.08);
  padding-top: 1.25rem;
}

.custom-navmenu.show {
  transform: translateX(0);
}

/* Avoid the burger (close X) overlapping the first menu items on wide screens */
@media (min-width: 992px) {
  .custom-navmenu {
    padding-top: 4rem; /* leave space for the top-right burger */
  }
}

.custom-navmenu .custom-menu,
.custom-navmenu .custom-menu li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-navmenu .custom-menu li {
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.custom-navmenu .custom-menu li a {
  color: black;
  font-family: 'Eina 01', sans-serif;
  padding: 20px 10px !important;
  white-space: nowrap;
}

.custom-navmenu .custom-menu li a:hover {
  color: #333;
  text-decoration: none;
}

.custom-navmenu .custom-menu li.active a {
  text-decoration: underline;
}

.custom-navmenu h3 {
  font-family: "Georgia", serif;
  font-size: 20px;
  color: black;
}

.custom-navmenu p {
  font-family: "Georgia", serif;
  color: black;
}

.custom-navmenu a {
  color: black;
}

.custom-navmenu a:hover {
  color: black;
}

/* CTA button styling to match the site's light-grey shape */
.btn-cta {
  display: inline-block;
  background: #f8f9fa; /* same soft grey used elsewhere */
  color: #000;
  padding: .6rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 2px;
  transition: background .15s ease, color .15s ease;
}
.btn-cta:hover,
.btn-cta:focus {
  background: #e9e9e9;
  color: #000;
  text-decoration: none;
}

.tweet,
.tweet .bi {
  color: #000;
}

/* Custom Navbar */
.custom-navbar {
  padding-top: 50px;
  width: 100%;
}

@media (max-width: 780px) {
  .custom-navbar>.container {
    padding-right: 0;
    padding-left: 0;
  }
}

.custom-navbar .navbar-brand {
  font-size: 1.8rem;
}


/* Burger */
.burger {
  width: 28px;
  height: 32px;
  cursor: pointer;
  position: relative;

  z-index: 1060; /* keep the toggler above the slide-in menu */
}

.burger:before,
.burger span,
.burger:after {
  width: 100%;
  height: 2px;
  display: block;
  background: #000;
  border-radius: 2px;
  position: absolute;
  opacity: 1;
}

.burger:before,
.burger:after {
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  content: "";
}

.burger:before {
  top: 4px;
}

.burger span {
  top: 15px;
}

.burger:after {
  top: 26px;
}

/* Hover */
.burger:hover:before {
  top: 7px;
}

.burger:hover:after {
  top: 23px;
}

/* Click */
.burger.active span {
  opacity: 0;
}

.burger.active:before,
.burger.active:after {
  top: 40%;
}

.burger.active:before {
  transform: rotate(45deg);
}

.burger.active:after {
  transform: rotate(-45deg);
}

.burger:focus {
  outline: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
}

.footer a {
  color: #000;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social a {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #F2F0EF;
  position: relative;
  text-align: center;
  color: #0d1e2d;
}

.social a span {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social a:hover {
  color: #000;
}



.cta-section {
  margin: 80px 0 60px;
}

.cta-link {
  border: 1px solid #000;
  padding: 8px 16px;
}


.bio-text {
  font-size: 1.2rem; /* Poți ajusta: 1.25rem, 18px, etc. */
  line-height: 1.6;
}

/* CV Exhibitions alignment */
.exhibitions-section, .education-section {
  text-align: right;
}


.carousel-text p {
    font-size: 0.7rem;
    color: #666;
}

/* minimalist (stil galerie) */
.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #111;
    transition: opacity 0.3s ease;
}

.nav-arrow:hover {
    opacity: 0.4;
}

.carousel-counter {
    font-size: 11px;
    letter-spacing: 2px;
    color: #666;
}

.carousel-item {
    transition: transform 1.2s ease-in-out;
}

/* ===== Desktop Only ===== */
@media (min-width: 992px) {

    #carouselExampleCaptions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #carouselExampleCaptions .carousel-inner {
        max-height: 75vh;
    }

    #carouselExampleCaptions .carousel-item {
        height: 75vh;
    }

    #carouselExampleCaptions .carousel-item img {
        height: 100%;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }
}

/* ===== mobile ===== */
@media (max-width: 768px) {
  #carouselExampleCaptions {
    margin-top: 60px;
  }
}


.portfolio-item {
    opacity: 1;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-item.hide {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
    margin: 0;
}

.portfolio-item img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.portfolio-filters {
    list-style: none;
    padding: 0;
}

.portfolio-filters li {
    display: inline-block;
    margin-left: 20px;
}


.contact-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-page #main {
  flex: 1;
}

.contact-page .section {
  padding-top: 80px;
}

.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-page #main {
  flex: 1;
}