:root {
  --background: #000000;
  --primary-color: #000000; /* Default Blue */
  --secondary-color: #6c757d; /* Default Gray */
  --accent-color: #28a745;   /* Default Green */
  --bg-light: #f8f9fa;
  --text-dark: #212529;
  --font-family: sans-serif;
  --font-size: 1rem;
}
/* General Body Styles */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header and Navigation */
.header {    
  color: #fff;
  padding: 1rem 0;
  display: flex;  
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
}

h1{
  font-size: 3rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

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

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700; /* Gold color for hover */
}

/* Main Content Area */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

/* Hero Section (Home Page) */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #e2f0cb; /* Light green background */
    border-radius: 8px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    font-size: 1.1rem;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 15px;
}

.add-to-cart {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #218838;
}

/* Cart Page Specifics */
.cart-items {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 20px;
}

.item-details {
    flex-grow: 1;
}

.item-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.item-details p {
    margin: 0 0 5px 0;
    color: #555;
}

.remove-item {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.remove-item:hover {
    background-color: #c82333;
}

.cart-summary {
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.checkout-btn {
    background-color: #007bff;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 40px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease-in-out;
  display: inline-block; /* Ensure padding applies correctly */
  text-decoration: none;
  font-weight: 500;
}

.header-image {
  width: 150px;
  min-width: 150px;
}

@media only screen and (min-width: 600px) {
  .header-image {
    width: 250px;
  }

  .header {    
    color: #000;
    padding: 1rem 0;
    display: flex;    
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
  }
}