/* ========== 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 */
}




/* ========== Delete to show the cosmatics and herbs ssections ========== */
/*
#herbs,
#cosmetics {
  display: none !important;
}
*/



#cosmetics {
  display: none !important;
}


