/* Tetapan Asas */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #e4305b, #4e0e25);
    color: #FFD700;
    text-align: left;
}

/* Header */
header {
    background: linear-gradient(to bottom, #e4305b, #4e0e25);
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
}

/* Navigasi */
nav {
    background: #411121;
    padding: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: white;
}

a.email {
    text-decoration: none;
    color: white;
}

.banner {
    padding: 100px 0;
    background: radial-gradient(circle, rgba(255,215,0,0.4) 20%, rgba(139,0,0,0.8) 80%), 
                url('./assets/images/banner-bg.jpg'); /* Laluan ke fail imej */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFD700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

/* Kad Produk */
.product-card {
    background: #8B0000;
    border: 2px solid #FFD700;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease;
    width: 250px;
    margin: 20px auto;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    border-radius: 10px;
}

.product-card h3 {
    margin: 10px 0;
}

.product-card .price {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
}

/* Butang */
.button-primary {
    background-color: #FFD700;
    color: #411121;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.button-primary:hover {
    background-color: white;
    color: #8B0000;
}

footer {
    background-color: #411121;
    color: white;
    padding: 30px 0 10px; /* Tambah padding bawah */
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-logo img {
    width: 200px;
}

.footer-sitemap h4,
.footer-address h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-sitemap ul {
    list-style: none;
    padding: 0;
}

.footer-sitemap ul li {
    margin-bottom: 5px;
}

.footer-sitemap ul li a {
    color: white;
    text-decoration: none;
}

.footer-address p {
    margin: 5px 0;
}

/* Copyright di bawah sekali */
.footer-copyright {
    margin-top: 20px;
    background-color: #222;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}


.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    justify-items: center;
}

/* Container untuk hadkan content */
.container {
    width: 100%;
    max-width: 1200px; /* Tukar ikut keperluan */
    margin: 0 auto; /* Pusatkan content */
    padding: 0 20px; /* Untuk ruang kiri kanan */
}

.product-card {
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 250px; /* Tetapkan saiz maksima */
    flex: 1 1 250px; /* Pastikan setiap produk ada lebar tetap */
}

/* Pastikan background penuh */
.kab-gold {
    width: 100%;
    background: #F0E5C8; /* Warna latar belakang */
    padding: 50px 0;
}

/* Container dalam bahagian kab-gold */
.kab-gold .container {
    display: flex; /* Ini penting! */
    flex-wrap: wrap; /* Pastikan responsif */
    justify-content: space-between; /* Jarak seimbang */
    align-items: stretch; /* Pastikan ketinggian sama */
}


/* Bahagian maklumat syarikat */
.gold-info {
    background: #CDA349; /* Warna emas */
    color: white;
    padding: 40px;
    flex: 1;
    font-size: 18px;
}

.gold-offers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer-card {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Gaya untuk gambar supaya nampak lebih menarik */
.offer-card img {
    width: 180px; /* Boleh adjust ikut keperluan */
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Overlay efek untuk gambar */
.offer-card img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Gelapkan sedikit untuk efek premium */
    border-radius: 10px;
    z-index: 2;
}

.offer-text {
    flex: 1;
    text-align: left;
}

.small-text {
    color: #CDA349;
    font-weight: bold;
}

.btn-red {
    background: #D32F2F;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-red:hover {
    background: #B71C1C;
}

.contact-info, .contact-form {
    margin-bottom: 20px;
}
.contact-info p {
    font-size: 16px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button {
    background: #CDA349;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.map {
    width: 100%;
    height: 300px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.col-md-8 {
    flex: 0 0 66.66%;
    max-width: 66.66%;
}

/* Pastikan hanya header dan nav di tengah */
header, nav {
    text-align: center;
}

/* Kandungan syarikat tidak auto tengah */
.company-profile {
    text-align: left;
}
.company-profile .container {
    max-width: 1200px;
    margin: 0 auto; /* Pusatkan container */
}

/* Pastikan teks dalam vision-mission tetap kiri */
.vision-mission {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.vision, .mission {
    flex: 1;
    padding: 20px;
    background: #CDA349;
    color: white;
    text-align: left; /* Teks dalam kotak ini align kiri */
    border-radius: 10px;
}

.testimoni {
    background: #f8f8f8;
    padding: 50px 0;
    text-align: center;
}

.testimoni .container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.testimoni-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimoni-card {
    background: white;
    color:black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
}

.testimoni-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimoni-card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.testimoni-card h4 {
    font-size: 16px;
    font-weight: bold;
    color: #d4af37;
}

.pakej-produk {
    padding: 50px 0;
    /* background-color: #f8f8f8; */
    text-align: center;
}

.pakej-produk h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    /* background: white; */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    color: #222;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #d4af37; /* Warna emas */
    margin-top: 10px;
}
.topbar-social {
    background-color: #4e0e25;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.topbar-social .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.topbar-social .social-links a {
    color: #FFD700;
    margin-left: 15px;
    transition: color 0.3s;
}

.topbar-social .social-links a:hover {
    color: #ffffff;
}
