/* SKscaffolding - industrial, modern theme */
:root {
    --brand: #0b1f3a; /* dark blue */
    --brand-2: #111827; /* deep grey-blue */
    --text: #eaf2fb; /* near-white */
    --muted: #b6c0ce;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-2: rgba(255, 255, 255, 0.10);
    --line: rgba(176, 141, 87, 0.35);
    --metal: #b08d57; /* subtle metallic accent */
    --metal-2: #d3b47c;
    --shadow: rgba(0, 0, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(1200px 600px at 15% 0%, rgba(176, 141, 87, 0.12), transparent 55%),
        radial-gradient(900px 500px at 85% 0%, rgba(255, 255, 255, 0.06), transparent 50%), var(--brand);
    color: var(--text);
    font-family: "Instrument Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Navbar */
.site-navbar {
    background: rgba(11, 31, 58, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.site-brand {
    gap: 0.55rem;
}

.site-brand-text {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--text);
}

.header-brand-logo {
    height: 58px;
    width: auto;
    max-width: min(42vw, 280px);
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3));
}

.footer-brand-logo {
    height: 66px;
    width: auto;
    max-width: min(70vw, 320px);
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.site-navlink {
    color: rgba(234, 242, 251, 0.86);
    font-weight: 600;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
    border: 1px solid transparent;
}

.site-navlink:hover,
.site-navlink:focus {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(176, 141, 87, 0.35);
    transform: translateY(-1px);
}

/* Buttons */
.btn-metal {
    background: linear-gradient(135deg, rgba(176, 141, 87, 0.95), rgba(211, 180, 124, 0.35));
    border: 1px solid rgba(176, 141, 87, 0.85);
    color: #07111f;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn-metal:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.btn-outline-metal {
    border: 1px solid rgba(176, 141, 87, 0.7);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
}

.btn-outline-metal:hover {
    border-color: rgba(176, 141, 87, 0.95);
    background: rgba(176, 141, 87, 0.14);
    color: var(--text);
}

/* Sections */
.section-pad {
    padding: 70px 0;
}

.section-title {
    font-weight: 900;
    letter-spacing: 0.6px;
}

.section-subtitle {
    color: var(--muted);
    line-height: 1.6;
}

.card-industrial {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.card-industrial:hover {
    transform: translateY(-5px);
    border-color: rgba(176, 141, 87, 0.75);
    background: rgba(255, 255, 255, 0.08);
}

.card-industrial .icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(176, 141, 87, 0.22), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(176, 141, 87, 0.45);
}

/* Hero */
.hero {
    position: relative;
    min-height: 66vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: saturate(0.95) contrast(1.08);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 31, 58, 0.93) 10%, rgba(11, 31, 58, 0.35) 60%, rgba(11, 31, 58, 0.7) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 0 30px;
}

.hero-title {
    font-weight: 950;
    letter-spacing: 0.3px;
    font-size: clamp(1.35rem, 2.2vw, 2.4rem);
    line-height: 1.25;
    color: var(--text);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.hero-cta {
    margin-top: 18px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero .section-subtitle {
    color: rgba(234, 242, 251, 0.92) !important;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/* Carousel */
.carousel-industrial .carousel-item {
    height: 400px;
    min-height: 400px;
    position: relative;
}

.carousel-industrial img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transform: scale(1.04);
    filter: saturate(0.98) contrast(1.08);
}

.carousel-caption-industrial {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(176, 141, 87, 0.35);
    border-radius: 14px;
    padding: 10px 14px;
}

.carousel-industrial .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 31, 58, 0.55), rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.4));
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.carousel-caption-industrial .fw-bold {
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.carousel-industrial .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

.carousel-industrial .carousel-indicators button.active {
    background: rgba(176, 141, 87, 0.9);
    border-color: rgba(176, 141, 87, 0.9);
    box-shadow: 0 0 0 5px rgba(176, 141, 87, 0.20);
}

/* Page banner */
.page-banner {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brand);
    opacity: 0.4;
}

.page-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.06);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-title {
    font-weight: 950;
    letter-spacing: 0.4px;
}

.page-banner .section-subtitle {
    color: rgba(234, 242, 251, 0.96) !important;
    font-weight: 700;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
    line-height: 1.55;
}

/* Logo marquee */
.logo-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    width: max-content;
    animation: logo-scroll 26s linear infinite;
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.client-logo-pill {
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(234, 242, 251, 0.92);
    font-weight: 800;
    letter-spacing: 0.3px;
}

@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
    }
}

/* Masonry gallery */
.masonry {
    column-count: 3;
    column-gap: 1.1rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.1rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease;
}

.masonry-item:hover {
    transform: translateY(-4px);
    border-color: rgba(176, 141, 87, 0.75);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .hero {
        min-height: 58vh;
    }
    .hero-content {
        padding: 60px 0 22px;
    }
    .carousel-industrial .carousel-item {
        height: 340px;
        min-height: 340px;
    }
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .header-brand-logo {
        height: 48px;
        max-width: 58vw;
    }

    .footer-brand-logo {
        height: 52px;
        max-width: 72vw;
    }

    .hero {
        min-height: 52vh;
    }
    .hero-content {
        padding: 52px 0 18px;
    }
    .carousel-industrial .carousel-item {
        height: 280px;
        min-height: 280px;
    }
    .masonry {
        column-count: 1;
    }
}

/* Scroll animations */
[data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.15);
}

.footer-muted {
    color: rgba(234, 242, 251, 0.78);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(234, 242, 251, 0.92);
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(176, 141, 87, 0.75);
    background: rgba(176, 141, 87, 0.14);
}

