:root {
  --background-color: #dad7cd;
  --cart-background-color: #adc7a988;
  --text-color2: #f0f8ff;
  --text-color1: black;
  --text-color3: #083a18;
  --text-color4: gray;
  --headr-bar-color: #3a5a45;
  --helper-color: #578164;
  --helper-color-1: #57816473;
  --nav-color: linear-gradient(
    to right,
    var(--helper-color),
    var(--headr-bar-color),
    var(--helper-color-1)
  );
}
.dark-mod {
  --background-color: #121212;
  --cart-background-color: #2b2e3188;
  --text-color1: #e0e7e0;
  --text-color2: #ffffff;
  --text-color3: #22ee63;
  --text-color4: rgb(221, 221, 221);
  --headr-bar-color: #0f1414;
  --helper-color: #000000;
  --helper-color-1: #242424;
  --nav-color: linear-gradient(
    to right,
    var(--helper-color),
    var(--headr-bar-color),
    var(--helper-color-1)
  );
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/*header*/
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background-color: var(--background-color);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}
li {
  list-style: none;
}

#active {
  border-bottom: 2px solid white;
  border-width: fit-content;
}
.nav-bar {
  background-color: var(--headr-bar-color);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 90%;
  margin-left: 5%;
  border-radius: 15px;
  margin-top: 15px;
  background-image: var(--nav-color);
  justify-content: space-between;
  gap: 8vw;
  padding: 0 2rem;
}
.logo {
  padding: 1.1rem;
  font-size: 32px;
  font-weight: bolder;
  color: var(--text-color2);
  justify-items: flex-start;
  flex: 1;
  text-align: canter;
}
.nav-list {
  color: var(--text-color2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-right: auto;
  justify-items: center;
}
.home {
  color: var(--text-color2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-right: auto;
  justify-items: center;
  margin-right: 16vw;
}
.list-item {
  padding: 2rem;
  font-size: large;
  font-weight: bold;
  display: inline-block;
  transition: all 0.5s ease;
}

.list-item:hover {
  transform: translateY(-4px);
  color: var(--text-color3);
}
.icons {
  display: flex;
  align-items: center;
  gap: 2vw;
  flex: 1;
  margin-right: 4vw;
}
.icons svg {
  fill: var(--text-color2) !important;
  transition: all 0.5s;
  display: flex;
  justify-content: flex-end;
  width: 24px;
  height: 24px;
}
.icons svg:hover {
  transition: 0.5s;
  transform: translateY(-4px);
  fill: var(--text-color3) !important;
}
.icons a {
  text-decoration: none;
  display: flex;
  justify-content: center;
}
#faq-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 10px;
  transition: 0.3s;
}

#faq-link:hover {
  color: var(--text-color3);
  opacity: 0.8;
}

/*theme button*/
#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border: 50%;
  border-radius: 100px;
  background-color: var(--helper-color);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 10px;
  right: 20px;
  margin: 0;
  flex-shrink: 0;
}
#theme-switch img {
  fill: var(--background-color);
}
#theme-switch img:last-child {
  display: none;
}
.dark-mod #theme-switch img:first-child {
  display: none;
}
.dark-mod #theme-switch img:last-child {
  display: block;
}

/* 80%offer */

.off {
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-content: stretch;
  width: 100%;
  height: 700px;
  margin-top: 30px;
  background-image: var(--nav-color);
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 20px;
}

.offer {
  width: 70%;
  height: 70%;
  justify-content: center;
  align-items: center;
  order: 0;
  display: flex;
  background-color: var(--background-color);
  flex-direction: column;
  border-radius: 40px 0 40px 0;
  position: relative;
  z-index: 2;
  transition: all 1s ease;
  overflow: hidden;
  cursor:
    url("image/fire.png") 5 5,
    auto;
}
.offer:hover {
  border: #dad7cd solid 3px;
  border-radius: 80px 10px 80px 10px;
}
.offer::before {
  transform: translateY(100%);
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #e0e7e0;
  background-image: linear-gradient(
    to right,
    var(--headr-bar-color),
    var(--text-color1)
  );
  transform: translateY(100%);
  transition: transform 1s ease;
  border-radius: 40px 0 40px 0;
}
.offer:hover::before {
  transform: translateY(0);
  transition: 1s;
}
.offer #p1,
.offer #p2 {
  color: var(--text-color1);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.offer:hover #p1,
