@import url(/css/base/color.css);
@import url(/css/base/font.css);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--color-bg-base);
    max-width: 1400px;
}

.container{
    padding: 1rem 1rem 0 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.hero-container{
    width: 100%;
    height: 37rem;
    clip-path: polygon(50% 0%, 100% 0, 100% 41%, 100% 80%, 50% 100%, 0 80%, 0 0);
}

.hero-img{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(/assets/Hero.jpg);
    background-size: cover;
    background-position: center;
}

.hero-img h1{
    margin-bottom: 2rem;
}

.btn-cta{
    margin-top: 2rem;
    background: var(--color-cta-bg-base);
    color: var(--color-cta-text);
    border: none;
    outline: none;
    width: 10rem;
    height: 3rem;
    border-radius: 999px;
}

.btn-cta:hover{
    background: var(--color-cta-bg-hover);
    border: 1px solid var(--color-border-base);
}


.category-container h2{
    font-size: 2rem;
}

.categories{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    padding-top: 1rem;
}

.category{
    width: 100%;
    height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-body);
    font-size: 1.5rem;
    box-shadow: var(--shadow-card-base);
    border-radius: 50px;
    padding: 10px;
}

.category:hover{
    background: var(--color-card-bg);
    border: 2px solid var(--color-cardr-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.category div{
    width: 90%;
    height: 90%;
    border-radius: 50%;
    overflow: hidden;
}

.category div > img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.new-container{
    background: var(--color-bg-light-1);
}

.featured-container, .new-container{
    min-height: 20rem;
}

.featured-products, .new-products{
    width: 100%;
    min-height: 90px;
    padding: 1rem 0;
}

.featured, .new{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

.featured a, .new a{
    width: 100%;
    height: 15rem;
    text-decoration: none;
    color: var(--color-text-body);
    box-shadow: var(--shadow-card-base);
    border-radius: 20px;
}

.featured a:hover, .new a:hover{
    background: var(--color-card-bg);
    border: 2px solid var(--color-cardr-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.featured a div, .new a div{
    width: 100%;
    height: 80%;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.featured a div > img, .new a div > img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.contact-container{
    background: var(--color-bg-light-2);
    align-items: center;

}

.title{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10rem;
}

.title h4{
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.10em;
    color: var(--color-bg-base);
    margin-bottom: 10px;
    opacity: 0.95;
}

.title h1{
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-bg-base);
    margin-bottom: 30px;
    opacity: 0.95;
}

.img-contain{
    width: 100%;
    height: 10rem;
}

.img-contain img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.contact-container{
    padding: 1rem;
}

.info-contact{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    padding-top: 0.5rem;
}

.all-info{
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: var(--color-bg-base);
}

.info{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info > p{
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.info div > p{
    color: var(--color-bg-base);
    font-weight: 600;
}

.info div:hover p{
    color: var(--color-text-accent);
    transform: translateX(5px);
}

.info img{
    width: 32px;
    height: 32px;
}

form{
    background-color: var(--color-bg-base);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    border: 1px solid var(--color-border-subtle);
}

form h5{
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.4;
}

form input{
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border-base);
    border-radius: 8px;
    color: var(--color-text-body);
    transition: all 0.3s ease;
}

form input:focus{
    outline: none;
    border-color: var(--color-text-accent);
    background-color: var(--color-bg-base);
    box-shadow: 0 0 0 3px rgba(224, 195, 154, 0.2);
}

form button{
    margin-top: 10px;
    padding: 16px;
    background-color: var(--color-btn-base);
    color: var(--color-bg-base);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;;
}

form button:hover{
    background-color: var(--color-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 38, 59, 0.3);
}

form button:active{
    transform: translateY(0);
}