/* ============================================================
   WOSKEY  style.css  — final version
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:      #F5C518;
  --yellow-dark: #E0A800;
  --orange:      #FF8C00;
  --black:       #111111;
  --white:       #ffffff;
  --gray-light:  #f5f5f0;
  --text-dark:   #1a1a1a;
  --text-gray:   #666666;
  --card-radius: 20px;
  --anim-dur:    1.2s;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 64px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.nav-logo { display: flex; align-items: center; }

/* Logo rasm yuklansa */
.logo-img { height: 36px; object-fit: contain; }

/* Logo matn — Woskey belgisi va nomi */
.logo-text {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--black);
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-mark-tri {
  color: var(--yellow);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}
.logo-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.5px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--orange); }

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--gray-light);
  border-radius: 40px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 5px 14px;
  border: none;
  background: transparent;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-gray);
  transition: all 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.lang-btn.active { background: var(--black); color: var(--white); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 60px 60px;
  position: relative;
  background: linear-gradient(135deg, #fffef5 0%, #fff9e0 30%, #fff 60%, #f8f8ff 100%);
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 600px; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 28px;
  animation: fadeInUp var(--anim-dur) ease both;
  animation-delay: .1s;
}
.hero-title {
  font-size: clamp(36px,5vw,58px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
  animation: fadeInUp var(--anim-dur) ease both;
  animation-delay: .2s;
}
.hero-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
  font-family: 'Inter', sans-serif;
  animation: fadeInUp var(--anim-dur) ease both;
  animation-delay: .3s;
}
.btn-katalog {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all .3s;
  animation: fadeInUp var(--anim-dur) ease both;
  animation-delay: .4s;
}
.btn-katalog:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245,197,24,.4);
}

/* Hero product */
.hero-image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: fadeInRight var(--anim-dur) ease both;
  animation-delay: .3s;
}
.hero-product-3d {
  width: 320px; height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.15));
}
.hero-product-3d.anim-3d { animation: float3D 4s ease-in-out infinite; }
.hero-prod-img { width: 280px; height: 280px; object-fit: contain; }

