:root {
  --primary: #E63946;
  --accent: #FF4D4D;
  --dark: #1D1D1D;
  --white: #FFFFFF;
  --gray: #e9e9e9;
  --shadow: rgba(230,57,70,0.19);
  --radius: 16px;
  --text-main: #222;
  --text-light: #FFF;
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Open Sans', Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text-main);
  background: var(--white);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}
body[data-theme='dark'] {
  background: #131313;
  color: var(--white);
  --gray: #232325;
  --text-main: #fafafa;
  --text-light: #222;
  --primary: #E63946;
  --accent: #ff6961;
}

header {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 1rem 3rem 1rem;
  text-align: center;
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
}
.avatar-container {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: 0 4px 16px var(--accent);
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}
h1 {
  font-family: var(--heading-font);
  font-size: 3rem;
  margin: 0 0 0.2rem 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.45);
}
.subtitle {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  background: rgba(255,255,255,0.3);
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2em 0.8em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.tagline {
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  font-style: italic;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(30,0,0,0.18);
}
body[data-theme='dark'] h1 {
  color: #000;
  text-shadow: none;
}
body[data-theme='dark'] .subtitle {
  color: #fff;
  background: rgba(0,0,0,0.3);
  box-shadow: 0 4px 12px rgba(255,255,255,0.15);
}
body[data-theme='dark'] .tagline {
  color: #000;
  text-shadow: none;
}
nav[role="navigation"] {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* CTA BUTTON */
.btn {
  background: #fff;
  color: #E63946;
  padding: 0.8em 2.4em;
  border: 2px solid transparent;
  border-radius: 24px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.12rem;
  text-decoration: none;
  margin: 1rem 0.5rem 0 0.5rem;
  box-shadow: 0 4px 16px var(--shadow);
  transition: 
    background 0.3s,
    color 0.3s,
    border 0.3s,
    outline 0.15s;
}
.btn:hover,
.btn:focus {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  outline: 2px solid #000; /* Light mode: black outline on hover/focus */
  outline-offset: 2px;
}
body[data-theme='dark'] .btn {
  background: #222;
  color: var(--accent);
  border: 2px solid transparent;
}
body[data-theme='dark'] .btn:hover,
body[data-theme='dark'] .btn:focus {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  outline: 2px solid #fff; /* Dark mode: white outline on hover/focus */
  outline-offset: 2px;
}

#dark-toggle {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#dark-toggle:hover, #dark-toggle:focus {
  background: var(--accent);
  color: var(--white);
}
body[data-theme='dark'] #dark-toggle {
  background: #262626;
  color: var(--accent);
}

main {
  max-width: 700px;
  background: var(--white);
  margin: -2.5rem auto 2rem auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(20,0,0,0.10);
  padding: 3rem 2rem;
  z-index: 1;
  position: relative;
}
body[data-theme='dark'] main {
  background: #19191c;
}
section {
  margin-bottom: 2.7rem;
}
h2 {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
  font-weight: 800;
}
body[data-theme='dark'] h2 {
  color: var(--accent);
}
ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 1.1rem;
}
li + li { margin-top: 0.8em; }
section ul a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline dotted 2px;
  background: none;
  transition: color 0.2s;
}
section ul a:hover, section ul a:focus {
  color: var(--accent);
}
body[data-theme='dark'] section ul a {
  color: var(--accent);
}
.social-list {
  padding-left: 0;
  list-style: none;
  margin: 1.4em 0 0 0;
  font-size: 1.04em;
}
.social-list li { 
  margin: 0.26em 0;
  word-break: break-all;
}

/* PERFECT OUTLETS BUTTONS ROW (More of What I Do section) */
.outlets-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  margin-top: 1.2rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  padding: 0.72em 1.5em;
  border-radius: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  font-size: 1rem;
  box-shadow: 0 4px 16px var(--shadow);
  text-decoration: none;
  transition: background 0.2s;
  text-align: center;
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent);
}

@media (max-width: 780px) {
  .outlets-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    max-width: 100%;
  }
}

hr {
  border: none;
  border-bottom: 2px solid var(--gray);
  opacity: 0.25;
  margin: 2.5rem 0;
}
footer {
  background: var(--dark);
  color: #bbb;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.97rem;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}
.social-row {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}
.social-row a {
  display: inline-block;
  border-radius: 50%;
  background: var(--white);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, filter 0.2s;
}
.social-row a:hover, .social-row a:focus {
  background: var(--accent);
  outline: 2px solid var(--primary);
  filter: brightness(1.24);
}
.social-row a img {
  width: 28px;
  height: 28px;
  filter: grayscale(85%) brightness(0.7);
  display: block;
}
.social-row a:hover img, .social-row a:focus img {
  filter: none;
}
.skip-link {
  color: var(--white);
  text-decoration: underline;
  margin-left: 1em;
  font-size: 1em;
  background: transparent;
  border: none;
}
@media (max-width: 700px) {
  main {
    padding: 1.5rem 0.7rem;
  }
  .avatar-container {
    width: 120px; height: 120px;
    margin-bottom: 1.1rem;
  }
  h1 { font-size: 2rem; }
  .subtitle { font-size: 1.06rem; }
  .btn, .btn-secondary { font-size: 0.98em; padding: 0.61em 1em; }
}
