/* ======================
   1. Design Tokens (Variables)
====================== */
:root {
  --background-color: #f5f5f5;
  --text-color: #1a1a1a;
  --accent-color: #4f46e5;
  --header-bg: #4f46e5;
  --header-text: #ffffff;
  --footer-bg: #e5e7eb;
  --footer-text: #1a1a1a;
  --main-bg: #ffffff;
}

/* ======================
   2. Base / Global Styles
====================== */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.8rem;
}

ul li a {
  color: var(--accent-color);
  text-decoration: none;
}

ul li a:hover {
  text-decoration: underline;
}

/* ======================
   3. Layout Containers
====================== */
header {
  background-color: var(--header-bg);
  color: var(--header-text);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav {
  display: flex;
  gap: 1.5rem;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--main-bg);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ======================
   4. Navigation & UI Elements
====================== */
header nav a {
  color: var(--header-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #d1d5db;
}

a.button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

a.button:hover {
  background-color: #3730a3;
}

/* ======================
   5. Page-Specific Components
====================== */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.about-image {
  width: 360px;
  height: 525px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.about-text {
  flex: 1;
  text-align: left;
}

.about-text p:first-child {
  margin-top: 0;
}



/* ======================
   6. Utilities / Elements
====================== */
.hr-accent {
  border: none;
  height: 2px;
  background-color: var(--accent-color);
  margin: 2rem 0;
}
