/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

:root {
  --blue: #1e88e5;
  --blue-light: #e3f2fd;
  --dark-blue: #0d47a1;
  --text-dark: #1f2937;
}

body {
  background: #f8fafc;
  color: var(--text-dark);
}

/* =====================
   SECTION SYSTEM
===================== */
.section-blue {
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  color: #fff;
}

.section-white {
  background: #ffffff;
  color: var(--text-dark);
}

.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: #ffffff;
}

.section-white h2,
.section-white h3,
.section-white h4 {
  color: var(--dark-blue);
}


a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =====================
   HEADER / NAVBAR
===================== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  background: rgba(255,255,255,0.9);
  color: var(--dark-blue);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: 0.3s ease;
}

.main-header.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.9);
  color: var(--dark-blue);
}

.header-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: bold;
}

.logo span {
  color: var(--blue);
}

/* NAV */
.nav-links {
    
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-size: 15px;
  opacity: 0.85;
  position: relative;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8fd3f4;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}






/* =====================
   PRODUCT HERO
===================== */
.product-hero {
  padding: 120px 0 80px; /* خلي بالك من ال fixed header */
  background: var(--blue);
}

.product-hero-container {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 10px; /* دي المسافة الحقيقية بين الصورة والوصف */

}

.product-image img {

  max-width: 80%;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-summary {
  flex: 1;
}

.product-summary h1 {
  font-size: 36px;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.product-summary h3 {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 16px;
}

.product-summary .product-type {
  font-weight: 600;
  margin-bottom: 12px;
}

.product-summary .short-description {
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-summary .quick-info li {
  margin-bottom: 8px;
}

/* =====================
   PRODUCT SECTIONS
===================== */
section[class^="product-"] {
  padding: 60px 0;
}

.composition-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex: 1 1 200px;
  font-size: 16px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



.product-packaging {
  background: #fff;
  color: var(--text-dark);
}


.product-packaging h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--dark-blue);
}


.product-packaging p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}



.product-packaging .packaging-grid {
  display: flex;
  margin-left: 40px;
  margin-right: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.product-packaging .packaging-grid div {
  flex: 1 1 200px;
  background: var(--blue-light);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-packaging .packaging-grid h4 {
  margin-bottom: 8px;
  color: var(--dark-blue);
}

.product-packaging .packaging-grid p {
  font-weight: 600;
  color: var(--text-dark);
}

/* =====================
   RESPONSIVE
===================== */
@media screen and (max-width: 992px) {
  .product-hero-container {
    flex-direction: column;
    text-align: center;
  }

  .product-summary {
    flex: unset;
  }

  .product-packaging .packaging-grid {
    flex-direction: column;
    gap: 20px;
  }
}


/* =====================
   LANGUAGE SWITCH
===================== */
.lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch button {
  background: transparent;
  color: #6e5b9c;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover */
.lang-switch button:hover {
  background: #ffffff;
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Active Click */
.lang-switch button:active {
  transform: scale(0.95);
}





.product-details {
  padding: 80px 0;
  background: #f8fafc;
}

.details-grid {
  width: 85%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.details-item {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.details-item:hover {
  transform: translateY(-6px);
}

.details-item h3 {
  margin-bottom: 15px;
  color: var(--dark-blue);
  font-size: 22px;
}

.details-item p,
.details-item li {
  font-size: 16px;
  line-height: 1.7;
}

.details-item ul {
  padding-left: 18px;
}







