/* Lobu Teknik - global styles */

:root {
    --lt-orange: #FF6600;
    --lt-dark: #2B2B2B;
}

/* Hero slide height: mobile-first, scales with viewport so background-size:cover
   doesn't have to crop the image awkwardly. Mobile uses a dedicated portrait-cropped
   image (see data-bg-mobile in index.html), desktop uses the wide panoramic version -
   the two height formulas below match each image's own ratio. */
.hero-slide {
    height: 125vw;
    min-height: 420px;
    max-height: 600px;
}

@media (min-width: 768px) {
    .hero-slide {
        height: 41.67vw;
        min-height: 620px;
        max-height: 820px;
    }
}

/* On mobile the text sits on top of the (now edge-to-edge) product photo, so the
   overlay needs to be a near-solid wash rather than the left-right desktop gradient,
   otherwise the paragraph text overlaps the busy part of the image and gets hard to read. */
@media (max-width: 767.98px) {
    .hero-overlay {
        background: rgba(255, 255, 255, 0.6) !important;
    }
}

/* Product / article / category cards */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

/* Section title underline accent */
.section-title-accent {
    display: inline-block;
    width: 56px;
    height: 4px;
    background-color: var(--lt-orange);
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

/* Category quick-link cards */
.kategori-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kategori-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
    border-color: var(--lt-orange);
}

.kategori-card .icon-wrap {
    width: 68px;
    height: 46px;
    border-radius: 6px;
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--lt-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.kategori-card .icon-wrap.icon-wrap-logo {
    width: 130px;
    height: 90px;
    background-color: #fff;
    border: none;
    padding: 4px;
}

/* Brand logo strip */
.brand-logo-item img {
    max-height: 56px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.brand-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Hero carousel */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 40%, rgba(255,255,255,0.25) 65%, rgba(255,255,255,0) 100%);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    filter: invert(1);
    background-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    padding: 18px;
    background-size: 55%;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    background-color: var(--lt-dark);
    opacity: 0.35;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#heroCarousel .carousel-indicators .active {
    opacity: 1;
    background-color: var(--lt-orange);
}

/* Why-us icon circles */
.whyus-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--lt-dark);
    color: var(--lt-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}
