
.title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("./Assets/homeBg.png");
    height: 50vh;
    background-size: cover;
    background-position: center;
}

.title h2 {
    margin: 0;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 2.5rem; 
}

.boxGrid {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 30px;
    padding: 30px;
    max-width: 1200px; 
    margin: 0 auto;
}

.box1, .box2 {
    background-color: #a3bf50;
    border-radius: 20px;
    overflow: hidden;
    display: flex;      
    flex-direction: column;
}

.boxGrid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.photoBox1 { background-image: url("./Assets/photo2Desktop.png"); }
.photoBox2 { background-image: url("./Assets/photo4.jpg"); }

.photoBox1, .photoBox2 {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.boxTitleGrid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    margin-bottom: 10px;
}

.boxTitle {
    font-size: 2rem;
    padding: 10px;
    margin: 0;
}

button {
    padding: 10px 30px;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #901b22;
    border-radius: 20px;
    border: 2px solid #901b22;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: white;
    color: #901b22;
}

.bntRecipes {
    display: block;
    margin: 50px auto;
    width: fit-content;
}

.fullImg {
    width: 80%;
    height: 80vh;
    display: block;
    margin: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* --- Responsive Styles (Mobile & Tablet) --- */
@media (max-width: 768px) {
    
    .title h2 {
        font-size: 1.5rem; 
    }

    .boxGrid {
        grid-template-columns: 1fr; 
        padding: 20px;
        gap: 20px;
    }

    .boxTitleGrid {
        flex-direction: column; 
        align-items: flex-start;
        padding: 15px;
    }

    .boxTitle {
        padding-left: 0;
        font-size: 1.5rem;
    }

    button {
        width: 100%;
        margin-top: 10px;
        font-size: 1.2rem;
        text-align: center;
    }

    .photoBox1, .photoBox2 {
        height: 200px;
    }

    .fullImg {
        width: 95%; 
        height: auto;
        max-height: 50vh;
    }
}