body {
  font-family: 'Raleway', Arial, sans-serif;
  background: #f8fafc;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 12px;
}

:root {
  --color-primary: #2B737B;
  --color-secondary: #F7F6F4;
  --color-three: #EEEDE7;
  --color-four: #1F2020;
  --color-background-light: #eec17d;
  --color-background-dark: #2f3049;
  --color-white: #F9F9F9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--color-primary);
}

p {
  line-height: 1.2rem
}

section h1 {
  font-size: 1.8rem;
}

section.centered-content {
  text-align: center;
}

.quote {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: transparent;
}

.header-container {
  display: block;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  background-color: var(--color-white);
}

header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 6px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.04) 50%, rgba(15, 23, 42, 0) 100%);
  pointer-events: none;
}

.heading-emphasis {
  font-style: italic;
}

.main-nav {
  margin: 0 5vw;
  z-index: 20;
}

.nav-links {
  display: grid;
  grid-template-columns: 6fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
  font-size: 1.125rem;
  list-style: none;
  margin: 0;
}

.header-container .mobile-logo {
    display: none;
  }

.logo {
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  text-transform: uppercase;
}

.logo a {
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 400;
}

.nav-links a.nav-link {
  display: flex;
  justify-content: center;
  color: var(--color-four);
  font-size: 0.75rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

main.container {
  margin: 0;
}

.hero-section {
  position: relative;
  height: 80vh;
  overflow: hidden;
  background: #ebf8ff; /* blue-100 */
}

.hero-rotator {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
}

.img-small {
  border-radius: 18px;
}

.hero-image img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-start{
  opacity: 1;
}

.section-title-wrapper {
  width: 100%;
  padding: 2.5rem 0 2rem 0 ;

}

.section-title-wrapper h1 {
  margin: 0 auto;
  width: fit-content;
  color: var(--color-four);
}

.call-to-action {
  background-color: var(--color-three);
  padding-bottom: 2rem;
}

.call-to-action-content-wrapper {
  max-width: 25rem;
  margin: 0 auto;
}

.call-to-action-title-wrapper {
  width: 100%;
  padding: 2.5rem 0  1rem;
}

.call-to-action-title {
  margin: 0 auto;
  width: fit-content;
}

.call-to-action-content-wrapper img {
  margin: 0 auto;
  text-align: center;
  max-width: 25rem;
}

.call-to-action-text {
  color: var(--color-primary);
}

.be-seen {
  padding: 0 10%;
}

.be-seen p {
  padding-bottom: 2rem;
  width: 90%;
  margin: 0 auto;
}

/* Be Seen Mosaic Grid */
.be-seen-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
}

.mosaic-item {
  overflow: hidden;
}

.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Grid placement */
.mosaic-large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.mosaic-small-1 {
  grid-column: 3;
  grid-row: 1;
}

.mosaic-tall {
  grid-column: 3;
  grid-row: 2 / 4;
}

.mosaic-small-2 {
  grid-column: 1;
  grid-row: 3;
}

.mosaic-small-3 {
  grid-column: 2;
  grid-row: 3;
}

.artist-statement {
  background: white;
}

.artist-grid-wrapper .section-title-wrapper {
  display: flex;
  padding: .5rem 0;
}

.artist-grid-wrapper .section-title-wrapper h1 {
  margin: 0;
}

.artist-grid-wrapper {
  display: block;
  padding: 3rem 0 3rem 0;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  padding: 0 10%;
  overflow-y: hidden;
  align-items: start;
}

.artist-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.view-my-work {
  background: white;
  justify-content: space-evenly;
  padding-bottom: 4rem;
}

.view-my-work-title-wrapper {
  width: 100%;
}

.view-my-work-title {
  margin: 0 auto;
  width: fit-content;
}

.view-my-work-grid-wrapper {
  display: block;
}

.view-my-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
  column-gap: 8vw;
  row-gap: 12vh;
  padding: 0 10%;
}

.artist-card {
  text-align: left;
  grid-row: span 2;
}

.artist-card-wide {
  grid-column: span 2;
}

.artist-card h3 {
  font-family: "Raleway";
  font-size: 12px;
  color: var(--color-four);
}

.view-my-work-label {
  font-size: 12px;
  margin-top: 1rem;
  text-transform: uppercase;
}

.artist-card-image-container {
  height: 20rem;
  overflow: hidden;
} 

.artist-card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.artist-card-title h2 {
  color: var(--color-four);
}

.artist-card .btn {
  padding: 0.5rem 2rem;
}

.artist-card-description {
  margin-bottom: 1rem;
}

.artist-card-book-discovery {
  grid-row: span 2;
  height: 30rem;
  background-image: url("/assets/about_image-258fa61b.jpg");
  background-repeat: no-repeat;
  justify-content: center;
  border-radius: 8px;
}

