@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #ff833e;
  --primary-color-dark: #db6f35;
  --text-dark: #333333;
  --text-light: #767268;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Bebas Neue", sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

body {
  font-family: "Poppins", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  font-size: 1.75rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  font-weight: 500;
  color: var(--white);
}

.nav__links a:hover {
  color: var(--text-dark);
}

.nav__btns {
  display: none;
}

.header__container {
  max-width: var(--max-width);
  margin: auto;
  padding-block: 8rem 2rem;
  padding-inline: 1rem;
  display: grid;
  gap: 2rem;
  overflow-x: hidden;
}

.header__image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.header__image::before {
  position: absolute;
  content: "";
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("assets/header-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 100%;
  opacity: 0.5;
  z-index: -1;
}

.header__image img {
  max-width: 520px;
  margin-inline: auto;
}

.header__image__card {
  position: absolute;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  background-color: var(--white);
  white-space: nowrap;
  border-radius: 5px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.header__image__card span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.header__image__card-1 {
  top: 25%;
  left: 1rem;
  transform: translate(-50%, -50%);
}

.header__image__card-2 {
  top: 10%;
  right: 2rem;
  transform: translateY(-50%);
}

.header__image__card-3 {
  top: 60%;
  left: 1rem;
  transform: translateY(-50%);
}

html, body {
  overflow-x: hidden;
}
.header__image__card-4 {
  top: 70%;
  right: 0;
  transform: translateY(-50%);
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 5rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--text-dark);
  line-height: 5.5rem;
  text-align: center;
}

.header__content h1 span {
  color: var(--primary-color);
}

.header__content p {
  margin-bottom: 2rem;
  columns: var(--text-light);
  line-height: 1.75rem;
  text-align: center;
}

.header__content form {
  margin-bottom: 4rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem 0;
  border-radius: calc(1rem + 10px);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.header__content .input__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.header__content .input__group {
  flex: 1;
}

.header__content .input__group h5 {
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.header__content .input__group > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__content input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1rem;
  background-color: transparent;
}

.header__content input::placeholder {
  font-weight: 600;
  color: var(--text-dark);
}

.header__content .input__group span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.header__content button {
  width: 100%;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.header__content button:hover {
  background-color: var(--primary-color-dark);
}

.header__content .bar {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

@media (width > 768px) {
  nav {
    position: static;
    padding-block: 2rem 0;
    padding-inline: 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .nav__logo a {
    color: var(--text-dark);
  }

  .nav__logo a span {
    color: var(--primary-color);
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .nav__links a {
    padding-block: 5px;
    color: var(--text-dark);
    border-bottom: 4px solid transparent;
  }

  .nav__links a:hover {
    border-color: var(--primary-color);
  }

  .nav__btns {
    display: flex;
    flex: 1;
  }

  .nav__btns .btn {
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
  }

  .sign__up {
    color: var(--text-dark);
    background-color: transparent;
  }

  .sign__up:hover {
    color: var(--primary-color);
  }

  .sign__in {
    color: var(--white);
    background-color: var(--primary-color);
  }

  .sign__in:hover {
    background-color: var(--primary-color-dark);
  }

  .header__container {
    padding-block: 2rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .header__image {
    grid-area: 1/2/2/3;
  }

  .header__content :is(h1, p, .bar) {
    text-align: left;
  }
}

@media (width > 1024px) {
  .header__content form {
    flex-direction: row;
  }

  .header__content button {
    width: fit-content;
  }
}

.categories__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

.categories__container h2 {
  font-size: 2.5rem;
  font-family: var(--header-font);
  color: var(--text-dark);
  margin-bottom: 2rem;
}

/* Categories Grid Layout */
.categories__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Category Card Styling */
.category__card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: var(--white);
}




.category__card img {
  width: 100%;
  height: auto;        /* forces equal card height */
  object-fit: cover;   /* prevents stretching */
  display: block;
 margin: 0;                 /* remove spacing */
  object-fit: cover;
}


/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal__content {
  max-width: 80%;   /* width won't exceed 80% of the screen */
  max-height: 80%;  /* height won't exceed 80% of the screen */
  width: auto;      /* let width adjust automatically */
  height: auto;     /* let height adjust automatically */
  border-radius: 8px;
  object-fit: contain; /* keeps aspect ratio */
}


/* Close button */
.modal__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


.category__card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 1rem 0;
padding: 1rem;
  margin: 0;
  text-align: center;
  color: var(--primary-color);
}

.category__card p {
  font-size: 1rem;
  color: var(--text-light);
  padding: 0 1rem 1.2rem;
 margin: 0;
}

.category__card .btn {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.category__card .btn:hover {
  background-color: var(--primary-color-dark);
}

.category__card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.specs__image img {
    max-width: 100%; /* Responsive image */
    height: auto;    /* Maintains aspect ratio */
    width: 300px;    /* Set to a more manageable width */
    margin: 1.5rem auto; /* Center image with some margin */
    display: block;  /* Centering image */
}

.specs__image {
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center images horizontally */
    margin: 1.5rem 0; /* Space above and below */
}

.specs__image img {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
    width: 30px; /* Set to a more manageable width */
    margin: auto; /* Center image with auto margins */
    display: block; /* Ensure it behaves like a block element */
}

/* Adjust other elements to ensure they are not affected */
.specs__container {
    text-align: left; /* Default to left align text */
}
.category__card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: var(--white);
  display: flex; /* Add this line to use flexbox */
  flex-direction: column; /* Arrange children in a column */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  text-align: center; /* Center text */
}

.category__card h3,
.category__card p {
  text-align: center; /* Center text for headings and paragraphs */
}
.specs__container {
    max-width: var(--max-width); /* Optional: Set max width */
    margin: 0 auto; /* Centers the container */
    padding: 2rem; /* Optional: Adds padding */
    text-align: center; /* Center text inside the container */
}

.specs__image {
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center images horizontally */
    margin: 1.5rem 0; /* Space above and below */
}

.specs__image img {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
    margin: auto; /* Center image with auto margins */
}
.specs__image {
    margin: 1.5rem 0;
    overflow: hidden; /* Hide overflow for zoom effect */
    display: inline-block; /* Keeps the hover effect contained */
}

.specs__image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth transition for zoom */
}



.cart__total {
  font-weight: bold; /* Make the total bold */
}

/* Styles for the fixed cart on the side */
.cart__container {
  position: fixed;
  top: 100px; /* Position below the header */
  right: 20px; /* Space from the right edge */
  width: 250px;
  max-height: 80vh; /* Limits height to avoid covering too much screen */
  overflow-y: auto; /* Enables scrolling if content overflows */
  background-color: #f8f9fa;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.cart__container h2 {
  margin-top: 0;
  font-size: 1.5em;
}

.clear__cart__btn, .checkout__btn {
  width: 100%;
  margin-top: 10px;
}






#cartItemsContainer div {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.checkout-form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
}

label {
  display: block;
  margin: 10px 0 5px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

button {
  width: 50%;
  padding: 15px;
  background-color: #ff833e;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #f58700;
}

.checkout__wrapper {
  max-width: 600px; /* Set a max width for the wrapper */
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkout-form {
  display: flex;
  flex-direction: column; /* Stack the labels and inputs vertically */
  gap: 15px; /* Space between fields */
}

.checkout-form label {
  font-weight: bold; /* Make the labels bold */
}

.checkout-form input,
.checkout-form textarea {
  width: 100%; /* Full width */
  padding: 10px; /* Add padding */
  border: 1px solid #ccc; /* Light border */
  border-radius: 4px; /* Rounded corners */
  box-sizing: border-box; /* Ensure padding is included in width */
}

.checkout-form textarea {
  resize: vertical; /* Allow vertical resizing for the textarea */
  height: 80px; /* Set a fixed height for the textarea */
}

.checkout-form button {
  background-color: #f58700; /* Button color */
  color: #fff; /* Text color */
  padding: 10px; /* Button padding */
  border: none; /* No border */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Change cursor on hover */
  font-size: 16px; /* Font size */
}

.checkout-form button:hover {
  background-color: #f58700; /* Darken button on hover */
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.footer__container div {
  flex: 1 1 200px;
  margin: 1rem;
}

.footer__about h3 span {
  color: #ff7f50;
}

.footer__links ul {
  list-style: none;
  padding: 0;
}

.footer__links ul li {
  margin: 0.5rem 0;
}

.footer__links a, .footer__contact a {
  color: #ff7f50;
  text-decoration: none;
}

.footer__links a:hover, .footer__contact a:hover {
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-top: 1px solid #555;
}

.footer__socials a {
  color: #ff7f50;
  margin: 0 0.5rem;
  font-size: 1.2rem;
}

.footer__socials a:hover {
  color: #fff;
}

.order-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* JS turns it on */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.order-success__card {
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.order-success__icon {
  font-size: 48px;
  color: #28a745;
  margin-bottom: 10px;
}


.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {
  margin-bottom: 2rem;
}

.contact__card {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.contact__info {
  text-align: left;
}

.contact__info h3 {
  margin-bottom: 1rem;
}

.contact__info p {
  margin-bottom: 0.7rem;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.4rem;
  background: #25d366;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
}

.contact__image img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.about {
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  margin-bottom: 2rem;
}

.about__card {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__card:hover {
  transform: perspective(1000px) translateZ(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.about__image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.about__content {
  text-align: left;
}

.about__content h3 {
  margin-top: 1rem;
}

.about__content ul {
  margin-top: 1rem;
  padding-left: 1rem;
}

.about__content li {
  margin-bottom: 0.5rem;
}

/* Order Success Overlay */


@keyframes fadeIn {
  to { opacity: 1; }
}

/* 3D Card Effect */
.order-success__card {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 15px;
  text-align: center;
  width: 320px;
  max-width: 90%;
  transform: perspective(1000px) rotateX(15deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  animation: popUp 0.5s ease forwards;
}

@keyframes popUp {
  0% { transform: perspective(1000px) rotateX(90deg) scale(0.5); opacity: 0; }
  100% { transform: perspective(1000px) rotateX(0deg) scale(1); opacity: 1; }
}

.order-success__icon {
  font-size: 3rem;
  color: #4CAF50;
  margin-bottom: 1rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#countdown {
  margin-top: 1rem;
  font-weight: bold;
  color: #333;
}
/* =========================
   STATIC ORDER INFO SECTION
========================= */

.order-success-static {
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
}

.order-success-static__card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.order-success-static__icon {
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.order-success-static h2 {
  margin-bottom: 1rem;
}

.order-success-static p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}
@media (max-width: 768px) {
  .cart__container {
    width: 90%;
    top: 20px;
    right: 5%;
    z-index: 2000; /* higher than nav and modal */
  }
}


  .order-success__card {
    width: 90%;
    max-width: 320px;
    padding: 1.5rem;
  }
}


.your-items-container {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 10px;
  text-align: center;
}

.your-items-container h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

#yourItemsList div {
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}
/* Floating Cart Button */
.cart-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #db6f35;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-toggle #cartCount {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #fff;
  color: #db6f35;
  font-size: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  right: -350px; /* hidden by default */
  top: 0;
  width: 300px;
  max-width: 90%;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.2);
  padding: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 999;
  overflow-y: auto;
}

.cart-sidebar.open {
  right: 0; /* slide in */
}

.cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-sidebar__close {
  background: none;   /* no background on hover */
  border: none;       /* remove border */
  font-size: 25px;    /* smaller size */
  cursor: pointer;    
   position: absolute;       /* position it inside the sidebar */
  top: 5px;                /* distance from top */
  right: 10px;              /* distance from right */
  color: #333;              /* optional, adjust for contrast */

}

.cart-sidebar__close:hover {
  background: none;   /* ensure hover doesn’t add a box */
  color: #db6f35;    /* optional: change color on hover */
}


.cart-items {
  margin-top: 20px;
  min-height: 100px;
}

.cart-total {
  font-weight: bold;
  margin-top: 10px;
}

.checkout-btn,
.clear-cart-btn {
  width: 100%;
  margin-top: 10px;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown__menu li {
  list-style: none;
}

.dropdown__menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: #000;
  text-decoration: none;
}

.dropdown__menu a:hover {
  background: #f3f3f3;
}

/* SHOW ON HOVER (DESKTOP) */
.dropdown:hover .dropdown__menu {
  display: block;
}
nav {
  background: #ffffff;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}



