/* ============================================================
   Industries Showcase Styles — Interactive Architectural Portfolio
   Step 6 Sector Showcase — Eleta Lifts & Escalators
   ============================================================ */

.industries-showcase {
    position: relative;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    background-color: var(--color-page, #F5F4F0);
    border-top: 1px solid var(--color-border, #E2E1DC);
}

/* ---- Header ---- */
.industries-showcase__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.industries-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-brand);
    margin-bottom: 8px;
}

.industries-showcase__eyebrow-line {
    width: 18px;
    height: 2px;
    background-color: var(--color-brand);
    display: inline-block;
}

.industries-showcase__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

/* ---- 2-Zone Experience Container ---- */
.industries-showcase__experience {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--space-xl);
    align-items: stretch;
    min-height: 390px;
}

/* ---- ZONE 1 (LEFT — 45%): Sidebar with Nav Tabs & Active Content Panel ---- */
.industries-showcase__sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
}

.industries-showcase__nav {
    display: flex;
    flex-direction: column;
}

.industries-showcase__nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.industries-showcase__nav-btn {
    width: 100%;
    border: 1px solid var(--color-border, #E2E1DC);
    background: #FFFFFF;
    text-align: left;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-text-muted);
    border-radius: var(--radius-xs, 4px);
    transition: all var(--transition-fast, 0.2s);
}

.industries-showcase__nav-btn:hover {
    color: var(--color-text);
    border-color: rgba(0, 0, 0, 0.2);
    background-color: #FAFAFA;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.industries-showcase__nav-num {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.35);
    transition: color var(--transition-fast, 0.2s);
}

.industries-showcase__nav-label-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.industries-showcase__nav-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: inherit;
    transition: color var(--transition-fast, 0.2s);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.industries-showcase__nav-bar {
    display: none;
}

/* Active Nav State */
.industries-showcase__nav-btn.active {
    color: #FFFFFF;
    background-color: #07171D;
    border-color: #07171D;
    box-shadow: 0 4px 12px rgba(7, 23, 29, 0.16);
}

.industries-showcase__nav-btn.active .industries-showcase__nav-num {
    color: var(--color-brand);
    font-weight: 800;
}

.industries-showcase__nav-btn.active .industries-showcase__nav-title {
    font-weight: 800;
    color: #FFFFFF;
}

