/* ========================================
   Factorys Page Styles
   ======================================== */

/* Hero Section */
.factorys-hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 280px);
    min-height: 40rem;
    overflow: hidden;
    background-color: #1a1a1a;
}

.factorys-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.factorys-hero-bg img {
    object-fit: cover;
    object-position: center center;
}

/* Stats Bar */
.factorys-hero-stats {
    position: absolute;
    bottom: 0;


    gap: 3.75rem;
    padding: 2rem 3.75rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 2;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.factorys-hero-stat-item {
    display: flex;
    min-width: 12.5rem;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.factorys-hero-stat-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.factorys-hero-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.factorys-hero-stat-value {
    font-family: Arial, ArialMT, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #F5F3EE;
    line-height: 2.4375rem;
}

.factorys-hero-stat-label {
    font-family: Arial, ArialMT, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #D8D6CF;
    line-height: 1.375rem;
    text-align: center;
}

/* ========================================
   Intro Section
   ======================================== */
.factorys-intro-section {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

.factorys-intro-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 3.75rem;
    text-align: center;
}

.factorys-intro-title {
    font-family: Arial, ArialMT, sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #0B0F0D;
    line-height: 3.5rem;
    margin: 0 0 1.5rem 0;
}

.factorys-intro-desc {
    font-family: Arial, ArialMT, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #666666;
    line-height: 1.75rem;
    margin: 0;
    max-width: 62.5rem;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Gallery Section
   ======================================== */
.factorys-gallery-section {
    background-color: #FFFFFF;
    padding: 0 0 4rem 0;
}

.factorys-gallery-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 3.75rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.factorys-gallery-item {
    display: flex;
    flex-direction: column;
}

.factorys-gallery-image {
    width: 100%;
    aspect-ratio: 467/311;
    overflow: hidden;
    border-radius: 0.5rem;
}

.factorys-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.factorys-gallery-title {
    font-family: Arial, ArialMT, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #0B0F0D;
    line-height: 1.5625rem;
    margin: 1rem 0 0 0;
    text-align: center;
}

/* ========================================
   Features Section
   ======================================== */
.factorys-features-section {
    padding: 4rem 0;
}

.factorys-features-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 3.75rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.factorys-feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.factorys-feature-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.factorys-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.factorys-feature-title {
    font-family: ArialMT, Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #0B0F0D;
    line-height: 2rem;
    margin: 0;
    text-align: left;
}

.factorys-feature-desc {
    font-family: ArialMT, Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #666666;
    line-height: 1.5rem;
    margin: 0;
    text-align: left;
}

/* ========================================
   Responsive - 1440px
   ======================================== */
@media screen and (max-width: 1440px) {
    .factorys-hero-stats {
        gap: 2.5rem;
        padding: 1.5rem 2.5rem;
    }

    .factorys-hero-stat-item {
        min-width: 10rem;
    }

    .factorys-hero-stat-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .factorys-hero-stat-value {
        font-size: 1.5rem;
        line-height: 2.125rem;
    }

    .factorys-hero-stat-label {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .factorys-intro-container {
        padding: 0 2.5rem;
    }

    .factorys-intro-title {
        font-size: 2.125rem;
        line-height: 3rem;
    }

    .factorys-intro-desc {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .factorys-gallery-container {
        padding: 0 2.5rem;
    }

    .factorys-features-container {
        padding: 0 2.5rem;
        gap: 2rem;
    }

    .factorys-feature-title {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .factorys-feature-desc {
        font-size: 1rem;
        line-height: 1.375rem;
    }
}

/* ========================================
   Responsive - 1200px
   ======================================== */
@media screen and (max-width: 1200px) {
    .factorys-hero-section {
        height: calc(100vh - 280px);
        min-height: 35rem;
    }

    .factorys-hero-stats {
        gap: 2rem;
        padding: 1.25rem 2rem;
    }

    .factorys-hero-stat-item {
        min-width: 8.75rem;
    }

    .factorys-hero-stat-icon {
        width: 2.125rem;
        height: 2.125rem;
    }

    .factorys-hero-stat-value {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .factorys-hero-stat-label {
        font-size: 0.8125rem;
        line-height: 1.125rem;
    }

    .factorys-intro-container {
        padding: 0 2rem;
    }

    .factorys-intro-title {
        font-size: 1.875rem;
        line-height: 2.625rem;
    }

    .factorys-intro-desc {
        font-size: 0.9375rem;
        line-height: 1.375rem;
    }

    .factorys-gallery-container {
        padding: 0 2rem;
        gap: 1.25rem;
    }

    .factorys-gallery-title {
        font-size: 1rem;
        line-height: 1.375rem;
    }

    .factorys-features-container {
        padding: 0 2rem;
        gap: 1.5rem;
    }

    .factorys-feature-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .factorys-feature-title {
        font-size: 1.375rem;
        line-height: 1.625rem;
    }

    .factorys-feature-desc {
        font-size: 0.9375rem;
        line-height: 1.25rem;
    }
}

/* ========================================
   Responsive - 992px
   ======================================== */
@media screen and (max-width: 992px) {
    .factorys-hero-section {
        height: auto;
        min-height: 30rem;
    }

    .factorys-hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
        position: relative;
        background-color: #0B0F0D;
    }

    .factorys-hero-stat-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 0;
    }

    .factorys-hero-stat-icon {
        width: 2rem;
        height: 2rem;
    }

    .factorys-hero-stat-value {
        font-size: 1.125rem;
        line-height: 1.5625rem;
    }

    .factorys-hero-stat-label {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .factorys-intro-section {
        padding: 3rem 0;
    }

    .factorys-intro-container {
        padding: 0 1.5rem;
    }

    .factorys-intro-title {
        font-size: 1.5rem;
        line-height: 2.125rem;
    }

    .factorys-intro-desc {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .factorys-gallery-section {
        padding: 0 0 3rem 0;
    }

    .factorys-gallery-container {
        padding: 0 1.5rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .factorys-gallery-title {
        font-size: 0.9375rem;
        line-height: 1.25rem;
    }

    .factorys-features-section {
        padding: 3rem 0;
    }

    .factorys-features-container {
        padding: 0 1.5rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .factorys-feature-icon {
        width: 2.125rem;
        height: 2.125rem;
    }

    .factorys-feature-title {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .factorys-feature-desc {
        font-size: 0.875rem;
        line-height: 1.1875rem;
    }
}

/* ========================================
   Responsive - 768px
   ======================================== */
@media screen and (max-width: 768px) {
    .factorys-hero-section {
        height: auto;
        min-height: 25rem;
    }

    .factorys-hero-bg img {
        height: 100%;
        min-height: 25rem;
        object-fit: cover;
    }

    .factorys-hero-stats {
        gap: 1rem;
        padding: 1rem 1rem;
    }

    .factorys-hero-stat-item {
        flex: 0 0 calc(50% - 0.5rem);
        padding: 0.75rem 0.5rem;
    }

    .factorys-hero-stat-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .factorys-hero-stat-value {
        font-size: 1rem;
        line-height: 1.375rem;
    }

    .factorys-hero-stat-label {
        font-size: 0.6875rem;
        line-height: 0.9375rem;
    }

    .factorys-intro-section {
        padding: 2.5rem 0;
    }

    .factorys-intro-container {
        padding: 0 1.25rem;
    }

    .factorys-intro-title {
        font-size: 1.375rem;
        line-height: 1.9375rem;
    }

    .factorys-intro-desc {
        font-size: 0.8125rem;
        line-height: 1.125rem;
    }

    .factorys-gallery-section {
        padding: 0 0 2.5rem 0;
    }

    .factorys-gallery-container {
        padding: 0 1.25rem;
        gap: 0.875rem;
    }

    .factorys-gallery-title {
        font-size: 0.875rem;
        line-height: 1.125rem;
        margin-top: 0.75rem;
    }

    .factorys-features-section {
        padding: 2.5rem 0;
    }

    .factorys-features-container {
        padding: 0 1.25rem;
        gap: 1.5rem;
    }

    .factorys-feature-icon {
        width: 1.875rem;
        height: 1.875rem;
    }

    .factorys-feature-title {
        font-size: 1.125rem;
        line-height: 1.375rem;
    }

    .factorys-feature-desc {
        font-size: 0.8125rem;
        line-height: 1.0625rem;
    }
}

/* ========================================
   Responsive - 480px
   ======================================== */
@media screen and (max-width: 480px) {
    .factorys-hero-section {
        min-height: 20rem;
    }

    .factorys-hero-bg img {
        min-height: 20rem;
    }

    .factorys-hero-stats {
        gap: 0.75rem;
        padding: 0.75rem 0.75rem;
    }

    .factorys-hero-stat-item {
        flex: 0 0 calc(50% - 0.375rem);
        padding: 0.5rem 0.25rem;
    }

    .factorys-hero-stat-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .factorys-hero-stat-value {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .factorys-hero-stat-label {
        font-size: 0.625rem;
        line-height: 0.875rem;
    }

    .factorys-intro-section {
        padding: 2rem 0;
    }

    .factorys-intro-container {
        padding: 0 1rem;
    }

    .factorys-intro-title {
        font-size: 1.125rem;
        line-height: 1.5625rem;
    }

    .factorys-intro-desc {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .factorys-gallery-section {
        padding: 0 0 2rem 0;
    }

    .factorys-gallery-container {
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .factorys-gallery-title {
        font-size: 0.75rem;
        line-height: 1rem;
        margin-top: 0.5rem;
    }

    .factorys-features-section {
        padding: 2rem 0;
    }

    .factorys-features-container {
        padding: 0 1rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .factorys-feature-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .factorys-feature-title {
        font-size: 0.9375rem;
        line-height: 1.25rem;
    }

    .factorys-feature-desc {
        font-size: 0.75rem;
        line-height: 1rem;
    }
}

/* ========================================
   Capacity & Delivery Section
   ======================================== */
.factorys-capacity-section {
    background-color: #123326;
    padding: 4rem 0;
}

.factorys-capacity-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 3.75rem;
}

.factorys-capacity-main-title {
    font-family: Arial, ArialMT, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #F5F3EE;
    line-height: 2.4375rem;
    margin: 0 0 2.5rem 0;
    text-align: left;
}

.factorys-capacity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.factorys-capacity-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 0 0 32px;
    border-left: 1px solid #D8D6CF ;
    gap: 1rem;
}
.factorys-capacity-item:first-child {
    border-left: none;
}

.factorys-capacity-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.factorys-capacity-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.factorys-capacity-content {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.factorys-capacity-title {
    font-family: Arial, ArialMT, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #F5F3EE;
    line-height: 1.5625rem;
    margin: 0;
    text-align: left;
}

.factorys-capacity-desc {
    font-family: ArialMT, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #D8D6CF;
    line-height: 1.25rem;
    margin: 0;
    text-align: left;
}

/* ========================================
   Responsive - Capacity Section
   ======================================== */
@media screen and (max-width: 1440px) {
    .factorys-capacity-container {
        padding: 0 2.5rem;
    }

    .factorys-capacity-main-title {
        font-size: 1.5rem;
        line-height: 2.125rem;
    }

    .factorys-capacity-grid {
        gap: 2rem;
    }

    .factorys-capacity-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .factorys-capacity-title {
        font-size: 1rem;
        line-height: 1.375rem;
    }

    .factorys-capacity-desc {
        font-size: 0.8125rem;
        line-height: 1.125rem;
    }
}

@media screen and (max-width: 1200px) {
    .factorys-capacity-container {
        padding: 0 2rem;
    }

    .factorys-capacity-grid {
        gap: 1.5rem;
    }

    .factorys-capacity-icon {
        width: 2.125rem;
        height: 2.125rem;
    }

    .factorys-capacity-title {
        font-size: 0.9375rem;
        line-height: 1.25rem;
    }

    .factorys-capacity-desc {
        font-size: 0.75rem;
        line-height: 1rem;
    }
}

@media screen and (max-width: 992px) {
    .factorys-capacity-section {
        padding: 3rem 0;
    }

    .factorys-capacity-container {
        padding: 0 1.5rem;
    }

    .factorys-capacity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .factorys-capacity-icon {
        width: 2rem;
        height: 2rem;
    }

    .factorys-capacity-title {
        font-size: 0.875rem;
        line-height: 1.1875rem;
    }

    .factorys-capacity-desc {
        font-size: 0.6875rem;
        line-height: 0.9375rem;
    }
}

@media screen and (max-width: 768px) {
    .factorys-capacity-section {
        padding: 2.5rem 0;
    }

    .factorys-capacity-container {
        padding: 0 1.25rem;
    }

    .factorys-capacity-main-title {
        font-size: 1.25rem;
        line-height: 1.75rem;
        margin-bottom: 2rem;
    }

    .factorys-capacity-grid {
        gap: 1.5rem;
    }

    .factorys-capacity-item {
        gap: 0.75rem;
    }

    .factorys-capacity-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .factorys-capacity-title {
        font-size: 0.8125rem;
        line-height: 1.125rem;
    }

    .factorys-capacity-desc {
        font-size: 0.625rem;
        line-height: 0.875rem;
    }
}

@media screen and (max-width: 480px) {
    .factorys-capacity-section {
        padding: 2rem 0;
    }

    .factorys-capacity-container {
        padding: 0 1rem;
    }

    .factorys-capacity-main-title {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .factorys-capacity-grid {
        gap: 1.25rem;
    }

    .factorys-capacity-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .factorys-capacity-title {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .factorys-capacity-desc {
        font-size: 0.5625rem;
        line-height: 0.75rem;
    }
}
