/*S3: Carrousel*/
.carousel-item {
    height: 70vh;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*S4: Video*/
.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin: 20px 0;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.video-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.video-btn:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-color); /* se adapta al modo */
  z-index: 1000;
  transition: all 0.3s ease;
}

header {
  padding: 20px 40px; 
}

header.shrink {
  padding: 8px 20px; 
  background: var(--bg-color); 
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}