
/* Tag Selector - Body */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a; /* Background color untuk body */
    color: white;
    line-height: 1.6;
}

/* Tag Selector - Header */
header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #ff6f00, #ff8f00); /* Background gradient */
    margin-bottom: 3rem;
}

/* Grouping Selector - Header elements */
header h1, header p {
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.container {
    max-width: 100;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    /* Background gradient untuk kartu */
    background: linear-gradient(145deg, rgba(255, 111, 0, 0.1), rgba(20, 20, 20, 0.9));
    border: 3px double #ff6f00; /* Border style selain solid - dashed */
    border-radius: 20px; /* Border radius untuk sudut melingkar */
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.2), 0 0 20px rgba(255, 111, 0, 0.1); /* Box shadow untuk efek kedalaman */
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 111, 0, 0.3), 0 0 30px rgba(255, 111, 0, 0.2);
    border: 3px double #ff8f00; /* Border berubah saat hover */
}

.card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

/* ID Selector - Nama produk */
#product-1, #product-2, #product-3, #product-4 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6f00; /* HEX color format */
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Class Selector - Harga produk */
.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(20, 220, 20); /* RGB color format */
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(20, 220, 20, 0.5);
}

/* Tag Selector - Deskripsi (paragraf) */
p {
    color: hsl(0, 0%, 100%); /* HSL color format - putih */
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.buy-btn {
    background: linear-gradient(45deg, #ff6f00, #ff8f00);
    color: white;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

.buy-btn:hover {
    background: linear-gradient(45deg, #ff8f00, #ffb74d);
    border: 2px groove #ff6f00; /* Border groove style */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

.buy-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 111, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

/* Additional McLaren-themed styling */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6f00, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}