@import url(https://fonts.googleapis.com/css2?family=Inter&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter&display=swap);
/* header */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  background: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  overflow-x: hidden;
}

.logo img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.logo a {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.8;
}

.navigation {
  background: #ffffff;
  height: 85px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.logo a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 10%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-item {
  color: #000000;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
  color: #800e13;
}

.nav-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-outline {
  border: 2px solid #800e13;
  color: #800e13;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: #800e13;
  color: white;
  transform: translateY(-2px);
}

.btn-primary {
  background: #800e13;
  color: white;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 14, 19, 0.3);
}

.btn-analyze {
  background: #800e13;
  color: white;
  padding: 13px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 14, 19, 0.3);
}

#capture-btn {
  background: #800e13;
  color: white;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  width: 400px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 14, 19, 0.3);
  margin-bottom: 40px;
}

.btn-primary:hover {
  background: #640d14;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 14, 19, 0.4);
}

.hero-section {
  margin-top: 110px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-family: "Biryani", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hero-title span {
  display: block;
  margin-bottom: -40px;
}

.hero-title span:last-child {
  margin-bottom: 0;
}

.hero-title .text-primary {
  color: #640d14;
}

.hero-title .text-dark {
  color: #000000;
}

.hero-description {
  color: rgba(0, 0, 0, 0.75);
  font-family: "Biryani", sans-serif;
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-button {
  background: #800e13;
  color: white;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(128, 14, 19, 0.3);
  display: inline-block;
}

.hero-button:hover {
  background: #640d14;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(128, 14, 19, 0.4);
}

.hero-images {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.food-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 1;
  animation: heroImageFloat 6s ease-in-out infinite;
}

.food-image:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(128, 14, 19, 0.6) 0%,
    rgba(173, 40, 49, 0.4) 50%,
    rgba(100, 13, 20, 0.7) 100%
  );
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
  opacity: 0.8;
}

.hero-images:hover .overlay {
  opacity: 0.6;
  background: linear-gradient(
    135deg,
    rgba(128, 14, 19, 0.4) 0%,
    rgba(173, 40, 49, 0.2) 50%,
    rgba(100, 13, 20, 0.5) 100%
  );
  transform: scale(1.01);
}

.hero-images:hover .food-image {
  transform: scale(1.02) translateY(-8px);
}

/* Additional hero-images enhancements */
.hero-images::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, transparent, rgba(128, 14, 19, 0.1), transparent);
  border-radius: 30px;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-images:hover::before {
  opacity: 1;
}

/* Animation keyframes for floating effect */
@keyframes heroImageFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.cuisine-section {
  padding: 50px 0;
  background: #ffffff;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-container-2 {
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: "Inter", sans-serif;
  font-size: 40px;
  font-weight: 630;
  color: #000000;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
  text-align: center;
  margin-left: 60px;
}

.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  margin-left: 60px;
  margin-right: 20px;
}

.cuisine-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cuisine-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cuisine-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cuisine-card:hover .cuisine-image {
  transform: scale(1.1);
}

.cuisine-info {
  padding: 32px;
}

