html {
  scroll-behavior: smooth;
}

body {
  background-image: url(pinkbg.jfif);
  background-repeat: no-repeat;
  background-origin: border-box;
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
  font-family: Arial, sans-serif;
  width: 100%;
  overflow-x: hidden;
}

.dropdown-item:hover{
  background: #d5d5d5;
  transition: all 0.3s;
}

/* Navbar styles */
.navbar {
  position: fixed;
  /* makes it stay on top */
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* semi-transparent */
  backdrop-filter: blur(20px);
  /* blur effect */
  color: white;
  padding: 15px;
  display: flex;
  justify-content: right;
  align-items: center;
  z-index: 1000;
  /* keep it above other elements */
}

.logo {
  height: 3.5rem;
  margin-right: 10px;
  border-radius: 8px;
  transition: all 0.4s;
}


.navbar h1 {
  font-size: clamp(18px, 3vw, 24px);
  margin-left: 3%;
  margin-right: auto;
  text-align: left;
  color: #eb0793;
  text-shadow: 0 0 5px #610749;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: clamp(14px, 2vw, 16px);
  margin-right: 16px;
  transition: all 0.4s;
}

.navbar a:hover {
  background: rgba(186, 12, 117, 0.6);
  border-radius: 15px;
  box-shadow: inset 0px 0px 8px #515151;
  transition: all 0.4s;
}

.menu {
  width: 25px;
  height: 15px;
  fill: white;
}

.threedcard{
  width: 400px;
  box-shadow: 0 0 15px #200404;
  border-radius: 20px;
  margin-bottom: 2rem;
  cursor: pointer;
  transform: perspective(800px) rotateX(45deg) scale(0.8);
  transition: transform 0.5s ease;
}

.threedcard:hover {
  transform: perspective(800px) rotateX(0deg) scale(1);
  transition: transform 0.5s ease;
}

.community {
  display: inline-block;
  justify-content: center;
  text-align: center;
  background: #1111119b;
  height: max-content;
  padding-bottom: 40px;
  width: 100%;
  margin-top: 2rem;
  box-shadow: 0 0 20px #111;
  backdrop-filter: blur(10px);
}

#mail {
  display: inline-block;
  width: 50px;
  height: auto;
  margin: auto;
  margin-top: 2rem;
  filter: drop-shadow(0 2px 5px #00000046);
}

.community h1 {
  margin-top: 1rem;
  display: inline-block;
  color: #ffffff;
  text-shadow: 0 0 15px #6ed6ff;
  font-size: clamp(24px, 3vw, 36px);
}

/* Add top padding to page content so it's not hidden under navbar */
.content {
  padding-top: 80px;
}

.section {
  height: fit-content;
  /* just to create scrollable sections */
  padding: 20px;
}

.imgcon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-bottom: 2rem;
}

.imgcon img {
  box-shadow: 0 0 15px #480c0c;
  margin: 0 auto 20px auto;
  width: clamp(300px, 70%, 500px);
  height: auto;
  filter: drop-shadow(0 2px 10px);
  border-radius: 10px;
  filter: saturate(0.9);
}

.logo:hover {
  box-shadow: 0 0 15px #590e2c;
  transform: rotate(-10deg) scale(1.1);
  transition: all 0.5s;
}

#tglogo {
  display: inline-block;
  width: 30px;
  height: auto;
  margin-right: 10px;
  margin-bottom: 0px;
  border-radius: 50%;
  box-shadow: 0 2px 5px #000000ac;
}

#Welcome {
  color: #ffffff;
  text-shadow: 0 0 5px #6b1313;
  font-size: clamp(16px, 1.5vw, 20px);
  width: clamp(300px, 70%, 600px);
  margin: -10px auto 80px auto;
  text-align: center;
}

#admin {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #ff5bb5;
  text-shadow: 0 0 5px #c0076a;
  text-align: right;
}

.wrapper {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: -2rem;
  color: #ffffff;
  text-shadow: 0 0 5px #6b1313;
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  grid-auto-columns: 10rem;
  gap: 1rem;
}

.wrapper h2 {
  width: 100%;
  text-align: center;
  font-size: clamp(16px, 1.5vw, 20px);
  margin-top: 2.5rem;
  animation: animate 30s linear infinite;
}

.wrapper img {
  box-shadow: 0 0 15px #480c0c;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  animation: animate 30s linear infinite;
}

@keyframes animate {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-99rem);
  }
}

.imgcon button {
  position: absolute;
  bottom: clamp(35%, 37%, 30%);
  left: 35%;
  background: transparent;
  box-shadow: 0 4px 10px #00000082;
  border: none;
  color: #ffffff;
  padding: 1vw 2vw;
  background: #0e86a1;
  border-radius: 10px;
  font-size: clamp(14px, 2vw, 16px);
  transition: all 0.4s ease;
}

