/* 
👤 ABOUT PAGE STYLES

Theme styles are located in
../../styles/theme.css
   

NOTES:
- 
   
*/

/* --- BASIC PAGE SETTINGS --- */
* { 
  box-sizing: border-box; 
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}


/* --- HEADERS --- */
h1 { 
  font-size: 36px; 
}

h2 { 
  font-size: 26px; 
}

h3 { 
  font-size: 19px; 
}

h1, 
h2, 
h3 { 
  margin: 0 0 20px; 
  line-height: 1.25; 
}


/* --- LINKS AND IMAGES --- */
a { 
  color: var(--accent); 
}

img { 
  max-width: 100%; display: block; 
}


/* --- MAIN LAYOUT --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section--tinted { background: var(--surface); }

/* ABOUT INTRO */
.about-intro {
  text-align: left;
}


/* GRID ROWS */
/*
  Defualt is one column.
  Media queries at bottom creates two columns on wider screens.
 */
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}


/* --- FEATURE CARDS --- */
.card {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

/* --- PLACEHOLDER IMAGES AREA --- */
.ph {
  height: 240px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding-top: 105px;
}
.ph--square { height: 260px; }


/* --- LISTS --- */
.list { padding-left: 20px; margin: 0 0 20px; }
.list li { margin-bottom: 6px; }

/* --- FORM STYLES FOR FUTURE PAGES--- */
.form { max-width: 480px; }
.field { margin: 0 0 20px; }
.field label { display: block; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}


/* --- HEADER AND FOOTER --- */
.site-header, 
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.site-header { 
  border-bottom: 1px solid var(--border); 
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-title {
  font-weight: bold;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.site-copy { 
  margin: 0; 
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a { 
  text-decoration: none; 
}


/* --- ACCESSIBILITY --- */
.page-home a:focus-visible,
.page-home .btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}


/* RESPONSIVE LAYOUT */
@media (min-width: 700px) {
  .row--2 { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .row--3 { 
    grid-template-columns: repeat(3, 1fr); 
  }
}