.cuisine-name {
  font-family: "Biryani", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.cuisine-description {
  color: #828282;
  font-family: "Biryani", sans-serif;
  font-size: 16px;
  line-height: 150%;
}

.see-more {
  text-align: center;
  margin-top: 40px;
}

.see-more-link {
  color: #800e13;
  font-size: 20px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.see-more-link:hover {
  color: #640d14;
}

.dietary-section {
  padding-top: 120px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.dietary-title-lp {
  font-family: "Inter", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.dietary-title-desc-lp {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 200;
  color: #716f6f;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.dietary-divider {
  width: 300px;
  height: 4px;
  background: #640d14;
  margin: 0 auto 60px;
}

#dietary-next-btn {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: #800e13;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tab-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.tab {
  padding: 12px 24px;
  border-radius: 24px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab.active {
  background: #800e13;
  color: white;
  border-color: #262522;
}

.tab:not(.active) {
  background: transparent;
  color: rgba(38, 37, 34, 0.6);
  border-color: rgba(38, 37, 34, 0.3);
}

.tab:hover {
  transform: translateY(-2px);
}

.dietary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.dietary-card {
  text-align: center;
  position: relative;
}

.dietary-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.dietary-card:hover .dietary-image {
  transform: scale(1.05);
}

.dietary-name {
  color: #000000;
  font-family: "Biryani", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-top: 20px;
}

.upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

#drop-area {
  border: 2px dashed #ad2831;
  border-radius: 16px;
  width: 340px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff7f7;
  color: #ad2831;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.3s;
  text-align: center;
}

.icon-upload {
  font-size: 48px;
  margin-bottom: 12px;
}

.hidden-input {
  display: none;
}

.upload-btn-group {
  display: flex;
  gap: 16px;
}

.custom-outline-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid #ad2831;
  background: white;
  color: #ad2831;
  font-size: 16px;
  cursor: pointer;
}

.selected-file-name {
  margin-top: 8px;
  color: #800e13;
  font-size: 15px;
}

.camera-stream {
  display: none;
  border-radius: 12px;
  margin-top: 12px;
}

.camera-canvas {
  display: none;
}

.foodinary-experience {
  display: flex;
  justify-content: space-between;
  padding: 60px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.foodinary-left {
  flex: 1;
  min-width: 300px;
}

.foodinary-subtitle {
  color: #a60f2d;
  font-size: 20px;
  margin-bottom: 10px;
}

.foodinary-title {
  font-size: 44px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: #300000;
}

.foodinary-description {
  color: #6e6e6e;
  margin-top: 15px;
  font-size: 16px;
}

.foodinary-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.foodinary-feature {
  display: flex;
  align-items: center;
  background-color: #faeceb;
  padding: 14px 20px;
  border-radius: 12px;
  gap: 16px;
  font-size: 17px;
  font-weight: 400;
  color: #2e2e2e;
}

.foodinary-icon {
  font-size: 20px;
  color: #a60f2d;
}

.foodinary-badge {
  background-color: #a60f2d;
  color: white;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 8px;
  margin-left: 10px;
}

.foodinary-soon {
  opacity: 0.75;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}

/* popular-page */

.dietary-section-popular-indonesian-food {
  background: #ffffff;
  padding: 0 64px;
  position: relative;
}

.dietary-title {
  color: var(--dark, #262522);
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-transform: capitalize;
  width: fit-content;
}

.dietary-title-desc {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 200;
  color: #716f6f;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.dietary-title-desc-pf {
  color: var(--dark, #4e4d4d);
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 120%;
  margin-bottom: 40px;
  margin-top: 60px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  text-transform: capitalize;
}

.tab:not(.active):hover {
  background: rgba(38, 37, 34, 0.08);
}

.detail-page-popular-indonesian-food-from-see-more {
  padding: 20px 0;
}

.recipes-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1050px;
}

.card-wrapper {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 300px;
  max-width: 427px;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--light, #fffbf2);
  border: 1px solid rgba(38, 37, 34, 0.16);
}

.image {
  width: 100%;
  height: 234px;
  object-fit: cover;
  background: linear-gradient(135deg, #8b4513, #d2691e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.text-wrapper {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header {
  color: var(--dark, #262522);
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
}

.paragraph {
  color: var(--dark, #262522);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 140%;
}

.info-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.button-learn-more {
  border-radius: 24px;
  border: 1px solid var(--dark, #262522);
  padding: 12px 24px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #262522;
}

.button-learn-more:hover {
  background-color: #800e13;
  color: white;
  border-color: #800e13;
}

.button-learn-more .text {
  display: inline-block;
}

.load-more {
  margin: 40px 0;
  padding: 12px 50px;
  text-align: center;
  border: 2px solid #800e13;
  border-radius: 24px;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  color: #800e13;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.load-more:hover {
  background: #800e13;
  color: white;
}

/* Vaadin Pointer (decorative element) */
.vaadin-pointer {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fffbf2;
  margin: 0 auto;
  margin-top: -1px;
}

/* Recipe Detail Modal */
.recipe-detail-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #ffffff;
  margin: 2% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.recipe-detail-header {
  padding: 40px 40px 20px 40px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.recipe-detail-header h2 {
  color: #262522;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.recipe-origin {
  display: inline-block;
  background: #800e13;
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.recipe-taste {
  color: #666;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-style: italic;
}

.recipe-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

.detail-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-section h3 {
  color: #262522;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #800e13;
}

.detail-section p {
  color: #444;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.ingredients-list,
.tools-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ingredients-list li,
.tools-list li {
  color: #444;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.ingredients-list li::before,
.tools-list li::before {
  content: "•";
  color: #800e13;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.steps-list li {
  color: #444;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  padding: 16px 0;
  padding-left: 40px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  counter-increment: step-counter;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 16px;
  background: #800e13;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.steps-list li strong {
  color: #262522;
}

.source-link {
  color: #800e13;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  word-break: break-all;
}

.source-link:hover {
  text-decoration: underline;
}

/* dashboard css */

.db-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background-color: #f9fafb;
}

.db-sidebar {
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  box-sizing: border-box;
  width: 230px;
  /* Added for responsive sidebar */
  transition: transform 0.3s ease-in-out;
}

.db-sidebar-logo-container {
  margin-bottom: 30px;
}

.db-logo-main {
  font-size: 24px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 4px;
}

.db-logo-tagline {
  font-size: 12px;
  color: #9ca3af;
}

.db-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.db-sidebar-nav .db-nav-item a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.db-sidebar-nav .db-nav-item .db-nav-icon {
  margin-right: 10px;
  width: 18px;
  text-align: center;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.db-sidebar-nav .db-nav-item:hover a {
  background-color: #f3f4f6;
  color: #1f2937;
}

.db-sidebar-nav .db-nav-item:hover a .db-nav-icon {
  color: #800e13;
}

.db-sidebar-nav .db-nav-item.db-active a {
  background-color: #fee2e2;
  color: #800e13;
  font-weight: 600;
}

.db-sidebar-nav .db-nav-item.db-active a .db-nav-icon {
  color: #800e13;
}

.db-sidebar-footer {
  margin-top: auto;
  padding-top: 15px;
  padding-bottom: 10px;
  text-align: left;
}

.db-footer-text {
  font-size: 10px;
  color: #9ca3af;
  margin-bottom: 2px;
}

.db-footer-text .db-heart-icon {
  color: #ef4444;
}

/* Main Content Styles */
.db-main-content {
  flex-grow: 1;
  padding: 20px 30px;
  background-color: #f9fafb;
  box-sizing: border-box;
  min-height: 100vh;
  margin-left: 230px;
  /* Added for responsive sidebar */
  transition: margin-left 0.3s ease-in-out;
}

/* Header Styles */
.db-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.db-header-left {
  display: flex;
  flex-direction: column;
}

.db-header-right {
  display: flex;
  align-items: center;
}

.db-user-greeting {
  font-size: 14px;
  color: #6b7280;
  margin-right: 10px;
}

.db-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #e5e7eb;
  /* Added for interactivity */
  cursor: pointer;
}

/* Stats Container */
.db-stats-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.db-stat-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  width: 250px;
  /* Fixed width to match image */
}

.db-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.db-stat-card-icon-wrapper {
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 18px;
}

.db-stat-card-icon-wrapper.db-icon-history {
  background-color: #e0f2fe;
  color: #0ea5e9;
}

.db-stat-card-icon-wrapper.db-icon-favorite {
  background-color: #dcfce7;
  color: #22c55e;
}

.db-stat-card-info {
  display: flex;
  flex-direction: column;
}

.db-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.db-stat-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
}

/* Floating Button */
.db-floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1001;
}

/* Dashboard Overview Styles (for future use) */
.db-dashboard-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.db-overview-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.db-overview-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.db-overview-content {
  flex: 1;
}

.db-overview-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.db-overview-details {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.db-overview-details strong {
  color: #333;
}

.db-delete-button {
  margin-top: 13px;
}

.db-view-details-button {
  margin-top: 13px;
}

.db-dashboard-subtitle {
  margin-top: 8px;
}

/* Added: Overlay for mobile sidebar */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.active {
  display: block;
}

/* Responsive Design - moved to responsive.css */

/* === DASHBOARD STYLES END === */

/* Responsive adjustments - moved to responsive.css */

/* about */

.about {
  margin-top: 85px;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding-top: 80px;
}

.about2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  animation: fadeInUp 0.8s ease-out;
}

.judul-about {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #800e13;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  position: relative;
}

.judul-about::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #800e13;
  border-radius: 2px;
}

.what-is-foodinary {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #262522;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.01em;
}

.paragraph-about {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: #4a5568;
  text-align: justify;
  margin: 0 auto;
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

/* Responsive Design - moved to responsive.css */

.team-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.team-header {
  text-align: left;
  margin-bottom: 80px;
  margin-top: 80px;
}

.team-header h1 {
  margin-top: 40px;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #262522;
  text-align: center;
  letter-spacing: -0.01em;
}

.team-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
  font-weight: 300;
  margin-top: 10px;
  font-family: "Inter", sans-serif;
  text-align: center;
  letter-spacing: -0.01em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.team-card {
  background: white;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f3f4;
  margin-bottom: 40px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.profile-image {
  width: 150px;
  /* Sesuaikan ukuran sesuai kebutuhan */
  height: 150px;
  /* Sesuaikan ukuran sesuai kebutuhan */
  border-radius: 50%;
  /* Untuk membuat gambar bulat */
  background-size: cover;
  /* Agar gambar menutupi seluruh area */
  background-position: center;
  /* Posisi gambar di tengah */
  background-repeat: no-repeat;
  /* Gambar tidak diulang */
  margin: 0 auto;
  /* Untuk posisi tengah */
}

.team-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  margin-top: 10px;
}

.team-card .role {
  font-size: 0.95rem;
  color: #ad2831;
  font-weight: 500;
  margin-bottom: 15px;
}

.team-card .description {
  font-size: 0.9rem;
  color: #7f8c8d;
  line-height: 1.5;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ecf0f1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8c8d;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.social-links a:hover {
  background: #ad2831;
  color: white;
  transform: scale(1.1);
}

/* recipes */

.recipe-finder-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 120px;
  margin-bottom: 50px;
}

/* Search Bar */
.recipe-finder-search-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.recipe-finder-search-box {
  width: 400px;
  max-width: 100%;
  position: relative;
}

.recipe-finder-search-input {
  width: 100%;
  padding: 12px 50px 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.recipe-finder-search-input:focus {
  border-color: #dc3545;
}

.recipe-finder-search-btn {
  background: #dc3545;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.recipe-finder-search-btn:hover {
  background-color: #c82333;
}

/* Upload Link */
.recipe-finder-upload-link {
  text-align: center;
  margin-bottom: 20px;
}

.recipe-finder-upload-link a {
  color: #dc3545;
  text-decoration: none;
  font-size: 14px;
}

.recipe-finder-upload-link a:hover {
  text-decoration: underline;
}

/* Filter Tabs */
.recipe-finder-filter-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.recipe-finder-filter-tab {
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin: 0 5px;
  color: #666;
  font-weight: 500;
  transition: all 0.3s;
}

.recipe-finder-filter-tab.active {
  color: #dc3545;
  border-bottom-color: #dc3545;
}

.recipe-finder-filter-tab:hover {
  color: #dc3545;
}

/* Main Content */
.recipe-finder-main-content {
  display: flex;
  gap: 30px;
}

/* Sidebar */
.recipe-finder-sidebar {
  flex: 0 0 200px;
}

.recipe-finder-filter-section h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.recipe-finder-filter-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.recipe-finder-filter-option input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.recipe-finder-filter-option label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

/* Recipe Grid */
.recipe-finder-recipe-grid {
  flex: 1;
}

.recipe-finder-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.recipe-finder-recipe-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.recipe-finder-recipe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.recipe-finder-recipe-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.recipe-finder-recipe-content {
  padding: 15px;
}

.recipe-finder-recipe-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.recipe-finder-recipe-description {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 15px;
}

.recipe-finder-recipe-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recipe-finder-recipe-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.recipe-finder-recipe-btn:hover {
  background-color: #c82333;
}

.recipe-finder-favorite-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-finder-favorite-btn:hover {
  background-color: #f8f9fa;
}

.recipe-finder-heart-icon {
  width: 20px;
  height: 20px;
  stroke: #dc3545;
  fill: none;
  stroke-width: 2;
  transition:
    fill 0.3s,
    stroke 0.3s;
}

/* Saat favorite aktif */
.recipe-finder-favorite-btn.favorited .recipe-finder-heart-icon {
  fill: #dc3545;
  stroke: #dc3545;
}

/* Pagination */
.recipe-finder-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.recipe-finder-page-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #e0e0e0;
  background: white;
  color: #666;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.recipe-finder-page-btn:hover {
  background-color: #f8f9fa;
}

.recipe-finder-page-btn.active {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

/* Responsive - moved to responsive.css */

/* footer */

.footer {
  background: #ad2831;
  margin-top: 90px;
  color: white;
  padding: 20px 0 20px;
  width: 100%;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  width: 100px;
  height: auto;
}

.footer-brand h2 {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-link {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge-hot {
  background: linear-gradient(45deg, #ff4d4d, #ff6b6b);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(255, 77, 77, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(255, 77, 77, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
  }
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 6px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.legal-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: white;
}

/* Media queries for footer moved to responsive.css */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design - moved to responsive.css */

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

body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  min-height: 100vh;
  /* Removed display: flex, align-items: center, justify-content: center */
}

.container {
  max-width: 64rem;
  width: 100%;
  display: flex;
  /* Moved from body */
  align-items: center;
  /* Moved from body */
  justify-content: center;
  /* Moved from body */
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  min-height: 100vh;
  /* Ensure container takes full viewport height for centering */
  margin: 0 auto;
  /* Center horizontally if needed */
  margin-left: 250px;
  /* Offset for sidebar width */
  animation: slideFadeInUp 0.5s ease-out both;
}

/* Container responsive media queries moved to responsive.css */

.form-section {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  padding: 2rem;
  animation: slideFadeInRight 0.5s ease-out 0.1s both;
}

/* Form section media query moved to responsive.css */

/* Tambahkan ke file CSS kamu */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.button-popup {
  width: 100%;
  background-color: #7a1217;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    transform 0.2s ease,
    background-color 0.3s ease;
  margin-top: 18px;
}

.button-popup::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-20deg);
  z-index: 0;
  transition: left 0.5s;
}

.button-popup:hover {
  background-color: #5a0e13;
  transform: translateY(-2px);
}

.button-popup:hover::before {
  left: 100%;
}

.form-content {
  width: 100%;
}

.form-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #7a1217;
  margin-bottom: 0.25rem;
}

.form-content p {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  color: #1f2937;
}

.form-group input::placeholder {
  color: #9ca3af;
}

.form-group input:focus {
  outline: none;
  border-color: #7a1217;
  box-shadow: 0 0 0 2px rgba(122, 18, 23, 0.2);
  animation: pulseBorder 0.3s ease-out;
}

.checkbox-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.checkbox-group a {
  color: #2563eb;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

button {
  width: 100%;
  background-color: #7a1217;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    transform 0.2s ease,
    background-color 0.3s ease;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-20deg);
  z-index: 0;
  transition: left 0.5s;
}

button:hover {
  background-color: #5a0e13;
  transform: translateY(-2px);
}

button:hover::before {
  left: 100%;
}

.signup-text {
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
  margin-top: 1.5rem;
}

.signup-text a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.signup-text a:hover {
  text-decoration: underline;
}

.image-section {
  display: none;
  width: 100%;
  animation: slideFadeInUp 0.5s ease-out 0.2s both;
}

.notfound-container {
  background-color: #fff;
  color: #2c2c2c;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.notfound-content {
  text-align: center;
  max-width: 600px;
}

.notfound-title {
  font-size: 6rem;
  font-weight: bold;
  color: #5a0e13;
  margin: 0;
}

.notfound-subtitle {
  font-size: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #5a0e13;
}

.notfound-message {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.notfound-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #5a0e13;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.notfound-link:hover {
  background-color: #450a0f;
}

/* Image section media query moved to responsive.css */

@media (min-width: 769px) {
  .image-section {
    display: block;
  }
}

@media (max-width: 768px) {
  .image-section {
    display: none !important;
  }
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animations */
@keyframes slideFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeInRight {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseBorder {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 18, 23, 0.3);
  }

  100% {
    box-shadow: 0 0 0 4px rgba(122, 18, 23, 0);
  }
}

/* General Responsive Adjustments - moved to responsive.css */

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #000;
  cursor: pointer;
}

/* Mobile menu toggle responsive styles moved to responsive.css */

/* All responsive styles moved to responsive.css */

/* Utility classes for responsive behavior */
.hidden-mobile {
  display: block;
}

.visible-mobile {
  display: none;
}

/* Mobile utility classes media query moved to responsive.css */

/* Prevent horizontal scrolling */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* detail */

.recipe-detail-container {
  position: relative;
  max-width: 1100px;
  margin: 7rem auto;
  border-radius: 18px;
  overflow: hidden;
  font-family: "Inter", "Segoe UI", sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Gambar background dengan blur dan gelap */
.recipe-detail-image {
  width: 100%;
  object-fit: cover;
  filter: blur(0.5px) brightness(50%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Overlay teks di atas gambar */
.recipe-detail-overlay {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.recipe-detail-title {
  font-size: 3rem;
  font-weight: 1000;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.recipe-detail-meta {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: justify;
}

.recipe-detail-origin {
  font-weight: 600;
  margin-bottom: 20px;
  color: #d1d5db;
  font-size: large;
}

/* Konten setelah overlay (bahan, alat, langkah) */
.recipe-detail-content {
  position: relative;
  z-index: 3;
  background-color: #fff;
  padding: 2rem;
  color: #1f2937;
}

/* Judul section */
.recipe-detail-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 2px solid #fb2424;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
}

/* List bahan dan langkah */
.recipe-detail-list,
.recipe-detail-steps {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}

.recipe-detail-list li,
.recipe-detail-steps li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

/* Sumber */
.recipe-detail-source {
  margin-top: 2rem;
  font-size: 0.95rem;
  text-align: right;
  color: #6b7280;
}

.recipe-detail-source a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.recipe-detail-source a:hover {
  color: #1d4ed8;
}

.login-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.image-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Legal Pages (Privacy Policy & Terms of Service) Styles */
.privacy-policy-page,
.terms-of-service-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.privacy-container,
.terms-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  font-family: "Inter", sans-serif;
}

.privacy-content,
.terms-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header Styles */
.privacy-header,
.terms-header {
  text-align: center;
  margin-bottom: 50px;
}

.privacy-title,
.terms-title {
  font-size: 48px;
  font-weight: 700;
  color: #800e13;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.privacy-subtitle,
.terms-subtitle {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 30px;
}

.privacy-divider,
.terms-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #800e13, #640d14);
  margin: 0 auto;
  border-radius: 2px;
}

/* Body Content */
.privacy-body,
.terms-body {
  line-height: 1.7;
}

.privacy-section,
.terms-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}

.privacy-section:last-child,
.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.privacy-section-title,
.terms-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #800e13;
  display: inline-block;
}

.terms-subsection-title {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin: 25px 0 15px;
}

.privacy-text,
.terms-text {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.8;
}

/* Lists */
.privacy-list,
.terms-list {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.privacy-list li,
.terms-list li {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  line-height: 1.7;
}

.privacy-list li::before,
.terms-list li::before {
  content: "•";
  color: #800e13;
  font-weight: bold;
  position: absolute;
  left: 10px;
  font-size: 18px;
}

.privacy-list li strong,
.terms-list li strong {
  color: #1f2937;
  font-weight: 600;
}

/* Contact Information */
.privacy-contact,
.terms-contact {
  background: #f9fafb;
  border-radius: 12px;
  padding: 25px;
  margin-top: 20px;
  border-left: 4px solid #800e13;
}

.privacy-contact p,
.terms-contact p {
  font-size: 16px;
  color: #374151;
  margin-bottom: 8px;
  line-height: 1.6;
}

.privacy-contact p:last-child,
.terms-contact p:last-child {
  margin-bottom: 0;
}

/* Footer */
.privacy-footer,
.terms-footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(107, 114, 128, 0.2);
}

.privacy-footer-text,
.terms-footer-text {
  font-size: 14px;
  color: #6b7280;
}

.privacy-link,
.terms-link {
  color: #800e13;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.privacy-link:hover,
.terms-link:hover {
  color: #640d14;
  text-decoration: underline;
}

/* Scroll to top button for legal pages */
.legal-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #800e13;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(128, 14, 19, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.legal-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.legal-scroll-top:hover {
  background: #640d14;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 14, 19, 0.4);
}

/* Animation classes */
.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

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

/* Highlight effect for sections */
.privacy-section:hover,
.terms-section:hover {
  background: rgba(128, 14, 19, 0.02);
  border-radius: 8px;
  padding: 20px;
  margin: 0 -20px 40px;
  transition: all 0.3s ease;
}

/*======================================================
  RESPONSIVE STYLESHEET
  This file contains all responsive styling for the website.
  All media queries have been moved here from styles.css.
  Organized by component/page section.
========================================================*/

/*------------------------------------------------------
  NAVIGATION & HEADER RESPONSIVE STYLES
--------------------------------------------------------*/

@media (max-width: 768px) {
  /* Navigation Container */
  .nav-container {
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
  }

  /* Hide desktop navigation */
  .nav-menu {
    display: none;
  }

  .nav-buttons {
    display: none;
  }

  /* Show hamburger menu */
  .hamburger-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 32px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
    position: relative;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .hamburger-menu:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #000000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* Hamburger Animation */
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  } /* Navigation Menu - Mobile */
  .nav-menu.active {
    display: flex !important;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.12),
      0 4px 16px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    z-index: 999;
    opacity: 1;
    visibility: visible;
    padding: 2px 0 2px;
    gap: 0.2px;
    margin-bottom: 3px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideDownFade 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  @keyframes slideDownFade {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav-buttons.active {
    display: flex !important;
    position: fixed;
    margin-top: 28px;
    top: calc(80px + 200px); /* Adjust based on nav-menu height */
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(20px);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.12),
      0 4px 16px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    z-index: 999;
    opacity: 1;
    visibility: visible;
    padding: 20px 0 40px;
    gap: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    animation: slideUpFade 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s backwards;
  }

  @keyframes slideUpFade {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav-item {
    width: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 2px 16px;
  }

  .nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.6s ease;
  }

  .nav-item:hover::before {
    left: 100%;
  }

  .nav-item:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(248, 113, 113, 0.05));
    box-shadow:
      0 4px 20px rgba(220, 38, 38, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.02);
    border: 1px solid rgba(220, 38, 38, 0.2);
  }

  .nav-item:active {
    transform: translateY(0) scale(1);
    box-shadow:
      0 2px 10px rgba(220, 38, 38, 0.2),
      inset 0 2px 4px rgba(220, 38, 38, 0.1);
  }
  .nav-item a {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    padding: 16px 24px;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    letter-spacing: 0.025em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  .nav-item a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
    border-radius: 2px;
  }

  .nav-item:hover a {
    color: #dc2626;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
  }

  .nav-item:hover a::after {
    width: 60%;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
  }

  .nav-item:active a {
    transform: translateY(0);
    color: #b91c1c;
  }

  /* Navigation Fixed Position */
  .navigation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  /* Hero Section */
  .hero-section {
    margin-top: 85px;
    padding: 40px 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 40px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .hero-title span {
    margin-bottom: -20px;
  }

  .hero-description {
    font-size: 18px;
    max-width: 100%;
  }
  .hero-images {
    display: none; /* Hide images on mobile */
  }

  .food-image,
  .overlay {
    border-radius: 16px;
  }

  .food-image {
    width: 100%;
    height: 100%;
  }

  .overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .hero-button {
    padding: 15px 30px;
    font-size: 16px;
  }

  /* Popular Cuisine Section */
  .section-title {
    font-size: 30px;
    margin-left: 0;
    text-align: center;
  }

  .cuisine-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    gap: 20px;
  }

  .cuisine-image {
    height: 200px;
  }

  .cuisine-info {
    padding: 20px;
  }

  .cuisine-name {
    font-size: 22px;
  }

  /* Foodinary Experience Section */
  .foodinary-experience {
    flex-direction: column;
    padding: 40px 20px;
  }
  .foodinary-left,
  .foodinary-right {
    width: 100%;
    min-width: unset;
  }

  .foodinary-right {
    gap: 12px;
    margin-top: 20px;
  }

  .foodinary-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .foodinary-feature {
    padding: 16px 20px;
    font-size: 15px;
    border-radius: 8px;
    gap: 12px;
    background-color: #faeceb;
    margin-bottom: 8px;
  }

  .foodinary-icon {
    font-size: 18px;
    flex-shrink: 0;
  }

  .foodinary-text {
    line-height: 1.4;
  }

  .foodinary-badge {
    font-size: 10px;
    padding: 1px 6px;
    margin-left: 6px;
  }

  .foodinary-soon {
    opacity: 0.7;
  }

  /* Footer */
  .footer-container {
    padding: 0 20px;
  }

  .footer-menu {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 5px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
  }

  .footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    border-radius: 2px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 20px;
  }

  .footer-main {
    text-align: center;
  }

  .footer-brand h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .footer-column h4 {
    font-size: 16px;
  }

  .footer-links {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
  }
}

/*------------------------------------------------------
  SMALL SCREEN DEVICE STYLES
--------------------------------------------------------*/
/* Smaller Phones */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-images {
    display: none; /* Ensure images are hidden on smaller screens */
  }

  .section-title {
    font-size: 24px;
  }

  .cuisine-name {
    font-size: 20px;
  }

  .btn-outline,
  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }
  #capture-btn {
    width: 100%;
    font-size: 16px;
  }

  /* Upload section mobile styles */
  .upload-section {
    margin-top: 20px;
    gap: 16px;
    padding: 0 15px;
  }

  .upload-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .upload-btn-group .btn-primary,
  .upload-btn-group .custom-outline-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    text-align: center;
  }

  #drop-area {
    width: 100%;
    height: 180px;
    font-size: 16px;
    padding: 20px;
    box-sizing: border-box;
  }

  .icon-upload {
    font-size: 36px;
    margin-bottom: 8px;
  }

  #preview-image,
  #camera-stream {
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
    margin-top: 8px;
  }

  #camera-canvas {
    width: 100% !important;
    max-width: 280px;
    height: auto !important;
  }

  .selected-file-name {
    font-size: 14px;
    text-align: center;
    word-break: break-word;
  }

  .dietary-section {
    margin-top: 120px;
    padding: 20px 15px;
  }

  .dietary-title {
    font-size: 22px;
    text-align: center;
    padding: 0 10px;
    line-height: 1.3;
  }

  .dietary-title-desc {
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
    margin-top: 10px;
  }

  .recipe-finder-upload-link {
    text-align: center;
    padding: 0 15px;
    margin: 15px 0;
  }

  .recipe-finder-upload-link a {
    font-size: 14px;
  }

  /* Foodinary Experience Section - Smaller Screens */
  .foodinary-experience {
    padding: 30px 15px;
    gap: 25px;
  }

  .foodinary-right {
    gap: 10px;
  }

  .foodinary-feature {
    padding: 12px 16px;
    font-size: 14px;
    gap: 10px;
    border-radius: 6px;
  }

  .foodinary-icon {
    font-size: 16px;
  }

  .foodinary-title {
    font-size: 24px;
  }
}

