.hero{
  min-height:670px;
  background:
    linear-gradient(90deg, rgba(26,42,41,.96), rgba(26,42,41,.75), rgba(26,42,41,.3)),
    url("../images/hero.jpg");
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  padding:0 7%;
  color:white;
}

.hero h1{
  font-size:76px;
  line-height:1.05;
  margin-bottom:25px;
}

.hero p{
  font-size:24px;
  margin-bottom:35px;
}

.hero-buttons{
  display:flex;
  gap:20px;
}

.btn{
  padding:18px 35px;
  font-weight:bold;
  border-radius:4px;
}

.btn-light{
  background:#f7f4ed;
  color:#1A2A29;
}

.btn-outline{
  border:1px solid #f7f4ed;
  color:#f7f4ed;
}

.offers{
  padding:70px 7%;
  text-align:center;
  background:#f7f4ed;
}

.section-label{
  font-weight:bold;
  letter-spacing:2px;
  margin-bottom:10px;
}

.offers h2{
  font-size:42px;
  margin-bottom:12px;
}

.section-text{
  font-size:18px;
  margin-bottom:40px;
}

.offer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

.offer-card{
  background:white;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.offer-image{
  height:220px;
  background:#ddd;
  background-size:cover;
  background-position:center;
}

.offer-card:nth-child(1) .offer-image{
  background-image:url("../images/f&v.jpg");
}

.offer-card:nth-child(2) .offer-image{
  background-image:url("../images/beverages.avif");
}

.offer-card:nth-child(3) .offer-image{
  background-image:url("../images/3for7.png");
}

.offer-card:nth-child(4) .offer-image{
  background-image:url("../images/personal.avif");
}

.offer-card h3{
  font-size:22px;
  margin:22px 15px 12px;
}

.offer-card p{
  padding:0 22px;
  line-height:1.7;
  min-height:85px;
}

.offer-card a{
  display:inline-block;
  margin:20px 0 25px;
  background:#1A2A29;
  color:white;
  padding:14px 35px;
  border-radius:4px;
  font-weight:bold;
}

.see-all{
  display:inline-block;
  margin-top:35px;
  background:#1A2A29;
  color:white;
  padding:18px 45px;
  border-radius:4px;
  font-weight:bold;
}

.why-us{
  background:#1A2A29;
  color:white;
  padding:65px 7%;
}

.why-us h2{
  text-align:center;
  font-size:38px;
  margin-bottom:42px;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.why-card{
  display:flex;
  gap:22px;
  align-items:flex-start;
  padding:10px 28px;
  border-right:1px solid rgba(255,255,255,.22);
}

.why-card:last-child{
  border-right:none;
}

.why-icon{
  min-width:58px;
}

.why-icon svg{
  width:52px;
  height:52px;
  color:#f7f4ed;
  stroke-width:1.5;
}

.why-card h3{
  font-size:18px;
  margin-bottom:10px;
  color:white;
}

.why-card p{
  font-size:15px;
  line-height:1.7;
  color:#e6e2d8;
}

@media(max-width:900px){
  .why-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .why-card{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.18);
    padding-bottom:25px;
  }

  .why-card:last-child{
    border-bottom:none;
  }
}


/* SUBSCRIBE SECTION - DESKTOP */

.subscribe {
  background: #f7f4ed;
  padding: 65px 5%;
  display: grid;
  grid-template-columns: 130px minmax(260px, 420px) minmax(320px, 460px);
  justify-content: center;
  gap: clamp(25px, 3vw, 50px);
  align-items: center;
}

/* Envelope icon */
.subscribe-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e4ddcf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subscribe-icon svg {
  width: 62px;
  height: 62px;
  color: #1A2A29;
  stroke-width: 1.7;
}

/* Heading and description */
.subscribe-text-box {
  max-width: 420px;
}

.subscribe-text-box h2 {
  font-size: 30px;
  line-height: 1.25;
  color: #1A2A29;
  margin: 0 0 15px;
}

.subscribe-text-box p {
  font-size: 16px;
  line-height: 1.5;
  color: #1A2A29;
  margin: 0;
}

/* Email form */
.subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: stretch;
  width: 100%;
  max-width: 460px;
}

