
/* ==========================================================
   ESTEEL110 - Homepage Premium Design
   Hero / Categories / Benefits / CTA
   Kadence Child
   Responsive Layout Fix
========================================================== */


/* ==========================
   1. Homepage Background
========================== */

.esteel-home,
.home .site-main {
    background: linear-gradient(
        145deg,
        #050505,
        #111
    );
    color: #ddd;
}


/* ==========================
   2. Hero Section
========================== */

.esteel-hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, .85),
        rgba(30, 30, 30, .75)
    );
}


/* Metallic Effect */

.esteel-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, .03),
        rgba(255, 255, 255, .03) 1px,
        transparent 3px,
        transparent 8px
    );

    pointer-events: none;
}


/* Hero Content */

.hero-content,
.esteel-hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}


/* Main Heading */

.hero-content h1,
.esteel-hero h1 {
    color: #fff;
    font-size: 80px;
    font-weight: 900;
    letter-spacing: 8px;

    text-shadow: 0 0 40px rgba(255, 255, 255, .25);
}


/* Secondary Heading */

.hero-content h2 {
    color: #ddd;
    font-size: 32px;
    margin-top: 20px;
}


/* Description */

.hero-content p,
.esteel-hero p {
    color: #aaa;
    font-size: 18px;
    max-width: 750px;
    margin: 25px auto;
    line-height: 2;
}


/* Hero Buttons */

.hero-content a,
.esteel-hero .button,
.esteel-cta a {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #aaa,
        #222
    );

    color: #fff;
    font-weight: 800;
    transition: .35s;
}


.hero-content a:hover,
.esteel-hero .button:hover,
.esteel-cta a:hover {
    transform: translateY(-5px);
    background: #fff;
    color: #000;
}


/* ==========================
   3. Intro Section
========================== */

.esteel-intro {
    width: calc(100% - 40px);
    max-width: 1000px;
    margin: 80px auto;
    text-align: center;
    padding: 20px;
}

.esteel-intro h2 {
    color: #fff;
    font-size: 38px;
}

.esteel-intro p {
    color: #aaa;
    font-size: 18px;
    line-height: 2;
}


/* ==========================
   4. Categories
   Desktop: 4 Columns
========================== */

.esteel-categories,
.category-grid {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 60px auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}


/* Category Cards */

.category-card,
.esteel-category-card {
    min-width: 0;
    min-height: 220px;

    background: linear-gradient(
        145deg,
        #181818,
        #090909
    );

    border: 1px solid #333;
    border-radius: 25px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    transition: .35s;
}


.category-card:hover,
.esteel-category-card:hover {
    transform: translateY(-10px);
    border-color: #aaa;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
}


.category-card h3,
.esteel-category-card h3 {
    color: #fff;
    font-size: 25px;
}


/* Category Images */

.esteel-category-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
}


/* ==========================
   5. Benefits
   Desktop: 3 Columns
========================== */

.esteel-benefits,
.esteel-features {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 80px auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


.esteel-benefits div,
.esteel-feature-box {
    min-width: 0;

    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
}


.esteel-benefits h3,
.esteel-feature-box h3 {
    color: #fff;
}


.esteel-benefits p,
.esteel-feature-box p {
    color: #aaa;
    line-height: 2;
}


/* ==========================
   6. CTA Section
========================== */

.esteel-cta {
    margin-top: 80px;
    padding: 70px 20px;
    text-align: center;

    background: #111;
    border-top: 1px solid #333;
}


.esteel-cta h2 {
    color: #fff;
    font-size: 35px;
    margin-bottom: 30px;
}


/* ==========================================================
   7. Responsive Layout
   Keep Desktop Layout Until 767px
========================================================== */

@media screen and (max-width: 767px) {

    /* Hero */

    .esteel-hero {
        min-height: 420px;
        padding: 45px 16px;
    }

    .hero-content h1,
    .esteel-hero h1 {
        font-size: 45px;
        letter-spacing: 4px;
        overflow-wrap: anywhere;
    }

    .hero-content p,
    .esteel-hero p {
        font-size: 16px;
    }

    /* Categories: 2 Columns */

    .category-grid,
    .esteel-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        margin: 40px auto;
    }

    .category-card,
    .esteel-category-card {
        min-height: 180px;
    }

    .category-card h3,
    .esteel-category-card h3 {
        font-size: 20px;
    }

    /* Benefits */

    .esteel-benefits,
    .esteel-features {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 50px auto;
    }

    .esteel-benefits div,
    .esteel-feature-box {
        padding: 25px;
    }

    /* Intro */

    .esteel-intro {
        margin: 45px auto;
    }

    .esteel-intro h2 {
        font-size: 30px;
    }

    /* CTA */

    .esteel-cta {
        margin-top: 50px;
        padding: 45px 16px;
    }

    .esteel-cta h2 {
        font-size: 28px;
    }

    .hero-content a,
    .esteel-hero .button,
    .esteel-cta a {
        padding: 13px 28px;
    }
}


/* ==========================
   8. Small Mobile Screens
========================== */

@media screen and (max-width: 600px) {

    .category-grid,
    .esteel-categories {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .hero-content h1,
    .esteel-hero h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .esteel-intro h2 {
        font-size: 26px;
    }

    .esteel-intro p {
        font-size: 16px;
    }

    .esteel-cta h2 {
        font-size: 24px;
    }
}