/*------------------------------------------------------
  RECIPE DETAIL RESPONSIVE STYLES
--------------------------------------------------------*/
/* Recipe Detail Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Recipe Detail Page */
  .recipe-detail-container {
    margin: 4rem auto;
    border-radius: 12px;
  }

  .recipe-detail-overlay {
    padding: 2.5rem 1rem;
  }

  .recipe-detail-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .recipe-detail-meta {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }

  .recipe-detail-origin {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .recipe-detail-content {
    padding: 1.5rem;
  }

  .recipe-detail-section-title {
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
  }

  .recipe-detail-list,
  .recipe-detail-steps {
    padding: 1rem;
    border-radius: 8px;
  }

  .recipe-detail-list li,
  .recipe-detail-steps li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .recipe-detail-source {
    font-size: 0.85rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Recipe Detail Page - Smaller Screens */
  .recipe-detail-container {
    margin: 2rem auto 3rem;
    border-radius: 8px;
  }

  .recipe-detail-overlay {
    padding: 2rem 0.75rem;
  }

  .recipe-detail-title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }

  .recipe-detail-meta {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .recipe-detail-origin {
    font-size: 0.9rem;
  }

  .recipe-detail-content {
    padding: 1rem;
  }

  .recipe-detail-section-title {
    font-size: 1rem;
    margin-top: 1.5rem;
  }

  .recipe-detail-list,
  .recipe-detail-steps {
    padding: 0.8rem;
  }

  .recipe-detail-list li,
  .recipe-detail-steps li {
    font-size: 0.9rem;
  }
}

/*------------------------------------------------------
  RECIPE FINDER RESPONSIVE STYLES
--------------------------------------------------------*/
/* Recipe Finder Mobile Responsive Styles */
@media (max-width: 768px) {
  .recipe-finder-container {
    padding: 15px;
    margin-top: 100px;
  }

  .recipe-finder-main-content {
    flex-direction: column;
  }

  .recipe-finder-sidebar {
    flex: none;
  }

  .recipe-finder-recipes {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  .recipe-finder-filter-tabs {
    flex-wrap: wrap;
    gap: 5px;
  }

  /* Search Box Mobile Responsive */
  .recipe-finder-search-wrapper {
    padding: 0 15px;
    margin-bottom: 25px;
  }

  .recipe-finder-search-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .recipe-finder-search-input {
    padding: 14px 50px 14px 18px;
    font-size: 16px;
    border-radius: 30px;
  }

  .recipe-finder-search-btn {
    right: 8px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  /* Search Box - Smaller Screens */
  .recipe-finder-search-wrapper {
    padding: 0 10px;
  }

  .recipe-finder-search-input {
    padding: 12px 45px 12px 16px;
    font-size: 15px;
  }

  .recipe-finder-search-btn {
    right: 6px;
    width: 32px;
    height: 32px;
  }

  .recipe-finder-search-btn svg {
    width: 16px;
    height: 16px;
  }
}

/*------------------------------------------------------
  FOOTER RESPONSIVE STYLES
--------------------------------------------------------*/
/* Footer Mobile Responsive Styles - Compact Version */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0 20px;
    margin-top: 40px;
  }

  .footer-container {
    gap: 20px;
    padding: 0 20px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-brand {
    order: 1;
    align-items: center;
    max-width: 100%;
  }

  .footer-brand h2 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .footer-tagline {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
  }

  .footer-social {
    order: 2;
    margin-top: 0;
    justify-content: center;
    gap: 12px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }

  .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .footer-menu {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 12px;
    width: 100%;
  }

  .footer-column {
    width: 100%;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-column h4 {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
  }

  .footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    border-radius: 1px;
  }
  .footer-column .footer-link {
    font-size: 16px;
    padding: 2px 0;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.3;
  }
  .footer-column .footer-link:hover {
    transform: translateX(3px);
  }

  .footer-address {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-bottom p {
    font-size: 16px;
    order: 2;
    margin: 0;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    order: 1;
  }
  .legal-link {
    font-size: 16px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
  }

  .legal-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 20px 0 15px;
    margin-top: 30px;
  }

  .footer-container {
    gap: 15px;
    padding: 0 15px;
  }

  .footer-main {
    gap: 12px;
  }
  .footer-brand h2 {
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 2px;
  }
  .footer-tagline {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .footer-social {
    gap: 10px;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .footer-menu {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .footer-column {
    padding: 8px 6px;
    margin: 2px 0;
  }
  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 6px;
    padding-bottom: 3px;
  }

  .footer-column h4::after {
    width: 15px;
  }
  .footer-column .footer-link {
    font-size: 14px;
    padding: 1px 0;
    line-height: 1.2;
  }

  .footer-address {
    font-size: 14px;
  }

  .footer-bottom {
    gap: 8px;
    margin-top: 15px;
    padding-top: 10px;
  }
  .footer-bottom p {
    font-size: 14px;
  }

  .footer-legal {
    gap: 6px;
  }
  .legal-link {
    font-size: 14px;
    padding: 2px 6px;
  }
}

/*------------------------------------------------------
  LEGAL PAGES RESPONSIVE STYLES
  Privacy Policy and Terms of Service responsive design
--------------------------------------------------------*/

@media (max-width: 768px) {
  .privacy-container,
  .terms-container {
    padding: 100px 30px 60px;
    max-width: 100%;
  }

  .privacy-content,
  .terms-content {
    padding: 40px 30px;
    border-radius: 15px;
    margin: 0;
  }

  .privacy-title,
  .terms-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .privacy-subtitle,
  .terms-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .privacy-divider,
  .terms-divider {
    width: 80px;
    height: 3px;
  }

  .privacy-section-title,
  .terms-section-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .terms-subsection-title {
    font-size: 18px;
    margin: 20px 0 12px;
  }

  .privacy-text,
  .terms-text {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }

  .privacy-list li,
  .terms-list li {
    font-size: 15px;
    padding-left: 25px;
    margin-bottom: 10px;
  }

  .privacy-contact,
  .terms-contact {
    padding: 20px;
    margin-top: 15px;
  }

  .privacy-contact p,
  .terms-contact p {
    font-size: 15px;
  }

  .legal-scroll-top {
    width: 45px;
    height: 45px;
    bottom: 25px;
    right: 25px;
    font-size: 18px;
  }

  /* Hover effects adjustment for touch devices */
  .privacy-section:hover,
  .terms-section:hover {
    background: none;
    padding: 0;
    margin: 0 0 40px;
  }
}

@media (max-width: 480px) {
  .privacy-container,
  .terms-container {
    padding: 90px 20px 50px;
  }

  .privacy-content,
  .terms-content {
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .privacy-title,
  .terms-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .privacy-subtitle,
  .terms-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .privacy-divider,
  .terms-divider {
    width: 60px;
    height: 3px;
  }

  .privacy-section,
  .terms-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .privacy-section-title,
  .terms-section-title {
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .terms-subsection-title {
    font-size: 16px;
    margin: 18px 0 10px;
  }

  .privacy-text,
  .terms-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .privacy-list li,
  .terms-list li {
    font-size: 14px;
    padding-left: 22px;
    margin-bottom: 8px;
    line-height: 1.6;
  }

  .privacy-list li::before,
  .terms-list li::before {
    font-size: 16px;
    left: 8px;
  }

  .privacy-contact,
  .terms-contact {
    padding: 18px;
    border-radius: 10px;
  }

  .privacy-contact p,
  .terms-contact p {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .privacy-footer,
  .terms-footer {
    margin-top: 40px;
    padding-top: 25px;
  }

  .privacy-footer-text,
  .terms-footer-text {
    font-size: 13px;
  }

  .legal-scroll-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
  }
}

@media (max-width: 320px) {
  .privacy-container,
  .terms-container {
    padding: 85px 15px 40px;
  }

  .privacy-content,
  .terms-content {
    padding: 25px 15px;
    border-radius: 10px;
  }

  .privacy-title,
  .terms-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .privacy-subtitle,
  .terms-subtitle {
    font-size: 12px;
  }

  .privacy-section-title,
  .terms-section-title {
    font-size: 16px;
  }

  .terms-subsection-title {
    font-size: 15px;
  }

  .privacy-text,
  .terms-text,
  .privacy-list li,
  .terms-list li {
    font-size: 13px;
  }

  .privacy-contact,
  .terms-contact {
    padding: 15px;
  }

  .privacy-contact p,
  .terms-contact p {
    font-size: 13px;
  }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .privacy-container,
  .terms-container {
    padding: 70px 20px 40px;
  }

  .privacy-title,
  .terms-title {
    font-size: 24px;
  }

  .legal-scroll-top {
    bottom: 15px;
    right: 15px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .privacy-divider,
  .terms-divider {
    background: linear-gradient(90deg, #800e13, #640d14);
  }

  .legal-scroll-top {
    box-shadow: 0 4px 15px rgba(128, 14, 19, 0.4);
  }
}

/*------------------------------------------------------
  GENERAL LAYOUT RESPONSIVE STYLES
--------------------------------------------------------*/
/* General Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 40px;
  }

  .section-container {
    padding: 0 20px;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 40px;
  }

  .tab-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* Container Responsive */
@media (max-width: 768px) {
  .container {
    margin-left: 0;
    /* Remove sidebar offset on smaller screens */
    width: 100%;
  }
}

/*------------------------------------------------------
  HERO & CUISINE SECTIONS RESPONSIVE STYLES
--------------------------------------------------------*/
/* General Responsive Adjustments */
@media (max-width: 1200px) {
  .hero-container,
  .section-container,
  .section-container-2 {
    padding: 0 40px;
  }

  .nav-container {
    padding: 0 40px;
  }

  .hero-title {
    font-size: 48px;
  }
  .hero-images {
    height: 500px;
  }

  .food-image {
    border-radius: 20px;
  }

  .overlay {
    border-radius: 20px;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }
  .hero-images {
    height: 400px;
    margin-top: 40px;
  }

  .cuisine-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }

  .hero-container,
  .section-container,
  .section-container-2 {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-button {
    padding: 16px 32px;
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
    margin-left: 20px;
  }

  .cuisine-grid {
    margin-left: 20px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 30px;
  }

  /* Dashboard adjustments */
  .db-main-content {
    margin-left: 0;
    padding: 20px;
  }

  .db-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .db-sidebar.active {
    transform: translateX(0);
  }

  /* Login form adjustments */
  .container {
    margin-left: 0;
    box-shadow: none;
  }
}

@media (max-width: 576px) {
  .nav-menu {
    display: none;
  }

  .nav-buttons {
    gap: 10px;
  }

  .btn-outline,
  .btn-primary {
    padding: 8px 16px;
    font-size: 14px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
    margin-left: 0;
    text-align: center;
  }

  .cuisine-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .dietary-grid {
    grid-template-columns: 1fr;
  }
  .tab-wrapper {
    flex-direction: column;
  }

  #drop-area {
    width: 100%;
  }

  /* Team section adjustments */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Recipe finder adjustments */
  .recipe-finder-filter-tabs {
    flex-wrap: wrap;
  }

  .recipe-finder-recipe-grid {
    padding: 0 10px;
  }

  .recipe-finder-recipes {
    grid-template-columns: 1fr;
  }
}

/*------------------------------------------------------
  ABOUT PAGE RESPONSIVE STYLES
--------------------------------------------------------*/
/* About page responsive */
@media (max-width: 768px) {
  .about {
    padding-top: 40px;
  }

  .judul-about {
    font-size: 32px;
  }

  .what-is-foodinary {
    font-size: 24px;
  }

  .paragraph-about {
    padding: 30px 20px;
    font-size: 16px;
  }

  .team-section {
    padding: 0 20px;
  }

  .team-header h1 {
    font-size: 24px;
  }

  .team-header p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 0 15px;
  }

  .team-grid {
    gap: 15px;
  }
}

/*------------------------------------------------------
  DASHBOARD RESPONSIVE STYLES
--------------------------------------------------------*/
/* Dashboard specific responsive */
@media (max-width: 992px) {
  .db-stats-container {
    flex-direction: column;
  }

  .db-stat-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .db-main-content {
    margin-left: 0;
    width: 100%;
  }

  .db-sidebar {
    transform: translateX(-100%);
    /* Hide sidebar off-screen */
  }

  .db-sidebar.active {
    transform: translateX(0);
    /* Show sidebar when active */
  }

  .db-dashboard-subtitle {
    display: none;
    /* Hide subtitle on mobile */
  }
}

@media (max-width: 480px) {
  .db-dashboard-overview {
    grid-template-columns: 1fr;
  }
}

/*------------------------------------------------------
  FORM RESPONSIVE STYLES
--------------------------------------------------------*/
/* Form responsive adjustments */
@media (max-width: 480px) {
  .container {
    margin-left: 0;
    box-shadow: none;
  }
}

/*------------------------------------------------------
  UTILITY CLASSES RESPONSIVE
--------------------------------------------------------*/
/* Utility Classes Responsive */
@media (max-width: 768px) {
  .hidden-mobile {
    display: none;
  }

  .visible-mobile {
    display: block;
  }
}

/*------------------------------------------------------
  MIN-WIDTH MEDIA QUERIES
--------------------------------------------------------*/
/* Min-width media queries */
@media (min-width: 768px) {
  /* Add any min-width specific styles here */
}

/*------------------------------------------------------
  DASHBOARD ADDITIONAL STYLES
--------------------------------------------------------*/
/* Dashboard Media Queries */
@media (max-width: 992px) {
  .db-stats-container {
    flex-direction: column;
  }

  .db-stat-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .db-main-content {
    margin-left: 0;
    width: 100%;
  }

  .db-sidebar {
    transform: translateX(-100%);
    /* Hide sidebar off-screen */
  }

  .db-sidebar.active {
    transform: translateX(0);
    /* Show sidebar when active */
  }

  .db-dashboard-subtitle {
    display: none;
    /* Hide subtitle on mobile */
  }
}

@media (max-width: 480px) {
  .db-dashboard-overview {
    grid-template-columns: 1fr;
  }
}

/*------------------------------------------------------
  CARD & DIETARY SECTION RESPONSIVE STYLES
--------------------------------------------------------*/
/* Card Media Queries */
@media (max-width: 1024px) {
  .card-wrapper {
    flex: 1 1 calc(50% - 24px);
  }
}

@media (max-width: 768px) {
  .dietary-section {
    padding: 0 32px;
  }

  .card-wrapper {
    flex: 1 1 100%;
  }
}

/*------------------------------------------------------
  ABOUT PAGE ADDITIONAL RESPONSIVE STYLES
--------------------------------------------------------*/
/* About Page Additional Media Queries */
@media (max-width: 768px) {
  .about2 {
    padding: 0 20px;
  }

  .judul-about {
    font-size: 36px;
  }

  .what-is-foodinary {
    font-size: 24px;
  }

  .paragraph {
    font-size: 16px;
    padding: 30px 20px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .judul-about {
    font-size: 28px;
  }

  .what-is-foodinary {
    font-size: 20px;
  }

  .paragraph {
    font-size: 14px;
    padding: 20px 15px;
  }
}

