* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  list-style: none;
}
/*-------Variables-------*/
:root {
  --space: 2rem;
  --main-color: #f5e5d7;
  --brown-color: #4a2626;
  --pink-opacity: #ffe6e9;
  --white-alpha-40: rgba(255, 255, 255, 0.4);
  --white-alpha-25: rgba(255, 255, 255, 0.25);
  --backdrop-filter: blur(5px);
  --box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
/*-------Global Styling-------*/
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}
.navbar {
  color: var(--brown-color);
}
.navbar:hover {
  color: var(--main-color);
}
.btn {
  background-color: var(--white-alpha-40);
  border: 2px solid;
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  text-transform: capitalize;
  color: var(--brown-color);
  padding: 0.5rem 2rem;
  border-radius: 1.5rem;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  font-family: "Open Sans", sans-serif;
}
/* SLIDE-BANNER BUTTON COLORS */

/* Slide 1 button */
.slide1-btn {
  background-color: var(--bro);
  border-color: 2px solid var(--brown-color);
  color: var(--brown-color);
  font-family: "Open Sans", sans-serif;
}
.slide1-btn:hover {
  background-color: var(--brown-color);
  border-color: 2px solid var(--main-color);
  color: var(--main-color);
  font-family: "Open Sans", sans-serif;
}

/* Slide 2 button */
.slide2-btn {
  background-color: var(--brown-color);
  border-color: 2px solid var(--main-color);
  color: var(--main-color);
  font-family: "Open Sans", sans-serif;
}
.slide2-btn:hover {
  background-color: var(--main-color);
  border-color: 2px solid var(--brown-color);
  color: var(--brown-color);
  font-family: "Open Sans", sans-serif;
}

/* Slide 3 button */
.slide3-btn {
  background-color: white;
  border-color: 2px solid #a6c39f;
  color: #a6c39f;
  font-family: "Open Sans", sans-serif;
}
.slide3-btn:hover {
  background-color: #a6c39f;
  border-color: 2px solid white;
  color: white;
  font-family: "Open Sans", sans-serif;
}
/* Slide 1 text colors */
.slide1 span {
  color: var(--brown-color);
}

.slide1 h3 {
  color: var(--brown-color) !important;
}

.slide1 p {
  color: var(--brown-color) !important;
}
/* Slide 2 text colors */
.slide2 span {
  color: var(--brown-color) !important;
}

.slide2 h3 {
  color: var(--brown-color) !important;
}

.slide2 p {
  color: var(--brown-color) !important;
}

/* Slide 3 text colors */
.slide3 span {
  color: #a6c39f !important;
}

.slide3 h3 {
  color: #a6c39f !important;
}

.slide3 p {
  color: #a6c39f !important;
}

.box-container .btn {
  background-color: var(--main-color);
  border: 2px solid var(--brown-color);
  text-transform: capitalize;
  padding: 0.5rem 2rem;
  color: var(--brown-color);
  border-radius: 1.5rem;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  font-family: "Open Sans", sans-serif;
}
.box-container .btn:hover {
  background-color: var(--brown-color);
  border: 2px solid var(--main-color);
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  color: var(--main-color);
  font-family: "Open Sans", sans-serif;
}
.btn-seasonal {
  background-color: white;
  border: 2px solid #ff6200;
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  text-transform: capitalize;
  color: #ff6200;
  padding: 0.5rem 2rem;
  border-radius: 1.5rem;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  font-family: "Open Sans", sans-serif;
}
.btn-seasonal:hover {
  background-color: #ff6200;
  border: 2px solid white;
  color: white;
  font-family: "Open Sans", sans-serif;
}
.empty {
  background-color: var(--white-alpha-25);
  border: 2px solid var(--white-alpha-40);
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  text-transform: capitalize;
  color: var(--brown-color);
  padding: 1.5rem;
  text-align: center;
  margin: 2rem auto;
  margin-bottom: 2rem;
  width: 50vw;
  line-height: 2;
  border-radius: 0.5rem;
}
.empty p {
  font-size: 20px;
  padding-bottom: 2rem;
}
input[type="submit"] {
  cursor: pointer;
}
input[type="submit"]:hover {
  color: var(--main-color);
}
.products .box {
  max-width: 420px;
  min-width: 420px;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem;
  align-items: center;
}
.box-container .box {
  background-color: var(--white-alpha-25);
  border: 2px solid var(--white-alpha-40);
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  margin: 1rem;
}
/* REMOVE boxes / borders from icons */
/* Keep icons brown */

