/* Homepage Redesign - Mobile First */
:root {
  --navy: #0F172A;
  --gold: #C9A227;
  --gold-light: #E5C76B;
  --cream: #FAFAF8;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
}

.home-new * { box-sizing: border-box; }

/* Header override for homepage */
.site-header-new {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}
.site-header-new__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header-new__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
}
.site-header-new__logo img {
  height: 72px;
  width: auto;
}
.site-header-new__nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.site-header-new__nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-header-new__nav a:hover,
.site-header-new__nav a.active {
  color: var(--gold);
}
.site-header-new__phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
@media (min-width: 768px) {
  .site-header-new__nav { display: flex; }
  .site-header-new__logo { font-size: 1.25rem; }
  .site-header-new__logo img { height: 80px; }
}

/* Hero */
.hero-new {
  background: var(--cream);
  padding: 2rem 1rem 3rem;
}
.hero-new__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-new__text { order: 1; }
.hero-new__image { order: 2; }
.hero-new__label {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: block;
}
.hero-new__title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 1rem;
}
.hero-new__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.hero-new__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.hero-new__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  max-height: 420px;
}
@media (min-width: 900px) {
  .hero-new { padding: 3.5rem 1.5rem 4rem; }
  .hero-new__inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
  }
  .hero-new__text { order: 1; }
  .hero-new__image { order: 2; }
  .hero-new__title { font-size: 2.75rem; }
  .hero-new__image img { max-height: 520px; border-radius: 20px; }
}

/* Categories */
.cats-new {
  padding: 3.5rem 1rem 4rem;
  background: #fff;
}
.cats-new__title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2rem;
}
.cats-new__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}
.cat-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.cat-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
}
.cat-card__title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.cat-card__desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .cats-new__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cats-new__grid { grid-template-columns: repeat(4, 1fr); }
  .cats-new__title { font-size: 2rem; }
  .cat-card img { height: 200px; }
}

/* Why us */
.why-new {
  padding: 3.5rem 1rem 4rem;
  background: var(--cream);
}
.why-new__title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2rem;
}
.why-new__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.why-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
}
.why-item i {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.why-item h4 {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}
.why-item p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .why-new__grid { grid-template-columns: repeat(4, 1fr); }
  .why-new__title { font-size: 2rem; }
}

/* Products section */
.products-new {
  padding: 3.5rem 1rem 4rem;
  background: #fff;
}
.products-new__head {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem;
}
.products-new__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
@media (min-width: 768px) {
  .products-new__title { font-size: 2rem; }
}

/* Footer new */
.footer-new {
  background: var(--navy);
  color: #e2e8f0;
  padding: 3rem 1rem 1.5rem;
}
.footer-new__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-new__brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.footer-new__brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.footer-new h4 {
  color: var(--gold);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}
.footer-new ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-new li { margin-bottom: 0.5rem; }
.footer-new a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-new a:hover { color: var(--gold); }
.footer-new__bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #1e293b;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .footer-new__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* Improved Product Cards for Homepage */
.products-new .product-card,
.products-new .card,
.products-new [data-id] {
  background: #fff;
  border: 1px solid #e8e5df;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.products-new .product-card:hover,
.products-new .card:hover,
.products-new [data-id]:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
  border-color: #C9A227;
}
.products-new .product-img,
.products-new img.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
}
.products-new .product-card:hover .product-img,
.products-new .card:hover .product-img {
  transform: scale(1.04);
}
.products-new .product-card .p-4,
.products-new .product-card .p-5,
.products-new .card .p-4 {
  padding: 1.1rem 1.15rem 1.25rem !important;
}
.products-new .product-card h3,
.products-new .product-card .font-bold,
.products-new .card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.45;
  margin-bottom: 0.35rem;
}
.products-new .price-fa,
.products-new .text-amber-700 {
  font-weight: 800;
  color: #0F172A;
  font-size: 1.05rem;
}
.products-new .btn-primary,
.products-new .btn-accent,
.products-new .btn-block {
  border-radius: 10px !important;
  font-weight: 700;
  padding: 0.65rem 1rem;
  margin-top: 0.75rem;
  transition: all 0.2s;
}
.products-new .btn-primary {
  background: #0F172A !important;
  color: #fff !important;
  border: none;
}
.products-new .btn-primary:hover {
  background: #1e293b !important;
}
.products-new .btn-accent {
  background: #C9A227 !important;
  color: #0F172A !important;
  border: none;
}
.products-new .absolute.top-4 {
  border-radius: 20px !important;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem !important;
}
/* Grid improvements */
.products-new .grid {
  gap: 1.5rem !important;
}
@media (max-width: 640px) {
  .products-new .product-img,
  .products-new img.product-img {
    height: 180px;
  }
}

/* Refined Product Cards - matching actual structure */
.products-new .product-card {
  background: #fff !important;
  border: 1px solid #eeeae4 !important;
  border-radius: 20px !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 16px rgba(15,23,42,0.05) !important;
}
.products-new .product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(15,23,42,0.12) !important;
  border-color: #C9A227 !important;
}
.products-new .product-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.products-new .product-img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}
.products-new .product-card:hover .product-img {
  transform: scale(1.06) !important;
}
.products-new .card-body {
  padding: 1.15rem 1.2rem 1.3rem !important;
}
.products-new .card-title {
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.5 !important;
  margin-bottom: 0.3rem;
}
.products-new .card-title a {
  color: inherit;
  text-decoration: none;
}
.products-new .card-title a:hover {
  color: #C9A227;
}
.products-new .price-fa {
  font-weight: 800 !important;
  color: #0F172A !important;
  font-size: 1.08rem !important;
  margin-top: 0.5rem !important;
}
.products-new .card-actions .btn {
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
}
.products-new .btn-primary {
  background: #0F172A !important;
  border: none !important;
}
.products-new .btn-accent {
  background: #C9A227 !important;
  color: #0F172A !important;
  border: none !important;
}
.products-new .absolute {
  border-radius: 24px !important;
}
@media (max-width: 640px) {
  .products-new .product-img {
    height: 200px !important;
  }
  .products-new .card-body {
    padding: 1rem !important;
  }
}

/* Hero Video */
.hero-new__video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0F172A;
}
.hero-new__video video {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.hero-new__video .video-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15,23,42,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
@media (min-width: 900px) {
  .hero-new__video { border-radius: 20px; }
  .hero-new__video video { max-height: 520px; }
}

/* Projects Strip */
.projects-strip {
  padding: 2.5rem 1rem;
  background: #fff;
}
.projects-strip__title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1.5rem;
}
.projects-strip__scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.projects-strip__scroll::-webkit-scrollbar { display: none; }
.project-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.project-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.project-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15,23,42,0.8));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 2rem 0.75rem 0.6rem;
}
@media (min-width: 768px) {
  .project-item { flex: 0 0 340px; }
  .project-item img { height: 200px; }
  .projects-strip__title { font-size: 1.85rem; }
}

/* Mid Banner */
.mid-banner {
  margin: 2rem 1rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
}
.mid-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.mid-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.75rem;
  color: #fff;
}
.mid-banner__overlay h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.mid-banner__overlay p {
  font-size: 0.92rem;
  margin: 0 0 1rem;
  opacity: 0.9;
  max-width: 400px;
}
@media (min-width: 768px) {
  .mid-banner img { height: 260px; }
  .mid-banner__overlay h3 { font-size: 1.75rem; }
  .mid-banner__overlay { padding: 2rem 2.5rem; }
}

/* Why us with icons */
.why-item i {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 14px;
  background: rgba(201,162,39,0.12);
  font-size: 1.35rem !important;
}
