:root {
    --primary-color: #ff956b;
    --secondary-color: #ed5d5d;
    --accent-color: #ff4141;
    --text-light: rgba(240, 255, 255, 0.707);
    --text-muted: rgba(209, 202, 202, 0.722);
    --bg-dark-overlay: rgba(0, 0, 0, 0.6);
    --shadow-light: rgba(149, 157, 165, 0.2);
    --gold-text-shadow: #c59446;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Concert One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Start Navbar */
nav{
    height: 65px;
    background-color: transparent;
}

nav ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li a{
    text-decoration:none;
    color: var(--text-light);
    transition: 0.3s;
}

nav ul li img{
    width: 150px;   
}

nav ul li:hover a{
    color: var(--primary-color);
}

/* End Navbar */
/* Start Home */
.background{
    background-image: linear-gradient(rgba(0, 0, 0, 0.778), rgba(0, 0, 0, 0.266)), url("./img/lagora_place.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
}

.home .container{
    min-height: calc(100vh - 65px);
    max-width: 800px;
    padding: 20px;
}

.home .container h1{
    color: var(--text-light);
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1rem;
}

.home .container p{
    color: var(--text-muted);
    font-size: clamp(1rem, 3vw, 1.25rem);
}
/* End Home */
/* Start Categories */

.categories{
    background-color: var(--primary-color);
    padding: 50px 0;
}

.box{
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 9px;
    flex: 1 1 200px;
    max-width: 300px;
    margin: 10px;
}

.box i{
    font-size: 35px;
    color: var(--secondary-color);
    margin-right: 15px;
}

.box .content span{
    color: var(--secondary-color);
}

.categories h2{
    color: rgba(255, 255, 255, 0.855);
    font-size: 45px;
    text-shadow: 0 0 3px var(--gold-text-shadow), 0 0 5px var(--gold-text-shadow);
    margin: 50px 0;
}

.Coffee{
    margin: 50px 0;
    width: 100%;
    gap: 20px;
}

.Coffee .coffee_box{
    width: 100%;
    max-width: 400px;
}

.Coffee .coffee_box img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.Coffee .coffee_box .content {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 15px;
    background: var(--bg-dark-overlay);
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
}

.Coffee .coffee_box .content:hover{
    opacity: 1;
}

.Coffee .coffee_box .content h3,
.Coffee .coffee_box .content span{
    color: var(--secondary-color);
}

#products h2{
    color: rgba(255, 255, 255, 0.855);
    font-size: 45px;
    text-shadow: 0 0 3px var(--gold-text-shadow), 0 0 5px var(--gold-text-shadow);
    margin-bottom: 30px;
}

#products{
    padding: 80px 10%;
    background-color: var(--primary-color);
}

.row{
    padding: 50px 10%;
    transition: all .50s ease;
}

.row .card{
    padding: 15px;
    box-shadow: var(--shadow-light) 0px 8px 24px;
    transition: 0.5s ease;
    cursor: pointer;
    height: 100%;
    margin-bottom: 20px;
}

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

.row .card:hover{
    background: linear-gradient(to right, rgba(237, 93, 93, 0.43) 10%, rgba(237, 93, 93, 0.874) 60%);
    transform: translateY(-5px);
}

.rating i{
    color: orange;
    font-size: 17px;
} 

.row .card h3{
    font-size: 1.25rem;
    margin-top: 15px;
}

.row .card h3 span{
    float: right;
    font-size: 1rem;
    color: var(--accent-color);
}

.row .card p{
    font-size: 0.9rem;
    margin: 10px 0;
    color: #444;
}

.row .card:hover p {
    color: #fff;
}

.btn1{
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--accent-color);
    color: #fff;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn1:hover {
    background-color: #d32f2f;
}

.btn2{
    float: right;
    padding: 6px 15px;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    background-color: transparent;
    color: var(--accent-color);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn2:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.row .card:hover .btn2,
#special_products .card:hover .shop i,
#special_products .card:hover i{
    color: #fff;
    border-color: #fff;
}
/* End Categories */
/* Start show products */
.show_products{
    min-height: 60vh;
    background-color: var(--primary-color);
    width: 100%;
    gap: 15px;
    padding: 40px 0;
}

.show_products img{
    width: 25%;
    max-width: 300px;
	aspect-ratio: 3/4;
	object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s;
    border-radius: 10px;
}

.show_products img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}
/* End show products */
/* Start Special Products */
#special_products .card:hover{
    background: linear-gradient(to right, rgba(255, 149, 107, 0.2) 10%, rgba(255, 149, 107) 60%);
}

#special_products .card .rating{
    width: 100px;
    margin: 10px auto;
}

#special_products .card h3{
    text-align: center;
    font-size: 1.2rem;
}

#special_products .card .shop i{
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

#special_products .card .shop span{
    font-size: 1.2rem;
    font-weight: bold;
}
/* End Special Products */
/* Start Footer  */
.footer{
    background-color: rgba(237, 93, 93, 0.874);
    padding: 70px 0 30px;
    color: white;
}

.footer .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer .box {
    flex: 1 1 300px;
    margin: 0;
}

.footer .box  h3{
    margin: 0 0 20px;
}

.footer .box .social i{
    color: white;
    font-size: 1.5rem;
}

.footer .box .social {
    display: flex;
    list-style: none;
    padding: 0;
}

.footer .box .social li{
    margin-right: 15px;
}

.footer .box .social li a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: 0.3s;
}

.footer .box .social li a:hover {
    background-color: white;
}

.footer .box .social .facebook:hover i{
    color: #1877f2;
}

.footer .box .social .instagram:hover i{
    color: #E4405F;
}

.footer .box .social .site:hover i{
    color: var(--accent-color);
}

.footer .box .line{
    display: flex;
    align-items: center;
    color: #eee;
    margin-bottom: 20px;
}

.footer .box .line i {
    font-size: 20px;
    color: #fff;
    margin-right: 15px;
}

.footer .box .line .info {
    line-height: 1.6;
    flex: 1;
}

.footer .box:nth-child(2){
    display: flex;
    flex-direction: column;
}
/* End Footer  */

@keyframes appear {
    from{
        opacity: 0;
        transform: scale(0.9);
    }
    to{
        opacity: 1;
        transform: scale(1);
    }
}

img{
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    nav {
        height: auto;
    }
    .home .container h1 {
        font-size: 2.5rem;
    }
    .footer .container {
        justify-content: center;
        text-align: center;
    }
    .footer .box .social {
        justify-content: center;
    }
    .footer .box .line {
        justify-content: center;
    }
}