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

@font-face {
    font-family: 'Catamaran';
    src: url(../fonts/Catamaran-VariableFont_wght.ttf);
}

body {
    font-family: 'Catamaran', sans-serif; 
    line-height: 1.6;
    overflow-x: hidden; 
    position: relative;
    background-color: #E3DABF;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 2em;
    position: relative; 
    top: 0;
    width: 100%;
    z-index: 1000000; 
}





nav {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    padding: 1em;
    background: #ffffff00;
    position: relative;
}

nav a {
    color: navy; 
    text-decoration: none;
    font-size: 1.2em;
    position: relative;
}

header .logo img {
    width: 350px;
    margin: -50px;
}

.cart-icon {
    width: 24px;
    height: 24px;
}
 

.nav-item {
    position: relative;
    display: inline-block;

}
nav a.indicator {
    font-weight: bold;
}




.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    width: 150px;
    z-index: 10000;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.dropdown a {
    display: block;
    padding: 10px;
    color: #051661;
    text-decoration: none;
    font-size: 1em;
}

.dropdown a:hover {
    background-color: #051661;
    color: white;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown a {
    white-space: nowrap;
    padding: 0.5em;
}



.shop-landing { 
    position: relative;
    width: 100%;
    height: 400px; 
    background-image: url('../images/plasticprocess.jpg'); 
    background-size: cover; 
    background-position: center; 
    display: flex;
    align-items: flex-end; 
    justify-content: left;
    padding: 1rem;
    z-index: 10;
}

.shop-title {
    color: white; 
    font-size: 20rem; 
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5); 
   top: -80px;
   left: 300px;

   margin-bottom:-40px;
   padding-bottom:-100;
position: absolute;
   font-weight:900;
   text-align: center;
    
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    padding: 2rem; 
}

.product-item {
    background-color: white; 
    border-radius: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem; 
    text-align: center; 
    position: relative;
}

.product-item img {
    width: 100%; 
    height: auto; 
    border-radius: 10px; 
}










.add-to-cart-link {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.add-to-cart-icon {
    max-width: 70px; /* Adjust size as needed */
    height: auto;
    padding: 10px;
    z-index:100;
}
.cart-popup {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 100;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); 

}

.cart-popup:target {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); 
}

.cart-popup button {
    position: absolute;
    bottom: 80px; 
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #002b5c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Catamaran', sans-serif;
    z-index: 2;
}

.cart-popup img {
    width: 100%; 
    height: auto;
    display: block;
    margin: 0;
}









.footer {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 2rem;
    color: #333;
    position: relative;
    width: 100%; 
    height: 300px; 
    padding-top:10rem;
    z-index: 100; 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    margin-top: auto;
}

.footer-content {
    max-width: 1800px;
    margin: 0 auto;
    display: flex; 
    justify-content: space-between; 
    width: 100%; 
}

.footer-text {
    flex: 1; 
    text-align: left;  
    font-size: 16pt;  
}

.footer-logo {
    flex: 0 0 auto; 
}

.logo-image {
    width: 350px; 
    height: auto; 
}