.main-content {
    margin-top: 0;
    z-index: 0;
}

body {
    font-family: 'Quicksand', sans-serif;
}

.hero-content {
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 5px rgba(126, 100, 45, 0.616);
}

.hero-content p {
    font-size: 14px;
    margin-bottom: 2rem;
}

.hero-carousel {
    margin-top: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: #000000;
    border-top: 1px solid #131313;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 60vh;
    position: relative;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.459), rgba(0, 0, 0, 0));
    z-index: 2;
    pointer-events: none;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(90%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
}

.btn-metallic {
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
    background: repeating-linear-gradient(0deg,
            #d6ad60 0%,
            rgb(245, 212, 142) 20%,
            #d6ad60 40%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.h-btn {
    position: relative;
    background-color: transparent;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    border: rgb(245, 212, 142);
    border-style: double;
    border-radius: 35px;
    transition: background 0.3s ease;
}

.h-btn:hover {
    color: rgb(245, 212, 142);
    border: rgb(255, 235, 192);
    border-style: double;
}

.hero-middle {
    margin-top: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background-color: #000000;
}

.hero-middle-container {
    display: flex;
    height: 100%;
}

.hero-middle-slide {
    min-width: 100%;
    height: 40vh;
    position: relative;
}

.hero-middle-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
}

.hero-end {
    margin-top: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    background-color: #000000;

}

.h-btn-end {
    padding: 8px 22px;
    background-color: #BD0000;
    color: #ccc;
    border-radius: 8px;
    border: 1px solid #BD0000;
}

.h-btn-end:hover {
    background-color: #aa0c0c;
    color: #dbdbdb;
    border: 1px solid #aa0c0c;
}

.hero-end-container {
    display: flex;
    height: 100%;
}

.hero-end-slide {
    min-width: 100%;
    height: 30vh;
    position: relative;
}

.hero-end-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);}

.featured-products-container {
    align-content: center;
    background-color: #0e0e0e;
    margin: 0 auto;
    border-bottom: 2px #050505d8;
    padding: 60px 20px;
}

.featured-products-container h3 {
    text-align: center;
    font-weight: 400;
    font-size: 26px;
    padding: 10px;
    letter-spacing: 1px;
}

.product-cards-container {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
    max-width: 1000px;
    margin: 0 auto;
}


.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    padding: 20px;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border-radius: 8px;
    background-color: #161616;
    border-top: 2px solid #BD0000;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(255, 19, 19, 0.822);
}

.card img {
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.container {
    font-family: "Montserrat";
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}


a {
    text-decoration: none;
    color: #fff;
}

.category-carousel {
    align-content: center;
    padding: 30px;
    background: #0a0a0a;
    color: #c7d5e0;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    height: 50vh;
}

.category-carousel h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px;
}

.carousel-track-categories {
    display: flex;
    transition: transform 0.4s ease;
    gap: 10px;
    will-change: transform;
}

.category-card {
    flex: 0 0 calc(25% - 7.5px);
    height: 220px;
    background-color: #16251d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
    padding: 0 5px;
    border-top: 2px solid #BD0000;
    transition: transform 0.3s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    border-radius: 8px;
}

.category-card span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 2;
    font-family: "Montserrat";
}

.category-card:hover {
    transform: scale(1.03);
}

.category-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2.8rem;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    color: #ffffff
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.left:hover,
.right:hover {
    color: #aa0c0c;
}

.dot-nav {
    margin-top: 1rem;
}

.dot-nav .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    opacity: 0.5;
}

.dot-nav .dot.active {
    background: #aa0c0c;
    opacity: 1;
}

.end-section {
    height: 50vh;
    background: #141414;
}

@media (max-width: 1450px) {

    .product-cards {
        padding: 10px;
    }

    .card img {
        width: 250px;
    }

    .container {
        font-size: smaller;
    }
}

@media (max-width: 1200px) {
    .carousel-track img {
        width: 220px;
        height: 220px;
    }

    .product-cards {
        grid-template-columns: repeat(2, 250px);
        padding: 10px;
        gap: 1em;
    }


    .card img {
        width: 250px;
    }

}

@media (max-width: 900px) {
    .carousel-track img {
        width: 200px;
        height: 200px;
    }

    .h-btn {
        font-size: 16px;
    }

}

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .h-btn {
        font-size: 14px;
    }

    .overlay-item {
        width: 100%;
    }

    .overlay h3 {
        font-size: 20px;
    }

    .overlay p {
        font-size: 14px;
    }

    .image-overlay-section {
        padding: 30px 10px;
    }

    .overlay-text {
        bottom: 10px;
        left: 10px;
    }

    .carousel-track img {
        width: 180px;
        height: 180px;
    }

    .category-card {
        flex: 0 0 calc(33% - 3px);
        height: 200px;
    }

}

@media (max-width: 650px) {

    .h-btn {
        font-size: 12px;
    }

    .product-cards {
        grid-template-columns: 250px;

    }

    .container {
        font-size: smaller;
    }

}

@media (max-width: 576px) {

    .logo {
        color: transparent;
    }

    .h-btn {
        font-size: 10px;
        padding: 8px 22px;
    }
    .hero-carousel {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .carousel-slide {
        height: 50vh;
    }

    .carousel-slide img {
        object-fit: cover;
    }

    .featured-products-container h3 {
        font-size: 20px;
    }

    .category-carousel {
        height: 60vh;
    }

    .category-carousel h3 {
        font-size: 20px;
    }

    .category-card {
        flex: 0 0 calc(100%);
        height: 180px;
    }

    .arrow {
        font-size: 1.8rem;
    }

    .h-btn-end {
        padding: 6px 10px;
        font-size: 13px;
    }

    .hero-content p {
        font-size: 10px;
        margin-bottom: 1rem;
    }

    .hero-content h3 {
        font-size: 14px;
    }
}
