/* ============================================================
   GOGOODPACKAGING — Global Stylesheet
   Colors: Sunshine White #FFFFFF | Gold #D4A853 | Forest Green #2D6A4F
           Sky Blue #1A73E8 | Warm Gray #F5F5F0 | Dark #1A1A2E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Cairo:wght@400;600;700;800&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:    #FFFFFF;
  --warm:     #F8F6F1;
  --warm2:    #F0EDE4;
  --gold:     #C8943A;
  --gold2:    #A87830;
  --green:    #2D6A4F;
  --green2:   #1E4D38;
  --blue:     #1A73E8;
  --dark:     #1A1A2E;
  --dark2:    #252540;
  --steel:    #6B7280;
  --border:   #E5E0D5;
  --card:     #FFFFFF;
  --tag-bg:   #FDF8F0;
  --success:  #2D6A4F;
  --font-en:  'Inter', sans-serif;
  --font-ar:  'Cairo', sans-serif;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

body.rtl { font-family: var(--font-ar); direction: rtl; text-align: right; }

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-warm { background: var(--warm); }
.section-dark { background: var(--dark); color: var(--white); }
.section-green { background: var(--green); color: var(--white); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.section-title.light { color: var(--white); }
.section-sub {
  color: var(--steel);
  font-size: 1.05rem;
  margin-bottom: 52px;
  max-width: 600px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.75); }

.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--gold);
  border: 1px solid #E8D5B0;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 3px 3px 3px 0;
}
.tag.green { color: var(--green); border-color: #B8D8C8; background: #F0F8F4; }
.tag.blue  { color: var(--blue);  border-color: #C0D8F8; background: #F0F5FF; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold2); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,148,58,0.35); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green2); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1DB954; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 800;
  color: var(--dark); letter-spacing: -0.01em;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo .brand-good { color: var(--gold); }

.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a { color: var(--steel); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-switcher {
  display: flex; gap: 3px;
  background: var(--warm); border: 1px solid var(--border);
  border-radius: 8px; padding: 3px;
}
.lang-btn {
  padding: 4px 10px; border-radius: 6px; border: none;
  background: transparent; color: var(--steel);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); font-family: inherit;
  letter-spacing: 0.04em;
}
.lang-btn:hover { color: var(--dark); }
.lang-btn.active { background: var(--gold); color: var(--white); }

.nav-wa {
  display: flex; align-items: center; gap: 6px;
  background: #25D366; color: var(--white);
  padding: 7px 14px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition);
}
.nav-wa:hover { background: #1DB954; color: var(--white); }
.nav-wa svg { width: 16px; height: 16px; }

.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #FFFDF5 0%, #FDF5E6 40%, #F5F0E8 100%);
  position: relative; overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(var(--gold) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-shape {
  position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,148,58,0.12) 0%, transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tag-bg); border: 1px solid #E8D5B0;
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.7); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 20px;
  color: var(--dark);
}
.hero h1 .highlight { color: var(--gold); }
.hero h1 .highlight-green { color: var(--green); }
.hero-sub {
  font-size: 1.1rem; color: var(--steel);
  margin-bottom: 32px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px; }
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-size: 1.8rem; font-weight: 800; color: var(--gold); line-height: 1;
}
.stat-item .stat-label { font-size: 0.78rem; color: var(--steel); margin-top: 4px; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* Hero visual */
.hero-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  position: relative;
}
.hero-card {
  background: var(--white); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center;
  justify-content: center; font-size: 2.5rem;
  transition: transform var(--transition);
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card.large { grid-column: span 2; aspect-ratio: 2/1; font-size: 3rem; }
.hero-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white); padding: 20px 16px 14px;
  font-size: 0.82rem; font-weight: 600;
}

/* ---------- USP Strip ---------- */
.usp-strip { background: var(--gold); padding: 16px 0; }
.usp-inner {
  display: flex; align-items: center;
  justify-content: space-around; flex-wrap: wrap; gap: 12px;
}
.usp-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-size: 0.85rem; font-weight: 600;
}
.usp-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.usp-sep { color: rgba(255,255,255,0.4); font-size: 1.2rem; }

/* ---------- Products ---------- */
.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.prod-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.prod-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.prod-card-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--warm); display: flex;
  align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.prod-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.prod-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--white);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.prod-badge.green { background: var(--green); }
