<script setup>
import DifferentBox from './DifferentBox.vue';
</script>

<template>
  <section class="different">
    <h2>{{ $t('different.header') }}</h2>
    <h3>{{ $t('different.subheader') }}</h3>
    <div class="boxes">
      <DifferentBox image="coffee-beans1.png" :title="$t('different.beans.title')" :description="$t('different.beans.description')" />
      <DifferentBox image="badge1.png" :title="$t('different.quality.title')" :description="$t('different.quality.description')" />
      <DifferentBox image="coffee-cup1.png" :title="$t('different.extraordinary.title')" :description="$t('different.extraordinary.description')" />
      <DifferentBox image="best-price1.png" :title="$t('different.affordable.title')" :description="$t('different.affordable.description')" />
    </div>
  </section>
</template>

<style lang="scss" scoped>
 .different {
    color: #fff;
    background-color: #000;
    padding: 72px 0;
  }

  h2 {
    padding: 0 150px;
    font-size: 52px;
    text-align: center;
  }

  h3 {
    margin-top: 24px;
    padding: 0 150px;
    font-size: 20px;
    line-height: 34px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 50px;
  } 
  .boxes {
    display: flex;
    justify-content: space-between;
  }
</style>