/* ========== Global Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: #fff8e1;
  color: #3a2c1b;
  line-height: 1.6;
  direction: rtl;
}

header {
  background-color: #3a2c1b;
  color: #ffe89f;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 4px solid #ffe180;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
}

nav {
  background-color: #ffe180;
  text-align: center;
  padding: 15px 10px;
  border-bottom: 2px solid #3a2c1b;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: #3a2c1b;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #6a4e30;
}

main {
  padding: 30px 20px;
  text-align: center;
}

section {
  padding: 40px 20px;
}

.section-description {
  font-size: 1rem;
  color: #5c4528;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-items: center;
  margin-bottom: 50px;
}

.product-card {
  background-color: #fff;
  border: 1px solid #e0c98f;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  max-width: 320px;
  width: 100%;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-card a {
  display: inline-block;
  background-color: #ffe180;
  color: #3a2c1b;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.product-card a:hover {
  background-color: #ffcf40;
}

.product-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fffdf5;
  border: 1px solid #e0c98f;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: right;
}

.product-detail h2 {
  margin-bottom: 20px;
}

.product-detail ul {
  text-align: right;
  list-style: disc;
  padding-right: 20px;
}

.product-detail ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

footer {
  text-align: center;
  background-color: #3a2c1b;
  color: #ffe89f;
  padding: 20px;
  font-size: 0.9rem;
}

.company-info a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.company-info a:hover {
  text-decoration: underline;
}


/* Container for both floats */
.float-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Shared button style */
.float-button {
  display: inline-block;
  width: 55px;
  height: 55px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: white; /* or transparent */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  line-height: 55px;
  cursor: pointer;
}

/* Specific icons */
.float-button img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 36px;
}

/* Contact Floating Button above WhatsApp */
.contact-float {
  position: fixed;
  bottom: 85px; /* clear space from WhatsApp */
  right: 20px;
  z-index: 1000;
}

/* Styling the contact icon */
.contact-float button {
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
}

/* Contact Menu Styling */
.contact-float .contact-menu {
  display: none;
  flex-direction: column;
  background-color: #fff7e5;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: absolute;
  bottom: 60px;
  right: 0;
}

.contact-float .contact-menu a {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: background-color 0.2s;
}

.contact-float .contact-menu a:hover {
  background-color: #ffe3a3;
}



.language-switcher {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #fff8e1;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 1100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.language-switcher a {
  text-decoration: none;
  color: #3a2c1b;
  font-weight: bold;
}

.language-switcher a:hover {
  color: #c68c00;
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
}

.card h3 {
  font-size: 1rem;
  line-height: 1.4;
  min-height: 2.5rem; /* keeps spacing consistent */
}

/* Team section grid */
/* Dark section behind the team + CTA (no light band) */
.team-section {
  background: #3a2819;
  padding: 36px 0 56px;
  text-align: center; /* 🔑 forces centering */
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  padding: 0 16px;
  justify-items: center; /* 🔑 keeps content centered */
}

.cta-about {
  display: inline-block;
  margin-top: 20px;
}


/* Center the CTA and keep spacing consistent */
.cta-row{
  text-align: center;
  margin-top: 28px;
}

/* (optional) ensure no unexpected light background leaks in following section */
footer, .page-bottom, .after-team-section{
  background: #3a2819; /* same dark as above, if needed */
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

/* Base card */
.card {
  background: #fff6e9;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #f2e2cc;
}

/* Hero (Mahmoud) */
.card.lead {
  grid-column: span 6;
  text-align: center;
}
/* شبكة فريق العمل */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

/* الكرت العام */
.team-grid .card {
  background: #fff5e6;
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* كرت محمود (الكبير) */
.team-grid .card.lead {
  grid-row: span 2;
}

.team-grid .card.lead img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* الكروت الصغيرة مع الصور */
.team-grid .card.mini img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.75rem;
}

/* عناوين وأدوار الفريق */
.team-grid .card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #4b3219;
}

.team-grid .card p {
  margin: 0;
  font-size: 0.95rem;
  color: #7a5a38;
}

/* موبايل / شاشات صغيرة */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid .card.lead {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}


/* Section header */
.section-box h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  color: #6b4e2e;
  margin-bottom: 0.75rem;
}
.section-box h2 span { font-weight: 900; }

/* Responsive */
@media (max-width: 1100px) {
  .card.lead { grid-column: span 12; }
  .card.lead img { height: 320px; }
  .card.mini { grid-column: span 4; } /* 3 per row */
}
@media (max-width: 720px) {
  .card.mini { grid-column: span 6; }  /* 2 per row */
  .card.lead img { height: 260px; }
}
@media (max-width: 480px) {
  .card.mini { grid-column: span 12; } /* 1 per row */
}


