/* Showroom Industry Pages - Extends Culture Page Styles */

/* Industry Hero - Override culture-hero without background image */
.industry-hero {
    background: #FFFFFF !important;
    background-image: none !important;
}

.industry-hero::before {
    display: none;
}

/* Lighting Industry Hero - Background Image with Overlay */
.industry-hero--lighting {
    background: url('/assets/images/showrooms/NS-Lighting-Landing.webp') center center / cover no-repeat !important;
    position: relative;
}

.industry-hero--lighting::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.industry-hero--lighting .container {
    position: relative;
    z-index: 2;
}

/* Furniture Industry Hero - Background Image with Overlay */
.industry-hero--furniture {
    background: url('/assets/images/showrooms/NS-Furniture-Landing.webp') center center / cover no-repeat !important;
    position: relative;
}

.industry-hero--furniture::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.industry-hero--furniture .container {
    position: relative;
    z-index: 2;
}

/* Cannabis Industry Hero - Background Image with Overlay */
.industry-hero--cannabis {
    background: url('/assets/images/showrooms/NS-Cannabis-Landing.webp') center center / cover no-repeat !important;
    position: relative;
}

.industry-hero--cannabis::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.industry-hero--cannabis .container {
    position: relative;
    z-index: 2;
}

/* Marina & Auto Industry Hero - Background Image with Overlay */
.industry-hero--marina-auto {
    background: url('/assets/images/showrooms/NS-Luxury-Landing.webp') center center / cover no-repeat !important;
    position: relative;
}

.industry-hero--marina-auto::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.industry-hero--marina-auto .container {
    position: relative;
    z-index: 2;
}

/* Infrastructure Section - Two Column Layout with Brands Slideshow */
.infrastructure-section--with-brands .infrastructure-container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
}

.infrastructure-section--with-brands .infrastructure-content {
    text-align: left;
    margin: 0;
}

