#heroImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    opacity: 0.7;
}
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.hero-writing{
    font-size: 90px;
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-weight: bold;
}
.aboutHeadingLanding{
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
}

/* === SECȚIUNE PROIECTE + INFO === */
.projects-info-section {
    background: #ffffff;
    padding: 80px 20px;
    text-align: center;
    
}
.projects-info-section .container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.projects-title {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 700;
    color: #222;
    position: relative;
    margin: 0 auto;
}

.projects-title::after {
    content: "";
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #790000, #ff3f3f);
    display: block;
    margin: 20px auto 0 auto;
    border-radius: 4px;
}

/* LISTA PROIECTE */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* CARDURI PROIECT */
.project-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;

    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}

.project-left {
    flex: 1;
    overflow: hidden;
}

.project-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-left img {
    transform: scale(1.05);
}

.project-right {
    flex: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start !important; /* elementele la stânga */
    justify-content: flex-start !important;
}

.project-right h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #222;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: left !important;
}

.project-right p {
    text-align: left !important;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    align-items: st;
}

.project-info-strip {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #790000;
}

.project-info-strip i {
    margin-right: 6px;
}

/* CARDURI INFO */
.intro-zigzag {
    display: flex;
    gap: 40px;
    max-width: 1200px;   /* 🔑 cheia */
    margin: 0 auto;      /* 🔑 centrare */
    padding: 0 20px;     /* safety pe ecrane mai mici */
}

.intro-card {
    flex: 1;
    min-width: 0;
    background-color: white;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-top: 20px;
}


.intro-card.left,
.intro-card.right {
    flex: 1 1 48%;
    max-width: 48%;
    background-color: white;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.intro-card h3 {
    font-size: 14px;
    color: #790000;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.intro-card h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 15px;
}

.intro-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}



.project-left{
  overflow: hidden; /* păstrează estetica ta */
}
.project-carousel-alt{
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit; /* respectă radius-ul cardului */
}
.project-carousel-track-alt{
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.project-carousel-track-alt img{
  flex: 0 0 100%;
  width: 100%;
  height: 550px;           /* exact ca înainte */
  object-fit: cover;
  display: block;
}

.project-carousel-track-alt2{
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.project-carousel-track-alt2 img{
  flex: 0 0 100%;
  width: 100%;
  height: 450px;           /* exact ca înainte */
  object-fit: cover;
  display: block;
}

.project-carousel{
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: inherit; /* respectă radius-ul cardului */
}

.project-carousel-track{
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.project-carousel-track img{
  flex: 0 0 100%;
  width: 100%;
  height: 300px;           /* exact ca înainte */
  object-fit: cover;
  display: block;
}

@media (max-width: 924px){
.projects-info-section .container{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 28px !important;
  }

  /* cardurile info -> 1 coloana */
  .intro-zigzag{
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
    padding: 0 14px !important;
    margin: 0 auto !important;
  }

  .intro-card,
  .intro-card.left,
  .intro-card.right{
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 18px !important;
  }

  /* titlu */
  .projects-title{
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px auto 12px !important;
    text-align: center !important;
    font-size: 30px !important;
  }

  /* lista proiecte */
  .projects-list{
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 14px !important;
    margin: 0 auto !important;
    gap: 22px !important;
  }

  /* card proiect -> coloană + compact */
  .project-item{
    flex-direction: column !important;
    padding: 14px !important;
    gap: 12px !important;
    max-width: 100% !important;
  }

  /* 🔥 AICI e cheia: poza mai mare, fara 500px */
  .project-carousel{
    height: 340px !important; /* ✅ mare pe mobil, se vad detalii */
    border-radius: 14px !important;
  }

  /* elimină spațiul mare dintre poză și text */
  .project-right{
    padding: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .project-right h3{
    font-size: 20px !important;
    margin: 10px 0 8px !important;
    text-align: left !important;
  }

  .project-right p{
    font-size: 15px !important;
    margin: 0 0 10px !important;
    text-align: left !important;
  }

  .project-info-strip{
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* social widget off pe mobil */
  .social-media-widget-small{
    display: none !important;
  }
}

/* telefon mic */
@media (max-width: 420px){
  .project-carousel{
    height: 280px !important; /* ✅ tot mare, dar nu exagerat */
  }

  .project-right h3{
    font-size: 18px !important;
  }
}

