/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --red: #d82600;
  --cream: #fbf0d9;
  --blue: #a2c1da;
}

/* ========== BODY & GLOBAL TEXT/ ABOUT PAGE ========== */
body {
  font-family: 'Lato', sans-serif;
  color: #000;
  line-height: 1.6;
  /* replace background-color with background */
  background: linear-gradient(180deg, #fbf0d9 0%, #f7e8cd 60%, #f3e1bf 100%);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  text-align: center;
  padding: 1.5rem;
  background-color: #d82600; /* red accent */
  color: #fbf0d9;
}

header h1 {
  font-weight: 700;
  font-size: 1.8rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: #fbf0d9;
  background-color: #000000;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: var(--blue);
  color: var(--black);
}

nav a.active {
  background-color: var(--blue);
  color: var(--black);
}

/* ========== MAIN CONTENT SECTIONS ========== */
main {
  text-align: center;
  padding: 2rem;
}

/* Artist section layout */
.artist-info {
  max-width: 960px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;

  position: relative;
  padding: 1.5rem;
  background: #fffdf8;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.artist-info::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #d82600, #a2c1da);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.art-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border: 2px solid var(--black);
  border-radius: 20px;
  display: block;        /* valid */
  margin: 1rem auto;     /* <-- centers the image */
}

/* Images never exceed their container */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Gallery section container */
.gallery {
  max-width: 900px;      /* adjust if you want narrower/wider */
  margin: 2rem auto;     /* center on the page */
  padding: 0 1rem;       /* a little side breathing room */
  text-align: center;
}


/* Specific gallery image cap */
.gallery img {
  width: 100%;
  max-width: 700px;      /* <- change this number to taste */
  margin: 0 auto;        /* center the image block */
  border: 2px solid var(--black);
  border-radius: 2px;
}
/* ========== PAGE NAV BUTTONS ========== */
.page-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-btn {
  background-color: #a2c1da;
  color: #fbf0d9;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: #d82600;
  color: #fbf0d9;
}

/* ========== FOOTER ========== */
footer {
  background-color: #d82600;
  color: #fbf0d9;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
/* image block */
.art-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  object-fit: cover;
}

/* text styling */
.bio h2 { margin-bottom: .4rem; line-height: 1.2; }
.bio p  { margin-top: .6rem; color: #2a2a2a; }

/* buttons row already in your HTML */
.page-nav {
  max-width: 960px;
  margin: 1rem auto 3rem;
  display: flex;
  gap: .75rem;
  justify-content: center;
}

/* responsive: stack on small screens */
@media (max-width: 720px) {
  .artist-info {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .art-img { max-width: 320px; margin: 0 auto; }
}

/* ========== ART INFO BOX (Beyond Craftsmanship) ========== */
.art-info {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: #fffdf8;               /* soft cream background */
  border-radius: 18px;               /* rounded corners */
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);  /* soft shadow */
  border: 1px solid rgba(0,0,0,0.06);        /* subtle border */
  text-align: center;
}

.art-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.art-info p {
  margin-bottom: 0.75rem;
  color: #222;
  line-height: 1.6;
}

/* ========== SIMPLE SLIDER ========== */

.carousel {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

/* all slides hidden by default */
.carousel .slides img {
  display: none;
  max-width: 100%;
  border: 2px solid var(--black);
  border-radius: 2px;
}

/* the one active slide will show */
.carousel .slides img.active {
  display: block;
}

/* simple styling for the buttons */
.controls {
  margin-top: 0.5rem;
}

.controls button {
  padding: 0.3rem 0.8rem;
  margin: 0 0.25rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #a2c1da;
  color: #000;
  cursor: pointer;
}

.controls button:hover {
  background-color: #d82600;
  color: #fbf0d9;
}
/* hide extra info by default */
#extra-info {
  display: none;
  margin-top: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#toggle-info {
  background-color: #a2c1da;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#toggle-info:hover {
  background-color: #d82600;
  color: #fbf0d9;
}