.offer:hover #p2 {
  color: #e0e7e0;
}
.circle1,
.circle2,
.circle3 {
  color: var(--text-color1);
  position: absolute;
  z-index: 1;
}
.circle1 {
  top: 30%;
  left: 10%;
  scale: 10;
}
.circle2 {
  bottom: 70%;
  right: 10%;
  scale: 8;
}
.circle3 {
  top: 80%;
  left: 40%;
  scale: 6;
}
#p1 {
  font-size: 120px;
  font-weight: 700;
}
#p2 {
  font-size: 100px;
  font-weight: 300;
}
.container-vid {
  display: flex;
  gap: 20px;
  align-content: stretch;
  width: 100%;
  padding: 20px;
  margin-top: 70px;
  margin-bottom: 70px;
  border-radius: 20;
  box-shadow: 4px 4px 10px 10px rgba(0, 0, 0, 0.1);
}

.vid {
  width: 50%;
  height: 400px;
  order: 0;
}
.vid video {
  object-fit: cover;
  width: 100%;
  border-radius: 20px;
  height: 100%;
}
.content-vid {
  width: 50%;
  height: 400px;
  color: var(--text-color1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  font-family: "Segoe UI", Tahoma, sans-serif;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
}

/*theme button*/

#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border: 50%;
  border-radius: 100px;
  background-color: var(--helper-color);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 10px;
  right: 20px;
  flex-shrink: 0;
  margin-right: 0;
  padding-right: 0;
}
#theme-switch img {
  fill: var(--background-color);
}
#theme-switch img:last-child {
  display: none;
}
.dark-mod #theme-switch img:first-child {
  display: none;
}
.dark-mod #theme-switch img:last-child {
  display: block;
}

/* gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  box-shadow: 4px 4px 10px 10px rgba(37, 31, 31, 0.128);
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.category-card a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
}

/*footer*/

footer {
  width: 100%;
  background-image: var(--nav-color);
  color: white;
  padding: 100px 0 30px;
  border-radius: 125px 125px 0 0;
  font-size: 13px;
  line-height: 20px;
}

.footer-row {
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.col {
  flex: 1;
  padding: 10px;
}

.footer-logo {
  font-size: 30px;
  margin-bottom: 20px;
}

.col h3 {
  width: fit-content;
  margin-bottom: 40px;
  position: relative;
}

.col p {
  margin-bottom: 10px;
  color: var(--text-color2);
}

.underline {
  width: 100%;
  height: 5px;
  background: var(--text-color4);
  border-radius: 3px;
  position: absolute;
  margin-top: 8px;
  overflow: hidden;
}
.underline span {
  width: 15px;
  height: 100%;
  background: var(--text-color2);
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moving 2s linear infinite;
}
@keyframes moving {
  0% {
    left: -20px;
  }
  100% {
    left: 100%;
  }
}
.newsletter-form {
  background: transparent;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid white;
  margin-bottom: 50px;
  max-width: 250px;
}
.mail-icon {
  color: white;
  margin-right: 10px;
  font-size: 18px;
}
#footer-email {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  flex: 1;
}
#footer-email::placeholder {
  color: rgba(255, 254, 254, 0.7);
}

.newsletter-form input {
  width: 100%;
  background: transparent;
  color: var(--text-color2);
  border: 0;
  outline: none;
  margin-left: 10px;
}
.newsletter-form button {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text-color2);
  cursor: pointer;
  font-size: 18px;
}

/* social.icons */

.social-icons div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
  background-color: transparent;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-icons svg {
  width: 22px;
  height: 22px;
  fill: rgb(0, 0, 0);
  transition: 0.3s ease;
}

.social-icons a:hover svg {
  transform: translateY(-3px);
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #000;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
}

.footer-line {
  width: 90%;
  border: 0;
  border-bottom: 1px solid var(--text-color3);
  margin: 20px auto;
}

.copyright {
  text-align: center;
}
.iframe {
  width: 90%;
  margin: 40px auto;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(218, 175, 80, 0.18);
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
