html, body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
}

header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95); /* or a dark translucent shade */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header.scrolled .nav {
  padding: 0.25rem 2rem;
}

header h1 {
	margin: 0;
}

main {
	flex: 1;
}

.content-wrapper {
	min-height: 100vh;
	max-width: 1400px;
	margin: 0 auto;
}

a {
	--tw-text-opacity: 1;
    color: rgb(140 120 81 / var(--tw-text-opacity));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
	text-decoration: inherit;
}
a:hover {
    --tw-text-opacity: 1;
    color: rgb(212 201 176 / var(--tw-text-opacity));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5em;
}

.artwork {
  text-decoration: none;
  color: inherit;
  border: 1px solid #ccc;
  padding: 1em;
  background: #fff;
  display: block;
  transition: box-shadow 0.2s ease;
}

.artwork:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.artwork img {
  width: 100%;
  height: auto;
  margin-bottom: 0.5em;
}

.artwork-detail {
  /*max-width: 1400px;*/
  margin: 0 auto;
  padding: 2em;
}

.artwork-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  align-items: flex-start;
}

.artwork-image {
  flex: 1 1 50%;
  max-width: 50%;
}

.artwork-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
}

.artwork-meta {
  flex: 1 1 45%;
  max-width: 45%;
}

.artwork-meta h1 {
  line-height: 2.5rem;
  font-size: 2.25em;
  margin-bottom: 0.2em;
  margin-top: 0;
}

.artwork-meta .year {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 2em;
}

.artwork-description h2 {
  margin-top: 0;
  font-size: 1.4em;
  padding-top: 1em;
  margin-bottom: 0.5em;
}

.artwork-description p {
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
	font-weight: inherit;
}

.meta-info {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  margin-bottom: 2em;
}

.meta-row {
  display: flex;
}

.meta-label {
  width: 30%;
  color: #333;
  padding-right: 1em;
}

.meta-value {
  width: 70%;
  color: #555;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 12px;
/*  max-width: 1400px;*/
  margin: 0 auto;
  padding: 2em 0;
}

.grid-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f0f0f0;
  transition: transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.2s;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.4s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.edit-artworks {
	display: flex;
	border: 1px solid #ccc;
    padding: 1em;
    margin: 1em;
    width: fit-content;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
	transition: all 0.3s ease;
	max-width: 1400px;
	margin: 0 auto;
}