/* icon row container */
.header .icons {
  display: flex; /* put icons in a row */
  align-items: center; /* vertically center them */
  gap: 1rem; /* space between icons */
}

/* each icon */
.header .icons .bx {
  font-size: 1.6rem; /* icon size */
  color: var(--brown-color); /* brown */
  line-height: 1;
  display: inline-flex; /* gives us a box for centering */
  align-items: center;
  justify-content: center;
  width: 2.5rem; /* same click area for all */
  height: 2.5rem;
  cursor: pointer;
  background: none; /* no box */
  border: none;
}

.heading {
  text-align: center;
  line-height: 1.5;
  font-size: 1.3rem;
}
.heading h1 {
  text-transform: capitalize;
}
.heading span {
  color: var(--brown-color);
  text-transform: capitalize;
  font-size: 16px;
}

.heading img {
  margin-top: 0.5rem;
  width: 150px !important;
}
.flex-btn {
  display: flex;
  justify-content: center;
}
.flex-btn .btn {
  margin: 0.5rem;
}

.banner .detail span a {
  color: var(--main-color);
}
.banner .detail span i {
  margin: 0 1rem;
}

/*-------Custom scroll bar-------*/
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 20px;
  border-radius: 20px;
  height: 40px;
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: var(--pink-color);
  position: relative;
}
::-webkit-scrollbar-track {
  background-color: transparent;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  height: 40px;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-right: 10px;
  margin-left: 10px;
}
/*-------Header-------*/
.header {
  padding: 0.5rem 4%;
  background-color: var(--main-color);
  box-shadow: 0px 5px 10px 0px #aaa;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.header .icons i {
  border-left: 3px solid #88aacf;
  width: 2px;
  /* or height: 100%; background, etc. */
}
/* header icons container */
.header .flex .icons {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* clickable icon boxes */
.header .flex .icons a,
.header .flex .icons div {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--main-color);
  background: transparent;
  cursor: pointer;
}

/* make sure the icon glyph itself isn’t stretched */
.header .flex .icons i {
  line-height: 1;
}

.header .flex {
  padding: 0.5rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .flex .search-form {
  width: 30rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background-color: white;
}

.header .flex .search-form input {
  width: 100%;
  background: none;
  font-size: 1.1rem;
  box-shadow: none;
}
.header .flex .search-form button {
  font-size: 1.1rem;
  color: var(--main-color);
  cursor: pointer;
  background: none;
  box-shadow: none;
}

.header .flex .icons div,
.header a i {
  font-size: 2rem;
  color: var(--main-color);
  height: 2.5rem;
  width: 2.5rem;
  line-height: 2.4rem;
  text-align: center;
  margin-left: 0.5rem;
  cursor: pointer;
}
#menu-btn {
  display: none; /* hide by default */
  font-size: 2rem;
  cursor: pointer;
  color: #3b1c17; /* your Sprinkles brown */
  font-family: "Open Sans", sans-serif;
}

.header sup {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--brown-color);
  position: absolute;
  top: 20%;
  color: #fff;
  line-height: 20px;
  margin-left: -1rem;
  text-align: center;
}

#search-btn {
  display: none;
  font-family: "Open Sans", sans-serif;
}

#menu-btn {
  display: none;
  font-family: "Open Sans", sans-serif;
}

.header .flex .profile-detail {
  background-color: #fff;
  border: 2px solid var(--white-alpha-40);
  backdrop-filter: var(--backdrop-filter);
  box-shadow: var(--box-shadow);
  position: absolute;
  top: 125%;
  right: 2rem;
  border-radius: 0.5rem;
  width: 22rem;
  padding: 1.5rem 0.5rem;
  animation: 0.2s linear fadeIn;
  text-align: center;
  overflow: hidden;
  display: none;
}

@keyframes fadeIn {
  0% {
    transform: translateY(1rem);
  }
  100% {
    transform: translateY(0);
  }
}
.header .flex .profile-detail.active {
  display: inline-block;
}

.profile-detail .flex-btn {
  display: flex;
  justify-content: space-evenly;
  font-family: "Open Sans", sans-serif;
}

.profile-detail .flex-btn .btn {
  margin: 0.5rem;
  font-family: "Open Sans", sans-serif;
}

