/* General Styling */
:root {
    primary-color: #00BFFF;
    secondary-color: #2c3e50;
    text-color: #333;
    light-gray: #f4f4f4;
    white: #ffffff;
    shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9; /* Sedikit lebih gelap dari primary-color */
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background-color: #2980b9;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%; /* Untuk logo berbentuk bulat */
    object-fit: cover;
}

.logo h1 {
    margin: 0;
    font-size: 1.8em;
    color: var(--secondary-color);
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1500x500?text=Background+Garage') no-repeat center center/cover; /* Ganti dengan URL gambar background Anda */
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    margin-bottom: 40px;
}

.hero-section h2 {
    font-size: 3em;
    margin-bottom: 10px;
    color: var(--white);
}

.hero-section p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styling */
section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

section:last-of-type {
    margin-bottom: 0;
}

/* Catalog Section */
.catalog-section h2, .seller-section h2, .contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    position: relative;
    padding-bottom: 10px;
}

.catalog-section h2::after, .seller-section h2::after, .contact-section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    padding: 20px;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-card .price {
    font-size: 1.3em;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.product-card .description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

/* Seller Section */
.seller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.seller-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease;
}

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

.seller-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
}

.seller-card h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.seller-card p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
}

.seller-card .quote {
    font-style: italic;
    color: #777;
    font-size: 0.85em;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-section p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact-section strong {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* Untuk menempatkan footer di bagian bawah halaman */
}

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

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-section h2 {
        font-size: 2.5em;
    }

    .catalog-grid, .seller-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .product-card, .seller-card {
        padding: 15px;
    }

    .logo h1 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 2em;
    }

    .catalog-section h2, .seller-section h2, .contact-section h2 {
        font-size: 2em;
    }

    .catalog-grid, .seller-grid {
        grid-template-columns: 1fr;
    }
}
