/* Banner Image Widget Styles */
.banner-image-container {
  position: relative;
  width: 100%;
  height: 450px;
  min-height: 150px;
  overflow: hidden;
  display: flex;
}

.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.banner-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
}

/* Banner positioning */
.banner-position-top .banner-content {
  align-items: flex-start;
  justify-content: center;
}

.banner-position-center .banner-content {
  align-items: center;
  justify-content: center;
}

.banner-position-bottom .banner-content {
  align-items: flex-end;
  justify-content: center;
}

.banner-overlay {
  background-color: rgba(12, 0, 4, 0.5);
  padding: 10px 15px 10px 15px;
  border-radius: 0;
  text-align: center;
  margin: 0 20px;
  max-width: calc(100% - 40px);
}
.banner-overlay:hover {
  background-color: rgba(225, 214, 218, 0.5);
}
.banner-overlay:hover .banner-text {
  color: #000000;
}

.banner-position-bottom .banner-overlay {
  margin-bottom: 10px;
}

.banner-position-top .banner-overlay {
  margin-top: 0;
}

.banner-text {
  font-size: 18px;
  font-weight: 600;
  color: wheat;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  font-family: "Poiret One", Sans-serif;
  line-height: 1.2;
}

/* Link Styles */
.banner-image-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.banner-image-link:hover {
  text-decoration: none;
  color: inherit;
}

.banner-image-link:hover .banner-background {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner-image-container {
    height: 350px;
  }

  .banner-text {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .banner-overlay {
    padding: 15px 20px;
    margin: 0 15px;
    max-width: calc(100% - 30px);
  }
}

@media (max-width: 480px) {
  .banner-image-container {
    height: 250px;
  }

  .banner-text {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .banner-overlay {
    padding: 12px 15px;
    margin: 0 10px;
    max-width: calc(100% - 20px);
  }
}

/* Elementor Editor Styles */
.elementor-editor-active .banner-image-container {
  min-height: 200px;
}

/* Animation Effects */
.banner-background {
  transition: transform 0.3s ease;
}

.banner-overlay {
  transition: all 0.3s ease;
}

.banner-image-container:hover .banner-overlay {
  background-color: rgba(255, 255, 255, 1);
}
