/**
 * Plugin Name: Amikom Hero Slider
 * Description: Plugin WP Amikom Hero Slider dibuat oleh TIM DIREKTORAT INNOVATION CENTER AMIKOM
 * Version: 1.1.9
 * Author: Kukuh Nova Putra (Plugin Developer) & Hendrik Pramana (UIUX Designer)
 * Author URI: https://ic.amikom.ac.id
 * Text Domain: amikom-slider
 */

/*--------------------------------------------------------------
# Main Style
--------------------------------------------------------------*/

/* Slider Desktop
--------------------------------------------- */
.amikom-slider {
  display: none !important;
}

@media (min-width: 768px) {
  .amikom-slider {
    display: block !important;
  }
}

.amikom-slider .slick-prev {
  left: -40px !important;
}

.amikom-slider-mobile .slick-prev {
  left: -20px !important;
}

.amikom-slider .slick-next,
.amikom-slider-mobile .slick-next {
  right: 0px !important;
}

.amikom-slider .slick-prev,
.amikom-slider .slick-next,
.amikom-slider-mobile .slick-next,
.amikom-slider-mobile .slick-prev {
	z-index: 30;
}

.amikom-slider .slick-prev::before,
.amikom-slider .slick-next::before,
.amikom-slider-mobile .slick-prev::before,
.amikom-slider-mobile .slick-next:before {
	color: #fd9a00;
	opacity: 0.75;
  font-size: 40px !important;
}

.amikom-slider .slick-prev::before,
.amikom-slider .slick-next::before {
  font-size: 60px !important;
}

.amikom-slider-mobile .slick-prev::before,
.amikom-slider-mobile .slick-next:before {
  font-size: 40px !important;
}

.amikom-slider .slick-prev:hover::before,
.amikom-slider .slick-next:hover::before,
.amikom-slider-mobile .slick-prev:hover::before,
.amikom-slider-mobile .slick-next:hover::before {
	opacity: 1;
}

.amikom-slider img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 1.5rem;
}

/* Slider Mobile
--------------------------------------------- */
.amikom-slider-mobile img {
	width: 100%;
	height: 100%;
}

.amikom-slider-mobile {
  display: block !important;
}

@media (min-width: 768px) {
  .amikom-slider-mobile {
    display: none !important;
  }
}

/* Hero Card
--------------------------------------------- */
.hero-container {
  inset: 0;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 4rem;
    gap: 0;
  }
}
@media (max-width: 767px) {
  .hero-container {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
  #hero-text {
    max-width: 100% !important;
    width: 100%;
    text-align: center !important;
  }
  #hero-card {
    max-width: 100% !important;
    width: 100%;
    margin-left: 0 !important;
  }
}

.hero-text {
  color: #ffffff !important;
  max-width: 36rem;
  color: white !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-text {
    text-align: left;
    flex: 1;
  }
}

h3.hero-text-heading {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 2.875rem;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .hero-text-heading {
    font-size: 2.25rem;
  }
}
@media (min-width: 768px) {
  .hero-text-heading {
    font-size: 3rem;
  }
}

.hero-text-description {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.625;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}
@media (min-width: 640px) {
  .hero-text-description {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-text-description {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  .hero-text-description {
    display: block;
  }
}

.hero-card {
  display: none;
  background-color: white !important;
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 24rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  align-self: flex-end;
}

@media (min-width: 640px) {
  .hero-card {
    padding: 2rem;
  }
}

@media (min-width: 1280px) {
  .hero-card {
    display: block;
  }
}

.hero-card-title {
  color: #5b21b6 !important;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.25;
  padding-bottom: 0;
}
@media (min-width: 640px) {
  .hero-card-title {
    font-size: 1.5rem;
  }
}

.hero-card-description {
  color: #9ca3af !important;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero-card-description {
    font-size: 0.875rem;
  }
}

.hero-card-pmb {
  color: #374151 !important;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero-card-pmb {
    font-size: 1rem;
  }
}

.card-contact-label {
  margin-bottom: 0.75rem;
  color: #6b7280 !important;
  font-weight: 400;
}

.card-contact-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-contact-phone {
  background-color: #5b21b6 !important;
  color: white !important;
  padding: 0.5rem 0.6rem ;
  border-radius: 0.5rem;
  font-size: 1.125rem;
}

.card-primary-button {
  width: 100%;
  border: 2px dashed #fb923c !important;
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  color: #f97316 !important;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}
@media (min-width: 640px) {
  .card-primary-button {
    font-size: 1rem;
  }
}
.card-primary-button:hover {
  background-color: #fff7ed !important;
}

.card-secondary-button {
  margin-top: 1.5rem;
  display: block;
  background-color: #f97316 !important;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: white !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
@media (min-width: 640px) {
  .card-secondary-button {
    font-size: 1.25rem;
  }
}
.card-secondary-button:hover {
  background-color: #ea580c !important;
}

.card-secondary-button-name {
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: -1rem;
}

/* Hero Card only on Mobil
--------------------------------------------- */
@media (min-width: 768px) {
  .hero-container.only-card {
    justify-content: flex-end !important;
  }
}

/* Mobil Hero Card
--------------------------------------------- */
.hero-card-mobile {
  margin-top: -5rem;
  position: relative;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.hero-card-mobile > * + * {
  margin-top: 0.5rem;
}

@media (min-width: 1280px) {
  .hero-card-mobile {
    display: none;
  }
}

.hero-card-mobile-content {
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
              0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-card-button-url {
  width: 100%;
  background-color: #f97316;
  color: white;
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
  border-radius: 0.25rem;
  padding: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}

.mobile-card-button-url:hover {
  background-color: #ea580c;
}

/* Tweak slider breakpoint */
.slider-breakpoint {
  height: 300px !important;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .slider-breakpoint {
      height: 390px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1280px) {
    .slider-breakpoint {
      height: 400px !important;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .slider-breakpoint {
        height: 475px !important;
    }
}

@media (min-width: 1441px) {
    .slider-breakpoint {
        height: 530px !important;
    }
}

@media (min-width: 1536px) {
  .slider-breakpoint {
    height: 575px !important;
  }
}

@media (min-width: 1730px) {
  .slider-breakpoint {
    height: 675px !important;
  }
}