.subscribe-form input {
  padding: 20px 14px;
  font-size: 15px;
  border: 1px solid #c9c5bc;
  background: white;
  outline: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.subscribe-form input:focus {
  border-color: #1A2A29;
}

.subscribe-form button {
  background: #1A2A29;
  color: white;
  border: none;
  padding: 15px 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.subscribe-form button:hover {
  background: #263d3b;
}

.subscribe-form small {
  grid-column: 1 / -1;
  margin-top: 10px;
  font-size: 14px;
  color: #1A2A29;
}

/* Mobile */

/* ==============================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 768px) {

  /* HEADER */
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .logo img {
    max-width: 150px;
  }

  nav ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    list-style: none;
  }

  nav ul li a {
    font-size: 14px;
  }


  /* HERO */
  .hero {
    min-height: 550px;
    padding: 40px 20px;
    text-align: center;
    justify-content: center;
    background-position: center;
  }

  .hero-content {
    width: 100%;
    max-width: 500px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }


  /* OFFERS */
  .offers {
    padding: 60px 20px;
  }

  .offers h2 {
    font-size: 30px;
  }

  .section-text {
    font-size: 15px;
  }

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

  .offer-card {
    width: 100%;
  }

  .offer-image {
    height: 220px;
  }


  /* WHY US */
  .why-us {
    padding: 60px 20px;
  }

  .why-us h2 {
    font-size: 30px;
  }

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

  .why-card {
    padding: 20px;
  }


  /* SUBSCRIBE */
 /* .subscribe {
    padding: 50px 20px;
    text-align: center;
    flex-direction: column;
    gap: 20px;
  }

  .subscribe-text-box h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .subscribe-form {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
    box-sizing: border-box;
  }

  .subscribe-form small {
    display: block;
  }*/


  /* FOOTER */
  footer {
    padding: 50px 20px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-card {
    text-align: center;
    justify-content: center;
  }

  .copyright {
    text-align: center;
    font-size: 13px;
  }
}





/* SUBSCRIBE - MOBILE RESPONSIVE */
@media (max-width: 768px) {

  .subscribe {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    text-align: center;
    gap: 25px;
    justify-items: center;
  }

  .subscribe-icon {
    width: 100px;
    height: 100px;
  }

  .subscribe-icon svg {
    width: 48px;
    height: 48px;
  }

  .subscribe-text-box {
    width: 100%;
    max-width: 450px;
  }

  .subscribe-text-box h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  /* Allow the heading to wrap naturally on mobile */
  .subscribe-text-box h2 br {
    display: none;
  }

  .subscribe-text-box p {
    font-size: 15px;
    line-height: 1.5;
  }

  .subscribe-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 450px;
  }

  .subscribe-form input {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    padding: 15px;
  }

  .subscribe-form button {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px;
  }

  .subscribe-form small {
    grid-column: 1;
    margin-top: 0;
    font-size: 13px;
    line-height: 1.5;
  }

}

/* TABLET VIEW */
@media (min-width: 769px) and (max-width: 1024px) {

  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }

  .offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .offer-card h3 {
    font-size: 25px;
    line-height: 1.3;
  }

  .offer-card p {
    font-size: 17px;
    line-height: 1.5;
  }

  .offer-card a {
    margin-top: auto;
    align-self: stretch;
    text-align: center;
  }

  .offer-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
  }

  .see-all-promotions {
    margin: 40px auto 0;
    display: block;
    width: fit-content;
  }

}



/* SUBSCRIBE - TABLET VIEW */
@media (min-width: 769px) and (max-width: 1024px) {

  .subscribe {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 25px;
    padding: 45px 5%;
    text-align: left;
  }

  .subscribe-icon {
    width: 100px;
    height: 100px;
  }

  .subscribe-icon svg {
    width: 50px;
    height: 50px;
  }

  .subscribe-text-box h2 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .subscribe-text-box p {
    font-size: 15px;
    line-height: 1.5;
  }

  .subscribe-form {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    width: 100%;
    max-width: 650px;
    justify-self: center;
    gap: 0;
  }

  .subscribe-form input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 18px 15px;
  }

  .subscribe-form button {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
  }

  .subscribe-form small {
    grid-column: 1 / -1;
    margin-top: 10px;
    font-size: 13px;
  }

}



