/* ===== Hub Section ===== */
.hub-section {
    position: relative;
    isolation: isolate; /* Permite mix-blend pe pseudo-elemente */
    text-align: center;
    margin-top: 0;
    padding: 0 30px clamp(4rem, 7vw, 6rem);
    padding-top: clamp(4rem, 7vw, 6rem); 
    /*  compensează 5rem + padding-ul normal al .hub-section */
  
    overflow: hidden;
    z-index: 0;
  }
  
/* ====== TITLU HUB ====== */
.hub-title {
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 1.8px;
    color: #1db954; /* Verde */
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Linie subtilă sub titlu pentru claritate */
.hub-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1db954, #17a74a);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ====== DESCRIERE HUB ====== */
.hub-highlight {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #dcdcdc;
    max-width: 900px;
    margin: 0 auto 3rem; /* Mai puțin spațiu față de slider */
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

/* ==== SLIDER CONTAINER ==== */
.hub-slider-container {
  text-align: center;
  margin-bottom: 3rem;
  overflow: hidden;
}

/* ==== SLIDER ==== */
.hub-slider {
  position: relative;
  max-width: 80%;
  margin: 0 auto;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
}

.hub-slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
  cursor: grab;
}

.hub-slider-wrapper:active {
  cursor: grabbing;
}

.hub-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hub-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  color: white;
  text-align: left;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.hub-text h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  margin: 0;
}

.hub-text p {
  max-width: 50ch;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  line-height: 1.25;
  margin: 0;
}

/* Butoane slider */
.hub-prev, .hub-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

.hub-prev:hover, .hub-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hub-prev {
  left: 15px;
}

.hub-next {
  right: 15px;
}

/* Subtitle animat */
.hub-subtitle {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: white;
  margin-top: 4rem;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: fadeInUpSub 0.8s ease-out;
}

@keyframes fadeInUpSub {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hub-subtitle:hover {
  transform: scale(1.03);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}







/* STUDIOS CONTAINER */
.studios-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 3rem auto;
  }
  
  /* STUDIO BOX - layout tip card */
  .studio-box {
    display: flex;
    flex-direction: column;  /* Imaginea sus, textul jos */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.02); /* Ușor transparent, dacă dorești */
  }
  
  .studio-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  
  /* STUDIO IMAGINI */
  .studio-box img {
    width: 100%;
    height: auto;          /* Asigură păstrarea proporției imaginii */
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0; /* Doar colțurile de sus rotunjite */
  }
  
  /* INFO CARD - text sub imagine */
  .studio-info {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.6); /* Un mic fundal închis, opțional */
    color: #ffffff;
    border-radius: 0 0 16px 16px;   /* Colțurile de jos rotunjite */
  }
  
  .studio-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
  }
  
  .studio-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
  }
  
  /* ==== RESPONSIVE DESIGN ==== */
  @media (max-width: 1024px) {
    .studios-container {
      grid-template-columns: 1fr;
      max-width: 900px;
    }
  
    .studio-info {
      padding: 1.2rem;
    }
  
    .studio-info h4 {
      font-size: 1.2rem;
    }
  }
  
  @media (max-width: 768px) {
    .studios-container {
      max-width: 750px;
    }
  
    .studio-info {
      padding: 1rem;
    }
  
    .studio-info h4 {
      font-size: 1.1rem;
    }
  
    .studio-info p {
      font-size: 0.95rem;
    }
  }