/* ==========================================================================
   RESET & VARIABEL UTAMA
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFCC00;       /* Kuning Safety Proyek */
    --dark-bg: #111111;              /* Hitam Pekat */
    --dark-card: rgba(26, 26, 26, 0.85); /* Hitam Transparan untuk Efek Glassmorphism */
    --text-white: #FFFFFF;
    --text-muted: #CCCCCC;
    --text-dark: #111111;
}

/* ==========================================================================
   HALAMAN UTAMA (BODY & OVERLAY)
   ========================================================================== */
body {
    font-family: 'Roboto', sans-serif;
    /* Ganti URL di bawah ini dengan gambar latar belakang gudang/baja milik Anda */
    background-image: url('sbalogo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
}

/* ==========================================================================
   CONTAINER UTAMA (MOBILE FIRST LAYOUT)
   ========================================================================== */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px; /* Standar ukuran tampilan Linktree di HP */
    padding: 30px 20px;
    text-align: center;
}

/* ==========================================================================
   HEADER (LOGO & NAMA TOKO)
   ========================================================================== */
.profile-header {
    margin-bottom: 25px;
}

.logo-wrapper {
    width: 85px;
    height: 85px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(255, 204, 0, 0.3);
}

.logo-wrapper i {
    font-size: 2.3rem;
    color: var(--text-dark);
}

.profile-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-yellow);
    margin-bottom: 6px;
}

.profile-header .tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==========================================================================
   SEKSI TENTANG KAMI
   ========================================================================== */
.about-section {
    background-color: var(--dark-card);
    border-left: 4px solid var(--primary-yellow);
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: left;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about-section p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
}

/* ==========================================================================
   KUMPULAN TOMBOL TAUTAN (LINKS)
   ========================================================================== */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.link-card {
    display: flex;
    align-items: center;
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.link-card i:first-child {
    font-size: 1.25rem;
    color: var(--primary-yellow);
    width: 25px;
    text-align: left;
}

.link-card .link-text {
    flex-grow: 1;
    text-align: left;
    padding-left: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.link-card .arrow-icon {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

/* Efek Hover Tombol Biasa */
.link-card:hover {
    transform: translateY(-2px);
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border-color: var(--primary-yellow);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.2);
}

.link-card:hover i:first-child,
.link-card:hover .arrow-icon {
    color: var(--text-dark);
}

.link-card:hover .arrow-icon {
    transform: translateX(3px);
}

/* Kustomisasi Khusus Tombol WhatsApp */
.whatsapp-btn:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: var(--text-white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover i:first-child,
.whatsapp-btn:hover .arrow-icon {
    color: var(--text-white);
}

/* ==========================================================================
   SEKSI ULASAN / TESTIMONI
   ========================================================================== */
.reviews-section {
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 35px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.reviews-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.review-card {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.review-card:last-of-type {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
}

.review-stars {
    color: var(--primary-yellow);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.review-text {
    font-size: 0.85rem;
    font-style: italic;
    color: #e0e0e0;
    line-height: 1.4;
    margin-bottom: 4px;
}

.review-author {
    font-size: 0.8rem;
    color: var(--primary-yellow);
    font-weight: 500;
}

.google-review-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.google-review-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* ==========================================================================
   FOOTER & MEDIA SOSIAL
   ========================================================================== */
footer {
    margin-top: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.copyright {
    font-size: 0.75rem;
    color: #666666;
    letter-spacing: 0.5px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar tidak gepeng */
    border-radius: 50%; /* Membuat gambar jadi bulat sempurna */
}

/* ==========================================================================
   STYLE TAMBAHAN UNTUK HALAMAN KATALOG
   ========================================================================== */

/* Kelas pembantu untuk menyembunyikan halaman */
.d-none {
    display: none !important;
}

/* Tombol / Navigasi di Halaman Katalog */
button.link-card {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-family: inherit;
}

.katalog-header {
    text-align: left;
    margin-bottom: 25px;
    position: relative;
}

/* KODE BARU (Sudah digabung): */
#btn-kembali, #btn-kembali-pengiriman {
    background: none;
    border: none;
    color: var(--primary-yellow);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}
#btn-kembali:hover {
    opacity: 0.8;
}

.katalog-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--primary-yellow);
    text-transform: uppercase;
}

.katalog-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Tata Letak Grid Produk (2 Kolom Sejajar) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

/* Kartu Produk (Hanya Gambar & Nama) */
.product-card {
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-img-box {
    width: 100%;
    aspect-ratio: 1 / 1; /* Membuat kotak gambar kotak sempurna (1:1) */
    background-color: #222;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar otomatis memotong proporsional, tidak gepeng */
    transition: transform 0.3s ease;
}

.product-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.3;
    padding: 2px 4px;
}

/* Efek Interaksi saat Kartu Produk Disentuh/Hover */
.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-yellow);
}

.product-card:hover .product-img-box img {
    transform: scale(1.05); /* Gambar sedikit membesar saat di-hover */
}