.profile-detail img {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  padding: 0.5rem;
  object-fit: cover;
  margin-bottom: 0.5rem;
  background-color: var(--main-color);
}
/* DESKTOP NAV ONLY */
.header .navbar {
  display: flex;
  flex: 1; /* allows navbar to grow between logo + search bar */
  justify-content: space-between; /* spreads the words evenly */
  max-width: 500px; /* optional: controls how wide the nav can stretch */
  margin: 0 2rem; /* adds breathing room */
}

.header .navbar a {
  font-size: 1.3rem;
  margin: 0.5rem;
  text-transform: capitalize;
  color: #000;
}

.header .navbar a:hover {
  text-decoration: underline var(--brown-color);
}

/* home section style starts  */
/* ===== HERO BANNER FIXES ===== */
.home {
  padding: 0rem 5.625%;
  background-color: #eee;
}

.home .home-slide .slide {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 5.625rem;
  padding-bottom: 5.625rem;
}

.home .home-slide .slide .content {
  flex: 1 1 28.125rem;
}

.home .home-slide .slide .content span {
  font-size: 1.5625rem;
  color: #000;
  text-transform: capitalize;
}

.home .home-slide .slide .content h3 {
  font-size: 4.375rem;
  color: #000;
}

.home .home-slide .slide .content h3 span {
  color: var(--brown-color);
  font-size: 4.375rem;
}

.home .home-slide .slide .content p {
  font-size: 1.25rem;
  color: var(--light-color);
  padding: 3.125rem 0;
  line-height: 1.5;
}

.home .home-slide .slide .image {
  flex: 1 1 28.125rem;
}

.home .home-slide .slide .image img {
  width: 100%;
}
.swiper-pagination-bullet-active {
  color: var(--brown-color);
}
/* Change ALL bullets */
.swiper-pagination-bullet {
  background: var(--brown-color) !important; /* your theme color */
  opacity: 0.4; /* optional */
}

/* Change ACTIVE bullet */
.swiper-pagination-bullet-active {
  background: var(--brown-color) !important; /* your cream color */
  opacity: 1;
}

/* home section style ends  */
/* services section */
.service {
  padding: 6%;
}
.service .box-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns */
  gap: 2rem;
  justify-content: center;
  justify-items: center;
}
.service .box-container .box {
  background-color: var(--main-color);
  margin: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 2rem;
  text-transform: capitalize;
  text-align: center;
  line-height: 1.5;
  height: 140px;
  width: 350px; /* adjust if you want them wider/narrower */
  max-width: 350px;
}

.service .box-container .box .detail {
  border-left: 1px solid;
  padding-left: 2rem;
}

.service .box-container .box h4 {
  font-size: 1.5rem;
}

.service .box-container .box .icon {
  cursor: pointer;
  overflow: hidden;
  width: 130px;
}

.service .box-container .box .icon-box {
  display: flex;
  width: 200%;
  transition: 0.5s ease-in-out;
}

.service .box-container .box .icon-box .img1,
.service .box-container .box .icon-box .img2 {
  flex: 1 0 50%;
  width: 40px;
  height: 60px;
  object-fit: contain;
}
.service .box-container .box:hover .icon-box {
  transform: translateX(-50%);
}
.categories {
  padding: 4%;
}

.categories .box-container {
  padding-top: 4%;
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1500px;
  margin: 0 auto;
  padding-inline: 2rem;
}

.categories .box-container .box {
  margin: 0; /* let grid gap control spacing */
  position: relative;
  overflow: hidden;
  max-width: 500px;
}

.categories .box-container .box:hover img {
  transform: scale(1.1);
}
.categories .box-container .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.categories .box-container .box a {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 11;
  width: 90%;
  text-align: center;
  margin: 1rem auto;
  font-size: 1.5rem;
}
.categories .box-container .box:hover a {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 11;
  width: 90%;
  text-align: center;
  margin: 1rem auto;
  font-size: 1.5rem;
}
.menu-banner {
  width: 2000px;
}

.taste {
  background-image: url("../img/bg3.JPG");
  padding: 4% 6%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.taste .heading {
  text-align: center;
  margin-bottom: 3rem;
}

.taste .heading span {
  font-size: 1.2rem;
  color: #666;
  text-transform: uppercase;
}

.taste .heading h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
  color: #333;
}

