@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0; 
}

:root {
  --font-primary: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  padding-right: 0 !important;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
}

.hero-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  color: white;
  font-family: var(--font-primary);
}

#heroSectionImgDiv {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.hero-lead {
  font-weight: 700;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  transition: all 0.3s ease;
}

.scroll-down:hover {
  color: #ffc107;
  transform: translateX(-50%) translateY(10px);
}

.section-title {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #ffc107;
}

[data-animation] {
  opacity: 0;
}

.animate__animated {
  --animate-duration: 1s;
}

.product-card {
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

html {
  scroll-behavior: smooth;
}

.logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.product-card img {
  height: 200px;
  object-fit: cover;
}

.navbar {
  transition: transform 0.3s ease-in-out;
  background-color: rgba(0, 0, 0, 0.1);
  font-family: var(--font-primary);
  font-weight: 500;
}

.navbar .nav-link {
  color: white !important;
  font-size: 18px;
  margin: 0 20px;
}

.navbar .nav-link:hover {
  color: #ffc107 !important;
  transition: 0.3s ease;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 2px;
}

.navbar.hide {
  transform: translateY(-100%);
}

.navbar:hover {
  transform: translateY(0);
}

.lead {
  font-size: 16px !important;
  font-weight: 300;
}

.about-us-header {
  font-weight: 600;
}

.about-us-text {
  font-weight: 400;
}

.proccess-header {
  font-weight: 500;
}

.process-title {
  font-weight: 600;
}

#scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  display: none;
  z-index: 99;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

#scroll-to-top:hover {
  opacity: 1;
}

#cookie-settings-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  display: block;
  z-index: 99998;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
  background: #ffc107;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  pointer-events: auto;
}

#cookie-settings-btn:hover {
  opacity: 1;
  background: #ffb300;
}

#cookie-settings-btn.hidden {
  display: none;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23222' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath d='M15 18l-6-6 6-6'%3e%3c/path%3e%3c/svg%3e") !important;
  width: 30px;
  height: 30px;
  opacity: 0.8;
  transition: all 0.3s ease;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.2));
  backdrop-filter: blur(2px);
  border-radius: 50%;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23222' stroke-width='2' viewBox='0 0 24 24'%3e%3cpath d='M9 18l6-6-6-6'%3e%3c/path%3e%3c/svg%3e") !important;
  width: 30px;
  height: 30px;
  opacity: 0.8;
  transition: all 0.3s ease;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.2));
  backdrop-filter: blur(2px);
  border-radius: 50%;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  opacity: 1;
  transform: scale(1.1);
}

.carousel-indicators {
  width: 100% !important;
  height: 75px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.carousel-indicators img {
  width: 75px !important;
  height: 75px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.carousel-indicators button {
  width: 75px !important;
  height: 75x !important;
  padding: 0 !important;
  margin: 0 !important;
  background-size: cover !important;
  border: none !important;
}

.product-grid-img {
  width: 225px;
  height: 225px;
  object-fit: cover;
  object-position: center;
}

.product-grid-item {
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.product-grid-item:hover {
  transform: translateY(-10px);
}

.product-item {
  position: relative;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  text-align: center;
  padding: 1rem;
}

.product-item:hover .product-overlay {
  opacity: 1;
}

.product-overlay h5 {
  margin-bottom: 0.5rem;
  color: #ffc107;
}

.product-overlay p {
  margin: 0;
  font-size: 0.9rem;
}

.product-item img {
  max-width: 100% !important;
  max-height: 100% !important;
  place-self: center !important;
  object-fit: contain;
}

.custom-header,
.modal-header {
  background: linear-gradient(135deg, #004080, #0077b6);
  color: white !important;
  font-weight: bold;
  text-align: center;
  padding: 15px;
  text-transform: uppercase;
  border-bottom: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px 10px 0 0;
}

.custom-hr {
  border: none;
  height: 2px;
  background-color: var(--bs-warning);
  opacity: 1;
}

td {
  align-content: center !important;
  white-space: nowrap !important;
  text-align: center !important;
  padding: 3px !important;
}

th {
  align-content: center !important;
  white-space: nowrap !important;
  text-align: center !important;
  padding: 3px !important;
}

#Xbutton:hover {
  background-color: orange !important;
  transform: scale(1.2) !important;
}

.col-md-8 {
  font-size: 14px !important;
}

.selected {
  background-color: orange !important;
}

.modal.show {
  padding-right: 0 !important;
}

.modal-body {
  max-height: 80vh;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-body::-webkit-scrollbar {
  display: none;
}

.ga:hover {
  color: white !important;
  background-color: black !important;
}

.swiperButtons {
  background: #f7f7f7 !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  transition: all 0.5s ease;
}

.iti {
  width: 100%;
}

.gauge-container {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin: 10px auto;
  max-width: 200px;
}

.gauge-bar {
  width: 0%;
  height: 100%;
  background-color: #ffc107;
  transition: width 2s ease-out;
}

.xqc:nth-child(1).active {
  color: white !important;
  background-color: slategray !important;
  transition: 0.3s ease;
  border: none;
}

.xqc:nth-child(2).active {
  color: white !important;
  background-color: #4682b4 !important;
  transition: 0.3s ease;
  border: none;
}

.xqc:nth-child(3).active {
  color: white !important;
  background-color: #5f9ea0 !important;
  transition: 0.3s ease;
  border: none;
}

.xqc:nth-child(4).active {
  color: white !important;
  background-color: #6a5acd !important;
  transition: 0.3s ease;
  border: none;
}

.xqc:nth-child(5).active {
  color: white !important;
  background-color: green !important;
  transition: 0.3s ease;
  border: none;
}

.xqc:nth-child(1):hover {
  color: white !important;
  background-color: slategray !important;
  transition: 0.3s ease;
}

.xqc:nth-child(2):hover {
  color: white !important;
  background-color: #4682b4 !important;
  transition: 0.3s ease;
}

.xqc:nth-child(3):hover {
  color: white !important;
  background-color: #5f9ea0 !important;
  transition: 0.3s ease;
}

.xqc:nth-child(4):hover {
  color: white !important;
  background-color: #6a5acd !important;
  transition: 0.3s ease;
}

.xqc:nth-child(5):hover {
  color: white !important;
  background-color: green !important;
  transition: 0.3s ease;
}

.modal-xl {
  --bs-modal-width: 1300px !important;
}

.page-curl-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 70px;
  width: 300px;
  height: 106px;
  overflow: hidden;
  z-index: 1030;
}

.curl-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 106px 106px 0;
  border-color: #fff;
  transition: all 0.3s;
  z-index: 1031;
  position: absolute;
  top: 0px;
  right: 0px;
  height: 106px;
  width: 180px;
  color: white;
  z-index: 1032;
}

.curl-icon:hover {
  border-width: 0 300px 106px 0;
}

#smakLogo {
  width: 90px;
  height: 55px;
  position: relative;
  top: 25px;
  left: 8px;
}

.opacity-30 {
  --bs-bg-opacity: 0.4 !important;
}

.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 100000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-primary);
  pointer-events: none;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-popup.hide {
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}

.cookie-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.cookie-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 16px;
  color: white;
}

.cookie-title {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.cookie-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.cookie-options {
  margin-bottom: 20px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-title {
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.cookie-option-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  margin-left: 16px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-color: #3b82f6;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.cookie-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cookie-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 480px) {
  .cookie-popup {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 16px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cookie-toggle {
    margin-left: 0;
  }
}
