/* General Body Styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header Styles */
.main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo img {
    height: 20px; /* Sesuaikan ukuran logo */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #007bff; /* Warna biru khas Hyundai */
}

/* Buttons */
.btn-primary {
    background: #007bff; /* Warna biru khas Hyundai */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #fff;
    color: #007bff;
    padding: 12px 25px;
    border: 2px solid #007bff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background: #007bff;
    color: #fff;
}

.btn-tertiary {
    background: #eee;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9em;
}

.btn-tertiary:hover {
    background: #ddd;
}

.btn-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.product-card {
    background-color: #fff;
    border-radius: 12px; /* Sudut lebih membulat */
    padding: 25px;
    text-align: center;
    width: 320px; /* Lebar kartu sedikit lebih besar */
    box-sizing: border-box;
    cursor: pointer; /* Menunjukkan bahwa kartu interaktif */
}

.product-card:hover {
    transform: translateY(-10px); /* Bergerak sedikit ke atas saat di-hover */
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px; /* Margin lebih besar */
    border-radius: 8px; /* Sudut gambar sedikit membulat */
    transition: transform 0.3s ease; /* Transisi untuk gambar saat hover */
}

.product-card:hover img {
    transform: scale(1.03); /* Sedikit membesar saat hover */
}

.product-card h3 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1.7em; /* Ukuran font judul sedikit lebih besar */
}

.product-card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px; /* Margin lebih besar */
    text-align: left;
    font-size: 1em; /* Ukuran font tabel sedikit lebih besar */
    border-top: 1px solid #eee; /* Garis atas tabel */
}

.product-card table th,
.product-card table td {
    padding: 10px 0; /* Padding lebih besar */
    border-bottom: 1px solid #eee;
}

.product-card table th {
    font-weight: 600; /* Tebal sedikit */
    color: #444;
}

.product-card table td:last-child {
    text-align: right;
    font-weight: bold;
    color: #007bff; /* Warna harga lebih menonjol */
}

.product-card .note {
    font-size: 0.85em; /* Ukuran font catatan sedikit lebih besar */
    color: #777;
    margin-top: 15px; /* Margin lebih besar */
    padding-top: 10px;
    border-top: 1px dashed #ddd; /* Garis putus-putus */
}

/* Penyesuaian responsif */
@media (max-width: 768px) {
    .product-card {
        width: 90%; /* Lebih responsif di layar kecil */
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8em;
    }
    .header p {
        font-size: 0.9em;
    }
    .product-card {
        padding: 15px;
    }
    .product-card h3 {
        font-size: 1.4em;
    }
}

/* Footer Styles */
.main-footer {
    background: #222;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 0.9em;
}

.main-footer .container {
    text-align: left;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #eee;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #007bff;
}

.social-media a {
    display: inline-block;
    margin-right: 15px;
}

.social-media img {
    width: 28px;
    height: 28px;
    filter: invert(1); /* Untuk ikon putih di background gelap */
    transition: filter 0.3s ease;
}

.social-media img:hover {
    filter: invert(0.5); /* Contoh: sedikit keabuan saat hover */
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
    color: #aaa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul li {
        margin: 5px 10px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .model-grid, .promo-grid, .service-grid, .footer-columns {
        grid-template-columns: 1fr;
    }

    .promo-card, .model-card, .service-item {
        margin: 0 auto;
        max-width: 450px; /* Batasi lebar pada mobile */
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 2em;
}