
/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: hsl(27, 96%, 47%);
  --first-color-alt: hsl(27, 96%, 42%);
  --first-color-light: hsl(27, 96%, 42%);
  --first-color-lighten: hsl(0, 0%, 28%);
  --second-color: hsl(178, 55%, 42%);
  --second-color-lighten: hsl(178, 18%, 64%);
  --container-color-tooltip: #ffffff;
  --title-color: #353535;
  --text-color: #353535;
  --text-color-light: #64748b;
  --body-color: #f0f0f0;
  --container-color: #ffffff;
  --border-color: #979797;

  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.1rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.893rem;
  --smaller-font-size: 0.75rem;
  --smallest-font-size: 0.6rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margins Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .3s;
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== THEME ===============*/
.change-theme {
  font-size: 1.25rem;
  cursor: pointer;
  transition: .3s;
  color: #fff; /* White theme icon by default */
}

.change-theme:hover {
  color: var(--first-color);
}

/* When header becomes white on scroll, change theme icon color */
.scroll-header .change-theme {
  color: var(--title-color); /* Change to title color when scrolled */
}

body.dark-theme {
  --first-color: hsl(27, 96%, 47%);
  --first-color-alt: hsl(27, 96%, 42%);
  --first-color-light: hsl(27, 96%, 42%);
  --first-color-lighten: hsl(0, 0%, 28%);
  --second-color: hsl(178, 55%, 42%);
  --second-color-lighten: hsl(180, 10%, 27%);
  --container-color-tooltip: #424242;
  --title-color: #f1f5f9;
  --text-color: #cbd5e1;
  --text-color-light: #94a3b8;
  --body-color: #222222; /* Dark gray instead of dark blue */
  --container-color: #333333; /* Adjusted container color */
  --border-color: #4f4f4f;
}

/*========== Button Dark/Light ==========*/
.nav__btns {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  flex-shrink: 0;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 5.5rem 0 1rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.section__title-center {
  font-size: var(--h1-font-size);
  text-align: center;
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.main {
  overflow: hidden; /* For animation */
}

/*=============== HEADER ===============*/
.header {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center; 
}

.nav__logo-wrapper {
  flex-shrink: 0; /* Keep logo size */
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* space between menu and buttons */
}
 
.nav__toggle, 
.nav__close {
  color: white;
}

.nav__link {
  color: white;
}

/* Logo styles */
.nav__logo-orange,
.nav__logo-white {
  height: 100%;
  width: 12rem;
}

.nav__logo-orange {
  display: none;
}

.nav__logo-white {
  display: block;
}

/* When header becomes white on scroll */
.scroll-header .nav__logo-white {
  display: none; /* Change to orange when scrolled */
}

.scroll-header .nav__logo-orange {
  display: block;
} 

.scroll-header .nav__toggle, 
.scroll-header .nav__close {
  color: var(--title-color);
}

.scroll-header .nav__link {
  color: var(--title-color);
}

.nav__toggle {
  display: inline-flex;
  font-size: 1.25rem;
  cursor: pointer;
  color: white; /* Updated to use second color */
}

@media screen and (max-width: 825px) {
  body {
    margin: 0; /* Remove top margin for mobile to make the home photo full screen */
  }
  
  .nav__menu {
    position: fixed;
    background-color: var(--container-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px hsla(220, 24%, 15%, .1);
    padding: 4rem 0 0 3rem;
    border-radius: 1rem 0 0 1rem;
    z-index: var(--z-fixed);
    flex-shrink: 1;
  }

  .nav__logo {
    height: 2.5rem;
    width: 10rem;
    margin: 0.5rem 0;
  }
  
  .nav__close {
    color: var(--title-color); /* Ensure close button is visible */
  }
  
  .nav__menu .nav__link {
    color: var(--title-color); /* Ensure menu links are visible in both modes */
  }
  
  .header {
    background-color: transparent; /* Ensure header is transparent on mobile */
    height: var(--header-height);
  }
  
  .home__container {
    height: 100svh; /* Make home container fill entire viewport height */
  }

}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 0.1rem;
}

.nav__link {
  font-weight: var(--font-medium);
  font-size: 1rem;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  font-size: 1.2rem;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  cursor: pointer;
}


.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 4px hsla(220, 4%, 15%, .1);
  background-color: var(--container-color);
}

/* Active link */
.active-link {
  color: var(--first-color) !important;
}

/*=============== HOME ===============*/
.home {
  padding: 0;
  height: 100svh;
}

.home__container {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  /* Darker overlay for the background image */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));               
  background-size: cover;
  background-position: center;
  color: white;
  padding: 0 1rem;
}

