/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Military", sans-serif;
    background-color: #000000;
    color: #ffffff00;
    font-size: 14px;
    /* background-image:
        url(img/bg.png),
        repeating-linear-gradient(to right, transparent 0 500px, #73814B33 500px 501px); */
    background-size: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 100px; */
    padding-top: 100px;
}

/* Product Description Styling */
.product-description {
    background: #ffffff00;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.product-description p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    color: #ffffff;
}

/* Table Styling */
.specifications-table {
    margin-bottom: 40px;
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
    background: #ffffff00;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    border: 2px solid #e9ecef;
}

.spec-table th,
.spec-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #ffffff;
    vertical-align: middle;
}

.spec-table th {
    background: #898a8b;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

/* Styling khusus untuk kolom Armor Level dengan rowspan */
.armor-level {
    background-color: #ffffff00 !important;
    font-weight: bold;
    font-size: 16px;
    color: #ffffff;
    border-right: 2px solid #007bff;
    vertical-align: middle;
}

.spec-table tbody tr:hover {
    background-color: #f1f3f534;
    transition: background-color 0.3s ease;
}

/* Styling untuk test ammunition dengan line break */
.spec-table td:nth-child(2) {
    text-align: center;
    padding-left: 15px;
}

.spec-table tbody tr:last-child td {
    border-bottom: none;
}

/* Process Title */
.process-title {
    text-align: center;
    color: #ffffff;
    margin: 40px 0;
    font-size: 2.5em;
    font-weight: 300;
    position: relative;
}

.process-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #ff0000;
    margin: 15px auto;
}

/* Gallery Styling */
.gallery-section {
    margin-bottom: 40px;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .spec-table {
        font-size: 12px;
    }

    .spec-table th,
    .spec-table td {
        padding: 10px 6px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .pswp-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .specifications-table {
        margin: 20px -15px;
        padding: 0 15px;
    }

    .spec-table {
        font-size: 11px;
    }

    .spec-table th,
    .spec-table td {
        padding: 8px 4px;
    }

    .armor-level {
        font-size: 14px;
    }

    .process-title {
        font-size: 2em;
    }

    .product-description {
        padding: 20px;
    }

    .product-description p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .spec-table {
        font-size: 10px;
    }

    .spec-table th,
    .spec-table td {
        padding: 6px 3px;
    }

    .process-title {
        font-size: 1.8em;
    }
}

/* Horizontal scroll indicator untuk mobile */
.specifications-table::after {
    content: "← Geser untuk melihat selengkapnya →";
    display: block;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
}

@media (min-width: 1000px) {
    .specifications-table::after {
        display: none;
    }
}



/* Override default Fancybox styling */
.fancybox__container {
    background: rgba(0, 0, 0, 0.9) !important;
}

.fancybox__content {
    padding: 20px !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fancybox__image {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    position: static !important;
}

/* Thumbnail gallery styling */
.fancybox-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.fancybox-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}



@import url('https://fonts.cdnfonts.com/css/avenir Book');

* {
    font-family: "Military", sans-serif;
}

/* font external */
@font-face {
    font-family: "Military";
    src: url('/font/sf-pro.otf');
}

.section .number .font-external {
    word-break: break-word;
    font-family: "Military";
    white-space: normal;
    display: inline-block;
    line-height: 1;
    font-size: 0.5em;
    /* margin-top: -100px; */
}

.number {
    font-family: "Military";
    font-size: 7em;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    position: relative;
    margin-left: 100px;
}

body {
    margin: 0;
    font-family: "Avenir Book", sans-serif;
    background-color: #000000;
    color: #ffffff;
    font-size: 14px;
    /* background-image:
        url(img/bg.png),
        repeating-linear-gradient(to right, transparent 0 500px, #73814B33 500px 501px); */
    background-size: 100%;
}

.penjelasan {
    font-family: "Avenir Book", sans-serif;
    background-color: #000000;
    color: #ffffff;
    font-size: 14px;
    text-align: justify;
    line-height: 2;
    margin-bottom: 1em;
    margin-top: 0px;
}

* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}



