/* Homepage Elementor Styles */

/* Category Banner Styles */
.category--banner {
    position: relative;
    overflow: hidden;
}

.category--banner-wrapper {
    position: relative;
}

.category--banner-list {
    display: flex;
    overflow: hidden;
}

.category--banner-item {
    position: relative;
    height: 80vh;
    overflow: hidden;
    min-height: 300px;
}

.category--banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.category--banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category--banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 60px 0 40px;
}

.category--banner-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: white;
    text-transform: uppercase;
}

.category--banner-subheading {
    font-size: 1.8rem;
    margin: 5px 0 0;
    color: white;
    text-transform: uppercase;
}

.category--banner-nav {
    position: absolute;
    z-index: 100;
    pointer-events: none;
}

.nav--prev-next {
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
}

/* Arrow Positioning */
.category--banner[data-arrow-position="bottom-right"] .category--banner-nav {
    bottom: 30px;
    right: 30px;
}

.category--banner[data-arrow-position="bottom-left"] .category--banner-nav {
    bottom: 30px;
    left: 30px;
}

.category--banner[data-arrow-position="bottom-center"] .category--banner-nav {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.category--banner[data-arrow-position="center-sides"] .category--banner-nav {
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 30px;
    pointer-events: none;
}

.category--banner[data-arrow-position="center-sides"] .nav--prev-next {
    justify-content: space-between;
    width: 100%;
    pointer-events: auto;
}

.category--banner[data-arrow-position="center-sides"] .slick-arrow {
    position: relative;
    z-index: 10;
}

/* Caption Positioning */
.category--banner[data-caption-position="bottom-left"] .category--banner-content {
    text-align: left;
}

.category--banner[data-caption-position="bottom-center"] .category--banner-content {
    text-align: center;
}

.category--banner[data-caption-position="bottom-right"] .category--banner-content {
    text-align: right;
}

.category--banner[data-caption-position="center-left"] .category--banner-content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    text-align: left;
    padding: 40px 0;
}

.category--banner[data-caption-position="center-center"] .category--banner-content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    text-align: center;
    padding: 40px 0;
}

.category--banner[data-caption-position="center-right"] .category--banner-content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    text-align: right;
    padding: 40px 0;
}

/* Dots positioning based on arrow position */
.category--banner[data-arrow-position="bottom-center"] .slick-dots {
    bottom: 80px;
}

.category--banner[data-show-dots="yes"] .slick-dots {
    display: block !important;
}

.slick-arrow {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(10px);
}

.slick-arrow:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,1);
    transform: scale(1.05);
}

.slick-arrow:hover svg path {
    stroke: #333;
}

.slick-arrow svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.slick-arrow svg path {
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .category--banner-nav {
        display: none;
    }
    
    .category--banner-list .slick-dots {
        display: block !important;
        bottom: 20px;
        text-align: center;
    }
    
    .category--banner-item {
        height: 60vh;
        min-height: 400px;
    }
}



/* Steps Section Styles - orpcatalog.id style */
.step--on {
    padding: 80px 0;
    background: #f8f9fa;
}

.step--title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: #2c3e50;
    line-height: 1.3;
}

.step--on-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.step--on-list::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step--on-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.step--on-content {
    display: block;
}

.step--on-number {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 3px solid #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #3498db;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
}

.step--on-item.active .step--on-number {
    background: #3498db;
    color: white;
}

.step--on-detail {
    text-align: center;
}

.step--on-detail p {
    margin: 0;
    line-height: 1.5;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

/* Follow Us Section Styles */
.follow--us {
    padding: 80px 0;
    background: #f8f8f8;
}

.follow--us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.follow--us-text h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
    line-height: 1.2;
}

.follow--us-text a {
    display: inline-block;
    background: #000;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}

.follow--us-text a:hover {
    background: #333;
}

.follow--us-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer Section Styles */
.Footer {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #eee;
}

.footer--title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #000;
}

.footer--title a {
    color: #000;
    text-decoration: underline;
}

.footer--menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer--menu-detail {
    display: flex;
    gap: 30px;
}

.footer--menu-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer--menu-item a:hover {
    color: #000;
}

.footer--menu-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer--menu-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer--menu-social a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

/* Container */
.Container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.Container-step {
    max-width: 1400px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hidden-phone {
        display: none !important;
    }
    
    .hidden-tablet-and-up {
        display: block !important;
    }
    
    .category--banner-item {
        height: 60vh;
        min-height: 250px;
    }
    
    .category--banner-item img {
        object-fit: cover;
    }
    
    .category--banner-heading {
        font-size: 1.8rem;
    }
    
    .category--banner-subheading {
        font-size: 1.4rem;
    }
    
    .category--banner-nav {
        display: none;
    }
    
    .step--title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .step--on-list {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .step--on-list::before {
        display: none;
    }
    
    .step--on-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .step--on-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
        flex-shrink: 0;
        margin: 0;
    }
    
    .step--on-detail {
        text-align: left;
        flex: 1;
    }
    
    .step--on-detail p {
        font-size: 15px;
    }
    
    .follow--us-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .follow--us-text h3 {
        font-size: 2rem;
    }
    
    .footer--menu {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer--menu-detail {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (min-width: 769px) {
    .hidden-tablet-and-up {
        display: none !important;
    }
    
    .hidden-phone {
        display: block !important;
    }
}

/* Slick Carousel Overrides */
.category--banner-list.slick-initialized {
    display: block;
}

.category--banner-list .slick-slide {
    outline: none;
    height: auto;
}

.category--banner-list .slick-dots {
    bottom: 20px;
    z-index: 10;
    text-align: center;
}

.category--banner-list .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.category--banner-list .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category--banner-list .slick-dots li button:before {
    display: none;
}

.category--banner-list .slick-dots li.slick-active button {
    background: white;
    transform: scale(1.2);
}

/* Fix for widget visibility */
.elementor-widget-category_banner,
.elementor-widget-steps_section,
.elementor-widget-follow_us,
.elementor-widget-footer_section {
    display: block !important;
    visibility: visible !important;
}

/* Ensure proper loading */
.category--banner-list:not(.slick-initialized) {
    display: flex;
    overflow-x: auto;
}

.category--banner-list:not(.slick-initialized) .category--banner-item {
    flex: 0 0 50%;
    min-width: 300px;
}