.home__data {
  max-width: 600px;
  z-index: 1;
}

.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-1);
  color: white;
}

.home__description {
  margin-bottom: var(--mb-2-5);
  color: rgba(255, 255, 255, 0.9);
}

.home__social {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
  z-index: 1;
}

.home__social-follow {
  font-weight: var(--font-medium);
  font-size: var(--smaller-font-size);
  color: white;
}

.home__social-links {
  display: inline-flex;
  column-gap: 1rem;
}

.home__social-link {
  font-size: 1.25rem;
  color: white;
  transition: .3s;
}

.home__social-link:hover {
  color: var(--second-color);
  transform: translateY(-.25rem);
}

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 3rem;
  font-weight: var(--font-semi-bold);
  transition: .3s;
  box-shadow: 0 6px 12px hsla(220, 24%, 15%, .1);
}

.button:hover {
  background-color: var(--second-color);
  box-shadow: 0 3px 8px hsla(220, 24%, 15%, .1);
}

.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.button--icon {
  display: inline-flex;
  font-size: 1.25rem;
  padding-left: 0.5rem;
  align-items: center;

}

.home__carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/*=============== ABOUT ===============*/
.about__container {
  gap: 2.5rem;
}

.about__img {
  width: 300px;
  border-radius: .75rem;
  justify-self: center;
}

.about__title {
  text-align: initial;
  margin-bottom: var(--mb-1);
}

.about__description {
  margin-bottom: var(--mb-2);
  font-size: 0.9rem;
}

.about__details {
  display: grid;
  row-gap: 1rem;
  margin-bottom: var(--mb-2-5);
}

.about__details-description {
  display: inline-flex;
  column-gap: .5rem;
  font-size: var(--small-font-size);
}

.about__details-icon {
  font-size: 1rem;
  color: var(--first-color);
  margin-top: .15rem;
}

/*=============== PRODUCTS ===============*/
.product {
  padding: 7rem 0 2rem;
}

.product__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  font-size: 0.9rem;
}

.product__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1rem 0;
}

.filter-btn {
  background-color: var(--container-color);
  color: var(--title-color);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: .3s;
  border: none;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
}


.button--takeaway {
  background-color: var(--second-color);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 3rem;
  font-weight: var(--font-semi-bold);  
  transition: .3s;
  display: inline-flex;
  align-items: center;
}

.button--takeaway:hover {
  background-color: var(--first-color);
  box-shadow: 0 3px 8px hsla(220, 24%, 15%, .1);
}



.filter-btn:hover {
  background-color: var(--first-color);
  color: #FFF;
}

.filter-btn.active {
  background-color: var(--first-color);
  color: #FFF;
}

.product__container {
  padding-top: 1rem;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.product__card {
  position: relative;
  background-color: var(--container-color);
  padding: .5rem;
  border-radius: .75rem;
  transition: .3s;
  display: flex;
  flex-direction: column;
  height: 340px; /* Fixed height for all cards */
}

.product__card.hidden {
  display: none !important; /* Hide when filtering out */
}

/* from here */


.product__card:hover {
  box-shadow: 0 12px 16px hsla(220, 24%, 15%, .1);
}

.product__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: .5rem;
  margin-bottom: var(--mb-1);
}

.product__price {
  font-size: 1.4rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-top: auto;
}