.prod-card-body { padding: 20px; }
.prod-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.prod-card-body p { font-size: 0.84rem; color: var(--steel); line-height: 1.6; margin-bottom: 14px; }
.prod-card-tags { margin-bottom: 14px; }
.prod-card-footer {
  display: flex; align-items: center;
  justify-content: space-between; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.moq-label { font-size: 0.78rem; color: var(--steel); }
.moq-label strong { color: var(--dark); }

/* ---------- Why Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  transition: all var(--transition); text-align: center;
}
.why-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.why-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--tag-bg), #FDF0D5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.6rem;
}
.why-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.why-card p { font-size: 0.84rem; color: var(--steel); line-height: 1.65; }

/* ---------- Factory ---------- */
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.factory-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.factory-stat {
  background: var(--warm); border-radius: 10px; padding: 16px;
  border: 1px solid var(--border);
}
.factory-stat .num { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.factory-stat .label { font-size: 0.78rem; color: var(--steel); margin-top: 2px; }
.factory-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.factory-img {
  border-radius: 12px; overflow: hidden; aspect-ratio: 1;
  background: var(--warm); display: flex; align-items: center;
  justify-content: center; font-size: 2.5rem;
  box-shadow: var(--shadow);
}
.factory-img.tall { aspect-ratio: 1/1.5; }

/* ---------- Industries / Scenes ---------- */
.scenes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.scene-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 16px; text-align: center;
  transition: all var(--transition); cursor: pointer;
}
.scene-card:hover { border-color: var(--gold); background: var(--tag-bg); transform: translateY(-2px); }
.scene-card .scene-icon { font-size: 2rem; margin-bottom: 10px; }
.scene-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--dark); }

/* ---------- Logistics ---------- */
.logistics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.logistics-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 28px 22px; color: var(--white);
}
.logistics-card .log-icon { font-size: 2rem; margin-bottom: 14px; }
.logistics-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.logistics-card p { font-size: 0.84rem; color: rgba(255,255,255,0.7); line-height: 1.65; }

/* ---------- Certifications ---------- */
.cert-strip {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 36px;
}
.cert-badge-lg {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 18px;
  font-size: 0.85rem; font-weight: 600; color: var(--dark);
  box-shadow: var(--shadow);
}
.cert-badge-lg svg { width: 20px; height: 20px; color: var(--green); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.contact-info p { color: var(--steel); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex; align-items: center; gap: 12px;
  background: var(--warm); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
}
.contact-method .cm-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-method .cm-icon.gold { background: linear-gradient(135deg,#FDF0D5,#F5E0A0); }
.contact-method .cm-icon.wa   { background: #E8FAF0; }
.contact-method .cm-label { font-size: 0.75rem; color: var(--steel); }
.contact-method .cm-value { font-size: 0.9rem; font-weight: 600; color: var(--dark); }

/* Inquiry Form */
.inquiry-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--steel); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--warm);
  border: 1.5px solid var(--border); border-radius: 8px;
  color: var(--dark); font-family: inherit;
  font-size: 0.9rem; padding: 10px 14px;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-group select option { background: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #BDB5A0; }
.form-submit { margin-top: 6px; }
.form-submit .btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-success { display: none; text-align: center; padding: 32px; }
.form-success .fs-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--steel); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--white); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 12px; line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.87rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-certs { display: flex; gap: 8px; }
.footer-cert {
  font-size: 0.68rem; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.45); letter-spacing: 0.04em;
}

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--transition); cursor: pointer;
  text-decoration: none;
}
.float-wa:hover { transform: scale(1.1); background: #1DB954; color: var(--white); }
.float-wa svg { width: 28px; height: 28px; }
body.rtl .float-wa { right: auto; left: 28px; }

/* ---------- RTL ---------- */
body.rtl .nav-inner { flex-direction: row-reverse; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .hero-inner { direction: rtl; }
body.rtl .hero-eyebrow { flex-direction: row-reverse; }
body.rtl .hero-ctas { flex-direction: row-reverse; }
body.rtl .hero-stats { flex-direction: row-reverse; }
body.rtl .usp-inner { flex-direction: row-reverse; }
body.rtl .contact-method { flex-direction: row-reverse; }
body.rtl .footer-inner { direction: rtl; }
body.rtl .footer-bottom { flex-direction: row-reverse; }
body.rtl .form-row { direction: rtl; }
body.rtl .form-group label { text-align: right; }
body.rtl .form-group input,
body.rtl .form-group select,
body.rtl .form-group textarea { text-align: right; direction: rtl; }
body.rtl .prod-badge { left: auto; right: 12px; }
body.rtl .why-card { text-align: right; }
body.rtl .why-icon { margin: 0 0 16px; }
body.rtl .scene-card { text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .scenes-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 14px; z-index: 999;
    box-shadow: var(--shadow);
  }
  .mobile-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 60px 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .logistics-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .scenes-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .usp-sep { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .scenes-grid { grid-template-columns: repeat(2,1fr); }
  .lang-btn { padding: 4px 7px; font-size: 0.72rem; }
  .footer-certs { flex-wrap: wrap; }
}
