/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set the font family */
body {
    font-family: 'Raleway', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header Styling */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1em 0;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

header h1 {
    font-size: 2.5em;
    letter-spacing: 2px;
    font-family: 'Raleway', sans-serif;
}

/* Main Content */
main {
    padding: 2em;
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: calc(25% - 2em);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-card h3 {
    font-size: 1.5em;
    margin: 0.5em 1em;
}

.product-card p {
    font-size: 1.2em;
    margin: 0.5em 1em;
    color: #777;
}

.product-card a {
    display: block;
    margin: 1em;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    background-color: #ecf0f1;
    padding: 0.5em;
    border-radius: 5px;
}

.product-card a:hover {
    background-color: #bdc3c7;
}

/* Product Detail */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: center;
}

.product-detail img {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
}

.product-info {
    max-width: 500px;
}

.product-info h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.product-info p {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #555;
}

.product-info form {
    margin-top: 1em;
}

button {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1em 2em;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

button:hover {
    background-color: #34495e;
}

/* Footer Styling */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-card {
        width: calc(33.333% - 2em);
    }
}

@media (max-width: 768px) {
    .product-card {
        width: calc(50% - 2em);
    }
}

@media (max-width: 576px) {
    .product-card {
        width: 100%;
    }

    main {
        padding: 1em;
    }

    .product-detail {
        flex-direction: column;
    }
}

/* Navigation Menu Styles */
nav {
    margin-top: 1em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2em;
}

nav ul li {
    display: inline;
}

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

nav ul li a:hover {
    text-decoration: underline;
}

/* About Pages Styling */
main h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
    text-align: center;
    color: #2c3e50;
}

main p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 1em auto;
    max-width: 800px;
    color: #555;
}

main p strong {
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-card {
        width: calc(33.333% - 2em);
    }
}

@media (max-width: 768px) {
    .product-card {
        width: calc(50% - 2em);
    }
}

@media (max-width: 576px) {
    .product-card {
        width: 100%;
        margin: 0 auto; /* Center the product card */
    }

    .product-grid {
        gap: 1em; /* Adjust spacing between products */
    }

    main {
        padding: 1em;
    }

    .product-detail {
        flex-direction: column;
        align-items: center;
    }
}


/* Content Container */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1em;
}

/* Heading Styles */
.content-container h2 {
    font-size: 2em;
    margin: 1em 0 0.5em;
    text-align: center;
    color: #2c3e50;
}

audio {
  width: 100%;
  margin: 1em 0;
}

.audio-image {
  width:100%;
  max-width:400px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Image Styles */
.about-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
    border-radius: 10px;
}

/* Paragraph Styles */
.content-container p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 1em 0;
    color: #555;
}

/* CTA Button */
.shop-now-button {
    display: inline-block;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1em 2em;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    margin-top: 2em;
}

.shop-now-button:hover {
    background-color: #34495e;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
    padding: 0.5em;
    border-bottom: 1px solid #ccc;
  }
  
  .cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1em;
  }
  
  .cart-item-name {
    flex: 1;
    margin: 0 1em;
    font-weight: bold;
  }
  
  .cart-item p {
    margin: 0 0.5em;
  }
  
  .cart-item button {
    margin-left: 1em;
    padding: 0.5em 1em;
  }
  
  .cart-item p,
  .cart-item button {
    flex-shrink: 0;
  }
  
  .cart-item-total {
    text-align: right;
    font-weight: bold;
    margin-top: 1em;
  }
  
  @media (max-width: 768px) {
    .cart-item {
      flex-wrap: wrap;
    }
    
    .cart-item-name,
    .cart-item p,
    .cart-item button {
      margin: 0.5em 0;
    }
  
    .cart-item-image {
      margin-right: 0;
      margin-bottom: 0.5em;
    }
  }
  
  