/* Active Industry Information Card */
.industries-showcase__content {
    background: #FFFFFF;
    border: 1px solid var(--color-border, #E2E1DC);
    border-left: 3px solid var(--color-brand);
    border-radius: var(--radius-xs, 4px);
    padding: 16px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.industries-showcase__content.is-updating {
    opacity: 0.3;
    transform: translateY(3px);
}

.industries-showcase__content-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.industries-showcase__content-index {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--color-brand);
}

.industries-showcase__content-cat {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.industries-showcase__title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.4vw, 1.45rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.industries-showcase__desc {
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.industries-showcase__apps-box {
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border, #E2E1DC);
}

.industries-showcase__apps-label {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--color-brand);
    margin-bottom: 6px;
}

.industries-showcase__apps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.industries-showcase__app-tag {
    border: 1px solid var(--color-border, #E2E1DC);
    background: var(--color-surface-muted, #F5F4F0);
    padding: 3px 8px;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text);
    border-radius: 2px;
}

.industries-showcase__cta-box {
    margin-top: 2px;
}

.industries-showcase__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
    text-decoration: none;
    transition: gap var(--transition-fast, 0.2s), color var(--transition-fast, 0.2s);
}

.industries-showcase__link:hover {
    gap: 10px;
    color: var(--color-text);
}

/* ---- ZONE 2 (RIGHT — 55%): Compact Unobstructed Architectural Stage ---- */
.industries-showcase__stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;
    max-height: 410px;
    border-radius: var(--radius-xs, 4px);
    overflow: hidden;
    background-color: var(--color-surface-muted, #EEEDE9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.industries-showcase__visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;
    overflow: hidden;
}

.industries-showcase__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    opacity: 1;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.industries-showcase__image.is-switching {
    opacity: 0;
    transform: scale(1.03);
}

.industries-showcase__meta-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(7, 23, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    padding: 4px 10px;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    z-index: 3;
    backdrop-filter: blur(8px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablets (768px – 1023px) */
@media (max-width: 1023px) {
    .industries-showcase__experience {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        min-height: auto;
    }

    .industries-showcase__nav-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 8px;
    }

    .industries-showcase__nav-btn {
        width: auto;
        white-space: nowrap;
        padding: 10px 16px;
        background: rgba(0, 0, 0, 0.04);
        border-radius: var(--radius-xs, 4px);
    }

    .industries-showcase__nav-btn.active {
        transform: none;
        background: var(--color-brand);
        color: #FFFFFF;
    }

    .industries-showcase__nav-btn.active .industries-showcase__nav-title {
        color: #FFFFFF;
    }

    .industries-showcase__nav-bar {
        display: none;
    }

    .industries-showcase__stage,
    .industries-showcase__visual {
        min-height: 400px;
        height: 400px;
    }
}

/* Mobile Devices (<= 767px) — Image-First Editorial Explorer */
@media (max-width: 767px) {
    .industries-showcase {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .industries-showcase__header {
        margin-bottom: var(--space-xl);
        flex-direction: column;
        align-items: flex-start;
    }

    .industries-showcase__experience {
        display: flex;
        flex-direction: column;
        gap: 14px;
        min-height: auto;
    }

    .industries-showcase__stage {
        order: 1;
        min-height: 320px;
        height: 320px;
        border-radius: var(--radius-xs, 4px);
    }

    .industries-showcase__visual {
        min-height: 320px;
        height: 320px;
    }

    .industries-showcase__content {
        padding: 24px 20px;
    }

    .industries-showcase__title {
        font-size: 1.4rem;
    }

    .industries-showcase__desc {
        font-size: 0.875rem;
        margin-bottom: 12px;
    }

    .industries-showcase__nav {
        order: 2;
    }

    .industries-showcase__nav-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
    }

    .industries-showcase__nav-btn {
        width: auto;
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 0.8125rem;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }

    .industries-showcase__nav-btn .industries-showcase__nav-title {
        font-size: 0.8125rem;
    }

    .industries-showcase__nav-btn.active {
        background: var(--color-brand);
        color: #FFFFFF;
        transform: none;
    }

    .industries-showcase__nav-btn.active .industries-showcase__nav-title {
        color: #FFFFFF;
    }
}

/* ============================================================
   SECTORS WE SERVE — ARCHITECTURAL 3x2 GRID (EDITORIAL REDESIGN)
   Matches "WHAT ARE YOU BUILDING" Reference Image
   Seamlessly Blended with ELETA Luxury Design System
   ============================================================ */

.sectors-section {
    position: relative;
    background-color: var(--color-page, #F5F4F0);
    color: var(--color-text, #171A1C);
    padding-top: clamp(64px, 7vw, 100px);
    padding-bottom: clamp(64px, 7vw, 100px);
    border-top: 1px solid var(--color-border, #E2E1DC);
    border-bottom: 1px solid var(--color-border, #E2E1DC);
    overflow: hidden;
}

/* Subtle warm architectural ambient glow */
.sectors-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(186, 18, 27, 0.025) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.sectors-container {
    position: relative;
    z-index: 1;
}

/* ---- Section Header (Light Theme) ---- */
.sectors-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(32px, 4vw, 48px);
    gap: 24px;
    flex-wrap: wrap;
}

.sectors-header__left {
    max-width: 760px;
}

.sectors-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-brand, #BA121B);
    margin-bottom: 12px;
}

.sectors-header__eyebrow-line {
    width: 22px;
    height: 2px;
    background-color: var(--color-brand, #BA121B);
    display: inline-block;
}

.sectors-header__title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text, #171A1C);
    line-height: 1.12;
    margin: 0 0 12px;
}

.sectors-header__lead {
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.6;
    color: var(--color-text-muted, #555E68);
    margin: 0;
    max-width: 660px;
}

.sectors-header__right {
    flex-shrink: 0;
}

.sectors-header__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--color-border, #E2E1DC);
    border-radius: var(--radius-xs, 4px);
    color: var(--color-text, #171A1C);
    background: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sectors-header__btn:hover {
    background: #171A1C;
    color: #FFFFFF;
    border-color: #171A1C;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* ---- 3x2 Seamless Architectural Grid (Light Theme Divider Lines) ---- */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border, #E2E1DC);
    border: 1px solid var(--color-border, #E2E1DC);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
}

/* Individual Sector Card */
.sector-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 16 / 10.2;
    min-height: 250px;
    background: #E8E6E1;
    overflow: hidden;
    text-decoration: none;
    color: #FFFFFF;
    padding: clamp(20px, 2.2vw, 26px);
    cursor: pointer;
    transition: transform 0.4s ease;
}

.sector-card:focus-visible {
    outline: 2px solid var(--color-brand, #BA121B);
    outline-offset: -2px;
    z-index: 4;
}

/* Media Layer */
.sector-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #E8E6E1;
}

.sector-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.sector-card:hover .sector-card__img {
    transform: scale(1.07);
    filter: brightness(1.04);
}

/* Multi-stop Cinematic Overlay (Enhanced for Crisp Contrast) */
.sector-card__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.55) 0%,
            rgba(15, 23, 42, 0.02) 35%,
            rgba(15, 23, 42, 0.25) 60%,
            rgba(15, 23, 42, 0.88) 100%);
    transition: background 0.4s ease;
}

.sector-card:hover .sector-card__overlay {
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.65) 0%,
            rgba(15, 23, 42, 0.04) 30%,
            rgba(15, 23, 42, 0.35) 55%,
            rgba(15, 23, 42, 0.94) 100%);
}

/* Top: Crisp Index Number ("01", "02", etc.) */
.sector-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sector-card__number {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease, transform 0.3s ease;
}

.sector-card:hover .sector-card__number {
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Bottom: Label & Hover Interaction */
.sector-card__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sector-card__meta {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.sector-card:hover .sector-card__meta {
    max-height: 24px;
    opacity: 1;
    transform: translateY(0);
}

.sector-card__tag {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.sector-card__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sector-card__title {
    font-family: var(--font-heading);
    font-size: clamp(0.92rem, 1.1vw, 1.08rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease;
}

.sector-card:hover .sector-card__title {
    color: #FFFFFF;
}

.sector-card__action-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #FFFFFF;
    opacity: 0;
    transform: scale(0.75);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.sector-card:hover .sector-card__action-icon {
    opacity: 1;
    transform: scale(1);
    background: var(--color-brand, #BA121B);
}

/* Subtle Glowing Brand Accent Bar */
.sector-card__accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-brand, #BA121B) 0%, #E63946 100%);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.sector-card:hover .sector-card__accent-bar {
    width: 100%;
}

/* ============================================================
   SECTORS GRID RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (768px – 1024px): 2 Columns */
@media (max-width: 1024px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sector-card {
        aspect-ratio: 16 / 10.5;
        min-height: 230px;
    }

    .sector-card__action-icon {
        opacity: 0.85;
        transform: scale(0.9);
    }
}

/* Mobile & Small Screens (<= 767px): 1 Column */
@media (max-width: 767px) {
    .sectors-section {
        padding-top: var(--space-2xl, 48px);
        padding-bottom: var(--space-2xl, 48px);
    }

    .sectors-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 28px;
    }

    .sectors-header__right {
        width: 100%;
    }

    .sectors-header__btn {
        width: 100%;
        justify-content: center;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
        border-radius: 8px;
    }

    .sector-card {
        aspect-ratio: 16 / 10;
        min-height: 200px;
        padding: 18px 20px;
    }

    .sector-card__meta {
        max-height: 24px;
        opacity: 1;
        transform: translateY(0);
    }

    .sector-card__action-icon {
        opacity: 1;
        transform: scale(1);
        background: rgba(255, 255, 255, 0.2);
    }

    .sector-card__accent-bar {
        width: 100%;
        opacity: 0.4;
    }
}

/* ============================================================
   Industries Page Detailed Rows (.industry-row)
   ============================================================ */
.industry-row {
    position: relative;
    width: 100%;
}

@media (min-width: 769px) {
    .industry-row--reverse .industry-row__content {
        order: 2;
    }
    .industry-row--reverse .industry-row__visual {
        order: 1;
    }
}

@media (max-width: 768px) {
    .industry-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
    .industry-row .industry-row__visual {
        order: 1;
        width: 100%;
    }
    .industry-row .industry-row__content {
        order: 2;
        width: 100%;
    }
}