/* Make employee cards smaller */
.card.mini {
  height: 220px;       /* half-ish of Mahmoud’s */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Icons a bit larger so cards don’t look empty */
.card.mini .role-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* --- Contact Section --- */
.contact-wrap{
  position:relative;
  background:#3a2a20; /* deep brown site base */
  color:#ffe3a3;      /* warm honey text */
  overflow:hidden;
  padding:0 0 64px;
}
.honey-arc{
  position:absolute; inset:0 0 auto 0; height:220px;
  /* soft honey-to-transparent arc that blends into dark brown */
  background:
    radial-gradient(120% 140% at 50% 110%,
      rgba(255,220,120,.00) 48%,
      rgba(255,220,120,.50) 63%,
      rgba(255,220,120,.90) 73%,
      #ffd56b 78%,
      #f7c74a 86%,
      #f0b936 100%) top/100% 100% no-repeat;
  pointer-events:none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));
}
.contact-inner{
  position:relative; z-index:1;
  max-width:1100px; margin:0 auto; padding:42px 20px 0;
  text-align:center;
}
.contact-title{
  font-size:2.2rem; line-height:1.3; margin:18px 0 10px;
  color:#ffde7a; font-weight:800;
}
.contact-sub{
  max-width:980px; margin:0 auto 28px; color:#ffeac1; line-height:1.9;
}
.contact-sub a{ color:#ffdf80; text-decoration:underline; }

.contact-card{
  margin:0 auto; max-width:860px;
  background:rgba(58,42,32,.55);
  border:1px solid rgba(255,214,120,.25);
  box-shadow:0 8px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
  border-radius:18px; padding:28px;
}

.shop-name{
  font-size:1.5rem; margin:0 0 12px; color:#ffd87e; font-weight:800;
}
.contact-list{
  list-style:none; padding:0; margin:0; text-align:inherit;
  display:grid; gap:12px;
}
.contact-list li{ 
  font-size:1.05rem; color:#ffe6b8; 
  display:flex; gap:.5rem; align-items:center; justify-content:center; flex-wrap:wrap;
}
.contact-list .ico{ font-size:1.1rem; filter:drop-shadow(0 1px 0 rgba(0,0,0,.2)); }
.contact-list .tel{ color:#ffdb7a; font-weight:700; }

.contact-list .note{
  margin-top:8px; color:#ffefcb; opacity:.95;
}

.meta{
  margin-top:18px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
  color:#ffe6b8;
}
.meta .ico{ margin-inline-start:.25rem; }

@media (max-width:680px){
  .contact-title{ font-size:1.65rem; }
  .contact-sub{ font-size:.98rem; }
  .contact-card{ padding:22px; }
}



/* Dark section behind the team + CTA (no light band) */
.team-section{
  background: #3a2819;           /* or var(--brown-900) */
  padding: 36px 0 56px;
}

/* Grid – same look you already have */
.team-grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 0 16px;
}

/* Center the CTA and keep spacing consistent */
.cta-row{
  text-align: center;
  margin-top: 28px;
}

/* (optional) ensure no unexpected light background leaks in following section */
footer, .page-bottom, .after-team-section{
  background: #3a2819; /* same dark as above, if needed */
}

.masks-grid .product-card img {
  border-radius: 1.5rem;
  object-fit: cover;
}

/* ========== Delete to show the cosmatics and herbs ssections ========== */
/*
#herbs,
#cosmetics {
  display: none !important;
}
*/
/* TEMP: hide cosmetics + masks (Mahmoud request) */
#cosmetics,
#masks{
  display: none !important;
}


/* ===========================
   Product detail layout (masks & similar)
   =========================== */

.product-page {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 30px 24px 40px;
  background: #fff9ec;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.product-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.product-image {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
}

.product-image img {
  max-width: 260px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.product-content {
  flex: 1;
  text-align: right;
}

.product-content h1 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  color: #4a2b0e;
}

.product-tagline {
  font-size: 1rem;
  color: #7a5a32;
  margin-bottom: 1.4rem;
}

.product-benefits,
.product-howto {
  margin-bottom: 1.8rem;
}

.product-benefits h2,
.product-howto h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #4a2b0e;
}

.product-benefits ul,
.product-howto ol {
  margin: 0;
  padding-right: 1.2rem;
  line-height: 1.8;
  color: #4c3a25;
}

.product-note {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff4ce;
  font-size: 0.9rem;
  color: #7a5a32;
}

/* mobile */
@media (max-width: 768px) {
  .product-page {
    padding: 22px 16px 28px;
  }

  .product-hero {
    flex-direction: column;
    align-items: center;
  }

  .product-image {
    flex: 0 0 auto;
  }

  .product-content h1 {
    font-size: 1.4rem;
    text-align: center;
  }

  .product-tagline {
    text-align: center;
  }
}

/* Hungarian shop section */
.shop-section {
  padding: 3rem 1.5rem;
  border-top: 1px solid #f5dfaf;
  margin-top: 2.5rem;
}

.shop-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.shop-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #5c3a16;
}

.shop-text p {
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.shop-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.2rem;
}