.lastBtn{
  bottom: clamp(20%, 22%, 25%);
  left: 35%;
  box-shadow: 0 4px 10px #0000005e;
  border: 1.5px solid #ffffffb3;
  margin-top: 2rem;
  color: #ffffff;
  padding: 1vw 2vw;
  background: transparent;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  font-size: clamp(14px, 2vw, 16px);
  transition: all 0.4s ease;
}

.lastBtn:hover {
  background: #d21095;
  box-shadow: 0 8px 10px #1b1b1bcf;
  transform: translateY(-0.7rem);
  transition: all 0.5s;
}

.imgcon button:hover {
  z-index: 1;
  box-shadow: 0 0 10px #590e2c;
  transform: scale(1.05);
  transition: all 0.4s;
}

.imgcon p {
  position: absolute;
  margin-top: 10px;
  bottom: clamp(3%, 4%, 7%);
  left: 39%;
  color: #ffffff;
  font-size: clamp(14px, 1.5vw, 16px);
  text-shadow: 0 0 5px #107974;
}

.card-flex, .card-flex-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 3rem;
}

.card-flex h1 {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(24px, 2.5rem, 35px);
  color: #ffffff;
  text-shadow: 0 0 5px #6b1313;
}

.card-flex-2 h1 {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(24px, 2.5rem, 35px);
  color: #ffffff;
  text-shadow: 0 0 15px #6b1313;
}

.card {
  width: 17rem;
  height: max-content;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #ffffff;
  background: transparent;
  border: none;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px #480c0c;
  cursor: pointer;
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-0.5rem);
  transition: all 0.4s ease;
}

.btn {
  display: block;
  width: 80%;
  margin: 1rem auto;
  padding: 0.5rem;
  font-size: clamp(14px, 2vw, 16px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.4s;
}

.btn:hover {
  transform: scale(1.05);
  transition: all 0.4s;
}

.offcanvas {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

#tg-qrdiv {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 1rem auto;
  padding: 1rem;
  background: linear-gradient(135deg, #45a3de, #bb0d84);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 0 10px #590e2c;
  text-align: center;
  color: #ffffff;
  font-size: clamp(14px, 2vw, 16px);
  text-shadow: 0 0 5px #000000;
}

#tg-qrdiv img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px #590e2c;
}

.form-container {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 7rem auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 0 10px #590e2c;
  background: linear-gradient(135deg, #45a3de, #bb0d84);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 15px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 10px #590e2c;
}

.form-btn {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.4s;
}

.form-btn:hover {
  background: linear-gradient(135deg, #45a3de, #440dbb);
  transition: all 0.4s;
}

.order-list {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.footer {
  background-color: #111;
  color: #bbb;
  padding: 60px 20px 30px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  overflow-x: hidden;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-section h2 {
  color: #eb0793;
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-section h3 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: #fff;
}

.social-icons a {
  cursor: pointer;
  color: #bbb;
  font-size: 20px;
  margin-right: 15px;
  transition: color 0.2s;
}

.social-icons a:hover {
  cursor: pointer;
  color: #fff;
  text-shadow: 0 0 5px #eb0793;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 14px;
  color: #777;
}


/* Small phones */
@media (max-width: 480px) {
  .card {
    width: 9rem;
  }
}

/* Larger phones / small tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .card {
    width: 11rem;
  }
}

/* Tablets / small laptops */
@media (min-width: 769px) and (max-width: 1024px) {
  .card {
    width: 14rem;
  }
}

/* Standard laptops / desktops */
@media (min-width: 1025px) and (max-width: 1440px) {
  .card {
    width: 17rem;
  }
}

/* Large / 4K displays */
@media (min-width: 1441px) {
  .card {
    width: 19rem;
  }
}


/* Responsive adjustments */

@media screen and (max-width: 370px) and (orientation: portrait) {
  .imgcon p {
    left: 15%;
  }

  .imgcon button {
    left: 14%;
  }
}

@media (max-width: 590px) and (orientation: portrait) {
  body {
    overflow-x: hidden;
  }

  * {
    max-width: 100%;
  }

  .imgcon p {
    left: 19%;
  }

  .imgcon button {
    left: 18%;
  }

  .menu {
  width: 25px;
  height: 15px;
  fill: white;
}

  .navbar a {
    margin-right: 2px;
  }

  logo {
    height: 40px;
  }

  #tglogo {
    width: 25px;
    margin-right: 5px;
  }



  .card-flex, .card-flex-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
    width: 100%;
  }

  .card-title {
    font-size: clamp(14px, 2vw, 16px);
  }
  .card-text {
    font-size: clamp(12px, 2vw, 14px);
  }
}

@media screen and (min-width: 701px) and (max-width: 1199px) and (orientation: landscape) {
  .card-flex, .card-flex-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
    width: 100%;
  }
}

@media screen and (min-width: 855px) and (max-width: 1199px) {
  .card-flex, .card-flex-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
    width: 100%;
  }
}