.taste .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.taste .box-container .box {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

/* Background colors for boxes */
.taste .box-container .box.vanilla {
  background-color: #e8f5e9;
}

.taste .box-container .box.chocolate {
  background-color: #f8e2de;
}

.taste .box-container .box.milk {
  background-color: #e8eaf6;
}

/* Hover effect - changes to white */
.taste .box-container .box:hover {
  background-color: #ffffff;
}

.taste .box-container .box img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.taste .box-container .box .detail h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.taste .box-container .box .detail p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}
.ice-container {
  position: relative;
  background-image: url("../img/ice-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* 👈 make background stay fixed */
  height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ice-container .overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45); /* darker overlay like example */
  background-color: #000;
  opacity: 0.5;
  position: absolute;
  inset: 0;
}
.ice-container .detail {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  color: white;
}

.ice-container .detail h1 {
  font-size: 3.3rem; /* match example */
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ice-container .detail p {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #f2f2f2;
}

.ice-container .detail .btn {
  font-size: 1.1rem;
  padding: 0.9rem 2.8rem;
  border-radius: 30px;
  background-color: var(--main-color);
  color: var(--brown-color);
  border: 2px solid var(--brown-color);
  font-family: "Open Sans", sans-serif;
}

.ice-container .detail .btn:hover {
  background-color: var(--brown-color);
  color: var(--main-color);
  border: 2px solid var(--main-color);
  font-family: "Open Sans", sans-serif;
}
.taste2 {
  max-width: 1200px;
  margin: 3rem auto 4rem;
}

.taste2 .t-banner {
  position: relative;
  height: 260px; /* shorter, like the example */
  border-radius: 24px;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); /* soft card shadow */
  margin: 0 1rem 2rem;
  overflow: hidden; /* keep image + overlay inside rounded corners */
}

.taste2 .t-banner .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75); /* softer than before */
  border-radius: inherit;
}

.taste2 .t-banner .detail {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 70%;
  text-align: center;
  line-height: 1.6;
  padding: 0 3rem;
}

.taste2 .t-banner .detail p {
  color: #666;
  font-size: 1.5rem;
  margin-bottom: 0;
}
.taste2 .t-banner .detail h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.taste2 .box-container .box {
  position: relative;
}

.taste2 .box-container .box img {
  width: 100%;
}

