@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #faf8f5;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: rgba(255, 255, 255, 0.99);
  --text: #1a1814;
  --muted: #6f6356;
  --highlight: #b8956a;
  --highlight-dark: #9d7e52;
  --border: rgba(44, 35, 26, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --accent: #d4af85;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fffdfb 0%, #f6f0e8 100%);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
a.hero-link {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(184, 149, 106, 0.12);
  box-shadow: 0 12px 32px rgba(24, 18, 12, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #b8956a 0%, #d4af85 100%);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-label {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
}

.brand-tag {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #514535;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: #3d2f1f;
  background: linear-gradient(135deg, rgba(184, 149, 106, 0.12), rgba(212, 175, 133, 0.18));
}

.main-nav a:hover {
  color: var(--highlight);
  background: rgba(184, 149, 106, 0.08);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--highlight);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  padding: 80px 0 50px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(245,241,234,0.4) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(249,244,238,0.96) 100%);
  border-radius: 30px;
  padding: 52px 46px;
  box-shadow: 0 28px 70px rgba(32, 23, 15, 0.08);
  border: 1px solid rgba(184, 149, 106, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  background: linear-gradient(135deg, rgba(184, 149, 106, 0.12), rgba(212, 175, 133, 0.2));
  color: var(--highlight-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  border: 1px solid rgba(184, 149, 106, 0.14);
}

.hero h2 {
  margin: 24px 0 20px;
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 3.5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #1f1a15;
  text-shadow: 0 2px 0 rgba(184, 149, 106, 0.06);
}

.hero p {
  margin: 0;
  max-width: 560px;
  color: #5f5449;
  font-size: 1.08rem;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  color: var(--text);
}

p, li, a, button, span {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-features {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5f5449;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-features li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8956a, #d4af85);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero button,
a.hero-link {
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.hero button:hover,
a.hero-link:hover {
  transform: translateY(-2px);
}

.hero button {
  background: linear-gradient(135deg, #b8956a, #9d7e52);
  color: #ffffff;
  box-shadow: 0 20px 30px rgba(157, 126, 82, 0.22);
  transition: all 0.3s ease;
  min-width: 170px;
}

.hero button:hover {
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #9d7e52, #8b6d46);
}

a.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(184, 149, 106, 0.12);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(184, 149, 106, 0.2);
  min-width: 160px;
}

a.hero-link:hover {
  background: rgba(184, 149, 106, 0.18);
  border-color: rgba(184, 149, 106, 0.4);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 520px);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 24px;
  margin: 60px auto;
  max-width: 1120px;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
  min-height: 190px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 149, 106, 0.2);
}

.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h1 {
  margin: 0;
  color: var(--highlight);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.section-title h1:last-of-type {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  color: var(--text);
  text-transform: none;
  letter-spacing: -0.02em;
  margin-top: 12px;
  font-weight: 800;
  text-shadow: 0 2px 0 rgba(184, 149, 106, 0.08);
}

.section-title p {
  display: block;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.products-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(245,241,234,0.35) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(250,247,243,0.98) 100%);
  border: 1px solid rgba(184, 149, 106, 0.14);
  border-radius: 26px;
  box-shadow: 0 14px 28px rgba(29, 22, 16, 0.06);
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
  position: relative;
  overflow: hidden;
  align-items: start;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
  height: 100%;
  min-height: 0;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 34px rgba(29, 22, 16, 0.1);
  border-color: rgba(184, 149, 106, 0.3);
}

.product-card h4 {
  margin: 0;
  font-size: 1.18rem;
  color: var(--highlight-dark);
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f1ea 100%);
  padding: 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: inset 0 0 0 1px rgba(184, 149, 106, 0.12), 0 10px 24px rgba(63, 48, 34, 0.06);
  border: 1px solid rgba(184, 149, 106, 0.12);
}

.product-card:hover .product-image {
  transform: scale(1.03);
  box-shadow: inset 0 0 0 1px var(--border), 0 8px 20px rgba(184, 149, 106, 0.1);
}

.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 20, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 40;
  backdrop-filter: blur(8px);
}

.image-card {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: min(840px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-card img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  padding: 20px;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f1ea 100%);
}

.image-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: rgba(184, 149, 106, 0.12);
  color: var(--text);
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  line-height: 1;
}

.image-close:hover {
  background: rgba(184, 149, 106, 0.24);
  transform: rotate(90deg);
}

.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-footer span {
  font-weight: 700;
  color: var(--highlight);
  font-size: 0.9rem;
}

.details-btn {
  border: 1px solid var(--border);
  background: rgba(184, 149, 106, 0.08);
  color: var(--highlight-dark);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.85rem;
  flex-grow: 1;
}

.details-btn:hover {
  background: rgba(184, 149, 106, 0.2);
  color: var(--highlight);
  border-color: rgba(184, 149, 106, 0.3);
  transform: translateY(-2px);
}

.about-section {
  padding: 60px 0 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about-copy h2 {
  margin-top: 0;
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-copy p {
  color: var(--muted);
  max-width: 650px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-copy ul {
  margin: 24px 0 0;
  padding-right: 20px;
  color: var(--muted);
  list-style: none;
}

.about-copy li {
  margin-bottom: 12px;
  padding-right: 20px;
  position: relative;
  font-size: 0.95rem;
}

.about-copy li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--highlight);
  font-weight: 700;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  gap: 18px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 149, 106, 0.2);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--highlight);
  font-weight: 700;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 2.8rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  direction: rtl;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1.6rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-col p {
  color: #cbd5e1;
  line-height: 1.8;
  margin: 0;
  font-size: 0.97rem;
}

.footer-links,
.footer-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-services a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-links a:hover,
.footer-services a:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  flex-shrink: 0;
  font-size: 0.95rem;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 2rem 0 1.2rem;
}

.footer-copy {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
  text-align: center;
}

.hidden {
  display: none;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 1024px) {
  .header-inner {
    gap: 16px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 32px;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(100%, 420px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .brand {
    gap: 12px;
  }

  .main-nav {
    gap: 4px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-nav a {
    padding: 9px 14px;
    font-size: 0.9rem;
  }

  .hero h2 {
    font-size: 2.2rem;
    margin-top: 16px;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero button,
  a.hero-link {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-card {
    padding: 14px;
    gap: 12px;
    border-radius: 20px;
  }

  .product-image {
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: 14px;
  }

  .product-card h4 {
    font-size: 1.1rem;
  }

  .services {
    gap: 16px;
  }

  .section-title h1:last-of-type {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 520px);
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 0;
    padding: 14px;
  }

  .main-nav a {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .section-title h1:last-of-type {
    font-size: 1.6rem;
  }

  .image-card {
    border-radius: 16px;
  }

  .image-close {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .hero h2 {
    font-size: 1.6rem;
    margin-top: 12px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .product-card h4 {
    font-size: 1rem;
  }

  .product-image {
    padding: 14px;
    border-radius: 12px;
  }

  .image-overlay {
    padding: 16px;
  }

  .image-card {
    border-radius: 12px;
  }

  .section-title h1:last-of-type {
    font-size: 1.4rem;
  }

  .about-copy li {
    font-size: 0.9rem;
  }
}
