/* ===== ABOUT PAGE SPECIFIC STYLES ===== */

/* LOCATION SECTION */
.location-section {
    background: white;
    padding: 0;
}

.container-location {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

/* Map Box */
.map-box {
    flex: 1 1 60%;
    max-width: 800px;
}

.map-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Info Box */
.info-box {
    flex: 1 1 35%;
    max-width: 500px;
    text-align: left;
}

.info-box h3 {
    color: #193a65;
    font-size: 2.5rem;
    line-height: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.info-box p {
    font-size: 1rem;
    color: #6d6e71;
    line-height: 1.2rem;
    margin-bottom: 0.6rem;
}


.contact-grid {
    display: grid;
    grid-template-columns: 70px auto; /* kolom pertama label, kedua isi */
    gap: 0; /* baris dan kolom */
    font-size: 1rem;
    color: #6d6e71;
}

/* MANUFACTURING SECTION */
.manufacturing-section {
    position: relative;
    height: 440px;
    background-image: url('../images/about/man-bg.jpg');
    background-size: 110%;
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.manufac-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.container-manufacturing {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    margin-left: 40px;
}

.manufacturing-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 3rem;
    margin-bottom: 0.75rem;
    color: #e9f1f4;
}

.manufacturing-section p {
    font-size: 1rem;
    line-height: 1.2;
}

.manufacturing-section h2 span {
    color: #e9f1f4;
    display: block;
}

/* FACILITY SECTION */
.facility-section {
    padding: 60px 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Grid layout (desktop/tablet) */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 30px;
}

.facility-item {
    text-align: center;
    padding: 20px 10px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.facility-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.facility-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0a93d1;
    margin-bottom: 0.9rem;
    line-height:0.9rem;
}

.facility-item p {
    font-size: 1rem;
    color: #6d6e71;
    line-height: 0.6rem;
    font-weight: 600;

}

/* Tombol navigasi (default hidden) */
.slider-nav {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-nav button {
    padding: 12px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    background: #193a65;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s ease;
}

.slider-nav button:hover {
    background-color: #0a93d1;
}

/* LINE BOTTOM SECTION */
.line-bottom {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.line-bottom h2 {
    color: #193a65;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.line-bottom p {
    font-size: 1rem;
    color: #6d6e71;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.2rem;
}

/* CUSTOMER SECTION */
.customer-section {
    background-color: #ffffff;
    padding: 0 20px 60px 20px;
    text-align: center;
}

.customer-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.map-container {
    display: flex;
    justify-content: center;
}

.map-container img {
    width: 120%;
    height: auto;
    background-size:cover;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large screens (1920px and up) */
@media screen and (min-width: 1920px) {
    .info-box h3 {
        font-size: 2.75rem;
    }
    
    .info-box p,
    .manufacturing-section p,
    .line-bottom p {
        font-size: 1.2rem;
    }
    
    .manufacturing-section h2 {
        font-size: 2.75rem;
    }
    .manufacturing-section {
        height:600px;
    }

    .line-bottom h2 {
        font-size: 2.75rem;
    }
    
    .facility-item h3 {
        font-size: 1.5rem;
    }
    
    .facility-item p {
        font-size: 1.2rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .location-content {
        flex-direction: column;
        text-align: center;
    }
    
    .map-box,
    .info-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .info-box {
        order: -1;
    }
    
    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container-manufacturing {
        margin-left: 20px;
        padding: 30px;
    }
}

/* Mobile (768px and down) */
@media (max-width: 768px) {
    .location-section {
        padding: 40px 0;
    }
    
    .manufacturing-section {
        height: auto;
        padding: 40px 0;
        background-size: cover;
    }
    
    .container-manufacturing {
        margin-left: 0;
        padding: 20px;
        text-align: left;
    }
    
    .manufacturing-section h2 {
        font-size: 1.75rem;
    }
    
    .manufacturing-section p {
        font-size: 1rem;
    }
    
    .line-bottom {
        padding: 40px 20px;
    }
    
    .line-bottom h2 {
        font-size: 1.75rem;
    }
    
    .line-bottom p {
        font-size: 1rem;
    }
    
    .customer-section {
        padding: 40px 20px;
    }

    .info-box h3{
        font-size: 1.75rem;
    }
}

/* Small mobile (600px and down) */
@media (max-width: 600px) {
    .facility-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .facility-item {
        display: none;
        width: 100%;
    }
    
    .facility-item.active {
        display: block;
    }
    
    .slider-nav {
        display: flex;
    }
    
    .info-box h3 {
        font-size: 1.8rem;
    }
    
    .info-box p {
        font-size: 1rem;
    }
    
    .map-box img {
        border-radius: 5px;
    }
}

/* Ultra-wide screens (2560px and up) */
@media screen and (min-width: 2560px) {
    
    .container-manufacturing {
        max-width: 1800px;
        width: 1800px;
    }
    .container-location{
        max-width:2000px;
        width: 2000px;
    }
    .manufacturing-section{
        height: 800px;
    }
    .facility-grid {
        max-width: 2000px;
        gap: 50px;
    }
    
    .facility-item {
        padding: 60px 30px;
    }
    
    .facility-item img {
        width: 200px;
        height: 200px;
    }

    .facility-item h3{
        font-size: 3rem;
        margin-bottom: 3.6rem;
    }

    .facility-item p{
        font-size: 2rem;
        line-height: 2rem;
    }
    .location-content {
        justify-content: space-between;
    }

    .map-box img{
        width: 125%;
        height: 130%;
    }

    .info-box {
        flex: 1 1 35%;
        max-width: 900px;
    }

    .info-box h3, .line-bottom h2{
        font-size: 5rem;
        line-height: 5rem;
        margin-bottom: 2.5rem;
    }

    .info-box p, .manufacturing-section p, .line-bottom p{
        font-size: 2rem;
        line-height: 2.4rem;
    }
    .line-bottom p {
        max-width: 1800px;
        width: 100%;
    }

    .contact-grid{
        font-size: 2rem;
        grid-template-columns: 150px auto;
    }

    .manufacturing-section h2{
        font-size: 5rem;
        line-height: 5rem;
    }

    .customer-section .container {
        max-width: 100%;
    }

    .customer-section{
        padding: 0;
    }
}