.product__title {
  font-size: 1.2rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.product__unit {
  font-size: var(--smaller-font-size);
  color: #8c8c8c;
  margin-bottom: var(--mb-1);
}

.product__info-container {
  margin-top: auto; /* Push to bottom of flex container */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.product__price i {
  font-size: var(-small-font-size); /* adjust size if needed */
  line-height: 1;
  vertical-align: middle;
}

.product__button-container {
  /* Position at bottom right */
  position: relative;
}

.product__button {
  background-color: var(--first-color);
  color: #FFF;
  padding: .25rem;
  border-radius: .35rem;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
}

.product__button:hover {
  background-color: var(--second-color);
  transform: translateY(-.25rem);
}

/* Increase tooltip size for better product information */
.product__tooltip {
  position: absolute;
  bottom: 2rem;
  right: 0;
  background-color: var(--container-color-tooltip);
  color: var(--text-color);
  width: 350px;
  max-height: 1200px;
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: 0 8px 24px hsla(220, 24%, 15%, .2);
  z-index: var(--z-tooltip);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  pointer-events: none;
}

.product__tooltip-title {
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-0-5);
}

.product__tooltip-subtitle {
  margin-top: var(--mb-0-25);
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-0-25);
}

.product__tooltip-footer {
  margin-top: var(--mb-0-5);
  font-size: var(--smaller-font-size);

}

.product__tooltip-footer i {
  font-size: 1.2em; /* adjust size if needed */
  line-height: 1;
  vertical-align: middle;
}

.product__tooltip-desc {
  font-size: var(--smallest-font-size);
}

.product__desc__pt {
  font-size: var(--smallest-font-size);
  color: #8c8c8c;
}

.product__img-hover {
  width: 100%;
  object-fit: cover;
  border-radius: .25rem;
  margin-bottom: var(--mb-0-75);
}



.product-tooltip-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
  touch-action: none;
}

.centered-tooltip {
  position: relative;
  bottom: auto;
  right: auto;
  z-index: 10000;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  background-color: var(--container-color-tooltip);
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: 0 8px 24px hsla(220, 24%, 15%, .2);
  animation: fadeInUp 0.3s ease-in-out;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #555;
  cursor: pointer;
}