.artist-card-book-discovery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 2rem;
  text-align: center;
  color: white;
}

.testimonials-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-three);
  overflow: hidden;
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.testimonial-container {
  position: relative;
  width: 100%;
  min-height: 450px;
  overflow: hidden;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transform: translateX(0);
  pointer-events: none;
}

.testimonial-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Slide animations */
.testimonial.slide-in-right {
  animation: slideInRight 0.5s ease forwards;
}

.testimonial.slide-in-left {
  animation: slideInLeft 0.5s ease forwards;
}

.testimonial.slide-out-left {
  animation: slideOutLeft 0.5s ease forwards;
  z-index: 0;
}

.testimonial.slide-out-right {
  animation: slideOutRight 0.5s ease forwards;
  z-index: 0;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 1;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 1;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 1;
  }
}

.testimonial-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.testimonial-first-part {
  height: 100%;
  overflow: hidden;
}

.testimonial-first-part img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonial-second-part {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: var(--color-three);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
}

.testimonial-author-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.testimonial-author-image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #7a3b3b;
  flex-shrink: 0;
}

.testimonial-author-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

.testimonial-author {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-four);
}

.testimonial-quote-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
}

.testimonial-text {
  flex: 1;
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0;
  text-align: center;
  color: #666;
  max-width: 500px;
}

.testimonial-nav {
  flex-shrink: 0;
  z-index: 2;
  background: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-four);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.testimonial-nav:hover {
  background: rgba(245, 245, 245, 1);
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.testimonial-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: background 0.3s;
}

.testimonial-indicator.active {
  background: var(--color-four);
}

.testimonial .btn-secondary-light {
  max-width: fit-content;
  margin: auto;
}

/* Responsive styles for testimonials */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 0 5%;
  }

  .testimonial-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonial-first-part {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .testimonial-container {
    min-height: auto;
  }

  .testimonial-second-part {
    padding: 2rem 1rem;
  }

  .testimonial-quote-wrapper {
    flex-direction: column;
  }

  .testimonial-nav {
    display: none;
  }

  .testimonial-text {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .testimonial-author-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
  }

  .testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .testimonial-indicators {
    margin-top: 2rem;
  }
}

.book-discover-call {
  background: var(--color-three);
  padding: 2rem 10%;
  margin: 0 auto;
  text-align: center;
}

.book-discover-call-content {
  margin: 5vh auto;
}

.book-discover-call-content p {
  width: 70%;
  margin: 0 auto;
}

.follow-me {
  background: white;
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

h1.follow-me-title {
  margin-right: 2rem;
}

.follow-me-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 0 1.8rem 0 ;
  width: unset;
}


.social-icons {
  display: flex;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #2563eb;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-right: 1.5rem
}

.social-icon-link:hover {
  transform: translateY(-5px);
  color: #1d4ed8;
}

.social-icon-link img {
  width: 40px;
}

/* Instagram-specific styling */
.instagram-icon {
  color: #e1306c;
}

/* Twitter-specific styling */
.twitter-icon {
  color: #1da1f2;
}

/* Image Ribbon Styles */
.image-ribbon {
  overflow: hidden;
}

.ribbon-container {
  display: flex;
  height: 12rem;
}

.ribbon-image {
  flex: 1;
  width: auto;
  object-fit: cover;
}

.tb-link {
  padding: 0.25rem;
  text-decoration: underline;
  display: inline-block;
  transition: background 0.2s;
}

.btn {
  background-color: transparent;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1px;
  font-size: .6rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.btn-secondary-dark {
  border: 1px solid var(--color-four);
}

.btn-secondary-light {
  color: var(--color-three);
  border: 2px solid var(--color-three);
}

.main-footer {
  background: var(--color-three);
  color: var(--color-four);
  padding: 3rem 10vw;
}

.footer-container {
  display: grid;
  grid-template-columns: 5fr 1fr 1fr auto;
  gap: 2rem;
  padding: 2rem 0;
  justify-content: space-between;
}

.footer-signature {
  margin-right: 20%;
}

footer .logo {
  color: var(--color-four);
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

footer .logo a {
  text-decoration: none;
  color: var(--color-four);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  margin-right: 2rem
}

.footer-links h2 {
  color: var(--color-four);
  margin-top: 0;
}

.footer-link {
  margin-bottom: 1rem;
  font-size: 12px;
}

.footer-link a {
  color: var(--color-four);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-rights{
  font-size: 12px;
}

.sub-footer {
  padding: 1rem 0;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-weight: 100;
  font-size: 0.5rem;
}

.sub-footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 10vw;
}

.sub-footer-right {
  justify-self: right;
}

.sub-footer-right-item {
  margin-left: 1rem;
  margin-right: 3rem;
}