/* Animasi keluar ke atas untuk bagian yang hilang */
.hidden {
    transform: translateY(-100%);
}

/* Animasi muncul dari bawah */
.show {
    transform: translateY(0%);
    transition: transform 1s ease-in-out;
}

.content-fit {
    width: min(1200px, 90vw);
    margin: auto;
    min-height: 100vh;
    position: relative;
    padding-block: 10em;
    z-index: 30;
}

header {
    padding-block: 1em;
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    z-index: 100;
    background-color: #1B1B1B11;
    background-image: repeating-linear-gradient(transparent 0 500px, #eee1 500px 501px);
}

header .content-fit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: unset !important;
    padding-block: unset !important;
}

header .content-fit nav ul {
    display: flex;
    gap: 2em;
}

.logo-image {
    height: auto;
    max-height: 50px;
    width: 400px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-left: -60px;
}


.title-image {
    height: 1em;
    /* Adjust the height to match the text size */
    vertical-align: middle;
    /* Align the image vertically with the text */
}

/* footer */
.footer {
    position: relative;
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 40px 40px;
    /* Memperbesar padding untuk menambah tinggi */
    display: grid;
    grid-template-columns: 1fr auto auto auto 1fr;
    /* Mengatur grid dengan kolom kosong di kiri dan kanan */
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}

.footer div {
    margin: 10px;
    z-index: 2;
}

.footer h3 {
    margin-top: 0;
    font-size: 18px;
    z-index: 2;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
    z-index: 2;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    z-index: 2;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-media a {
    display: flex;
    align-items: center;
    margin: 5px 0;
    z-index: 2;
}

.footer .social-media i {
    margin-right: 10px;
    z-index: 2;
}

.footer-bottom {
    background-color: #111111;
    color: #888888;
    text-align: center;
    padding: 10px 40px;
    font-size: 12px;
    z-index: 2;
}

.footer-bottom a {
    color: #888888;
    text-decoration: none;
    z-index: 2;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        /* Mengatur grid menjadi satu kolom pada layar kecil */
        padding: 20px;
    }

    .footer-bottom {
        padding: 10px 20px;
    }
}



/* Logo berada di tengah layar dengan animasi */
#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: fixed;
    width: 100%;
    z-index: 9999;
    opacity: 0;
    animation: fadeInOut 3s forwards;
}

/* Animasi fade-in dan fade-out */
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Semua konten lainnya, default dalam kondisi tersembunyi */
#content {
    opacity: 0;
    transition: opacity 1s ease-out;
    /* Tidak perlu menambahkan display: none di sini */
}

/* Setelah animasi selesai, tampilkan konten */
.show-content #content {
    opacity: 1;
}



.container-contact {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-header {
    background-color: #000000;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: -40px;
}

.contact-header h1 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.contact-header p {
    color: #ffffff;
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

.contact-form {
    background-color: #000000;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);

}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #000000;
    color: rgb(255, 255, 255);
    padding: 14px 28px;
    border: white 2px solid;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff0000;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-header,
    .contact-form {
        padding: 25px;
    }
}

.submit-btn {
    background-color: transparent;
    border: 2px solid white;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    font-family: "Avenir Book", sans-serif;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

.submit-btn:hover {
    background-color: #fff;
    color: #000;
}

.submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.success-message {
    color: #ff0000;
    background-color: #d5f4e6;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.error-message {
    color: #e74c3c;
    background-color: #fdeaea;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-header, .contact-form {
        padding: 25px;
    }
}

.penjelasan {
    font-family: "Avenir Book", sans-serif;
    background-color: #000000;
    color: #ffffff;
    font-size: 14px;
    text-align: justify;
    line-height: 2;
    margin-bottom: 1em;
    margin-top: 0px;
}