.shop-points li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-right: 1.4rem;
}

.shop-points li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 0;
  color: #d19b2b;
  font-size: 0.9rem;
}

.shop-cta {
  font-weight: 600;
}

.shop-info {
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* معرض الصور – شبكة صغيرة ومتناسقة */
.shop-gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-card {
  background: #fff6e6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.shop-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.shop-card p {
  padding: 0.5rem 0.65rem 0.7rem;
  font-size: 0.85rem;
}

/* تابلت + موبايل */
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-section {
    padding: 2.2rem 1rem;
  }

  /* 2 صور في الصف بدل واحدة */
  .shop-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .shop-card img {
    height: 120px;
  }
}





/* قسم معرض الهنغاري للعسل والأعشاب – صفحة من نحن */
.shop-section {
  padding: 3rem 1.5rem 3.5rem;
  background: #fff7e5;
  margin-top: 2.5rem;
  border-top: 1px solid #f3dfb1;
}

.shop-intro {
  max-width: 920px;
  margin: 0 auto 2rem;
  text-align: right;
}

.shop-intro h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #5b3916;
}

.shop-intro p {
  line-height: 1.9;
  margin-bottom: 0.75rem;
  color: #4a3a23;
}

.shop-points {
  list-style: none;
  margin: 1rem 0 1.2rem;
  padding: 0;
}

.shop-points li {
  margin-bottom: 0.4rem;
  padding-right: 1.4rem;
  position: relative;
}

.shop-points li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 0;
  color: #d39b2b;
  font-size: 0.85rem;
}

.shop-info {
  font-size: 0.95rem;
}

/* شبكة الصور */
.shop-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.shop-gallery div {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.shop-gallery img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* لو فيه أي وصف قديم تحت الصور نخفيه احتياطاً */
.shop-gallery p {
  display: none;
}

/* موبايل */
@media (max-width: 768px) {
  .shop-section {
    padding: 2.3rem 1rem 3rem;
  }
  .shop-gallery img {
    height: 160px;
  }
}

/* شبكة صور صالة الهنغاري */
.shop-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 4 صور بالصف على الشاشات الكبيرة */
  gap: 14px;
}

.shop-gallery div {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-gallery img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* زوم عند الـ hover */
.shop-gallery div:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

.shop-gallery div:hover img {
  transform: scale(1.08);
}

/* لو فيه أي وصف قديم تحت الصور نخفيه احتياطاً */
.shop-gallery p {
  display: none;
}

/* تابلت */
@media (max-width: 992px) {
  .shop-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* صفين × 2 */
  }
}

/* موبايل */
@media (max-width: 600px) {
  .shop-gallery {
    grid-template-columns: 1fr; /* صورة وحدة بكل صف */
  }

  .shop-gallery img {
    height: 160px;
  }
}




/* معرض صالة الهنغاري – شبكة الصور */
.shop-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 فوق و 4 تحت على الشاشات الكبيرة */
    gap: 1.8rem;
    margin: 2.5rem auto 0;
    max-width: 1200px;
    overflow: visible; /* حتى تسمح للصورة المكبرة بالخروج من الكرت */
}

/* كرت الصورة */
.shop-photo {
    position: relative;
    border-radius: 26px;
    background: #fff7e6;
    padding: 0.4rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    cursor: zoom-in;
    overflow: visible;        /* مهم: لا تقطع التكبير */
    z-index: 0;               /* يرتفع عند الـ hover */
}

/* الصورة نفسها */
.shop-photo img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 22px;
    will-change: transform;
}

/* التكبير الحر عند الـ hover */
.shop-photo:hover {
    transform: scale(3.5); /* غيّرها لـ 1.5 أو 2 لو حابب أكثر أو أقل */
    z-index: 50;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

/* موبايل و شاشات صغيرة – خفّف التكبير و خليه عمودين */
@media (max-width: 992px) {
    .shop-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-photo:hover {
        transform: scale(1.35);
    }
}

@media (max-width: 600px) {
    .shop-gallery {
        grid-template-columns: 1fr;
    }

    .shop-photo img {
        height: 200px;
    }

    .shop-photo:hover {
        transform: scale(1.15);
    }
}

/* شبكة صور صالة الهنغاري */
.shop-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* بدل 4 أعمدة إلى 2 عشان تكبر الصور */
  gap: 1.75rem;
  justify-items: center;
  margin-top: 2.5rem;
}

/* كل صورة في المعرض */
.shop-photo img {
  width: 420px;        /* تقريباً ضعف الحجم الحالي */
  max-width: 100%;     /* لو الشاشة أصغر من 420px تصغر تلقائياً */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* نفس تأثير الهوفر بس على الحجم الجديد */
.shop-photo img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* موبايل: صورة تاخذ عرض السطر كامل */
@media (max-width: 900px) {
  .shop-gallery-grid {
    grid-template-columns: 1fr;
  }

  .shop-photo img {
    width: 100%;
  }
}

