/* =============================================
   جنات افريقيا — White & Gold Theme
   Gold: #C59D5F | White: #FFFFFF | Cream: #FAF7F2
   ============================================= */

:root {
  --gold: #C59D5F;
  --gold-light: #D4B07A;
  --gold-dark: #A67F3D;
  --gold-pale: #F5EDE0;
  --white: #FFFFFF;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --text: #2C2416;
  --text-muted: #6B5E4F;
  --text-light: #8A7B6A;
  --border: #E8DFD0;
  --border-gold: rgba(197, 157, 95, 0.35);
  --font: 'Cairo', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(44, 36, 22, 0.08);
  --shadow-gold: 0 8px 32px rgba(197, 157, 95, 0.2);
  --radius: 12px;
  --header-height: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section__tag {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  position: relative;
  padding-right: 40px;
}

.section__tag::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--text);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header .section__tag {
  padding-right: 0;
}

.section__header .section__tag::after {
  display: none;
}

.text-gold { color: var(--gold-dark); }

/* ========== BRAND LOGO (شعار + اسم الشركة) ========== */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo__img {
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo__name {
  display: block;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo__tagline {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Header size */
.brand-logo--sm .brand-logo__img {
  width: 52px;
  height: 52px;
}

.brand-logo--sm .brand-logo__name {
  font-size: 1.15rem;
}

.brand-logo--sm .brand-logo__tagline {
  font-size: 0.72rem;
}

/* Hero size — centered vertical */
.brand-logo--hero {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.brand-logo--hero .brand-logo__img {
  width: 140px;
  height: 140px;
}

.brand-logo--hero .brand-logo__name {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-top: 8px;
}

.brand-logo--hero .brand-logo__tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

/* About section size */
.brand-logo--lg {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo--lg .brand-logo__img {
  width: 180px;
  height: 180px;
}

.brand-logo--lg .brand-logo__name {
  font-size: 1.8rem;
  margin-top: 12px;
}

.brand-logo--lg .brand-logo__tagline {
  font-size: 0.95rem;
}

/* Footer size */
.brand-logo--footer {
  margin-bottom: 16px;
}

.brand-logo--footer .brand-logo__img {
  width: 64px;
  height: 64px;
}

.brand-logo--footer .brand-logo__name {
  font-size: 1.2rem;
}

.brand-logo--footer .brand-logo__tagline {
  font-size: 0.78rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: var(--white);
  color: var(--gold-dark);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: var(--shadow);
  border-bottom-color: var(--border-gold);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold-dark);
  background: var(--gold-pale);
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white) !important;
  font-weight: 700;
}

.nav__link--cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(197, 157, 95, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(197, 157, 95, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C59D5F' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}

.hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--cream), transparent);
}

.hero__content {
  position: relative;
  text-align: center;
  padding-top: var(--header-height);
}

.hero__badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
  background: var(--gold-pale);
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title-accent {
  display: block;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.hero__title-sub {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 8px;
}

.hero__desc {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero__scroll a {
  color: var(--gold);
  opacity: 0.7;
}

.hero__scroll a:hover { opacity: 1; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== STATS ========== */
.stats {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  padding: 48px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats__number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__logo-wrap {
  background: var(--cream);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__logo-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(197, 157, 95, 0.15) 0%, transparent 70%);
}

.about__card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 240px;
  box-shadow: var(--shadow-gold);
}

.about__card-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 8px;
}

.about__card h3 {
  font-size: 1rem;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.about__card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about__text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about__text strong {
  color: var(--gold-dark);
}

.about__features {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
}

.about__features svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ========== VISION ========== */
.vision {
  background: var(--cream);
}

.vision__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vision__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vision__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.vision__card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.vision__card:hover::before { opacity: 1; }

.vision__card--featured {
  background: linear-gradient(135deg, var(--gold-pale), var(--white));
  border-color: var(--gold);
  transform: scale(1.04);
}

.vision__card--featured::before { opacity: 1; }

.vision__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision__icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold-dark);
}

.vision__card h3 {
  font-size: 1.3rem;
  color: var(--gold-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.vision__card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========== PRODUCTS ========== */
.products {
  background: var(--white);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product__card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.product__card:hover {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.product__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--white);
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product__icon svg {
  width: 36px;
  height: 36px;
  color: var(--gold-dark);
}

.product__card h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.product__card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact__desc {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.contact__details {
  display: grid;
  gap: 24px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__item-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__item-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
}

.contact__item h4 {
  color: var(--gold-dark);
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact__item p {
  color: var(--text);
  font-size: 1rem;
}

.contact__item a {
  color: var(--text);
}

.contact__item a:hover { color: var(--gold-dark); }

.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact__form-title {
  font-size: 1.3rem;
  color: var(--gold-dark);
  margin-bottom: 28px;
  font-weight: 700;
  text-align: center;
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.15);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-light);
}

.form__group select {
  cursor: pointer;
  appearance: none;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C59D5F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.form__message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form__message.success {
  display: block;
  background: rgba(46, 160, 67, 0.1);
  color: #2DA44E;
  border: 1px solid rgba(46, 160, 67, 0.3);
}

.form__message.error {
  display: block;
  background: rgba(248, 81, 73, 0.1);
  color: #CF222E;
  border: 1px solid rgba(248, 81, 73, 0.3);
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-top: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 60px 24px 40px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer .brand-logo__name {
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

.footer .brand-logo__tagline {
  color: rgba(255, 255, 255, 0.75);
}

.footer__links h4,
.footer__contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer__links ul {
  display: grid;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer__links a:hover {
  color: var(--white);
  padding-right: 8px;
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer__contact a {
  color: var(--white);
}

.footer__contact a:hover { opacity: 0.85; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .vision__grid,
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision__card--featured {
    transform: none;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: var(--shadow);
  }

  .nav__menu.open { right: 0; }

  .nav__link {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.open span:nth-child(2) { opacity: 0; }

  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision__grid,
  .products__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section { padding: 70px 0; }

  .brand-logo--hero .brand-logo__img {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }

  .hero__actions { flex-direction: column; align-items: center; }

  .btn { width: 100%; justify-content: center; }

  .brand-logo--sm .brand-logo__tagline {
    display: none;
  }
}