body.no-scroll {
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/*=============== QUESTIONS ===============*/
.questions{
  background-color: var(--section_area_color);
}

.questions__container{
  gap: 1.5rem;
  padding: 1.5rem 0 4rem 0;
}

.questions__group{
  display: grid;
  row-gap: 1.5rem;
}

.questions__item{
  background-color: var(--container-color);
  border-radius: .25rem;
}

.questions__item-title{
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.questions__icon{
  font-size: 1.25rem;
  color: var(--title-color);
}

.questions__description{
  font-size: var(--smaller-font-size);
  padding: 0 1.25rem 1.25rem 2.5rem;
}

.questions__header{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  padding: .75rem .5rem;
  cursor: pointer;
}

.questions__content{
  overflow: hidden;
  height: 0;
}

.questions__item,
.questions__header,
.questions__item-title,
.questions__icon,
.questions__description,
.questions__content{
  transition: .2s;
}

.questions__item:hover{
  box-shadow: 0 2px 8px hsla(var(--hue), 4%, 15%, .15);
}

/*Rotate icon, change color of titles and background*/
.accordion-open .questions__header,
.accordion-open .questions__content{
  background-color: var(--second-color);
}

.accordion-open .questions__item-title,
.accordion-open .questions__description,
.accordion-open .questions__icon{
  color: #FFF;
}

.accordion-open .questions__icon{
  transform: rotate(45deg);
}


/* Add to your existing questions CSS */
.questions__icon {
    transition: transform 0.3s ease;
}

.accordion-open .questions__icon {
    transform: rotate(180deg);
}

/* If you want to use SVG instead of the icon */
.questions__header svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.accordion-open .questions__header svg {
    transform: rotate(180deg);
}

/*=============== FORM SECTION ===============*/

#form {
  padding-top: 7rem;
}

.form.section {
  padding: 2rem 1rem 2rem 1rem;
  background: var(--container-color);
  border-radius: .75rem;
  box-shadow: 0 4px 12px hsla(220, 24%, 15%, .05);  
}

.form__description {
  text-align: center;
  margin-bottom: var(--mb-2);
}

.form__container {
  padding: 0.7em 0.7rem;
  gap: 0.6rem;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.form__row {
  display: flex;
  gap: 1rem;
}

.form__group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form__group label {
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.form__group input,
.form__group textarea {
  padding: .75rem;
  border: 1px solid var(--border-color);
  border-radius: .5rem;
  background: var(--body-color);
  font-family: var(--body-font);
  color: var(--text-color);
  font-size: var(--normal-font-size);
  outline: none;
  transition: border .2s;
}

.form__group input:focus,
.form__group textarea:focus {
  background: var(--body-color)
}

.form__group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit__btn {
  align-self: flex-end;
  margin-top: 1rem;
  border: none;
}

.form__message {
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--first-color);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .form__container {
    padding: 1rem .5rem;
  }
  .form__row {
    flex-direction: column;
    gap: 0;
  }
}




/*=============== REVIEWS ===============*/
.review {
  padding: 7rem 0 2rem;
}

.review__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  font-size: 0.9rem;
}

.review__container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


.review__profile {
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem; /* Or 1rem to match padding */
  padding: 0 1.5rem;
  /* Optional: add a background or shadow for readability */
}

.review__card {  display: flex;
  flex-direction: column;
  height: 100%; /* Needed for stretching */
  padding-bottom: 90px; /* Make space for profile (or adjust) */
  position: relative;
  background-color: var(--container-color);
  border-radius: .75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px hsla(220, 24%, 15%, .1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.review__card.visible {
  opacity: 1;
  transform: translateY(0);
}


.review__card:hover {
  transform: translateY(-.5rem);
  box-shadow: 0 8px 16px hsla(220, 24%, 15%, .2);
}

.review__quote {
  font-size: var(--normal-font-size);
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 4rem;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 7em; /* Optional: keeps cards same height */
  max-height: 12em; /* Approx 6 lines depending on font size */
}


.review__photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--mb-1);
}

.review__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__details {
  display: flex;
  flex-direction: column;
}

.review__name {
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.review__rate {
  color: var(--first-color);
}


.review__quote-icon {
  position: absolute;
  left: 10%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 24px; /* Adjust size as needed */
  height: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review__quote-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  /* Optional: Add a drop shadow for separation */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.05));
  background: none;
}



/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 3.5rem;
}

.contact__data {
  display: grid;
  row-gap: 2rem;
}

.contact__subtitle {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
  margin-bottom: var(--mb-0-5);
}

.contact__description {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.contact__map {
  width: 100%;
  height: 290px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border-radius: .75rem;
}

/*=============== FOOTER ===============*/

.footer {
  background-color: #353535;
  padding: 2rem 0 0.5rem 0;
}

.footer__container {
  row-gap: 4rem;
  padding-left: 3rem;
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--mb-1);
}

.footer__logo-img {
  width: 12rem;
}

.footer__title {  
  margin-bottom: var(--mb-1);
  color: #ffffff; /* Make footer titles white for better readability */
}

.footer__description {
  margin-bottom: var(--mb-1);
  color: #e2e8f0; /* Make footer descriptions light color for better readability */
}

.footer__social {
  display: flex;
  column-gap: .75rem;
}

.footer__social-link {
  display: inline-flex;
  background-color: var(--first-color-light);
  color: #fff;
  padding: .25rem;
  border-radius: .25rem;
  transition: .3s;
}

.footer__social-link:hover {
  background-color: var(--second-color);
  transform: translateY(-.25rem);
}

.footer__data,
.footer__data a {
  display: grid;
  row-gap: .3rem;
}


.footer__information {
  color: #e2e8f0; /* Make footer information light color for better readability */
}

.footer__copy-container {  
  text-align: center;
}

.footer__copy {
  font-size: 0.5rem;
  color: #e2e8f0; /* Make footer copy light color for better readability */
}

