/*
 Theme Name:   Industrium Child
 Description:  Industrium Child Theme
 Theme URI:	   https://demo.artureanec.com/themes/industrium
 Author:       Artureanec
 Author URI:   https://demo.artureanec.com
 Template:     industrium
 Version:      1.0.0
 License: GNU  General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  industrium-child
*/

/* =Theme customization starts here
------------------------------------------------------- */
/*==========================================
=            Hide Default Theme Banner
==========================================*/
.single-industry .page-title-container {
    display: none !important;
}
.post-type-archive-industry .page-title-container{
    display:none;
}

/*==========================================
=            Industry Banner
==========================================*/

.industry-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.industry-banner-overlay {
    width: 100%;
    padding: 120px 0;
/*     background: rgba(15, 23, 42, 0.65); */
}

.industry-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.industry-banner h1 {
    color: #fff;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

/*==========================================
=            Main Layout
==========================================*/

.industry-single {
    padding: 80px 0;
}

.industry-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
    align-items: start;
}

.industry-main {
    min-width: 0;
}

/* Prevent Elementor sections from overflowing */
.industry-main .elementor {
    width: 100%;
}

.industry-main .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

/*==========================================
=            Sidebar
==========================================*/

.industry-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.industry-widget {
    background: #f8f9fb;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.industry-widget h3 {
    margin: 0 0 25px;
    font-size: 24px;
    font-weight: 700;
}

.industry-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.industry-widget li {
    margin-bottom: 12px;
}

.industry-widget li:last-child {
    margin-bottom: 0;
}

.industry-widget a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    background: #fff;
    color: #222;
    border-left: 4px solid transparent;
    border-radius: 5px;
    transition: all .3s ease;
}

.industry-widget a:hover {
    background: #f07e13;
    color: #fff;
}

.industry-widget li.active a {
    background: #f07e13;
    color: #fff;
    border-left-color: #222;
}
/*==========================================
=            Industry Archive
==========================================*/

/* .industries-page{
    padding:30px 0;
} */

.industry-grid{
    max-width:1400px;
    margin:0 auto;
    padding:30px 15px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(380px,1fr)); */
    gap:30px;
}

.industry-card{
    position:relative;
    overflow:hidden;
    height:450px;
    border-radius:0;
}

.industry-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.industry-card:hover img{
    transform:scale(1.08);
}

/* Dark overlay */
.industry-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    z-index:1;
}

/* Bottom content area */
.industry-info{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:3;

    padding:35px 30px;
}

/* Orange sliding background */
.industry-info::before{
    content:"";
    position:absolute;
    left:-100%;
    top:0;
    width:100%;
    height:100%;
    background:#f07e13;
    transition:.45s ease;
    z-index:-1;
}

.industry-card:hover .industry-info::before{
    left:0;
}

/* Title */
.industry-info h3{
    margin:0 0 18px;
    font-size:34px;
    line-height:1.25;
    font-weight:700;
}

.industry-info h3 a{
    color:#fff;
    text-decoration:none;
}

/* Read More */
.industry-readmore{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:.3s;
}

.industry-readmore:after{
    content:"→";
    transition:.3s;
}

.industry-card:hover .industry-readmore:after{
    transform:translateX(5px);
}
/*==========================================
=          Woocommerce
==========================================*/
/* Category Read More */
.shop-category-readmore{
    margin-top:20px;
}

.shop-category-readmore .shop-category-readmore-btn{
    display:inline-block;
    position:relative;
    width:auto !important;
    min-width:160px;
    padding:12px 45px 12px 20px !important;
    background:#f07e13 !important;
    color:#fff !important;
    font-size:14px !important;
    font-weight:600;
    text-transform:uppercase;
    text-decoration:none;
    border-radius:4px;
    transition:.3s;
}

.shop-category-readmore .shop-category-readmore-btn:hover{
    background:#222 !important;
    color:#fff !important;
}

/* Arrow */
.shop-category-readmore .shop-category-readmore-btn:after{
    font-family:'fontello';
    content:'\e82d';
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:12px;
}

/* Remove any icon before */
.shop-category-readmore .shop-category-readmore-btn:before{
    display:none !important;
    content:none !important;
}
/*custom slider*/
.mf-hero-slider {
  position: relative;
  width: 100%;
  height: 680px;
  min-height: 500px;
  overflow: hidden;
  background: #171717;
  font-family: inherit;
}

.mf-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 70px 9%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.8s ease,
              transform 5s ease,
              visibility 0.8s;
  background-image:
    linear-gradient(90deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.48) 48%,
      rgba(0,0,0,.12) 100%),
    var(--slide-bg);
  background-size: cover;
  background-position: center;
}

.mf-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.mf-slide-content {
  max-width: 720px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.mf-eyebrow {
  display: block;
  color: #ed3024;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.mf-slide h1 {
  color: #fff;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 700px;
}

.mf-slide p {
  color: #f1f1f1;
  font-size: 17px;
  line-height: 1.8;
  max-width: 570px;
  margin: 0 0 32px;
}

.mf-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 25px;
  background: #e52d22;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: .3s ease;
}

.mf-hero-btn:hover {
  background: #fff;
  color: #222 !important;
}

.mf-hero-btn span {
  font-size: 20px;
}

.mf-slider-bottom {
  position: absolute;
  z-index: 5;
  bottom: 40px;
  left: 9%;
  right: 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mf-slider-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.mf-progress-line {
  display: block;
  width: 100px;
  height: 2px;
  background: rgba(255,255,255,.4);
}

.mf-progress-line i {
  display: block;
  width: 33.33%;
  height: 100%;
  background: #e52d22;
  transition: width .4s ease;
}

.mf-slider-arrows {
  display: flex;
  gap: 10px;
}

.mf-slider-arrows button {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: .3s ease;
}

.mf-slider-arrows button:hover {
  background: #e52d22;
  border-color: #e52d22;
}

/*==========================================
=            Responsive
==========================================*/

@media (max-width: 991px) {

    .industry-wrapper {
        grid-template-columns: 1fr;
    }

    .industry-sidebar {
        position: static;
        margin-top: 50px;
    }

    .industry-banner {
        min-height: 320px;
    }

    .industry-banner-overlay {
        padding: 80px 0;
    }

    .industry-banner h1 {
        font-size: 36px;
    }
	.industry-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .industry-card{
        height:380px;
    }

    .industry-info h3{
        font-size:28px;
    }
}

@media (max-width: 767px) {

    .industry-single {
        padding: 50px 0;
    }

    .industry-banner {
        min-height: 260px;
    }

    .industry-banner-overlay {
        padding: 60px 0;
    }

    .industry-banner h1 {
        font-size: 28px;
    }

    .industry-widget {
        padding: 20px;
    }
	 .industry-grid{
        grid-template-columns:1fr;
    }

    .industry-card{
        height:380px;
    }
	.mf-hero-slider {
    height: 570px;
    min-height: 480px;
  }

  .mf-slide {
    padding: 45px 25px 90px;
    background-position: center;
  }

  .mf-slide h1 {
    font-size: 39px;
  }

  .mf-slide p {
    font-size: 15px;
    line-height: 1.7;
  }

  .mf-slider-bottom {
    left: 25px;
    right: 25px;
    bottom: 22px;
  }

  .mf-progress-line {
    width: 65px;
  }

  .mf-slider-arrows button {
    width: 38px;
    height: 38px;
  }
}