@media (max-width: 1024px) {
    .infrastructure-section--with-brands .infrastructure-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Brands Slideshow */
.brands-slideshow {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(60, 19, 97, 0.12);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.brands-slideshow-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neural-purple, #3c1361);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 1rem 0;
    text-align: center;
}

.brands-slides-container {
    position: relative;
    min-height: 240px;
}

.brands-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.brands-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.brands-slide-category {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--neural-orange, #d97706);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.brands-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.brand-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: #FFFFFF;
    border: 1px solid rgba(60, 19, 97, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-grid-item:hover {
    background: #FFFFFF;
    border-color: rgba(60, 19, 97, 0.25);
    box-shadow: 0 4px 12px -4px rgba(60, 19, 97, 0.15);
    transform: translateY(-2px);
}

.brand-grid-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

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

.brand-grid-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.brand-grid-item:hover .brand-grid-name {
    color: var(--neural-purple, #3c1361);
}

/* Brands Slide Indicators */
.brands-slide-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.brands-slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(60, 19, 97, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.brands-slide-indicator:hover {
    background: rgba(60, 19, 97, 0.4);
}

.brands-slide-indicator.active {
    background: var(--neural-purple, #3c1361);
    width: 24px;
    border-radius: 4px;
}

.brands-cta-text {
    font-size: 0.75rem;
    color: #6B7280;
    text-align: center;
    margin: 1rem 0 0 0;
    line-height: 1.5;
}

.brands-cta-link {
    color: var(--neural-purple, #3c1361);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.brands-cta-link:hover {
    color: var(--neural-orange, #d97706);
}

/* Values Grid - Single Row (4 columns) */
.values-grid--single-row {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .values-grid--single-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .values-grid--single-row {
        grid-template-columns: 1fr;
    }
}

/* Services Section - Full Width Variant (2x3 grid) */
.services-section--full-width .neural-container {
    text-align: center;
}

.services-section--full-width .section-headline::after {
    margin-left: auto;
    margin-right: auto;
}

.services-section--full-width .services-layout {
    display: block;
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.services-section.services-section--full-width .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
}

.services-section--full-width .service-card {
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        linear-gradient(135deg, var(--np-purple, #3C1361), var(--np-orange, #EA580C)) border-box;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: left;
}

.services-section--full-width .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(60, 19, 97, 0.03), rgba(234, 88, 12, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.services-section--full-width .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(60, 19, 97, 0.12);
}

.services-section--full-width .service-card:hover::before {
    opacity: 1;
}

.services-section--full-width .service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.services-section--full-width .service-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary, #4B5563);
    margin: 0;
    position: relative;
    z-index: 1;
}

.services-section--full-width .services-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Reduce gap between services and values sections on industry pages */
.services-section--full-width + .values-section {
    padding-top: 3rem;
}

@media (max-width: 1024px) {
    .services-section--full-width .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-section--full-width .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Label Styling */
.industry-hero .hero-label {
    font-family: var(--font-primary);
    color: var(--np-purple, #3c1361);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

/* Hero Tagline */
.industry-hero .hero-tagline {
    font-family: var(--font-primary);
    color: var(--np-orange, #EA580C);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Values Section - No background image for industry pages */
.values-section {
    background: #FAFAFA !important;
    background-image: none !important;
}

.values-section::before {
    display: none;
}

/* The Shift Section */
.shift-section {
    background: #FFFFFF;
}

.shift-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.shift-lead {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--np-orange, #EA580C);
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.shift-text {
    text-align: left;
}

.shift-text p {
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary, #4B5563);
    margin: 0 0 1.25rem 0;
}

.shift-text p:last-child {
    margin-bottom: 0;
}

.shift-emphasis {
    font-weight: 600;
    color: var(--text-primary, #111827) !important;
    font-size: 1.125rem !important;
}

.shift-cta {
    margin-top: 2.5rem;
}

.shift-cta .btn-primary {
    display: inline-block;
    background: var(--np-purple, #3C1361);
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shift-cta .btn-primary:hover {
    background: var(--np-orange, #EA580C);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}

@media (max-width: 768px) {
    .shift-lead {
        font-size: 1.125rem;
    }

    .shift-text p {
        font-size: 1rem;
    }

    .shift-emphasis {
        font-size: 1.0625rem !important;
    }
}

/* Related Showrooms Section */
.related-section {
    background: #FFFFFF;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: #FFFFFF;
    border: 1px solid var(--np-mid-grey, #E5E7EB);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--np-purple, #3C1361), var(--np-orange, #EA580C));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.related-card:hover::before {
    transform: scaleX(1);
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(60, 19, 97, 0.15);
    box-shadow: 0 12px 32px rgba(60, 19, 97, 0.08);
}

.related-title {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary, #111827);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.related-subtitle {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-secondary, #6B7280);
    font-weight: 400;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.related-arrow {
    font-size: 1.25rem;
    color: var(--np-purple, #3C1361);
    transition: transform 0.3s ease, color 0.3s ease;
}

.related-card:hover .related-arrow {
    transform: translateX(4px);
    color: var(--np-orange, #EA580C);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .industry-hero {
        min-height: auto;
        padding-top: calc(var(--header-height, 70px) + 2rem);
        padding-bottom: 3rem;
    }

    .industry-hero .hero-label {
        font-size: 0.6875rem;
        margin-bottom: 0.75rem;
    }

    .industry-hero .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .related-card {
        padding: 1.5rem 1.25rem;
    }

    .related-card:hover {
        transform: none;
    }

    .related-title {
        font-size: 1rem;
    }

    .related-subtitle {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .industry-hero .hero-heading {
        font-size: 1.625rem;
    }

    .related-card {
        padding: 1.25rem 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .related-card:hover {
        transform: none;
        box-shadow: none;
    }

    .related-card:active {
        transform: scale(0.98);
    }
}

/* Industries Within Section */
.industries-section {
    background: #FFFFFF;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industries-grid .industry-card:nth-child(4),
.industries-grid .industry-card:nth-child(5) {
    grid-column: span 1;
}

@media (min-width: 1025px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industries-grid .industry-card:nth-child(4) {
        grid-column: 1 / 2;
        margin-left: calc(50% + 0.75rem);
    }

    .industries-grid .industry-card:nth-child(5) {
        grid-column: 2 / 4;
        margin-right: calc(50% + 0.75rem);
    }
}

/* 4-Column Industries Grid (for Marina & Auto Markets) */
.industries-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

.industries-grid--4col .industry-card:nth-child(4),
.industries-grid--4col .industry-card:nth-child(5) {
    grid-column: span 1;
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 1025px) {
    .industries-grid--4col {
        grid-template-columns: repeat(4, 1fr);
    }

    .industries-grid--4col .industry-card:nth-child(4) {
        grid-column: span 1;
        margin-left: 0;
    }
}

@media (max-width: 1024px) {
    .industries-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid--4col .industry-card:last-child {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .industries-grid--4col {
        grid-template-columns: 1fr;
    }
}

.industry-card {
    background: #FFFFFF;
    border: 1px solid var(--np-mid-grey, #E5E7EB);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.industry-card:hover {
    border-color: rgba(60, 19, 97, 0.2);
    box-shadow: 0 8px 24px rgba(60, 19, 97, 0.08);
    transform: translateY(-2px);
}

.industry-title {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #111827);
    margin: 0 0 0.75rem 0;
}

.industry-description {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary, #4B5563);
    margin: 0;
}

@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid .industry-card:nth-child(4),
    .industries-grid .industry-card:nth-child(5) {
        margin-left: 0;
        margin-right: 0;
    }

    .industries-grid .industry-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid .industry-card:last-child {
        grid-column: auto;
    }

    .industry-card {
        padding: 1.5rem 1.25rem;
    }

    .industry-title {
        font-size: 1rem;
    }

    .industry-description {
        font-size: 0.875rem;
    }
}
