/* Smooth anchor scrolling */
html {
  scroll-behavior: smooth;
}

/* Fsheh scrollbar në të gjithë faqen */
html,
body {
  -ms-overflow-style: none; /* IE dhe Edge */
  scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Reset i thjeshtë */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body,
html {
  height: 100%;
  font-family: Arial, sans-serif;
  background: #fafafa;
  color: #111;
}

/* HERO - më i madh */
.hero {
  position: relative;
  width: 100%;
  /* bëjmë hero më i madh se 100vh për efekt "majestik" */
  min-height: 105vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: url("images/banner.jpg") center/cover no-repeat;
}

/* Blur overlay për sfond më të theksuar */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 60%
  );
  z-index: 1;
}

/* Përmbajtja qendrore (bigger + glassmorphism) */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3.2rem 18.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  min-width: 320px;

}

.hero-logo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.7);
  margin: 0 auto 1.2rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem); /* responsive */
  margin-bottom: 0.6rem;
  color: #fff;
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  max-width: 900px;
  margin: 0.4rem auto 0;
}

/* Reklamë e madhe më e dukshme */
.ad-banner {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 90, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  padding: 1.05rem 2.2rem;
  border-radius: 16px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  white-space: nowrap;
}

/* Kontejneri i shigjetave (arrow) - më i madh dhe me animacion më i butë */
.scroll-down {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  padding: 6px;
  border-radius: 10px;
}

/* Hover / focus për aksesueshmëri (ndryshim ngjyre i butë) */
.scroll-down:focus-visible,
.scroll-down:hover {
  outline: none;
}
.scroll-down:focus-visible .chev,
.scroll-down:hover .chev {
  border-color: #9e2a07;
}

/* Kur targeti ankorohet, pak marginë për të mos e ngjitur tek maja e faqes */
#next-section {
  scroll-margin-top: 36px;
}

/* Seksioni poshtë (target) */
#next-section {
  min-height: 80vh;
  padding: 6rem 1.25rem;
  background: #fff;
  color: #111;
  display: flex;
  align-items: flex-start;
}
#next-section .container {
  max-width: 1100px;
  margin: 0 auto;
}
#next-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}



/* Respekt për përdorues me preferencë për lëvizje të reduktuar */
@media (prefers-reduced-motion: reduce) {
  .chev {
    animation: none;
    opacity: 1;
    transform: rotate(45deg) translateY(0);
  }
}

.lang {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 52px;
  z-index: 4;
}

.lang-left {
  left: 40px;
}

.lang-right {
  right: 40px;
}

.lang button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.lang button:hover {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.2);
}

.lang img {
  width: 50px;
  height: 32px;
  object-fit: cover;
  border-radius: 3px;
}

.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  cursor: pointer;
}

.arrow-svg {
  stroke: rgba(219, 7, 7, 0.85);
  stroke-width: 4;
  fill: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.arrow {
  opacity: 0;
  animation: arrowMove 2s infinite;
}

.arrow1 {
  animation-delay: 0s;
}

.arrow2 {
  animation-delay: 0.25s;
}

.arrow3 {
  animation-delay: 0.5s;
}

@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* KATEGORITE */
/* Sekcioni i kategorive */
#categories {
  padding: 2rem 3%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.1)
  );
  backdrop-filter: blur(12px);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 98%;
}

/* Grid me 6 kolona në desktop */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 kartela horizontalisht */
  gap: 3rem;
  justify-items: center; /* qendërso kartelat brenda kolonave */
}