/* Placeholder bucket */
.hero-placeholder-bucket {
  width: 220px; height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bucket-handle {
  width: 110px; height: 36px;
  border-top: 7px solid #bbb;
  border-left: 4px solid #bbb;
  border-right: 4px solid #bbb;
  border-radius: 50% 50% 0 0;
  margin-bottom: -4px;
}
.bucket-body {
  width: 180px; height: 160px;
  background: linear-gradient(145deg,#fff 0%,#f0f0f0 100%);
  border: 2px solid #ddd;
  border-radius: 8px 8px 16px 16px;
  clip-path: polygon(5% 0%,95% 0%,100% 100%,0% 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.bucket-body::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0; height:50%;
  background: linear-gradient(180deg,var(--yellow) 0%,var(--orange) 100%);
}
.bucket-label {
  position:relative; z-index:2;
  text-align:center; color:#fff;
  margin-top:36px;
}
.bname { display:block; font-weight:900; font-size:16px; }
.btype { display:block; font-size:9px; opacity:.9; margin-top:2px; }

/* ── PRODUCTS SECTION ────────────────────────────────────────── */
.products-section {
  padding: 60px 60px 80px;
  background: #fafaf8;
  min-height: 60vh;
}
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid #ddd;
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all .25s;
  font-family: 'Montserrat', sans-serif;
}
.filter-tab:hover { border-color: var(--yellow); }
.filter-tab.active { background: var(--black); border-color: var(--black); color: white; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Product card */
.product-card {
  background: white;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
/* Hover — 3D yoqilmagan holda oddiy ko'tarilish */
.product-card:not([data-anim3d="1"]):hover {
  transform: translateY(-8px);
}

.product-image-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: linear-gradient(135deg,#f8f8f4 0%,#fff 100%);
  position: relative;
  overflow: hidden;
}
.product-image-wrap::before {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(circle at center,rgba(245,197,24,.07) 0%,transparent 70%);
}
.product-img {
  max-width: 160px; max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.1));
  position: relative; z-index: 1;
  transition: transform var(--anim-dur) ease;
}
.product-card:not([data-anim3d="1"]):hover .product-img {
  transform: scale(1.08) translateY(-5px);
}

/* Placeholder can */
.product-img-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
}
.placeholder-can { width:110px; height:110px; display:flex; align-items:center; justify-content:center; }
.can-body {
  width:80px; height:80px;
  background: linear-gradient(145deg,#fff 30%,var(--yellow) 100%);
  border-radius:8px;
  border:2px solid #e8e0c0;
  display:flex; align-items:center; justify-content:center;
  clip-path: polygon(5% 0%,95% 0%,100% 100%,0% 100%);
}
.can-body span { font-size:8px; font-weight:900; color:var(--black); text-align:center; }

.product-info { padding: 20px 24px 24px; border-top: 1px solid #f0f0ea; }
.product-category {
  display: inline-block;
  background: linear-gradient(135deg,var(--yellow) 0%,var(--orange) 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.product-name { font-size: 18px; font-weight: 700; color: var(--black); line-height: 1.3; }
.product-price { margin-top: 8px; font-size: 16px; font-weight: 800; color: var(--orange); }
.no-products {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px;
  color: var(--text-gray);
  font-size: 18px;
}

/* ── SOCIAL SECTION ──────────────────────────────────────────── */
.social-section { padding: 80px 60px; text-align: center; background: #f8f8f5; }
.social-title { font-size: 36px; font-weight: 800; color: var(--black); margin-bottom: 12px; }
.social-underline {
  width: 60px; height: 3px;
  background: linear-gradient(90deg,var(--yellow),var(--orange));
  margin: 0 auto 48px;
  border-radius: 2px;
}
.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform .3s ease;
}
.social-btn:hover { transform: translateY(-10px); }

/* Ikonka bloki */
.social-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.social-icon svg { width: 28px; height: 28px; }
.social-btn span { font-size: 13px; font-weight: 600; }

/* Har bir tarmoq uchun o'z rangi */
.social-telegram .social-icon {
  background: #E8F4FD;
  color: #0088CC;
  border-color: #BDE0F6;
}
.social-telegram:hover .social-icon {
  background: #0088CC;
  color: white;
  border-color: #0088CC;
  box-shadow: 0 12px 28px rgba(0,136,204,.35);
}

.social-instagram .social-icon {
  background: #FDF0F7;
  color: #E1306C;
  border-color: #F7C5DC;
}
.social-instagram:hover .social-icon {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: white;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(225,48,108,.35);
}

.social-facebook .social-icon {
  background: #EBF0FF;
  color: #1877F2;
  border-color: #C3D5FC;
}
.social-facebook:hover .social-icon {
  background: #1877F2;
  color: white;
  border-color: #1877F2;
  box-shadow: 0 12px 28px rgba(24,119,242,.35);
}

.social-youtube .social-icon {
  background: #FFF0EE;
  color: #FF0000;
  border-color: #FFBAB5;
}
.social-youtube:hover .social-icon {
  background: #FF0000;
  color: white;
  border-color: #FF0000;
  box-shadow: 0 12px 28px rgba(255,0,0,.3);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: white;
  border-top: 3px solid var(--yellow);
  padding: 48px 60px;
}
.footer-inner {
  max-width: 1000px;
  display: flex;
  gap: 80px;
}
.footer-about, .footer-contact { flex: 1; }
.footer-about h4, .footer-contact h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-underline {
  width: 40px; height: 2px;
  background: var(--yellow);
  margin-bottom: 16px;
  border-radius: 2px;
}
.footer-about p, .footer-contact p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.9;
  font-family: 'Inter', sans-serif;
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes float3D {
  0%,100% { transform: translateY(0)    rotateY(0deg)  rotateX(0deg);  }
  25%      { transform: translateY(-15px) rotateY(5deg)  rotateX(3deg);  }
  50%      { transform: translateY(-25px) rotateY(0deg)  rotateX(-2deg); }
  75%      { transform: translateY(-15px) rotateY(-5deg) rotateX(3deg);  }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar          { padding: 0 20px; }
  .hero            { flex-direction: column; padding: 100px 20px 60px; text-align: center; }
  .hero-content    { max-width: 100%; }
  .hero-desc       { max-width: 100%; }
  .hero-image      { margin-top: 40px; }
  .products-section{ padding: 40px 20px; }
  .products-grid   { grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
  .social-section  { padding: 60px 20px; }
  .footer          { padding: 40px 20px; }
  .footer-inner    { flex-direction: column; gap: 32px; }
}
