.donation-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.donation-currency {
  font-size: 1.8rem;
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #B7CE56;
  font-weight: 300;
  margin-right: 0.5rem;
}

.support #donation-amount {
  font-size: 1.8rem;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 300;
  color: #B7CE56;
  background: #1a2f2f;
  border: 2px solid #B7CE56;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  text-align: center;
  max-width: 120px;
  display: block;
  margin-left: 0;
  margin-right: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } /* disable smooth scrolling */
}

body {
  color: #e8e8e8;
  line-height: 1.7;
  background-color: #1a2f2f;
  font-size: 16px;
}

/* Typography */

body {
  font-family: 'Roboto', 'Verdana', sans-serif;
  font-weight: 300;
}

.philosophy p,
.status-description p,
.support p,
.status-content p,
blockquote p {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 300;
}

.hero h1,
.hero .subtitle,
.timeline-title,
.header-menu {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
}

.philosophy h2,
.status h2,
.gallery h2,
.gallery-item h3,
.support h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
}

/* Section alignment */

section {
  display: flex;
  justify-content: center;
  padding: 6rem 2rem;
}

.section-content {
  max-width: 1300px;
  width: 100%;
}

.bibliography {
  margin-top: 6rem;
}

.hero-header {
  margin: 0 2rem;
}

/* Header section */
.header-wrapper {
  width: 100vw;
  height: 4vh;
  min-height: 40px;
  position: fixed;
  background-color: #1a2f2f;
  justify-content: center;
  z-index: 3;
  display: flex;
  flex-direction: row;
  justify-content: center;
  transition: height 0.5s ease-in-out, min-height 0.5s ease-in-out;
  overflow: hidden;
}

.header-menu {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}

.header-menu a {
  color: #e8e8e8;
  /* text-decoration: underline; */
  text-transform: uppercase;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Remove underline from external links in header menu */
.header-menu a[href^="http"] {
  text-decoration: none;
}

.hide-menu-animation {
  height: 0;
  min-height: 0;
}

@keyframes show-header-menu {
  0% {
    height: 0;
    min-height: 0;
  }
  100% {
    height: 4vh;
    min-height: 40px;
  }
}

/* Hero Section */
.hero {
  height: 85vh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.hero-background-image {
  position: absolute;
  bottom: -25%;
  background-image: url('../images/bc.png');
  background-position: center;
  min-width: 100%;
  min-height: 100%;
  height: auto;
}

.hero-header {
  width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: start;
}

.hero h1 {
  font-size: 10rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 0.9;
  padding-left: 2px;
}

.hero .subtitle {
  font-size: 2rem;
  color: #e8e8e8;
  letter-spacing: 0.02em;
  margin-bottom: .6rem;
  position: static;
  align-content: end;
  padding-left: 14px;
}

/* About Section */
.about {
  background-color: #2d4a4a;
  color: #e8e8e8;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 69.58333333333333% 37.5%, #141F23 0%, 28%, rgba(20,31,35,0) 56%), 
    radial-gradient(circle at 15.416666666666668% 88.33333333333333%, rgba(66,75,118,0.83) 0%, 31.5%, rgba(66,75,118,0) 63%), 
    radial-gradient(circle at 48.9013671875% 49.521484375%, #182825 0%, 100%, rgba(24,40,37,0) 100%);
}

.about-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

blockquote {
  padding-right: 2rem;
  padding-bottom: 2rem;
  width: 30%;
}

blockquote p {
  font-style: italic;
  color: #B7CE56;
  line-height: 1.6;
}

blockquote cite {
  font-size: 0.9rem;
  color: #c9c9c9;
  font-style: normal;
  font-weight: 400;
}

.philosophy {
  width: 70%;
}

.philosophy h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.4;
}

.philosophy p {
  color: #d4d4d4;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.philosophy .project-statement {
  margin-top: 3rem;
  font-style: italic;
  color: #B7CE56;
}

/* Image Section */
.image-section {
  height: 65vh;
  overflow: hidden;
  position: relative;
}

.image-section-background {
  position: absolute;
  top: -45%;
  min-width: 100%;
  height: 130vh;
  background-image: url('../images/forest.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #c9c9c9;
}

/* Status Section */
.status {
  background-color: #f5f5f0;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.status-content {
  display: flex;
  flex-direction: row;
}

.status h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 300;
  margin-bottom: 2rem;
}

.status-text {
  width: 50%;
}

.status-text p {
  padding-bottom: 0.3rem;
}

.status-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #2a2a2a;
  text-align: justify;
}

.status-description p {
  margin-bottom: 1rem;
}

.status-timeline {
  width: 50%;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.timeline-title {
  font-size: 2.1rem;
  font-style: italic;
  color: #1a1a1a;
  font-weight: 400;
  min-width: 300px;
  text-align: right;
}

.timeline-bar {
  flex: 1;
  position: relative;
  height: 2px;
  background-color: #d0d0d0;
  display: flex;
  align-items: center;
}

.timeline-label {
  position: absolute;
  right: 0;
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  z-index: 1;
  top: -30px;
  white-space: nowrap;
  transform: translateX(50%);
}

.timeline-progress {
  height: 100%;
  background-color: #1a1a1a;
  position: relative;
}

.timeline-animation {
  animation: slide 1.5s;
}

/* Bibliography */

.bibliography {
  padding: 0 auto;
}

.bibliography-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.bibliography-wrapper div {
  width: 45%;
  text-align: justify;
}

.bibliography p {
  padding-left: 2em;
}
.bibliography p:first-letter {
  margin-left: -2em;
}

@keyframes slide {
  0%   {width: 0%;}
  100% {width: var(--w, 0%);}
}

.text-fade-in {
  animation: fade-in 3s;
}

@keyframes fade-in {
  0% {opacity: 0%;}
  50% {opacity: 0%}
  100% {opacity: 100%;}
}

.timeline-progress::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #1a1a1a;
  border-radius: 50%;
}

/* Gallery Section */
.gallery {
  background-color: #1a2f2f;
  background: radial-gradient(circle at 59.58333333333333% 47.5%, #141F23 0%, 28%, rgba(20,31,35,0) 56%), 
    radial-gradient(circle at 75.416666666666668% 88.33333333333333%, rgba(66,75,118,0.83) 0%, 31.5%, rgba(66,75,118,0) 63%), 
    radial-gradient(circle at 18.9013671875% 29.521484375%, #182825 0%, 100%, rgba(24,40,37,0) 100%);
}

.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.carousel-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.gallery-carousel {
  overflow: hidden;
  width: 90%;
  margin: 0 1%;
}

.gallery-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 0;
}

.gallery-item {
  min-width: 100%;
  /* background: #2d4a4a; */
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
}

.gallery-item img {
  width: 50%;
  height: 500px;
  object-fit: contain;
  flex-shrink: 0;
  padding-left: 3rem
}

.gallery-item-info {
  padding: 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-item h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 400;
}

.gallery-item .artist {
  font-style: italic;
  color: #c9c9c9;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.gallery-item .description {
  color: #d4d4d4;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.gallery-item .price {
  font-size: 1.8rem;
  font-weight: 300;
  color: #B7CE56;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.gallery-nav {
  background: transparent;
  border: none;
  color: #B7CE56;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-nav:hover {
  background: transparent;
  color: #B7CE56;
}
/* Style SVG arrows inside gallery-nav */
.gallery-nav svg {
  stroke: #B7CE56;
  width: 40px;
  height: 40px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(183, 206, 86, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(183, 206, 86, 0.6);
}

.dot.active {
  background: #B7CE56;
  width: 14px;
  height: 14px;
}

.paypal-button-container {
  margin-top: 1rem;
}

/* Support Section */
.support {
  padding: 5rem 4rem;
  text-align: center;
  background-color: rgb(30,38,42);
  color: #e8e8e8;
  flex-direction: column;
}

.support h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #B7CE56;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.support p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: #d4d4d4;
}

.support #donation-amount {
  font-size: 1.8rem;
  font-weight: 300;
  color: #B7CE56;
  background: #1a2f2f;
  border: 2px solid #B7CE56;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.support .highlight-text {
  color: #f4c542;
  font-style: italic;
}

.paypal-button-container {
  margin-top: 1rem;
}

/* Ensure the donate button container is centered and constrained */
#paypal-donate-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.75rem auto;
  width: 100%;
  max-width: 420px;
}

