/* Modern style.css with Clean Circular Headshot */

:root {
  --color-bg: #0f172a;
  --color-text: #f1f5f9;
  --color-accent: #3b82f6;
  --color-muted: #a4c7f8;
  --color-orange: #ff6a00;
  --font-main: 'Inter', sans-serif;
}


body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3 {
  color: white;
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  padding-bottom: 0.25rem;
}

p, li {
  font-size: 1.1rem;
  max-width: 800px;
  color: var(--color-muted);
}

ul {
  padding-left: 1.75rem;
}

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

a:hover {
  color: var(--color-orange);
}
/* Nav container */
.nav {
  background-color: #0b132b;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-weight: bold;
  color: white;
  font-size: 1.2rem;
}

/* Links list */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #ff7f00; /* your fiery orange */
}


/* Toggle button (hamburger) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 1rem;
    background: #0b132b;
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}


/* Push content down */
header.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('assets/hero-background.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  box-sizing: border-box;
}

/* Remove hard padding from body > header */
body > header.hero {
  padding-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  z-index: 0;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 1;
  margin: 0.5rem 0;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
}

/* Responsive font scaling */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.25rem;
  }
}


.cta-button {
  margin-top: 2rem;
  display: inline-block;
  background-color: var(--color-orange);
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1;
}

.cta-button:hover {
  background-color: #ff8533;
  color:#0f172a;
  text-decoration: none;
}

.signature-logo {
   max-width: 300px;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1)
          drop-shadow(0 0 2px #ff6a00)
          drop-shadow(0 0 8px #ff6a00)
          drop-shadow(0 0 15px #ff6a00);
  animation: flicker 3s infinite ease-in-out;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.4;
  }
}


section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: auto;
  border-bottom: 1px solid #1e293b;
}

section:last-of-type {
  border-bottom: none;
}

#bio {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#bio p {
  flex: 1 1 60%;
  margin: 0;
}

.bio-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: url('assets/Bridger.jpg') center/cover no-repeat;
  box-shadow: 0 0 0 4px #1e293b, 0 0 12px #3b82f6;
  animation: fadeInScale 1s ease-out;
  flex-shrink: 0;
}

/* Portfolio section wrapper */
#portfolio {
  background-color: #0b132b; /* matches your site’s dark tone */
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

/* Section title */
#portfolio h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
}


/* Carousel wrapper */
.portfolio-scroller {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Project card */
.portfolio-scroller a {
  flex: 0 0 auto;
  width: 260px;
  background-color: #1c2333;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-scroller a:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Thumbnail image */
.portfolio-scroller img {
  width: 100%;
  height: auto;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Project title */
.portfolio-scroller p {
  margin: 0;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  color: #3b82f6;
}

.portfolio-scroller a:hover p {
  color: #ffaa33;
}

.slide-wrapper {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
  }

  .simple-slides {
    position: relative;
    text-align: center;
    font-size: 1.75rem;
    min-height: 180px;
    padding: 1rem;
  }

  .slide {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .slide.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .slide strong {
    display: block;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 0.5rem;
  }

  .slide span {
    font-size: 1.1rem;
    color: #94a3b8;
  }

  .slide-controls {
    text-align: center;
    margin-top: 2rem;
  }

  .slide-controls button {
    background: #3b82f6;
    color: white;
    padding: 0.6rem 1.4rem;
    margin: 0 0.75rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .slide-controls button:hover {
    background: #2563eb;
  }
  .slide-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.slide-notes {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--color-orange);
  font-size: 0.95rem;
  color: #94a3b8;
  font-style: italic;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

form {
  max-width: 600px;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

#form-status {
  margin-top: 1rem;
  font-weight: bold;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  display: none;
}

.hidden {
  display: none;
}

.form-success,
.form-error {
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  font-weight: bold;
  border-radius: 0.5rem;
}

.form-success {
  background-color: #22c55e;
  color: #0f172a;
}

.form-error {
  background-color: #ef4444;
  color: white;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: none;
  background-color: #1e293b;
  color: #f1f5f9;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  background-color: #0f172a;
}

button[type="submit"] {
  padding: 0.75rem;
  background-color: var(--color-accent);
  color: #0f172a;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #2563eb;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.tools-grid img {
  max-width: 80px;
  filter: grayscale(100%) brightness(1.2);
  transition: transform 0.3s, filter 0.3s;
}

.tools-grid img:hover {
  filter: none;
  transform: scale(1.1);
}

footer {
  background-color: #1e293b;
  color: #cbd5e1;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--color-accent);
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  p, li {
    font-size: 1rem;
  }
  #bio {
    flex-direction: column;
    align-items: center;
  }
  .bio-image {
    width: 150px;
    height: 150px;
  }
}
#coming-soon {
  padding: 2em;
}

.coming-book {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
  margin-bottom: 2em;
}

.book-cover {
  width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.book-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.book-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .book-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}
