﻿/* ================================================
   THICK SHEET GALLERY â€” gallery.css
   Imported in addition to the shared thermoforming/page.css
   ================================================ */

/* â”€â”€ Hero split layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tc-hero-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.tc-split-text {
    flex: 1;
}

.tc-split-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tc-split-text p {
    line-height: 1.75;
    margin-bottom: 0.9rem;
    font-size: 1rem;
}

.tc-split-image {
    flex: 1;
    width: 100%;
}

.tc-hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tc-hero-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(230, 126, 34, 0.25);
}

.tc-img-caption {
    text-align: center;
    font-size: 0.82rem;
    margin-top: 0.6rem;
    font-style: italic;
    opacity: 0.65;
}

/* Material badges â€” orange theme */
.tc-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.tc-badge {
    display: inline-block;
    background: #fff3e0;
    color: #c05000;
    border: 1px solid #f5c49a;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dark .tc-badge {
    background: #2a1a00;
    color: #f5a559;
    border-color: #7a3a00;
}

/* â”€â”€ Industry Showcase rows â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tc-showcase-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tc-showcase-intro {
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 720px;
}

.tc-showcase-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.tc-showcase-row:last-child {
    margin-bottom: 0;
}

.tc-showcase-img-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.tc-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
    aspect-ratio: 4 / 3;
}

.tc-showcase-img-wrap:hover .tc-showcase-img {
    transform: scale(1.04);
}

.tc-showcase-text {
    flex: 1;
}

.tc-sector-num {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: #f5c49a;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
    letter-spacing: -2px;
}

.dark .tc-sector-num {
    color: #7a3a00;
}

.tc-showcase-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #c05000;
}

.dark .tc-showcase-text h3 {
    color: #f5a559;
}

.tc-showcase-text p {
    line-height: 1.7;
    font-size: 0.97rem;
}

/* â”€â”€ Full-width Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tc-banner-section {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.tc-banner-img-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.tc-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.tc-banner-img-wrap:hover .tc-banner-img {
    transform: scale(1.03);
}

.tc-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(80, 30, 0, 0.82) 0%,
        rgba(160, 64, 0, 0.55) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem;
    color: #fff;
}

.tc-banner-overlay h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    max-width: 480px;
}

.tc-banner-overlay p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    max-width: 420px;
    line-height: 1.6;
}

/* â”€â”€ Gallery Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tc-gallery-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tc-gallery-intro {
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 720px;
}

.tc-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.tc-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #eee;
    aspect-ratio: 4 / 3;
}

.tc-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.tc-gallery-item:hover .tc-gallery-img {
    transform: scale(1.07);
}

/* Hover overlay â€” orange tint for thick sheet */
.tc-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(100, 40, 0, 0.75) 0%,
        transparent 55%
    );
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.1rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tc-gallery-item:hover .tc-gallery-overlay {
    opacity: 1;
}

.tc-gallery-overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ================================================
   RESPONSIVE â€” Tablet (600px+)
   ================================================ */
@media (min-width: 600px) {
    .tc-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.1rem;
    }

    .tc-showcase-row {
        flex-direction: row;
        gap: 2rem;
    }

    .tc-img-left {
        flex-direction: row-reverse;
    }

    .tc-showcase-img-wrap {
        flex: 0 0 45%;
    }

    .tc-showcase-img {
        aspect-ratio: 4 / 3;
    }
}

/* ================================================
   RESPONSIVE â€” Desktop (900px+)
   ================================================ */
@media (min-width: 900px) {

    .tc-hero-split {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .tc-split-text {
        flex: 1 1 48%;
    }

    .tc-split-image {
        flex: 1 1 48%;
    }

    .tc-split-text h2 {
        font-size: 2rem;
    }

    /* Masonry 3-column gallery */
    .tc-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 240px;
        gap: 1.1rem;
    }

    .tc-gallery-item {
        aspect-ratio: unset;
    }

    .tc-span-tall {
        grid-row: span 2;
    }

    .tc-span-wide {
        grid-column: span 2;
    }

    .tc-showcase-img-wrap {
        flex: 0 0 50%;
    }

    .tc-showcase-text h3 {
        font-size: 1.5rem;
    }

    .tc-sector-num {
        font-size: 3.5rem;
    }

    .tc-banner-img-wrap {
        aspect-ratio: 16 / 5;
    }

    .tc-banner-overlay h3 {
        font-size: 1.8rem;
    }
}

/* ================================================
   RESPONSIVE â€” Large Desktop (1200px+)
   ================================================ */
@media (min-width: 1200px) {

    .tc-gallery-grid {
        grid-auto-rows: 270px;
    }

    .tc-banner-overlay h3 {
        font-size: 2rem;
        max-width: 560px;
    }

    .tc-banner-overlay p {
        font-size: 1.05rem;
        max-width: 480px;
    }
}

