.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.6rem;
  min-height: 6rem;

  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--fg);
  font-family: Orbitron, sans-serif;
}

.logo span {
  color: var(--accent);
}

.btn-mobile-nav {
  display: none;
}

.main-nav {
  display: flex;
  gap: 2rem;
  padding: 1.2rem 2.4rem;
}

.main-nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 1.2rem;
}

/* HERO */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background: url("../img/hero-printer.webp") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.9)
  );
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  padding: 3rem;
}

.hero-title {
  font-family: Orbitron, sans-serif;
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  margin-bottom: 1.6rem;
}

.hero-subtitle {
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  margin-bottom: 3rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* PRODUCTS */
.products {
  padding: 3.6rem;
  border-radius: var(--radius);
  max-width: 1100px;
  margin: 0 auto;
}

.featured-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.product-grid {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap: 3rem;
  margin-top: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 360px;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
}

.product-card .btn-card {
  margin-top: auto;
  align-self: flex-start;
}

.product-cta {
  margin-top: auto;
}

.product-card p {
  margin-top: 0.4rem;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.product-card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.4rem;
}

.product-cta {
  display: block;
  margin: 3.2rem auto 0 auto;
  text-align: center;
}

/* ABOUT SECTION */
.about {
  padding: 6rem 2rem;
  position: relative;
}

/* layout */
.about-container {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

/* ================= TEXT PANEL ================= */
.about-content {
  padding: 2rem;
  border-radius: var(--radius);

  background: rgba(20, 20, 25, 0.5);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  text-align: left;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-title {
  font-family: Orbitron, sans-serif;
  font-size: clamp(2.6rem, 3.5vw, 3.6rem);
  margin-bottom: 2rem;
  color: var(--accent);
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.89rem;
}

/* CTA */
.about-cta {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 1rem 2rem;

  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;

  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #000;
  border-radius: var(--radius);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* ================= IMAGE PANEL ================= */
.about-image {
  position: relative;
  overflow: hidden;
  height: 100%;

  border-radius: var(--radius);
  aspect-ratio: 3/4;
  background: rgba(20, 20, 25, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.9s ease;
}

/* dark tech overlay */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.6)
  );
  pointer-events: none;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* ================= CONTACT SECTION ================= */
.contact {
  padding: 8rem 2rem;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(76, 201, 240, 0.08),
    transparent 60%
  );
  pointer-events: none;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  align-items: stretch;
}

/* ================= PANELS ================= */
.contact-panel {
  padding: 3.6rem;
  border-radius: var(--radius);

  background: rgba(20, 20, 25, 0.5);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  position: relative;
  overflow: hidden;
}

/* subtle top accent line */
.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.7;
}

/* ================= TITLES ================= */
.contact .section-title {
  margin-bottom: 2.4rem;
  font-family: Orbitron, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--accent);
  text-align: left;
}

/* ================= FORM ================= */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.4rem;
  margin-bottom: 1.8rem;

  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);

  color: var(--fg);
  font-size: 1.2rem;

  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.2);
}

/* submit button */
.contact-form .btn {
  margin-top: 1rem;
  width: 100%;
  padding: 1.4rem 2rem;

  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;

  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #000;
  border: none;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

/* ================= CONTACT INFO ================= */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel .contact-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* ================= INFO LIST ================= */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 1.4rem;

  font-size: 1.2rem;
  margin-bottom: 1.6rem;
  color: var(--fg);
}

.contact-info i {
  font-size: 1.2rem;
  color: var(--accent);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--muted);
}

/* PRODUCTS PAGE HEADER */
.products-header {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-subtitle {
  color: var(--muted);
  margin-top: 1rem;
}

/* FILTER BAR */
.products-filters {
  max-width: 1100px;
  margin: 2rem auto;

  display: flex;
  gap: 1.6rem;
  justify-content: center;
}

.products-filters input,
.products-filters select {
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fg);
  font-size: 1.2rem;
}

.products-filters input {
  flex: 1;
  max-width: 320px;
}

.products-filters select {
  min-width: 200px;
  color: white;
  background-color: rgba(20, 20, 25, 0.9);
}

.products-filters option {
  color: black; /* VAŽNO */
  background-color: white; /* ili rgb(20,20,25) ako želiš dark */
}

.products-page {
  max-width: 1440px;
  margin: 3rem auto;
}

/* BREADCRUMB */
.breadcrumb {
  max-width: 1100px;
  margin: 2rem auto;
  font-size: 1.2rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--fg);
  text-decoration: none;
}

/* PRODUCT DETAIL */
.product-detail {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.product-gallery img {
  width: 100%;
  border-radius: var(--radius);
}

.product-title {
  font-family: Orbitron, sans-serif;
  font-size: 3rem;
  margin-bottom: 1.6rem;
}

.product-short-desc {
  color: var(--muted);
  margin-bottom: 2rem;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin-bottom: 2.4rem;
}

.product-specs li {
  margin-bottom: 0.6rem;
}

/* DESCRIPTION */
.product-description {
  max-width: 1100px;
  margin: 5rem auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.buy-box {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 280px;
}

.buy-label {
  font-size: 1.1rem;
  color: var(--muted);
}

.buy-select {
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(20, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--fg);
  font-size: 1.2rem;
}

.buy-select option {
  background: #fff;
  color: #000;
}

.buy-btn {
  width: 100%;
  text-align: center;
}

.buy-note {
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.product-details {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 3.2rem;

  border-radius: var(--radius);
  background: rgba(20, 20, 25, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.product-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.2rem;
  margin-top: 2.4rem;
}

.product-details-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.product-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-details-list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1.4rem;
  font-size: 1.15rem;
  color: var(--fg);
}

.product-details-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .product-details {
    padding: 2.4rem;
  }

  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

/* ================= PRODUCTS FILTERS – MOBILE ================= */
@media (max-width: 768px) {
  .products-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;

    padding: 1.6rem;
    margin: 1.6rem;
  }

  .products-filters input,
  .products-filters select {
    width: 100%;
    max-width: none;

    padding: 1.2rem 1.4rem;
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .buy-box {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
  }

  .buy-box .buy-select,
  .buy-box .buy-btn {
    width: 100%;
  }

  .product-main-page {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
}

/* ================= PRODUCT IMAGE SLIDER ================= */

.product-gallery.slider {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
}

.product-gallery .slides {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.product-gallery .slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* controls container */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

/* arrows */
.slider-btn {
  background: rgba(20, 20, 25, 0.8);
  color: var(--fg);
  border: none;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--accent);
  color: #000;
}

/* dots */
.slider-dots {
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* mobile tuning */
@media (max-width: 768px) {
  .slider-controls {
    justify-content: center;
    gap: 2rem;
  }
}
