/*************** GLOBAL RESET & BASE ***********/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(135deg, #fff0e6 0%, #ff6f3c 100%);
  color: #333;
  min-height: 100vh;
  line-height: 1.6;
}

/*************** NAVBAR ***********/
.headers {
  background-color: #d9442b;
  padding: 30px 0;
  text-align: center;
  box-shadow: 0 5px 20px rgba(217, 68, 43, 0.6);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.headers h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  letter-spacing: 3px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

header {
  background: #ff7f50;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 18px 0;
  box-shadow: 0 3px 10px rgba(255,127,80,0.4);
  position: sticky;
  top: 80px; /* below header */
  z-index: 999;
}

header a {
  color: white;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

header a:hover {
  background-color: #d9442b;
  box-shadow: 0 0 12px #d9442b;
}

/*************** HOME PAGE ***********/

#welcome {
  max-width: 700px;
  margin: 120px auto 60px;
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(217, 68, 43, 0.4);
}

#welcome h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3.8rem;
  color: #d9442b;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}

#welcome p {
  font-size: 1.35rem;
  color: #555;
  margin-bottom: 35px;
  font-weight: 600;
}

button.order {
  background-color: #d9442b;
  color: white;
  font-weight: 700;
  border: none;
  padding: 16px 50px;
  border-radius: 40px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 68, 43, 0.5);
  transition: background-color 0.3s ease;
}

button.order:hover {
  background-color: #b23620;
  box-shadow: 0 10px 30px rgba(179, 54, 32, 0.7);
}

.home_img {
  text-align: center;
  margin-bottom: 80px;
}

.home_img img {
  max-width: 850px;
  width: 90%;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(217, 68, 43, 0.45);
  transition: transform 0.4s ease;
}

.home_img img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.homep {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 0 15px;
}

.homep h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #d9442b;
  text-align: center;
  margin-bottom: 40px;
}

.homep h3 {
  color: #ff7f50;
  margin: 25px 0 20px;
  font-weight: 700;
  font-size: 1.7rem;
  border-bottom: 3px solid #d9442b;
  padding-bottom: 8px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
}

.show_img {
  width: 160px;
  height: 160px;
  border-radius: 25px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(217, 68, 43, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.show_img:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(217, 68, 43, 0.6);
  cursor: pointer;
}

/*************** SPECIAL OFFERS ***********/
.special-offers {
  max-width: 900px;
  margin: 0 auto 80px;
  background: white;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(217, 68, 43, 0.3);
  text-align: center;
}

.special-offers h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: #d9442b;
  margin-bottom: 20px;
  font-weight: 700;
}

.special-offers p {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #555;
}

.offer-item {
  background: #ffebe6;
  margin: 15px auto;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(217, 68, 43, 0.15);
  max-width: 600px;
  font-weight: 600;
  font-size: 1.2rem;
}

/*************** HOW IT WORKS ***********/
.how-it-works {
  max-width: 900px;
  margin: 0 auto 80px;
  background: white;
  padding: 40px 25px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(217, 68, 43, 0.25);
  text-align: center;
}

.how-it-works h2 {
  font-family: 'Montserrat', sans-serif;
  color: #d9442b;
  font-size: 2.8rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.step {
  flex: 1 1 180px;
  background: #ffebe6;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(217, 68, 43, 0.15);
  font-weight: 600;
  font-size: 1.15rem;
  color: #333;
}

.step h3 {
  margin-bottom: 15px;
  font-weight: 700;
  color: #d9442b;
}

/*************** WHY CHOOSE US ***********/
.why-choose-us {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
  padding: 0 15px;
}

.why-choose-us h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #d9442b;
  margin-bottom: 15px;
}

.why-choose-us p {
  font-weight: 600;
  font-size: 1.25rem;
  color: #555;
  margin: 10px 0;
}

