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

/* إعادة تعيين الأنماط الأساسية */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

html, body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background: #F7F1E1;  /* خلفية كريمية */
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #3E2723;  /* نص داكن */
}

* {
  outline: none;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* تنسيق الـ Container */
#container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* الهيدر */
.header {
  width: 100%;
  background-color: #6D4C41; /* لون بني متوسط */
  padding: 20px 0;
}

.header .wrapper {
  width: 100%;
  max-width: 1170px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  display: block;
  max-width: 120px;
  height: auto;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #BF360C;  /* لمسة برتقالية داكنة */
}

/* قسم الـ Hero */
.hero {
  width: 100%;
  /* خلفية متعلقة بالكتب والمكتبات */
  background: url('https://source.unsplash.com/1600x900/?books,library') center no-repeat;
  background-size: cover;
  position: relative;
  padding: 100px 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);  /* تراكب داكن خفيف */
}

/* تنظيم محتويات الـ Hero لتكون مركزية */
.hero .wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1170px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero .content {
  width: 100%;
  color: #F7F1E1;  /* نص بلون الكريمة */
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  color: #BF360C;  /* لمسة برتقالية داكنة */
  margin-bottom: 20px;
}

.hero ul {
  margin: 40px 0;
  list-style: none;
}

.hero ul li {
  margin: 20px auto;
  max-width: 600px;
  position: relative;
  padding-left: 40px;
  text-align: left;
}

.hero ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 25px;
  height: 25px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Checkmark_green.svg/1024px-Checkmark_green.svg.png') center no-repeat;
  background-size: contain;
}

.hero ul li h2 {
  font-size: 24px;
  color: #BF360C;
  margin-bottom: 10px;
}

.hero ul li p {
  font-size: 16px;
  color: #E0E0E0;
}

.button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #BF360C;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #D84315;
}

/* قسم تقييمات القراء */
.reviews {
  width: 100%;
  padding: 80px 0;
  background-color: #FFF8E1;  /* خلفية بيضاء مصفرّة فاتحة */
}

.reviews .wrapper {
  max-width: 1170px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

.reviews h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  color: #5D4037;  /* بني داكن */
  margin-bottom: 40px;
}

.reviews h2 span {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: 18px;
  color: #8D6E63;  /* بني فاتح */
  margin-bottom: 10px;
}

.review-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.user-review {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  flex: 1;
  min-width: 280px;
  max-width: 32%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3E2723;
}

.user-review .profile-picture {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
}

.user-review .profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-review h4 {
  font-size: 20px;
  color: #BF360C;
  margin-bottom: 5px;
}

.user-review .user {
  font-size: 14px;
  color: #7E7E7E;
  margin-bottom: 15px;
}

.user-review .quote {
  width: 30px;
  height: 30px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Quote_symbol.svg/512px-Quote_symbol.svg.png') center no-repeat;
  background-size: contain;
  margin-bottom: 15px;
}

.user-review p {
  font-size: 14px;
  color: #5D4037;
}

/* قسم التواصل */
.contact-form {
  width: 100%;
  padding: 80px 0;
  background-color: #F7F1E1;
}

.fbody {
  max-width: 540px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

.fbody h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  color: #BF360C;
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 30px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: #E0E0E0;
  color: #3E2723;
  font-size: 16px;
}

.form-control::placeholder {
  color: #7E7E7E;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #BF360C;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #D84315;
}

/* الفوتر */
.footer {
  width: 100%;
  background-color: #6D4C41;
  padding: 40px 0;
  color: #E0E0E0;
  text-align: center;
}

.footer .wrapper {
  max-width: 1170px;
  margin: auto;
  padding: 0 20px;
}

.social-logos img {
  width: 250px;
  height: auto;
  margin-top: 20px;
}
