/* ============================ */
/* ======= LOADING ANIMATION ======= */
/* ============================ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #004a8f;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================ */
/* ======= CUSTOM HEADER ======= */
/* ============================ */
.custom-header {
  background-color: #f0f0f0;
  padding: 10px 20px;
  min-height: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.header-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo {
  height: 80px;
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 15px;
}

.tel {
  font-size: 18px;
  font-weight: bold;
  padding: 8px 15px;
  background-color: #e0e0e0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.tel::before {
  content: "";
  background-image: url("../icons/phone-iconnew.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.links {
  display: flex;
  justify-content: flex-start;
}

.links a {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  text-decoration: none;
  color: #333;
}

.links .link-icon {
  height: 20px;
  margin-right: 5px;
}

.email-inquiry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.email-hours-container {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: flex-start; /* Align items to the left */
}

.email-button {
  background-color: red;
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  white-space: nowrap;
}

.email-button::before {
  content: "";
  background-image: url("../icons/email-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.operating-hours {
  font-size: 14px;
  text-align: left;
  margin-top: 5px; /* Add a small space between email and hours */
}
/* ============================ */
/* ======= NAVIGATION BAR ======= */
/* ============================ */
#nav {
  background: linear-gradient(to bottom, #6b86c4, #2a3f6b);
  padding: 15px 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #1a2a4b;
}

.globalMenuSp ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.globalMenuSp ul li {
  margin: 0 20px;
  position: relative;
}

.globalMenuSp ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.globalMenuSp ul li a:hover {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.globalMenuSp ul li::after {
  content: "|";
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.globalMenuSp ul li:last-child::after {
  content: "";
}

/* ============================ */
/* ======= SLIDESHOW ======= */
/* ============================ */
.slideshow {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0 15px;
  cursor: pointer;
  transform: translateY(-50%);
  user-select: none;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}
/* ============================ */
/* ======= MAIN CONTENT ======= */
/* ============================ */
.main-content {
  padding: 20px;
  text-align: center;
}

.main-content h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 10px;
  margin-top: 20px;
}

.main-content p {
  font-size: 12px;
  color: #666;
}

/* ============================ */
/* ======= SEARCH FILTER ======= */
/* ============================ */
.search-filter {
  background: #f9f9f9;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-filter h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.inventory-count {
  flex: 1;
  text-align: center;
  background: #004a8f;
  color: white;
  padding: 10px;
  border-radius: 4px;
}

.inventory-count span {
  display: block;
  font-size: 14px;
}

.inventory-count strong {
  font-size: 24px;
}

.filter-options {
  flex: 3;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #555;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.search-button {
  flex: 1;
  text-align: center;
}

.search-button button {
  background: linear-gradient(to right, #004a8f, #0066cc);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-button button:hover {
  background: linear-gradient(to right, #0066cc, #004a8f);
}

.beliatta-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 240px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

.footer-left address {
  font-style: normal;
  line-height: 1.8;
}

.footer-left a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-links {
  columns: 2;
  padding-left: 0;
  list-style: none;
  line-height: 1.8;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
}

.footer-links li a:hover {
  text-decoration: underline;
}

.footer-phone-label {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-phone {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-mail-btn {
  display: inline-block;
  background-color: #e60023;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-mail-btn img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.footer-mail-btn:hover {
  background-color: #cc001f;
}

.line-box {
  margin-top: 10px;
}

.line-banner {
  width: 100%;
  max-width: 280px;
  border: 2px solid #00b900;
  border-radius: 4px;
}

/* ============================ */
/* ======= BACK-TO-TOP BUTTON ======= */
/* ============================ */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #004a8f;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s ease;
}

#back-to-top:hover {
  background: #0066cc;
}

/* ============================ */
/* ======= FEEDBACK FORM ======= */
/* ============================ */
.feedback-form {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.feedback-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
}

.feedback-form button {
  background: #004a8f;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.feedback-form button:hover {
  background: #0066cc;
}

/* === FOOTER STYLES === */
.beliatta-footer {
  background: linear-gradient(
    to bottom,
    #eeeeee,
    #dddddd
  ); /* Light grey gradient */
  padding: 30px 0;
  color: #000;
  font-size: 14px;
  /* box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);  */
}

/* Layout */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

/* Divider Lines */
.footer-center {
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
  padding: 0 20px;
}

/* Footer Logo */
.footer-logo {
  max-width: 180px;
  margin-bottom: 10px;
}

/* === Footer Links - Charcoal Edition === */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #000 !important; /* Burnt black garlic */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #000 !important; /* Still black, just spicy */
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.2); /* Smoky crisp */
  transform: translateX(2px);
}

.footer-links li a::after {
  content: "✅";
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-left: 5px;
}

.footer-links li a:hover::after {
  opacity: 1;
}

/* === LINE QR Section - Slightly Bigger === */
.line-box {
  border: 2px solid #25c125;
  padding: 10px;
  border-radius: 10px;
  background: #f9f9f9;
  max-width: 230px;
  margin-top: 15px;
}

.line-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* === Contact Email Button with Blue Gradient === */
.footer-mail-btn {
  background: linear-gradient(to right, #00aaff, #0057d8); /* blue gradient */
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  margin-top: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 87, 216, 0.3);
}

.footer-mail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 87, 216, 0.4);
}

/* Icon (Optional spice) */
.link-icon {
  width: 12px;
  margin-right: 6px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-links a:hover .link-icon {
  opacity: 1;
}

/* Responsive Garnish */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  .footer-center {
    border: none;
    padding: 0;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-links li {
    width: 45%;
  }
  .footer-mail-btn {
    width: 100%;
    justify-content: center;
  }
  .line-box {
    margin: auto;
  }
}

/* === Footer Left Section: Styled Info Block === */
.footer-left {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  padding-right: 20px;
}

.footer-left address {
  font-style: normal;
  margin-top: 10px;
}

.footer-left p {
  margin: 4px 0;
  font-weight: 500;
}

.footer-left p:first-child {
  font-weight: bold;
  font-size: 16px;
}

.footer-left .footer-logo {
  margin-bottom: 15px;
  max-width: 180px;
  transition: transform 0.3s ease;
}

.footer-left .footer-logo:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* === Email Style Enhancement === */
.footer-left a {
  color: #f0b400; /* Spicy golden yellow */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer-left a:hover {
  color: #ff8800;
  text-shadow: 0 0 6px rgba(255, 136, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-center {
    border: none;
    padding: 20px 0;
  }
  .footer-right {
    margin-top: 20px;
  }
}

/* Adjust styles for screens smaller than 768px (adjust as needed) */
@media (max-width: 768px) {
  .custom-header .container,
  #nav ul {
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align items to the start */
  }

  .custom-header .header-left,
  .custom-header .header-right {
    width: 100%; /* Make them full-width */
    text-align: center; /* Center text */
  }

  .custom-header .contact-info,
  .custom-header .email-hours-container {
    flex-direction: column; /* Stack contact info vertically */
    align-items: center; /* Center contact info */
  }

  #nav ul li {
    width: 100%; /* Make nav items full-width */
    text-align: center; /* Center nav items */
  }

  /* Adjust font sizes and other styles as needed */
  .custom-header .tel,
  .custom-header .operating-hours {
    font-size: 0.8em; /* Reduce font size */
  }
}