/*************** TESTIMONIALS ***********/
.testimonials {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.testimonials h2 {
  font-family: 'Montserrat', sans-serif;
  color: #d9442b;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 35px;
}

.testimonials blockquote {
  font-style: italic;
  color: #666;
  border-left: 5px solid #d9442b;
  padding-left: 20px;
  margin: 20px auto;
  max-width: 700px;
  font-weight: 600;
}

/*************** FOOTER ***********/
footer {
  background-color: #8c1c0d;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  box-shadow: 0 -5px 15px rgba(140, 28, 13, 0.8);
}

footer p {
  margin: 6px 0;
}

/*************** ABOUT PAGE ***********/
.about {
  max-width: 900px;
  margin: 120px auto 80px;
  background: linear-gradient(135deg, #fbe8d3 0%, #fff5ec 100%);
  padding: 40px 30px;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(217, 68, 43, 0.25);
  font-family: 'Montserrat', sans-serif;
  color: #4a3c31;
  line-height: 1.7;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  text-align: center;
  color: #d9442b;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.about-section {
  margin-top: 40px;
}

.about-section h3 {
  font-size: 1.9rem;
  color: #d9442b;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section h3 i {
  color: #ff6f31;
  font-size: 1.4rem;
}

.about-section p {
  font-size: 1.15rem;
  color: #5c4b3c;
  font-weight: 500;
  max-width: 760px;
}

.values-list {
  list-style-type: square;
  padding-left: 25px;
  color: #654832;
  font-weight: 600;
}

.values-list li {
  margin-bottom: 12px;
}

.team-section .team {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.team-member {
  background: #fff1e6;
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 10px 25px rgba(217, 68, 43, 0.15);
  text-align: center;
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(217, 68, 43, 0.35);
}

.team-member img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #d9442b;
}

.team-member h4 {
  font-size: 1.25rem;
  color: #b23a20;
  margin-bottom: 5px;
  font-weight: 700;
}

.team-member p {
  font-size: 1rem;
  color: #6e4c3e;
  font-weight: 600;
}

.cta-section {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #d9442b;
}

.cta-section h3 {
  font-size: 2rem;
  color: #b23a20;
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 1.1rem;
  color: #5c4b3c;
  margin-bottom: 25px;
}

.btn-primary {
  background-color: #d9442b;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 68, 43, 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-color: #ff6f31;
  box-shadow: 0 12px 30px rgba(255, 111, 49, 0.6);
}

footer {
  background-color: #8c1c0d;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  box-shadow: 0 -5px 15px rgba(140, 28, 13, 0.8);
  margin-top: 60px;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .team-section .team {
    flex-direction: column;
    gap: 30px;
  }

  .team-member {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/*************** SERVICES PAGE ***********/

.body-service {
  background: linear-gradient(135deg, #fff1e6 0%, #ffd9b3 100%);
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  color: #4a3c31;
  padding-bottom: 60px;
}

.headers {
  background-color: #d9442b;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 2px;
  box-shadow: 0 10px 20px rgba(217, 68, 43, 0.3);
}

header {
  background-color: #8c1c0d;
  display: flex;
  justify-content: center;
  gap: 35px;
  padding: 15px 10px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(140, 28, 13, 0.5);
}

header a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

header a:hover {
  color: #ff6f31;
}

.container {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 25px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service {
  background: white;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(217, 68, 43, 0.25);
  padding: 30px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(217, 68, 43, 0.45);
}

.service h2 {
  font-weight: 900;
  font-size: 1.8rem;
  color: #d9442b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service h2 i {
  color: #ff6f31;
  font-size: 1.5rem;
}

.service p {
  font-weight: 600;
  font-size: 1.15rem;
  color: #5c4b3c;
  max-width: 720px;
  line-height: 1.6;
}

.cta-service {
  text-align: center;
  margin-top: 50px;
}

.cta-service h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #b23a20;
  margin-bottom: 18px;
}

.btn-primary {
  background-color: #d9442b;
  color: white;
  border: none;
  padding: 15px 45px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 68, 43, 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-color: #ff6f31;
  box-shadow: 0 12px 30px rgba(255, 111, 49, 0.6);
}

footer {
  background-color: #8c1c0d;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  box-shadow: 0 -5px 15px rgba(140, 28, 13, 0.8);
  margin-top: 60px;
}

/* Responsive */
@media (max-width: 680px) {
  .container {
    padding: 0 15px;
  }

  header {
    flex-wrap: wrap;
    gap: 20px;
  }
}


/*************** SIGNUP PAGE ***********/
.signup-body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ff4e00, #ec9f05);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.signup-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: fadeInUp 0.7s ease-in-out;
}

.brand-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.brand-header h1 {
  font-size: 2rem;
  color: #fff;
}

.brand-header p {
  font-size: 1rem;
  color: #ffe8d6;
}

.signup-form .input-group {
  margin-bottom: 1rem;
}

.signup-form input {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.signup-form input::placeholder {
  color: #f0f0f0;
}

.signup-form input:focus {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.signup-btn {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.signup-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #ee0979, #ff6a00);
}

.login-link {
  text-align: center;
  margin-top: 1rem;
  color: #fff;
}

.login-link a {
  color: #ffe8d6;
  text-decoration: none;
}

.terms {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #fff5e1;
}

.terms a {
  color: #ffe8d6;
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  outline: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.input-group label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  cursor: text;
}

/* When input is focused OR has text */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 12px;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.3);
  padding: 0 5px;
  border-radius: 5px;
  color: #ffe8d6;
  transform: translateY(0);
}


/************* Forget password ***************/
.signup-link a,
.forgot-password a {
  color: #ffbc80;
}

.signup-link a:hover,
.forgot-password a:hover {
  text-decoration: underline;
}

/************ Menu *****************/

/* Hamburger Button */
.hamburger {
  font-size: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: none; /* shown on mobile */
  color: #333;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fefefe;
    position: absolute;
    top: 60px;
    right: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  }
  .nav-links.show {
    display: flex;
  }
}

/* Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
  gap: 10px;
}
.category-tabs button {
  background: #ff6b6b;
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 600;
}
.category-tabs button:hover,
.category-tabs button.active-tab {
  background: #ff4c4c;
  box-shadow: 0 2px 10px rgba(255, 76, 76, 0.6);
}

/* Menu container */
.menu_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Menu Items */
.menu-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.menu-item {
  background: #fff7f7;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
  width: 200px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}
.menu-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(255, 76, 76, 0.6);
}
.menu-item img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Badges */
.menu-item .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4c4c;
  color: white;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Cart Preview */
.cart-preview {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border: 2px solid #ff6b6b;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.7);
  z-index: 9999;
}
.cart-preview h3 {
  margin-top: 0;
  color: #ff4c4c;
  text-align: center;
}
.cart-preview ul {
  list-style: none;
  padding-left: 0;
  max-height: 200px;
  overflow-y: auto;
}
.cart-preview ul li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.cart-preview p {
  font-weight: 700;
  margin: 10px 0;
  text-align: center;
}
.cart-preview button {
  background: #ff6b6b;
  border: none;
  color: white;
  font-weight: 700;
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cart-preview button:hover {
  background: #ff4c4c;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.modal-content {
  background: #fff7f7;
  border-radius: 15px;
  padding: 20px;
  width: 400px;
  max-width: 90vw;
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.8);
  position: relative;
  text-align: center;
}
.modal-content img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}
.modal-content button#closeModal {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ff4c4c;
}
.modal-content button#modalAddToCartBtn {
  margin-top: 15px;
  background: #ff6b6b;
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.modal-content button#modalAddToCartBtn:hover {
  background: #ff4c4c;
}

/* Search and Sort container */
.search-sort-container {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
#searchBar {
  width: 65%;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 25px;
  border: 2px solid #ff6b6b;
  outline: none;
  transition: border-color 0.3s ease;
}
#searchBar:focus {
  border-color: #ff4c4c;
}
#sortSelect {
  width: 30%;
  padding: 10px;
  border-radius: 25px;
  border: 2px solid #ff6b6b;
  outline: none;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
#sortSelect:focus {
  border-color: #ff4c4c;
}
