* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.banner-layout {
    display: grid;
    grid-template-columns: 450px 1fr 450px;
    align-items:  start;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 8px;
}
.side-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}
.text-content {
    text-align: center;
    padding: 0 1rem;
}
.text-content p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: #4b4038;
}
.banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 120px;
}
.banner-section
 { 
    width: 100%; 
}
.banner-image {
    width: 100%;
    object-fit: cover;
    height: 120px;
    display: block;
    object-fit: cover;
}
.banner-text-overlay {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    columns: rgb(202, 96, 96);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    z-index: 1;
}
.brand-name {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #e66515;
}
.call-now-brand {
    font-size: 2.8rem;
    text-decoration: none;
    color: #e66515;
}
.image-row-section {
  display: flex;
  justify-content: center;
  align-items: stretch;     /* ✅ ensures all children match height */
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  overflow: hidden;
  gap: 0;             
}
.half-image-home{
  flex: 1 1 50%;              /* ✅ each takes half the width by default */
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;          /* ✅ keeps images from stretching */
  border-radius: 10px;
}
.image-overlay-container {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
} 
.overlay-home-text {
    position: absolute;
    top:70%;
    left: 0;
    padding: 15px;
    text-align: left;
    color: wheat;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    z-index: 1;
}
.overlay-home-text h2 {
    margin: 0;
    font-size: 1.8rem;
}
.overlay-home-text p {
    margin: 4px 0 0;
    font-size: 1.95rem;
}
.half-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cup-container  {
    position: relative;
    width: 100%;
    max-width: 215px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}
.cup-container img  {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
}
.image-frame  {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #f9f8f5;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
}
.frame-title {
  text-align: center;
  color: #3a2a1f;
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 700;
} 
.row-topbox,
.row-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.row-description {
  flex: 1 1 300px;
  min-width: 250px;
  color: #3a2a1f;
  text-align: left;
}
.row-description h3 {
  margin-bottom: 0.5rem;
  color: #2e1e12;
}
.row-description p {
  font-size: 0.95rem;
  line-height: 1.5;
}
.row-images {
  flex: 2 1 500px;
  display: grid;
  justify-content: center;
  align-items: start;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}
.row-images.one {
  grid-template-columns: repeat(1, minmax(180px, 1fr));
}
.row-images.three{
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}
.row-images.four {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}
.item {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f1ee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.item:hover {
    transform: translateY(-4px);
}
.item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
.label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 0.35rem 0;
  font-size: clamp(0.75rem, 1rem, 1vw, 1rem);
  border-radius: 0 0 10px 10px;
} 
.frame-section.bottom {
    flex: 2;
    padding: 12px;
}   
.bottom-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease;
}             
.cup-text {
    position: absolute; 
    top: 66.6%;
    left: 0;
    width: 100%;
    height: 33.3%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: clamp(1rem,2vw,1.2rem);
    text-align: center;
    background: rgba(0,0,0,0.45);
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
@media(max-width: 1245px) {
    .banner-layout {
        max-width: 100%;
    } 
}
@media (max-width: 1077px) {
    .banner-layout {
        max-width: 100%;
    } 
  .row-images.three {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
  .row-images.four {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
  .half-image-home {
    object-fit: contain;
  }
}
@media (max-width: 992px) {
  .row-box {
    flex-direction: row; /* Keep side-by-side layout */
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  .row-description {
    flex: 1 1 40%;
  }

  .row-images {
    flex: 1 1 55%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .image-row-section {
    flex-direction: column;
    align-items: center;
  }

  .half-image-home {
    width: 100%;
    max-width: 700px;
  }

  .overlay-home-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
}
@media(max-width:768px) {
  .row-box {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .row-description {
    flex: 1 1 45%;
    font-size: 0.9rem;
  }

  .row-images {
    flex: 1 1 50%;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
    .banner-image {
        max-width: 100%;
    }
    .banner-section {
        flex-direction: column;
    }
    .banner-text-overlay {
        font-size: 0.9rem;
    }
    .image-row-section {
        flex-direction: column;
        height: auto;
    }
    .image-row-section > img,.image-overlay-container {
        width: 100%;
        height: 40vh;
    }
    .row-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .row-topbox {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .row-description {
        max-width: none;
    }
    .row-images {
        justify-content: center;
    }
    .banner-layout {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    .banner-layout img:first-of-type{
        order: 1;
    }
    .side-image { 
        max-width: 100%; 
    }
    .text-content {
        order: 2;
    }
    .banner-layout img:last-of-type{
        order: 3;
    }
  .overlay-home-text {
    font-size: 1rem;
    padding: 0.75rem;
  }
  .overlay-home-text {
    font-size: 1rem;
    padding: 0.75rem;
  }
}
@media(max-width:600px){
   .row-box {
    flex-direction: column; /* Stack vertically */
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .row-description {
    max-width: 90%;
    margin-bottom: 0.25rem;
  }

  .row-images {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    justify-content: center;
    gap: 0.5rem;
  }

  .item {
    max-width: 180px;
  }
  .image-row-section {
    flex-direction: column;
  }

  .half-image-home {
    object-fit: contain;
    max-width: 100%;
  }

  .overlay-home-text {
    font-size: 0.95rem;
    padding: 0.5rem;
  }
}
@media(max-width:480px) {
    .row-box {
    padding: 0.5rem;
    gap: 0.35rem;
  }

  .row-description {
    text-align: center;
    font-size: 0.85rem;
  }

  .row-images {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.4rem;
  }

  .item {
    max-width: 150px;
  }

  .label {
    font-size: 0.75rem;
  }
  .overlay-home-text {
    font-size: 0.85rem;
    padding: 0.4rem;
  }
}