/* =========================
   Global Styles - global.css
========================= */

/* ---------- Farben / Farbenvariablen ---------- */
:root {
  --beige: #f5efe6;
  --brown: #8b6b4c;
  --light-brown: #d2b48c;
  --dark-brown: #5c4033;
  --text: #3b2e28;
}

/* ---------- Allgemeine Einstellungen ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--beige);
  color: var(--text);
  display: flex;
  min-height: 100vh;
}

/* ---------- Aside / Sidebar ---------- */
aside {
  background-color: var(--brown);
  color: #fff;
  width: 40%;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

aside img {
  width: 400px;
  height: 500px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 40px;
  border: 3px solid var(--light-brown);
}

aside h1 {
  font-size: 2em;
  margin-bottom: 15px;

}

aside h4 {
  font-size: 1.5em;
  margin-bottom: 80px;
  
}

aside p {
  font-size: 1em;
  margin-bottom: 80px;
  
}

aside h1 {
  font-size: 1.8em;
  margin-bottom: 60px;
}

aside h2 {
  font-size: 1.5em;
  margin-bottom: 60px;
}

/* ---------- Main Container ---------- */
main {
  flex: 1;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- Sections General ---------- */
section {
  border-left: 3px solid var(--light-brown);
  padding-left: 20px;
  /* تعديل: الأقسام تظهر دائمًا بدون اختفاء */
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.8s ease-out;
}

section h2 {
  color: var(--dark-brown);
  font-size: 1.4em;
  margin-bottom: 15px;
  transition: color 0.3s;
}

section h2:hover {
  color: var(--light-brown);
}

section p, li {
  line-height: 1.6;
  font-size: 1em;
}

ul {
  list-style-type: none;
}

ul li::before {
  content: "▹ ";
  color: var(--brown);
  font-weight: bold;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  font-size: 0.9em;
  color: var(--dark-brown);
  margin-top: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  body {
    flex-direction: column;
  }

  aside {
    width: 100%;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
  }

  main {
    padding: 30px 20px;
  }
  footer {
  text-align: center;
  font-size: 0.9em;
  color: var(--dark-brown);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--light-brown);
}
footer a {
  color: var(--brown);
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover {
  color: var(--light-brown);
}

}

