body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  z-index: 1000;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: #000000;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-links a:hover {
  color: red;
}

/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: red;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================= BUTTONS ================= */
.btn {
  background: red;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: red;
  transition: 0.3s;
}

.btn.primary:hover {
  background: darkred;
  transform: scale(1.05);
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 80px;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') center/cover;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 650px;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  opacity: 0.85;
}

.hero span {
  color: red;
}

/* HERO ANIMATION */
@keyframes fadeUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ================= STATS ================= */
.stats {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 12px;
  min-width: 150px;
  transition: 0.3s;
}

.stat-box:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
}

.stat-box h3 {
  margin: 0;
  font-size: 28px;
}

.stat-box span {
  font-size: 13px;
  opacity: 0.8;
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px;
  opacity: 0;
  transform: translateY(50px);
  transition: 0.8s;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= ABOUT ================= */
.about-container {
  display: flex;
  gap: 30px;
}

.about img {
  width: 400px;
}

/* ================= CARDS ================= */
.cards {
  display: flex;
  gap: 20px;
}

.card {
  background: #eee;
  padding: 20px;
  flex: 1;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ================= GALLERY ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  transition: 0.4s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ================= FORM ================= */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
}

/* ================= FOOTER ================= */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ================= LANGUAGE BUTTONS ================= */
.lang-switch {
  display: flex;
  gap: 5px;
 
  position: absolute;
  left: 20px;
}

.lang-switch button {
  border: 1px solid #ccc;
  background: white;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
  
  
}

.lang-switch button:hover {
  background: red;
  color: white;
  border-color: red;
  
}


/* DARK OVERLAY (IMPORTANT) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* TEXT FIX */
.hero h1 {
  font-size: 54px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* STATS CLEAN */
.stats {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-box {
  background: rgba(255,255,255,0.1);
  padding: 15px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}


/* =========================
   PRODUCTS WRAPPER
========================= */
.products {
  padding: 100px 60px;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top left, #1e293b, #0b1220);
  color: white;
}

/* TITLE */
.products h1 {
  font-size: 42px;
  margin-bottom: 30px;
}

/* =========================
   CATEGORY BUTTONS
========================= */
.product-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.product-tabs button {
  padding: 12px 18px;
  border: none;
  cursor: pointer;
  background: white;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.product-tabs button:hover {
  background: #e60023;
  color: white;
  transform: translateY(-3px);
}

/* =========================
   PRODUCT GRID (FIXED)
========================= */
.product-group {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  align-items: stretch;
}

.product-group.active {
  display: grid;
  
}
/* =========================
   PRODUCT CARD (CLEAN)
========================= */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 15px;
  background: #111;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* IMAGE FIX */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

/* zoom vetëm pak, jo agresiv */
.product-card:hover img {
  transform: scale(1.03);
}

/* OVERLAY */
.product-card::after {
  content: "View";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
  font-size: 20px;
  pointer-events: none; /* 🔥 IMPORTANT FIX */
}

.product-card:hover::after {
  opacity: 1;
}

/* BADGE */
.product-card::before {
  content: "NEW";
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
}

/* =========================
   MODAL (FULL FIX)
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modal-content {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: red;
  transform: scale(1.2);
}

/* ANIMATION */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* BUTTON */
.btn:hover {
  transform: scale(1.05);
  background: darkred;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-group.active {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-group.active {
    grid-template-columns: 1fr;
  }
}
.product-tabs button {
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  background: white;
  border-radius: 8px;
}
.back-home {
  display: inline-block;
  margin-bottom: 30px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-home:hover {
  transform: translateY(-3px) scale(1.05);
  background: darkred;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.builder {
  display: flex;
  height: 100vh;
}

/* LEFT PANEL */
.controls {
  width: 300px;
  padding: 20px;
  background: #111827;
}

.controls button {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

/* PREVIEW */
.preview {
  flex: 1;
  position: relative;
  background: url("room-base.jpg") center/cover;
}

/* LAYERS */
.preview img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* layering order */
#tiles { z-index: 1; }
#cabinet { z-index: 2; }
#sink { z-index: 3; }