.footer__information p,
.footer__social a i {
    font-size: 0.6rem !important;
}

.footer-tittle h3{
    font-size: 0.8rem !important;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  background-color: var(--first-color);
  right: 0.3rem;
  bottom: -20%;
  display: inline-flex;
  padding: 0.15rem 0.3rem;
  border-radius: .25rem;
  z-index: var(--z-tooltip);
  opacity: .7;
  transition: .4s;
}

.scrollup:hover {
  background-color: var(--second-color);
  opacity: 1;
}

.scrollup__icon {
  font-size: 1.25rem;
  color: #FFF;
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background: hsl(220, 12%, 90%);
}

::-webkit-scrollbar-thumb {
  background: hsl(220, 12%, 80%);
  border-radius: .5rem;
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (min-width: 100px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .product__filter {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
    padding-left: 0rem;
    row-gap: 1rem;
  }

  .scrollup {
    display: none;
  }
  
  .footer__copy-container {
    margin-top: 1.5rem;
  }

  .footer__information,
  .footer__social {
      font-size: 0.5rem !important;
  }

  .footer__title {
      font-size: 0.6rem !important;
  }  

  .review__quote {
    font-size: var(--smaller-font-size);
    margin-bottom: 3rem;
  }

  .review__photo {
    width: 35px;
    height: 35px;
  }

  .review__description,
  .about__description,
  .product__description {
    font-size: 0.8rem;
  }  

  .form.section {
    padding: 2rem 0.5rem 1rem 0.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .product__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__copy-container {
    margin-top: 2.5rem;
  }

  .footer__information,
  .footer__social {
      font-size: 0.6rem !important;
  }

  .footer__title {
      font-size: 0.7rem !important;
  }    

  .review__quote {
    font-size: var(--normal-font-size);
    margin-bottom: 3.5rem;
  }

}

@media screen and (min-width: 825px) {
  body {
    margin: 0 0 0 0;
  }

  .nav__link {
    font-size: 0.85rem;
  }

  .nav__list {
    row-gap: 0.8rem;
  }

  .section {
    padding: 7rem 0 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 1rem;
  }

  .home__container {
    position: relative;
    padding: 0 2rem;
  }

  .home__img {
    width: 440px;
  }

  .home__social {
    bottom: 3rem;
  }

  .questions__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 1.5rem;
    row-gap: 2rem;
  }

  .footer__logo-img {
    width: 10rem;
  }  

  .footer__information,
  .footer__social {
      font-size: 0.5rem !important;
  }

  .footer__title {
      font-size: 0.7rem !important;
  }    

  .review__photo {
    width: 50px;
    height: 50px;
  }

  .form.section {
    padding: 2rem 1rem 1rem 2rem;
  }  
}

/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__list {
    row-gap: 1rem;
  }


  .section__title {
    margin-bottom: 3rem;
  }

  .home__container {
    padding: 0 3rem;
  }

  .home__img {
    width: 540px;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .about__data, 
  .about__title {
    text-align: initial;
  }

  .about__img {
    width: 400px;
  }

  .product__filter {
    grid-template-columns: repeat(8, max-content);
  }

  .contact__container {
    column-gap: 6rem;
  }

  .review__quote {
    font-size: var(--normal-font-size);
    margin-bottom: 4rem;
  }

  .footer__container {    
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .scrollup {
    display: block;
  }  

  .footer__information,
  .footer__social {
      font-size: 0.6rem !important;
  }

  .footer__title {
      font-size: 0.8rem !important;
  }  

  .review__description,
  .about__description,
  .product__description {
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 1200px) {
  .home__social {
    right: 3rem;
  }

  .home__container {
    padding: 0 10rem;
  }

  .product__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .product__price {
    font-size: var(--h3-font-size);
  }

  .contact__container {
    column-gap: 10rem;
  }

  .footer__information,
  .footer__social {
      font-size: 0.6rem !important;
  }

  .footer__title {
      font-size: 0.8rem !important;
  }  
}
