/* ============================================================
   RAEES IMPORT & EXPORT
   PRODUCTION / SOURCING SECTION
   ------------------------------------------------------------
   File:
   /assets/css/pages/home/production.css

   ULTRA PREMIUM END VERSION
   Version: 5.0

   Design:
   - Luxury editorial layout
   - Black / ivory / antique gold
   - Premium process cards
   - Clean typography hierarchy
   - No overlapping content
   - Responsive
   - Animation-safe
   ============================================================ */


/* ============================================================
   01. SECTION
   ============================================================ */

.production-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding:
        clamp(88px, 8vw, 138px)
        0
        clamp(96px, 9vw, 150px);

    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(185, 126, 35, 0.055),
            transparent 27%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(185, 126, 35, 0.065),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #fffdf9 0%,
            #fbf7ef 100%
        );
}


/* premium background line */

.production-section::before {
    content: "";
    position: absolute;

    top: 0;
    left: 50%;

    width: min(1180px, calc(100% - 40px));
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(181, 123, 31, 0.24),
            transparent
        );

    pointer-events: none;
}


/* decorative glow */

.production-section::after {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -250px;
    bottom: -260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(184, 125, 32, 0.075),
            transparent 68%
        );

    pointer-events: none;
    z-index: -1;
}


.production-section > .container {
    position: relative;
    z-index: 2;
}


/* ============================================================
   02. SECTION HEADING
   ============================================================ */

.production-section .section-heading {
    width: min(760px, 100%);

    margin:
        0 auto
        clamp(56px, 5vw, 78px);

    text-align: center;
}


.production-section .section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 18px;

    color: #a86d15;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}


.production-section .section-kicker::before,
.production-section .section-kicker::after {
    content: "";

    width: 30px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c99039
        );
}


.production-section .section-kicker::after {
    background:
        linear-gradient(
            90deg,
            #c99039,
            transparent
        );
}


.production-section .section-heading h2 {
    max-width: 690px;

    margin:
        0 auto
        20px;

    color: #17130f;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(40px, 4.25vw, 68px);

    font-weight: 500;
    line-height: 0.98;

    letter-spacing: -0.045em;

    text-wrap: balance;
}


.production-section .section-heading > p {
    max-width: 650px;

    margin: 0 auto;

    color: #6e665d;

    font-size:
        clamp(14px, 1vw, 16px);

    font-weight: 400;
    line-height: 1.85;

    text-wrap: balance;
}


/* ============================================================
   03. PROCESS GRID
   ============================================================ */

.production-grid {
    position: relative;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    width: 100%;

    margin: 0 auto;
}


/* horizontal process connector */

.production-grid::before {
    content: "";

    position: absolute;

    top: 54px;
    left: 9%;
    right: 9%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(181, 121, 28, 0.18) 8%,
            rgba(181, 121, 28, 0.32) 50%,
            rgba(181, 121, 28, 0.18) 92%,
            transparent 100%
        );

    pointer-events: none;
    z-index: 0;
}


/* ============================================================
   04. PROCESS CARD
   ============================================================ */

.production-card {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 310px;

    padding:
        34px
        30px
        32px;

    overflow: hidden;

    border:
        1px solid
        rgba(31, 24, 17, 0.09);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(252, 248, 240, 0.91)
        );

    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 14px 40px rgba(39, 29, 17, 0.045);

    transition:
        transform 0.4s cubic-bezier(.2,.7,.2,1),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}


/* gold top accent */

.production-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 28px;

    width: 0;
    height: 2px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #9d6512,
            #e0b15c,
            #a36a16
        );

    transition:
        width 0.45s
        cubic-bezier(.2,.7,.2,1);
}


/* subtle card glow */

.production-card::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -85px;
    bottom: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(195, 137, 48, 0.11),
            transparent 70%
        );

    opacity: 0;

    transition:
        opacity 0.4s ease;

    pointer-events: none;
}


.production-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(177, 117, 25, 0.28);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fdf8ef
        );

    box-shadow:
        0 24px 55px
        rgba(41, 30, 17, 0.10);
}


.production-card:hover::before {
    width: 72px;
}


.production-card:hover::after {
    opacity: 1;
}


/* ============================================================
   05. CARD TOP AREA
   ============================================================ */

.production-number {
    position: absolute;

    top: 28px;
    right: 28px;

    color:
        rgba(164, 106, 18, 0.12);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 54px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: -0.05em;

    pointer-events: none;

    transition:
        color 0.35s ease,
        transform 0.35s ease;
}


.production-card:hover
.production-number {
    color:
        rgba(164, 106, 18, 0.20);

    transform:
        translateY(-2px);
}


/* ============================================================
   06. ICON
   ============================================================ */

.production-icon {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 54px;
    height: 54px;

    margin-bottom: 32px;

    border:
        1px solid
        rgba(180, 119, 25, 0.18);

    border-radius: 16px;

    color: #a86d15;

    background:
        linear-gradient(
            145deg,
            #fff9ee,
            #f3e3c5
        );

    box-shadow:
        0 8px 20px
        rgba(143, 93, 19, 0.08);

    font-size: 18px;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}


.production-icon::after {
    content: "";

    position: absolute;

    inset: 5px;

    border:
        1px solid
        rgba(255,255,255,0.7);

    border-radius: 11px;

    pointer-events: none;
}


.production-card:hover
.production-icon {
    transform:
        translateY(-3px)
        rotate(-3deg);

    color: #fff;

    background:
        linear-gradient(
            145deg,
            #c58a31,
            #99600f
        );

    box-shadow:
        0 12px 26px
        rgba(150, 95, 14, 0.20);
}


/* ============================================================
   07. CARD HEADING
   ============================================================ */