/* Footer */
footer {
  background-color: #0f1f1f;
  color: #c9c9c9;
  text-align: center;
  padding: 1.5rem 2rem;
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1900px) {
  .hero-background-image {
    bottom: 0;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 8rem;
  }

  .hero .subtitle {
    font-size: 1.6rem;
    margin-bottom: .7rem;
  }
  
  .image-section-background {
    background-attachment: scroll;
  }

  .status-content {
    flex-direction: column;
  }

  .status-text {
    width: 100%;
  }
  
  .status-timeline {
    width: 100%;
  }

  .hero-background-image {
    left: -20%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2rem 2rem;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero .subtitle {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .quote-wrapper {
    width: 100%;
  }

  .philosophy {
    width: 100%;
  }

  .gallery {
    padding: 2rem 0.5rem 6rem 0.5rem;
  }
  .gallery h2 {
    margin-bottom: 1rem;
  }

  .support h2 {
    paddinng: 2rem 0.5rem 6rem 0.5rem ;
  }

  .gallery-item {
    flex-direction: column;
  }
  .gallery-item img {
    width: 95%;
    max-height: 400px;
    padding: 1rem 0 0 0;
  }
  .gallery-item-info {
    padding: 0 2rem;
  }
  .gallery-item h3 {
    font-size: 1.5rem;
  }
  .gallery-nav {
    min-width: 35px;
    max-width: 35px;
    height: 35px;
  }
  .philosophy h2 {
    font-size: 1.5rem;
  }
  .philosophy p {
    font-size: 1rem;
  }
  blockquote p {
    font-size: 1rem;
  }
  .status h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .status-content p {
    font-size: 1rem;
  }
  .timeline-title {
    font-size: 1.25rem;
    min-width: 180px;
  }
  .bibliography-wrapper {
    flex-direction: column;
  }
  .bibliography-wrapper div {
    width: 100%;
  }
  .bibliography p {
    font-size: 0.8rem;
  }
}

@media(max-width: 490px) {
  .hero-background-image {
    left: -50%;
  }

  .hero h1 {
    margin-bottom: 0.5rem;
  }
  
  .hero-header {
    flex-direction: column;
  }

  .hero .subtitle {
    padding-left: 0px;
  }

  .timeline-title {
    font-size: 1.2rem;
    min-width: 0;
  }
}