/* =============================================================
   ABOUT US PAGE — css/about-us.css
   Loaded conditionally on /about-us/ only
   =============================================================
   0. Page Container Override
   1. Hero Section
   2. Company Intro
   3. What We Do — Service Cards
   4. Our Products
   5. Showroom & Gallery
   6. Responsive
   ============================================================= */

/* ==============================================
   0. PAGE CONTAINER OVERRIDE
   CSS loads only on /about-us/ so no body-class scope needed
   ============================================== */
.inside-article,
.entry-content,
#primary {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Remove separate-containers article top margin (GP theme gap above hero) */
.site-main > article,
.content-area > .site-main,
#content > .inside-content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove GP grid-container top padding that creates gap below nav */
.site.grid-container {
    padding-top: 0 !important;
}

.entry-header {
    display: none;
}

/* Empty <p> tags WordPress wraps around Custom HTML blocks */
.entry-content > p:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.about-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==============================================
   1. HERO SECTION
   ============================================== */
.about-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #001e3c 0%, #0073aa 60%, #00838f 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 20, 50, 0.8) 0%,
        rgba(0, 80, 120, 0.55) 50%,
        rgba(0, 100, 115, 0.4) 100%
    );
    z-index: 1;
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    max-width: 820px;
    margin: 0 auto;
}

.about-hero-inner h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.about-hero-inner p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    line-height: 1.75;
}

/* ==============================================
   2. COMPANY INTRO
   ============================================== */
.about-intro-section {
    padding: 64px 0;
    background: #ffffff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-intro-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-dk, #222222);
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 14px;
}

.about-intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-primary, #0073aa);
    border-radius: 2px;
}

.about-intro-text p {
    font-size: 0.95rem;
    color: var(--color-text-md, #444444);
    line-height: 1.85;
    margin: 0 0 16px;
}

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

.about-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-highlights li {
    background: var(--color-panel-lt, #f7f7f7);
    border-left: 3px solid var(--color-primary, #0073aa);
    padding: 18px 20px;
    border-radius: 0 6px 6px 0;
}

.about-highlights li strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-dk, #222222);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.about-highlights li span {
    font-size: 0.9rem;
    color: var(--color-text-md, #444444);
    line-height: 1.5;
}

/* ==============================================
   3. WHAT WE DO — SERVICE CARDS
   ============================================== */
.about-services-section {
    padding: 64px 0;
    background: var(--color-panel-lt, #f7f7f7);
}

.about-services-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dk, #222222);
    text-align: center;
    margin: 0 0 40px;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 36px 26px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 3px solid transparent;
}

.about-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-primary, #0073aa);
}

.about-service-card .service-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
}

.about-service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dk, #222222);
    margin: 0 0 10px;
}

.about-service-card p {
    font-size: 0.9rem;
    color: var(--color-text-md, #444444);
    line-height: 1.7;
    margin: 0;
}

/* ==============================================
   4. OUR PRODUCTS
   ============================================== */
.about-products-section {
    padding: 64px 0;
    background: #ffffff;
}

.about-products-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dk, #222222);
    text-align: center;
    margin: 0 0 16px;
}

.about-products-section > .about-section-inner > p {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-md, #444444);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 36px;
}

.about-products-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.about-products-tags a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-panel-lt, #f7f7f7);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dk, #222222);
    text-decoration: none;
    transition: all 0.2s ease;
}

.about-products-tags a:hover {
    background: var(--color-primary, #0073aa);
    color: #ffffff;
    border-color: var(--color-primary, #0073aa);
    transform: translateY(-2px);
}

/* ==============================================
   5. SHOWROOM & GALLERY
   ============================================== */
.about-showroom-section {
    padding: 64px 0;
    background: var(--color-panel-lt, #f7f7f7);
}

.about-showroom-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dk, #222222);
    text-align: center;
    margin: 0 0 12px;
}

.about-showroom-section > .about-section-inner > p {
    text-align: center;
    font-size: 0.93rem;
    color: var(--color-text-md, #444444);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 36px;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.about-gallery-item:hover img {
    transform: scale(1.05);
}

.about-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

/* ==============================================
   6. RESPONSIVE
   ============================================== */
@media (max-width: 900px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-services-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .about-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 320px;
    }

    .about-hero-inner h1 {
        font-size: 1.9rem;
    }

    .about-hero-inner p {
        font-size: 0.98rem;
    }

    .about-section-inner {
        padding: 0 16px;
    }

    .about-intro-section,
    .about-services-section,
    .about-products-section,
    .about-showroom-section {
        padding: 44px 0;
    }

    .about-products-tags {
        gap: 8px;
    }

    .about-products-tags a {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .about-hero-inner h1 {
        font-size: 1.5rem;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .about-gallery-item:first-child {
        grid-column: span 1;
        aspect-ratio: 16 / 9;
    }
}