.taste2 .box-container .box .box-overlay {
  position: absolute;
  background-color: var(--main-color);
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.taste2 .box-container .box:hover .box-overlay {
  opacity: 0.88;
}

.taste2 .box-container .box .box-details {
  position: absolute;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.taste2 .box-container .box:hover .box-details {
  opacity: 1;
  top: 50%;
  left: 50%;
}

.taste2 .box-container .box .box-details h1 {
  color: var(--brown-color);
  font-weight: 500;
  letter-spacing: 0.15rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.taste2 .box-container .box .box-details p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.fadeIn-bottom {
  top: 80%;
}

.flavor {
  width: 100%;
  margin: 4rem 0;
}
.flavor .box-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  background: #f8d4d9; /* soft pink like example */
}

.flavor .box-container img {
  width: 50%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.flavor .box-container .detail {
  width: 50%;
  padding: 3rem 4rem;
  text-align: center;
}

.flavor .box-container .detail h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.flavor .box-container .detail h1 span {
  color: white; /* hot pink 20% like example */
  font-weight: 700;
}

.flavor .box-container .detail p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
}
.flavor .box-container .btn {
  display: inline-block;
  padding: 0.7rem 2.2rem;
  background: var(--main-color);
  color: var(--brown-color);
  border-radius: 30px;
  font-size: 1rem;
  border: 2px solid var(--brown-color);
  transition: 0.3s ease;
  font-family: "Open Sans", sans-serif;
}
.flavor .box-container .btn:hover {
  background: var(--brown-color);
  border-color: var(--main-color);
  color: var(--main-color);
  font-family: "Open Sans", sans-serif;
}

.usage {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 4%;
}

.usage .row {
  display: flex;
  align-items: center;
}

.usage .row.divider {
  padding: 1rem;
  width: 45%;
}

.usage .row .box-container .box {
  display: flex;
  flex-direction: row-reverse;
  padding: 1rem;
  align-items: center;
}
.usage .row .box-container .box img {
  width: 70px;
  height: 70px;
  margin-left: 0.4rem;
}

.usage .row .box-container .box h3 {
  font-size: 1.5rem;
}

.usage .row .box-container .box p {
  color: #666;
  padding: 1rem 0;
  font-size: 1.1rem;
}
.usage .row .box-container:first-child {
  text-align: center;
}

.pride {
  background-image: url("../img/ice-creem-banner-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 80px 0;
  padding: 220px 0 273px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  /* Fix spacing above footer */
  margin: 80px 0 0 !important; /* remove bottom gap */
}

.pride .detail {
  padding-right: 10%;
}

.pride .detail p {
  color: #666;
  font-size: 20px;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-right: 8%; /* pushes text away from the cake */
  padding-left: 5%; /* adds breathing room on the left */
}
.pride .detail .btn:hover {
  background-color: var(--brown-color);
  color: var(--main-color);
  font-family: "Open Sans", sans-serif;
}
.container {
  padding: 4%;
  padding-bottom: 0;
}

.container .box-container .img-box {
  margin: 1rem;
}

.container .box-container .img-box img {
  background-size: contain;
  width: 80%;
  margin-bottom: -1.1rem;
  border-radius: 80%;
}

.container .box-container .box {
  text-align: center;
  line-height: 2;
  box-shadow: none;
}

.container .box-container p {
  color: #666;
  font-size: 16px;
  margin-bottom: 2rem;
}

.services {
  background-image: url("../image/bg3.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 6%;
  position: relative;
  min-height: 100vh;
}

.services .box-container .box {
  line-height: 1.5;
  text-align: center;
  padding: 2rem 0;
}

.services .box-container .box div {
  margin-left: 2rem;
}

.services .box-container .box h1 {
  font-size: 20px;
  color: var(--main-color);
  margin: 0.5rem 0;
  text-transform: capitalize;
}
/* Footer layout like the example */
footer {
  background-image: url("../img/footer-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 190px 6% 40px !important; /* reduce top padding */
  width: 100%;
}

footer .content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  align-items: center;
  justify-content: center;
}

footer .content .box {
  margin: 1rem;
  line-height: 1.7;
}

footer .content .box .btn {
  background-color: var(--main-color);
  border: 2px solid var(--brown-color);
  text-align: center;
  padding: 0.5rem;
  margin-top: 1.2rem;
  font-family: "Open Sans", sans-serif;
}

footer .content .box .btn:hover {
  background-color: var(--brown-color);
  border: 2px solid var(--main-color);
  color: var(--main-color);
  font-family: "Open Sans", sans-serif;
}

footer .content .box h3 {
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

footer .content .box a {
  font-size: 16px;
  display: block;
  color: #000;
  text-transform: capitalize;
}

footer .content .box a:hover {
  color: var(--main-color);
}

footer .content .box i {
  line-height: 1.8 !important; /* medium spacing */
  margin: 4px 0 !important;
}

footer .content .box p {
  line-height: 1.5;
}

footer .content .box .icons-socials {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1rem;
}

footer .content .box .icons-socials i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: var(--main-color);
  border: 1px solid var(--brown-color);
  color: var(--brown-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}
footer .content .box .icons-socials i:hover {
  background-color: var(--brown-color);
  border: 2px solid var(--main-color);
  color: var(--main-color);
}
footer .bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  line-height: 2;
}
footer .bottom a {
  text-transform: capitalize;
  color: #000;
}
@media (max-width: 1024px) {
  /* ------------------------------------------
       GLOBAL SPACING
    ------------------------------------------- */
  body {
    padding: 0;
    margin: 0;
  }

  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* ------------------------------------------
       HEADER + NAV (Tablet still horizontal)
    ------------------------------------------- */
  /* NAV BAR WRAPPER */
  .header {
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
  }

  /* LEFT SIDE: LOGO + NAV LINKS */
  .header .flex {
    display: flex;
    align-items: center;
    gap: 1.75rem; /* tighter spacing so no wrapping */
    white-space: nowrap; /* prevent links from breaking onto new lines */
  }

  /* NAV LINKS */
  nav.navbar a {
    font-size: 0.95rem;
    white-space: nowrap; /* keeps each item on 1 line */
    padding: 0;
    margin: 0;
  }

  /* SEARCH AREA (keeps width controlled) */
  .search-form {
    max-width: 160px;
    min-width: 150px;
    white-space: nowrap;
  }

  .search-form input {
    width: 100%;
    font-size: 0.85rem;
  }

  /* ICONS AREA */
  .icons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    white-space: nowrap;
  }
  /* Base button styling for all category buttons */
  .categories .box a {
    background-color: var(--main-color);
    border-radius: 20px;
    padding: 0.4rem 1.4rem;
    font-size: 1.1rem;
    border: 2px solid var(--brown-color);
    color: #5a4a42;
    display: inline-block;
  }

  /* Hover effect for all buttons */
  .categories .box a:hover {
    background-color: var(--brown-color);
    border: 2px solid var(--main-color);
    color: var(--main-color);
  }

  .categories .box .btn-seasonal {
    background-color: white;
    border-color: #ff6200;
    color: #ff6200;
  }

  .categories .box .btn-seasonal:hover {
    background-color: #ff6200;
    color: white;
    border-color: white;
  }

  /* ------------------------------------------
       HERO SECTION
    ------------------------------------------- */
  .hero-left-text {
    text-align: center;
    margin-top: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-btn {
    margin: 1rem auto 0;
  }

  .hero-img {
    width: 80%;
    margin: 0 auto;
    display: block;
  }

  /* ------------------------------------------
       SERVICE BOXES — 2 columns
    ------------------------------------------- */
  .service .box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    justify-items: center;
  }

  .service .box-container .box {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 1.5rem;
  }

  .service .box-container .box .icon {
    width: 100px;
  }

  .service .box-container .box .detail {
    padding-left: 1.5rem;
  }

  /* ------------------------------------------
       CATEGORY GRID — 2 columns
    ------------------------------------------- */
  .categories .heading {
    text-align: center;
    margin-bottom: 2rem;
  }

  /* TWO COLUMNS – EVEN SPACING */
  .categories .box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    justify-items: center;
    width: 100%;
    padding: 0 2rem;
  }

  /* EACH IMAGE CARD */
  .categories .box {
    width: 100%;
    max-width: 350px;
    text-align: center;
  }

  /* IMAGE STYLING */
  .categories .box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.08);
  }

  /* TITLE LABEL BELOW IMAGE */
  .categories .box a {
    display: block;
    margin: 0.75rem auto 0;
    background: #f8ded9;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 1.1rem;
    width: fit-content;
  }
  /* ------------------------------------------
       FEATURED FLAVORS – 2 columns
    ------------------------------------------- */
  .flavor-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .flavor-card {
    width: 100%;
  }
  /* NATURAL INGREDIENTS — STACK LIKE EXAMPLE */
  .taste .box-container {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 3rem;
  }

  .taste .box-container .box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-radius: 20px;
  }

  .taste .box-container .box img {
    width: 230px;
    height: 230px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
  }

  .taste .box-container .detail h1 {
    font-size: 2.2rem;
  }

  .taste .box-container .detail p {
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0.5rem auto 0;
    line-height: 1.6;
  }
  /* ------------------------------------------
       BIG IMAGE SECTIONS (Testimonial, Seasonal, etc.)
    ------------------------------------------- */
  .full-banner img {
    width: 100%;
    border-radius: 10px;
  }

  /* HOW IT WORKS — MAIN CONTAINER */
  .usage {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
  }
  .usage .row,
  .usage .box-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .usage .heading h1 {
    font-size: 2.2rem;
    text-align: center;
  }

  .usage .heading img {
    width: 70px;
    margin: 0.5rem auto 2rem;
    display: block;
  }

  /* HOW IT WORKS ROW */
  .usage .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 2rem;
  }

  /* BIG ICE CREAM IMAGE */
  .usage .row .divider {
    width: 100%;
    max-width: 450px;
    margin: 0 auto 2rem;
    display: block;
  }

  /* BOX-CONTAINER — ALWAYS VERTICAL IN TABLET */
  .usage .box-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
  }

  /* SINGLE CARD */
  .usage .box {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 1.8rem;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  }

  /* ICON */
  .usage .box img {
    width: 70px;
    opacity: 0.7;
  }

  /* TITLE */
  .usage .box h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  /* PARAGRAPH */
  .usage .box p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
  }

  /* ------------------------------------------
       FOOTER — 2 column layout
    ------------------------------------------- */
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
  }

  .footer-logo img {
    width: 120px;
    margin: 0 auto;
  }
} /* END OF MEDIA QUERY — MUST BE LAST LINE */

