@font-face {
    font-family: "MuseoSans";
    src: url("./fonts/MuseoSans.otf");
    font-weight: 400;
  }
@font-face {
    font-family: "MuseoSans100";
    src: url("./fonts/MuseoSans-100.otf");
    font-weight: 100;
  }
@font-face {
    font-family: "Poppins-Light";
    src: url("./fonts/Poppins-Light.ttf");
    font-weight: 100;
  }

  body {
    font-family: "MuseoSans100";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.hero {
    background-color: #002f6c;
    color: white;
    padding: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    min-height: 300px;
    margin-bottom: 30px;
}

.hero .container{
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-top: 40px;
}

.logos img{
    width: 140px;
}

.promo img{
    width: 300px;
    margin-top: -20px;
    margin-bottom: -50px;
    top: 0;
    right: 15%;
}

.hero h1 {
    margin: 0;
    font-size: 3.5rem;
    font-family: "MuseoSans100";
}

.bold{
    font-family: "MuseoSans";
}

.container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter .filter-btn, .filter select {
    background-color: #002f6c;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    font-family: "MuseoSans100";
    flex: 1 1 auto;
    margin: 5px;
}

.filter .filter-btn:hover, .filter select:hover {
    background-color: #004a99;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 1 card per row by default */
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    position: relative;
    display: none; /* Hidden by default */
    width: calc(100% - 20px); /* Full width with 20px margin */
    margin-bottom: 20px; /* Margin between cards */
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    border-bottom: 1px solid #ddd;
    border-radius: 10px 10px 0 0;
}

.product-card .image-container {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    border-radius: 10px 10px 0 0;
}

.product-card .discount-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e31c79;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.product-card .ref {
    padding: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
}

.product-card .description {
    padding: 0 15px 15px 15px;
    font-size: 1rem;
    color: #333;
}

.product-card .prices {
    padding: 0 15px 15px 15px;
}

.product-card .prices .old-price {
    text-decoration: line-through;
    color: #777;
    display: block;
}

.product-card .prices .new-price {
    color: #002f6c;
    font-size: 1.2rem;
    font-weight: bold;
}

.product-card .availability {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 2;
}

@media screen and (max-width: 500px){
    .hero {
        text-align: center;
        flex-direction: column;
    }
    .product-card {
        width: calc(100% - 0px);
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .logos img {
        width: 130px;
    }
    .promo{
        display: none!important;
    }
}

/* Adjust grid layout for tablets */
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
    }
}

/* Adjust grid layout for desktop */
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 cards per row on desktop */
    }
}

/* Add this to your styles.css */
.footer {
    padding: 20px 0;
    background-color: #f8f8f8;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.footer a {
    color: #0073e6;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}