.nav-link {
  position: relative;
  margin: 0 1rem;
  padding-bottom: 0.2rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: rgb(140 120 81 / var(--tw-text-opacity));
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: rgb(212 201 176 / var(--tw-text-opacity));
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Optional: Mobile adjustments */
@media (max-width: 915px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-link {
    margin: 0.5rem 0;
  }
	
  .artwork-container {
    flex-direction: column;
  }

  .artwork-image,
  .artwork-meta {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .meta-label {
    width: 100%;
    text-align: left;
    padding-right: 0;
    margin-bottom: 0.2em;
  }

  .meta-value {
    width: 100%;
    margin-bottom: 1em;
  }
	
	.grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

.page-banner {
/*    max-width: 1400px;*/
    margin: 0 auto;
    padding: 4em 0 1em;
    text-align: left;
}
.page-title {
	font-size: 3rem;
    margin-bottom: 1rem;
	color: #333
}
h1.page-title {
	font-size: 3rem;
}
h2.page-title {
	font-size: 2.5rem;
}

.page-subtitle {
	font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555555;
}
.page-section {
/*	max-width: 1400px;*/
    margin: 0 auto;
    padding: 2em 0;

}

.splash {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  min-height: 100vh;
}

.splash-background {
	background: center;
    background-size: cover;
    background-image: url(/assets/images/PXL_20250429_044412152.jpg);
	/* background: linear-gradient(45deg, #729fd4, #ffd5a8);  pink to blue */
	min-height: 100vh;
	min-width: 100vw;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding-top: 100px; /* prevent header overlap */
  background: linear-gradient(135deg, #f9f6f1, #e6e2dd);
}
.hero-content {
	padding: 2rem;
    backdrop-filter: blur(3px);
    background-color: rgba(197, 197, 197, 0.2);
    border-radius: 3rem;
}
.hero-title {
  font-size: 5rem;
  margin: 0 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: #444;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #444;
}

.cta-button.secondary {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}

.cta-button.secondary:hover {
  background: #111;
  color: #fff;
}


footer {
  background: #111;
  color: #eee;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
  margin-top: auto;
}

footer .container {
  max-width: 1400px;
  margin: 0 auto;
}

footer .container > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
	text-align: left;
}

footer .container > div > div {
  flex: 1 1 250px;
  min-width: 200px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

footer h1 {
  font-size: 1.5rem;
  text-decoration: none;
	
	line-height: 1.75rem;
    margin-bottom: 1rem;
    color: #fff;}
footer h1 a {

}

footer p {
  margin-top: 0.5rem;
  color: #ccc;
  line-height: 1.5;
	max-width: 20rem;
}}

footer h3 {
    line-height: 1.75rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #fff;
}

footer a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  margin: 0.25rem 0;
}

footer a:hover {
  color: #fff;
}

footer svg {
  margin-right: 0.75rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

footer a:hover svg {
  transform: scale(1.1);
}

footer .container > div:last-child {
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #333;
  padding-top: 1rem;
}

footer .container > div:last-child p {
  border-top: 0;
  color: #777;
}


.back-link {
  font-size: 0.9rem;
  color: rgb(140 120 81 / var(--tw-text-opacity));
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.back-link:hover {
  color: rgb(212 201 176 / var(--tw-text-opacity));	
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.contact-box {
  background-color: #f7f7f7;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-form {
  background-color: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto 3rem;
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
	box-sizing: border-box;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}
.contact-form .form-row {
	padding: 1rem 2rem;
    display: flex;
    gap: 2rem;
}

.contact-form .form-row > div {
  flex: 1;
}
.contact-banner {
    max-width: 900px;
}

.bio-image {
	position: relative;
}

.bio-image img {
	height: 500px;
	width: 100%;
	object-fit: cover;
}

.grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.frame {
    border-style: solid;
    border-color: rgb(140 120 81 / 0.3);
    border-width: 2px;
    border-radius: 0.125rem;
    width: 100%;
    height: 500px;
    top: -1rem;
    left: -1rem;
    position: absolute;
}

.page-section h1 {
	font-size: 3rem;
}

.page-section h2 {
	text-align: center;
    font-size: 2.5rem;
}
.statement {
	padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6rem;
    background-color: rgb(245 245 245);
}
.statement p::first-letter
{
    font-size: 2.25rem;
    font-family: "Playfair Display", serif;
    float: left;
    margin-right: .5rem;
	margin-top: .25rem;
    line-height: 2.5rem;
}

.cv-year {
    position: relative;
    text-align: center;
    background-color: rgb(140 120 81);
    color: white;
    margin: 0 auto -2.5rem;
    border-radius: 2rem;
    height: 2.5rem;
    width: 2.5rem;
    align-content: center;
    font-size: .8rem;
    z-index: 999;
}
.achievements {
	position: relative;
}
.achievements .line {
    border-left: 2px solid rgb(140 120 81 / 0.3);
    height: 100%;
    position: absolute;
    left: 50%;
	margin-left: -1px;
	z-index: 998;
}
.achievements .cv-item:nth-of-type(odd) {
    left: 50%;
    position: relative;
}
.achievements .cv-item {
    background-color: rgb(245 245 245);
    width: 50%;
    padding: 1rem;
    box-sizing: border-box;
	margin-bottom: 1.5rem;
}

.spacer {
	height: 5em;
}
.short {
	text-align: center;
    max-width: 600px;
}
.center-aligned {
	align-content: center;
}

.admin-grid {
    display: grid;
    gap: 0rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.read-more-cta {
  display: inline-block;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.read-more-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.read-more-cta:hover {
  color: #000;
}

.read-more-cta:hover::after {
  transform: scaleX(1);
}
