/* ============================================
   FINAL — WORKING PHONE LAYOUT (max-width:480px)
   ============================================ */
@media (max-width: 430px) {
  html,
  body {
    font-size: 60%;
    overflow-x: hidden;
  }

  /* HEADER / NAV */
  /* Show hamburger */
  #menu-btn {
    display: block;
    font-size: 3rem;
    color: var(--brown-color);
  }
  /* Hide desktop search */
  .search-form {
    display: none;
  }
  /* Base button styling for all category buttons */
  .categories .box a {
    background-color: var(--main-color);
    border-radius: 20px;
    padding: 0.4rem 1.4rem;
    font-size: 1.1rem;
    border: 2px solid var(--brown-color);
    color: #5a4a42;
    display: inline-block;
  }

  /* Hover effect for all buttons */
  .categories .box a:hover {
    background-color: var(--brown-color);
    border: 2px solid var(--main-color);
    color: var(--main-color) t;
  }

  /* Seasonal button keeps its orange theme */
  .categories .box .btn-seasonal {
    background-color: white;
    border-color: #ff6200;
    color: #ff6200;
  }

  .categories .box .btn-seasonal:hover {
    background-color: #ff6200;
    color: white;
    border-color: white;
  }

  .header .flex .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f5e8dc;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 0.35s ease;
    padding: 0;
  }

  /* NAV OPEN */
  .header .flex .navbar.nav-open {
    height: auto;
    opacity: 1;
    padding: 0 2rem;
    margin: 1rem;
  }
  /* MOBILE NAV LINKS */
  .header .flex .navbar a {
    font-size: 2rem;
    padding: 0.7rem 0;
    margin: 0.2rem 0;
    color: var(--brown-color);
    text-align: center;
    width: 100%;
  }
  /* Prevent giant gap */
  .header .flex {
    padding: 0.8rem 1rem;
  }
  /* SERVICES */
  .service .box-container {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 0 2rem;
  }

  .service .box-container .box {
    width: 100%;
    max-width: 350px;
  }

  /* CATEGORIES — FORCE ONE COLUMN */
  .categories {
    padding: 0;
  }

  .categories .box-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    max-width: 100%;
  }

  .categories .box-container .box {
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  .categories .box-container .box img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 10px;
  }

  .categories .box-container .box a {
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
  }

  /* TASTE */
  .taste .box-container {
    grid-template-columns: 1fr;
    padding: 0 1.6rem;
  }

  /* TASTE2 */
  .taste2 .box-container {
    grid-template-columns: 1fr;
  }

  /* FLAVOR SPLIT */
  .flavor .box-container {
    flex-direction: column;
  }

  .flavor .box-container img {
    width: 100%;
    height: 260px;
    object-fit: cover;
  }

  /* USAGE */
  .usage {
    max-width: 520px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem 5rem;
    background: #ffffff;
  }

  .usage .heading h1 {
    text-align: center;
    font-size: 2.3rem;
    font-family: "Playfair Display", serif;
    margin-bottom: 0.5rem;
  }

  .usage .heading img {
    align-items: center;
    justify-content: center;
  }

  .how-divider span {
    display: block;
    width: 70px;
    height: 2px;
    background-color: #333;
  }

  .how-divider img {
    width: 26px;
    height: auto;
  }

  /* Big sundae image */
  .usage {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .usage img {
    max-width: 100%;
    height: auto;
  }

  /* Step cards */
  .usage {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Each card */
  .usage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 4px;
  }

  /* Title + text */
  .usage h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.7rem;
    text-transform: none;
    margin: 0 0 0.75rem;
  }

  .usage p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
  }

  /* Icon on right */
  .usage img {
    width: 80px;
    height: auto;
    opacity: 0.4;
    filter: brightness(1.2);
  }

  /* PRIDE */
  .pride .detail h2 {
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--brown-color);
  }
  .pride .detail p {
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
  }
  .pride .detail .btn {
    justify-content: center;
    align-items: center;
  }
  /* FOOTER */
  footer {
    padding: 100px 1.6rem 40px;
  }
  footer p {
    font-size: 1.5rem;
  }
  footer .content .box .icons-socials {
    align-items: center;
    justify-content: center;
  }
  footer .content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
} /* END OF MEDIA QUERY — MUST BE LAST LINE */

/* ============================================
   FINAL — WORKING TABLET LAYOUT (max-width:480px)
   ============================================ */
