@import url('https://fonts.googleapis.com/css?family=Poppins:100,300,400,500,600,700,800,800i,900&display=swap');

/* Product Section Styles */
.product-container {
    position: relative;
    z-index: 1;
}

.all-products {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.product-container .product-card {
    position: relative;
    width: 280px;
    height: 380px;
    background: #232323;
    border-radius: 20px;
    overflow: hidden;
}

.product-container .product-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fcad02;
    clip-path: circle(150px at 80% 20%);
    transition: 0.5s ease-in-out;
}

.product-container .product-card:hover:before {
    clip-path: circle(300px at 80% -20%);
}

.product-container .product-card:after {
    content: "ቅመም";
    position: absolute;
    top: 30%;
    left: -20%;
    font-size: 12em;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255, 0.04);
}

.product-container .product-card .imgBx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 100%;
    height: 100%;
    transition: .5s;
}

.product-container .product-card:hover .imgBx {
    top: 0%;
    transform: translateY(-25%);
}

.product-container .product-card .imgBx img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(20deg);
    width: 270px;
}

.product-container .product-card .contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    transition: 1s;
    z-index: 101;
}

.product-container .product-card:hover .contentBx {
    height: 210px;
}

.product-container .product-card .contentBx h2 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

.product-container .product-card .contentBx .size,
.product-container .product-card .contentBx .color {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: .5s;
    opacity: 0;
    visibility: hidden;
}

.product-container .product-card:hover .contentBx .size {
    opacity: 1;
    visibility: visible;
    transition-delay: .5s;
}

.product-container .product-card:hover .contentBx .color {
    opacity: 1;
    visibility: visible;
    transition-delay: .6s;
}

.product-container .product-card .contentBx .size h3,
.product-container .product-card .contentBx .color h3 {
    color: white;
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 10px;
}

.product-container .product-card .contentBx .size span {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-size: 14px;
    display: inline-block;
    color: #111;
    background: #fff;
    margin: 0 5px;
    transition: .5s;
    color: #111;
    border-radius: 4px;
    cursor: pointer;
}

.product-container .product-card .contentBx .size span:hover {
    background: #B90000;
}

.product-container .product-card .contentBx .color span {
    width: 20px;
    height: 20px;
    background: #ff0;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.product-container .product-card .contentBx .color span:nth-child(2) {
    background: #1BBFE9;
}

.product-container .product-card .contentBx .color span:nth-child(3) {
    background: #1B2FE9;
}

.product-container .product-card .contentBx .color span:nth-child(4) {
    background: #080481;
}

.product-container .product-card .contentBx a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #111;
    opacity: 0;
    transform: translateY(50px);
    transition: .5s;
}

.product-container .product-card:hover .contentBx a {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: .7s;
}

/* Navigation/Dropdown Fixes */
.footer-menu-item {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 1000;
}

.footer-menu-item li {
    position: relative;
    margin: 0 15px;
}

.footer-menu-item li a {
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

.footer-menu-item li.active>a {
    color: #ff0000;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 1002;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    padding: 8px 20px;
    color: #666;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #ff0000;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

@media (max-width: 768px) {
    .footer-menu-item {
        flex-direction: column;
    }
    
    .footer-menu-item li {
        margin: 5px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        z-index: 1002;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}