/* Kartelat e kategorive me overlay për emrin */
.category-card {
  position: relative;
  width: 100%;
  max-width: 220px; /* madhësia maksimale e çdo kartelë */
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.category-card:hover {
  transform: scale(1.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Foto e kategorisë mbulon të gjithë kartelën */
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Overlay me glassmorphism për emrin e kategorisë */
.category-card h3 {
  position: absolute;
  bottom: 20px; /* gjithmonë 20px nga fundi */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  margin: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  color: #fff; /* ngjyra bazë */
  font-size: 1.3rem;
  letter-spacing: 1px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.162); /* glassmorphism bazë */
  backdrop-filter: blur(6px);
  transition: all 0.3s ease; /* smooth transition */
  opacity: 1; /* gjithmonë i dukshëm */
}

/* Glow efekt mbi tekst kur hover */
.category-card:hover h3 {
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(219, 7, 7, 0.6),
    0 0 30px rgba(219, 7, 7, 0.4);
}

/* Responsive për tableta */
@media (max-width: 1280px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 kartela në rresht */
  }
}




/* Kur një kategori është zgjedhur */
.category-card.selected {
  transform: scale(1.15); /* pak më i madh se hover */
  box-shadow: 0 0 20px 5px rgba(234, 193, 9, 0.725); /* vija e e ndritshme */
  border: 2px solid rgba(219, 212, 7, 0.8); /* rrethimi i  */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border 0.3s ease;
}

/* KONTEJNERI I PRODUKTEVE */
#products-container {
  display: grid;
  gap: 3.9rem;
  padding: 2rem 3%;
  justify-items: center;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* default grid fleksibël */
}

/* Desktop: 3 kolona */
@media (min-width: 721px) and (max-width: 1919px) {
  #products-container {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* KARTELA E PRODUKTIT */
.product-card {
  position: relative;
  width: 100%;
  max-width: 400px; /* madhësia maksimale për desktop */
  border-radius: 25px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  background: #a31b1a; /* luxury red glass */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover efekt i produktit */
.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

/* VIDEO E PRODUKTIT */
.product-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* INFO E PRODUKTIT (EMRI + ÇMIMI) */ /* INFO E PRODUKTIT (EMRI + ÇMIMI NË NJË RRESHT) */
.product-info {
  position: relative; /* nuk na duhet absolute më */
  bottom: auto;
  left: auto;
  transform: none;
  display: flex;
  justify-content: space-between; /* emri majtas, çmimi djathtas */
  align-items: center;
  width: 90%;
  margin: 0.8rem auto 0 auto;
  padding: 0.8rem 1rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0); /* glass overlay */
  backdrop-filter: blur(8px);
  text-align: left;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* EMRI */
.product-info h4 {
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin: 0;
}

/* ÇMIMI */
.product-info span {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffd700; /* gold highlight */
}







/* MODAL BACKGROUND */
#product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

/* modal active */
#product-modal.active {
  opacity: 1;
  visibility: visible;
}

/* MODAL CARD */
.modal-content {
  width: 820px;

  border-radius: 30px;
  overflow: hidden;
  background: #b2201f;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  transform: scale(0.8);
  transition: 0.3s ease;
}

/* animacion zoom */
#product-modal.active .modal-content {
  transform: scale(1);
}

/* VIDEO */
.modal-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* INFO */
.modal-info {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  color: white;
}

/* PRICE */
.modal-info span {
  color: gold;
  font-weight: bold;
}

#product-modal {
  z-index: 9999;
}

/* CLOSE BUTTON */
.close-modal {
    z-index: 10000;
  position: absolute;
  top: 15px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.close-modal:hover {
  background: #000;
  transform: scale(1.1);
}

.hidden {
  display: none;
}

/* BLUR PRODUKTEVE KUR MODAL HAPET */
#products.blur {
  filter: blur(6px);
}

/* FOOTER */
.footer-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.8rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.06); /* glass */
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  text-align: center;
  height: 100px;
}

.footer-center:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.footer-center p {
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #ff4e50,
    0 0 15px #f9d423,
    0 0 20px #24c6dc;
}

/* Butoni Login */
.login-btn {
  padding: 8px 20px;

  border: none;

  border-radius: 6px;

  font-weight: 600;

  cursor: pointer;

  color: white;

  background: linear-gradient(45deg, #0033cc, #cc0000, gold);

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);

  transition: 0.3s;
}

.login-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}


/* GPU Smooth scroll */
.products-grid {
  transform: translateZ(0);
  will-change: transform;
}

.product-card {
  will-change: transform;
}

video {
  will-change: transform;
}
