/* ==============================================
   PRODUCTS PAGE STYLES
   ============================================== */

/* AGGRESSIVE background removal - Override ALL background styles from main.css */
html,
body,
body:before,
body:after,
#wrapper,
#wrapper:before,
#wrapper:after {
    background: #000 !important;
    background-color: #000 !important;
    background-image: none !important;
}

/* Remove any pseudo-element backgrounds that might be creating the pattern */
* {
    background-attachment: scroll !important;
}

/* Products Hero Section */
#products-hero {
    background: transparent;
    padding: 6em 0 4em;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#products-hero-content {
    position: relative;
    z-index: 1;
}

#products-hero-image-container {
    max-width: 600px;
    margin: 0 auto 2em;
    position: relative;
}

#products-hero-image-container img {
    width: 100%;
    height: auto;
}

.products-hero-overlay {
    background: rgba(47, 47, 47, 0.95);
    padding: 2em 3em;
    display: inline-block;
    border-radius: 0.5em;
    margin-top: -4em;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.products-hero-overlay h1 {
    color: #fff;
    margin: 0 0 0.5em 0;
    font-size: 2.5em;
}

.products-hero-overlay p {
    color: #e8790c;
    font-size: 1.25em;
    margin: 0;
    font-weight: 400;
}

/* Products Section */
#products-section {
    padding: 2em 0 4em;
    background: #000 !important;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3em;
    margin-top: 2em;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2em;
}

.product-card {
    background: rgba(255, 255, 255, 0.025);
    border-radius: 0.5em;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(232, 121, 12, 0.4);
    border-color: rgba(232, 121, 12, 0.4);
}

.product-icon-wrapper {
    background: #e0e0e0;
    padding: 3em 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.product-icon-wrapper svg {
    width: 120px;
    height: 120px;
    fill: #2f2f2f;
}

.product-card-content {
    padding: 2em;
}

.product-card-content h3 {
    color: #fff;
    margin-bottom: 0.75em;
}

.product-card-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin-bottom: 1.5em;
    min-height: 80px;
}

.product-card-content .button {
    background: #e8790c;
    color: #fff;
}

.product-card-content .button:hover {
    background: #c66609;
}

/* Responsive Design */
@media screen and (max-width: 980px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2em;
        padding: 0 1em;
    }

    .products-hero-overlay h1 {
        font-size: 2em;
    }
}

@media screen and (max-width: 736px) {
    #products-hero {
        padding: 3em 0 2em;
    }

    .products-hero-overlay {
        padding: 1.5em 2em;
    }

    .products-hero-overlay h1 {
        font-size: 1.75em;
    }

    #products-section {
        padding: 2em 0;
    }
}