/* =====================================================
   GOOGLE FONT
===================================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* =====================================================
   GLOBAL RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  color: #111827;
  overflow-x: hidden;
}

/* =====================================================
   NAVBAR (GLASS + GLOW)
===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  border-radius: 10px;
  transition: 0.4s;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* =====================================================
   SLIDER (ZOOM + FADE)
===================================================== */
.slider {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 1.2s ease, transform 7s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.65)
  );
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 16px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dot {
  height: 12px;
  width: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #38bdf8;
  transform: scale(1.3);
}

/* =====================================================
   QUICK NAV (FLOATING BUTTONS)
===================================================== */
.rtl-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.rtl-btn {
  padding: 10px 25px 10px 25px;
  border-radius: 999px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.45s ease;
}

.rtl-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-100%);
  transition: 0.5s;
}

.rtl-btn:hover::before {
  transform: translateX(0);
}

.rtl-btn:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.tiles-btn {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.paints-btn {
  background: linear-gradient(135deg, #9333ea, #6d28d9);
}

.contacts-btn {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* =====================================================
   CATEGORY CARDS (LUXURY)
===================================================== */
.category-nav {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.category-card {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.category-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 1s ease;
}

.category-card:hover img {
  transform: scale(1.15);
}

.category-title {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.75)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

/* =====================================================
   CONTENT SECTIONS
===================================================== */
.tiles-section,
.paints-section {
  padding: 60px 22px;
  text-align: center;
  animation: fadeUp 1.2s ease both;
}

.tiles-section {
  background: linear-gradient(180deg, #eef2ff, #ffffff);
}

.paints-section {
  background: linear-gradient(180deg, #fff7ed, #ffe4e6);
}

.tiles-section h2,
.paints-section h2 {
  font-size: 30px;
  font-weight: 800;
}

.tiles-section h3,
.paints-section h3 {
  margin-top: 10px;
  font-size: 18px;
  color: #2563eb;
}

.tiles-section p,
.paints-section p {
  max-width: 900px;
  margin: 24px auto 0;
  line-height: 1.8;
  color: #374151;
}

/* =====================================================
   BUTTON GROUPS
===================================================== */
.tile-varieties,
.paint-varieties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 35px;
}

.tile-btn,
.paint-btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.45s ease;
}

.tile-btn::after,
.paint-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.4s;
}

.tile-btn:hover::after,
.paint-btn:hover::after {
  transform: scaleX(1);
}

.tile-btn:hover,
.paint-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

/* TILE COLORS */
.floor { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.kitchen { background: linear-gradient(135deg, #64748b, #334155); }
.wall { background: linear-gradient(135deg, #16a34a, #14532d); }
.bathroom { background: linear-gradient(135deg, #a16207, #713f12); }
.ceramic { background: linear-gradient(135deg, #9333ea, #581c87); }
.granite { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.marble { background: linear-gradient(135deg, #0f766e, #134e4a); }
.parking { background: linear-gradient(135deg, #ca8a04, #78350f); }

/* PAINT COLORS */
.interior { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.exterior { background: linear-gradient(135deg, #16a34a, #166534); }
.emulsion { background: linear-gradient(135deg, #9333ea, #6b21a8); }
.distemper { background: linear-gradient(135deg, #f97316, #c2410c); }
.texture { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.wood { background: linear-gradient(135deg, #0f766e, #134e4a); }

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: #020617;
  color: #e5e7eb;
  padding: 50px 22px 25px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.footer-content p{
  line-height: 30px;
}

.footer a {
  color: #38bdf8;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}
.footer-box p i{
  color: rgb(255, 0, 0);
}


/* SOCIAL ICON ROW */
.social-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* PLATFORM COLORS */
.youtube {
  background: #ff0000;
}

.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.facebook {
  background: #1877f2;
}


/* =====================================================
   SIDE MENU
===================================================== */
.side-menu {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  padding: 40px;
  z-index: 2000;
}

.side-menu a {
  font-size: 22px;
  color: white;
  text-decoration: none;
  margin: 16px 0;
}

.close-btn {
  align-self: flex-end;
  font-size: 20px;
  cursor: pointer;
  color: rgb(255, 0, 0);
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }
  .rtl-nav {
  font-size: 12px;
}

  .menu-btn {
    display: block;
  }

  .slider {
    height: 240px;
  }

  .category-card img {
    height: 220px;
  }
}