.production-card h3 {
    position: relative;
    z-index: 2;

    width: 100%;

    margin:
        0 0
        14px;

    color: #191510;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(22px, 1.55vw, 28px);

    font-weight: 600;
    line-height: 1.12;

    letter-spacing: -0.025em;

    text-align: left;
}


/* ============================================================
   08. CARD DESCRIPTION
   ============================================================ */

.production-card > p {
    position: relative;
    z-index: 2;

    width: 100%;

    margin: 0;

    color: #70685f;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;

    text-align: left;

    overflow-wrap: break-word;
}


/* ============================================================
   09. PREMIUM STEP INDICATOR
   ============================================================ */

.production-card .production-icon::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -22px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    transform:
        translateX(-50%);

    background: #b87a1c;

    box-shadow:
        0 0 0 5px
        rgba(184, 122, 28, 0.08);
}


/* ============================================================
   10. FOOTER ACTION
   ============================================================ */

.production-section
.section-footer-action {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top:
        clamp(42px, 4vw, 58px);
}


/* specifically override generic btn-outline */

.production-section
.section-footer-action
.btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 54px;

    padding:
        0 26px;

    overflow: hidden;

    border:
        1px solid #17130f;

    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #191510,
            #0e0c09
        );

    box-shadow:
        0 12px 28px
        rgba(26, 20, 13, 0.16);

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 0.015em;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.production-section
.section-footer-action
.btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    transform: skewX(-22deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.13),
            transparent
        );

    transition:
        left 0.6s ease;
}


.production-section
.section-footer-action
.btn:hover::before {
    left: 140%;
}


.production-section
.section-footer-action
.btn:hover {
    transform: translateY(-3px);

    border-color: #a86d15;

    box-shadow:
        0 17px 36px
        rgba(25, 18, 10, 0.20);
}


.production-section
.section-footer-action
.btn i {
    color: #d8a64c;

    font-size: 12px;

    transition:
        transform 0.3s ease;
}


.production-section
.section-footer-action
.btn:hover i {
    transform:
        translateX(4px);
}


/* ============================================================
   11. LARGE DESKTOP
   ============================================================ */

@media (min-width: 1400px) {

    .production-grid {
        gap: 22px;
    }


    .production-card {
        min-height: 330px;

        padding:
            38px
            34px
            36px;
    }

}


/* ============================================================
   12. LAPTOP
   ============================================================ */

@media (max-width: 1199px) {

    .production-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }


    .production-grid::before {
        display: none;
    }


    .production-card {
        min-height: 280px;
    }

}


/* ============================================================
   13. TABLET
   ============================================================ */

@media (max-width: 767px) {

    .production-section {
        padding:
            74px 0
            84px;
    }


    .production-section
    .section-heading {
        margin-bottom: 42px;
    }


    .production-section
    .section-heading h2 {
        font-size:
            clamp(36px, 10vw, 48px);

        line-height: 1.02;
    }


    .production-section
    .section-heading > p {
        font-size: 14px;
        line-height: 1.75;
    }


    .production-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .production-card {
        min-height: auto;

        padding:
            28px
            26px
            30px;

        border-radius: 20px;
    }


    .production-number {
        top: 25px;
        right: 25px;

        font-size: 48px;
    }


    .production-icon {
        width: 50px;
        height: 50px;

        margin-bottom: 28px;
    }


    .production-card h3 {
        font-size: 25px;
    }


    .production-card > p {
        max-width: 520px;
    }


    .production-section
    .section-footer-action {
        margin-top: 34px;
    }

}


/* ============================================================
   14. MOBILE
   ============================================================ */

@media (max-width: 479px) {

    .production-section {
        padding:
            62px 0
            72px;
    }


    .production-section
    .section-kicker {
        gap: 9px;

        font-size: 9px;

        letter-spacing: 0.17em;
    }


    .production-section
    .section-kicker::before,
    .production-section
    .section-kicker::after {
        width: 18px;
    }


    .production-section
    .section-heading h2 {
        font-size:
            clamp(33px, 10vw, 42px);
    }


    .production-card {
        padding:
            25px
            22px
            27px;
    }


    .production-number {
        top: 23px;
        right: 22px;

        font-size: 43px;
    }


    .production-card h3 {
        padding-right: 35px;

        font-size: 23px;
    }


    .production-card > p {
        font-size: 13.5px;

        line-height: 1.72;
    }


    .production-section
    .section-footer-action
    .btn {
        width: 100%;

        min-height: 54px;

        padding:
            0 20px;
    }

}


/* ============================================================
   15. HOVER-SAFE DEVICES
   ============================================================ */

@media (hover: none) {

    .production-card:hover {
        transform: none;
    }


    .production-card:hover
    .production-icon {
        transform: none;
    }

}


/* ============================================================
   16. REDUCED MOTION
   ============================================================ */

@media (
    prefers-reduced-motion: reduce
) {

    .production-card,
    .production-card::before,
    .production-card::after,
    .production-icon,
    .production-number,
    .production-section
    .section-footer-action
    .btn,
    .production-section
    .section-footer-action
    .btn::before,
    .production-section
    .section-footer-action
    .btn i {
        transition: none !important;
    }

}


/* ============================================================
   17. CRITICAL ANIMATION COMPATIBILITY
   ============================================================ */

/*
 * Prevent animation system / tilt JS from destroying
 * the internal production card layout.
 */

.production-card {
    box-sizing: border-box;
}


.production-card > * {
    box-sizing: border-box;
}


/*
 * Important:
 * Icon, heading and paragraph remain separate blocks.
 */

.production-card
.production-icon {
    flex-shrink: 0;
}


.production-card h3,
.production-card > p {
    flex-shrink: 0;
}


/* ============================================================
   END OF PRODUCTION.CSS
   ============================================================ */