/* style.css – basic modern theming */

body {
    background-color: #f5f6fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar-brand {
    letter-spacing: 0.03em;
}

/* ================= HERO (STATIC BANNER, MOBILE FRIENDLY) ================= */

.home-hero {
    margin-bottom: 1.5rem;
}

.home-hero .hero-card {
    background: #f97316; /* orange */
    color: #ffffff;
    border-radius: 24px;
}

.home-hero .hero-badge {
    display: inline-block;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-hero .hero-heading {
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.home-hero .hero-subtext {
    font-size: 0.95rem;
    opacity: 0.95;
}

.home-hero .hero-secondary-btn {
    border-color: #ffffff;
    color: #f97316 !important;
    background: #ffffff !important;
}

.home-hero .hero-secondary-btn:hover {
    background: #ffe8d0 !important;
}

.home-hero .hero-contact {
    opacity: 0.9;
    font-size: 0.85rem;
}

.home-hero .hero-image {
    max-height: 320px;
    object-fit: contain;
}

.home-hero .hero-image-mobile {
    max-height: 220px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .home-hero .hero-card {
        border-radius: 18px;
    }

    .home-hero .hero-heading {
        font-size: 1.5rem;
    }

    .home-hero .hero-subtext {
        font-size: 0.9rem;
    }

    .home-hero .btn-lg {
        padding: 0.55rem 1.1rem;
        font-size: 0.95rem;
    }
}

/* ================= SECTION TITLES ================= */

.section-title {
    font-weight: 700;
}

/* ================= ABOUT / HIGHLIGHTS ================= */

.about-highlight {
    background: #ffffff;
}

.about-card .badge {
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.about-stats .about-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
}

.about-stats .about-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 575.98px) {
    .about-stats .col-4:not(:last-child) {
        border-right: 1px solid #eee;
    }
}

/* ================= LATEST SITE INSTALLATION VIDEO ================= */

.latest-video-wrapper {
    max-width: 480px;      /* keep video minimal on large screens */
    margin-left: auto;
    margin-right: auto;
}

/* ================= CATEGORY CARDS – BASE + HOVER ================= */

.category-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border-radius: 1rem;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.25rem rgba(15, 23, 42, 0.12);
}

/* CATEGORY COLOUR VARIATIONS */

.category-card.computer {
    background-color: #14325dff;
}
.category-card.computer i {
    color: #0d6efd;
}

.category-card.laptop {
    background-color: #163223ff;
}
.category-card.laptop i {
    color: #198754;
}

.category-card.refurbished {
    background-color: #60288eff;
}
.category-card.refurbished i {
    color: #6f42c1;
}

.category-card.cctv {
    background-color: #fff4e5;
}
.category-card.cctv i {
    color: #fd7e14;
}

.category-card.ups {
    background-color: #fff0f0;
}
.category-card.ups i {
    color: #dc3545;
}

.category-card.printer {
    background-color: #e8f5ff;
}
.category-card.printer i {
    color: #0dcaf0;
}

.category-card.software {
    background-color: #f4f7ff;
}
.category-card.software i {
    color: #6610f2;
}

.category-card.accessory {
    background-color: #f3f8ec;
}
.category-card.accessory i {
    color: #6c757d;
}

/* ================= PRODUCT CARDS ================= */

.product-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.25rem rgba(15, 23, 42, 0.15);
}

.product-img {
    height: 160px;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.product-img.placeholder {
    background: #e9ecef;
}

/* ================= FOOTER ================= */

.footer {
    font-size: 0.875rem;
}
/* ===== HERO MOBILE FIXES (OVERRIDES) ===== */
@media (max-width: 576px) {

    /* Make slide height consistent */
    .home-hero .carousel-item {
        min-height: 260px;
    }

    .home-hero .hero-img {
        height: 260px;
        max-height: 260px;
        object-fit: cover;
    }

    /* Put caption in a small bar at bottom */
    .home-hero .carousel-caption {
        left: 0;
        right: 0;
        bottom: 0.75rem;
        padding: 0.5rem 1rem;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.70),
            rgba(0, 0, 0, 0.10)
        );
        text-align: center;
    }

    .home-hero .carousel-caption h2,
    .home-hero .carousel-caption h1 {
        font-size: 1.1rem;
        margin-bottom: 0.35rem;
    }

    .home-hero .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 0.45rem;
    }

    .home-hero .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.8rem;
    }

    /* Make dot indicators closer to caption */
    #homeCarousel .carousel-indicators {
        bottom: 0.25rem;
    }
}

