* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated color palette to monochrome - grays, neutrals, white, and black only */
:root {
  --bg-color: #ffffff;
  --text-color: #242424;
  --accent-color: #4a4a4a;
  --light-gray: #f5f5f5;
  --medium-gray: #8a8a8a;
  --overlay-color: rgba(36, 36, 36, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Landing Page Styles */
.landing-page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
  z-index: 2;
}

.landing-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  color: white;
}

.landing-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.landing-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.explore-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--text-color);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  border: 2px solid var(--text-color);
}

.explore-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.landing-footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* New simple header with centered artist name */
.simple-header {
  padding: 3rem 2rem 2rem;
  text-align: center;
  background-color: var(--bg-color);
}

.artist-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.artist-name:hover {
  color: var(--accent-color);
}

/* Main Content */
.portfolio-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.preview-grid {
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

.preview-grid .artwork-card:nth-last-child(2):nth-child(odd) {
  grid-column: 2 / 3;
}

.preview-grid .artwork-card:nth-last-child(1):nth-child(even) {
  grid-column: 3 / 4;
}

.full-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.artwork-card {
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.artwork-card:hover {
  transform: translateY(-5px);
}

.artwork-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.artwork-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.artwork-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(36, 36, 36, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  padding: 2rem;
}

.artwork-card:hover .artwork-overlay {
  opacity: 1;
}

.artwork-name {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
}

/* Hide old artwork info elements */
.artwork-title,
.artwork-description,
.artwork-dimensions,
.artwork-year {
  display: none;
}

/* Gallery Page */
.gallery-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.gallery-header {
  margin-bottom: 4rem;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--accent-color);
}

.gallery-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

/* Gallery subtitle styling */
.gallery-subtitle {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(36, 36, 36, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Biography Section */
.biography-section {
  margin: 6rem 0;
  background-color: #f9f9f8;
  padding: 4rem 2rem;
  margin: 0 -2rem;
}

/* Updated biography layout to horizontal with 40/60 split */
.biography-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.biography-image {
  flex: 0 0 40%;
  padding: 1rem;
}

.biography-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.biography-text {
  flex: 0 0 60%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biography-text h2 {
  margin-bottom: 1.5rem;
}

.biography-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Contact Section */
.contact-section {
  text-align: center;
  margin: 6rem 0;
  position: relative;
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  margin: 6rem -2rem 0;
}

.contact-info {
  margin: 3rem 0;
}

.contact-email,
.contact-instagram,
.contact-location {
  margin: 1rem 0;
  font-size: 1.125rem;
}

.contact-email a,
.contact-instagram a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email a:hover,
.contact-instagram a:hover {
  color: var(--accent-color);
}

.contact-instagram a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
}

.contact-instagram svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.contact-instagram a:hover svg {
  transform: scale(1.1);
  color: var(--accent-color);
}

.artist-quote {
  margin: 4rem auto;
  max-width: 600px;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.8;
}

.artist-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 1rem;
  color: rgba(36, 36, 36, 0.7);
}

.back-to-top {
  background-color: var(--text-color);
  color: var(--bg-color);
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Installation Section */
.installation-section {
  margin-top: 0;
  text-align: center;
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  margin: 0 -2rem;
}

.installation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.installation-item {
  text-align: center;
}

.installation-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.installation-caption {
  font-size: 0.875rem;
  color: rgba(36, 36, 36, 0.6);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #242424;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;
}

.lightbox.active {
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--medium-gray);
  transform: scale(1.1);
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  width: 100%;
  max-width: 600px;
  height: 600px;
  object-fit: contain;
  margin-bottom: 2rem;
  background-color: #1a1a1a;
  border-radius: 12px;
}

.lightbox-info {
  color: white;
  padding: 0 1rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.4;
}

.lightbox-detail {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.lightbox-label {
  font-weight: 600;
  color: white;
}

.lightbox-medium,
.lightbox-dimensions,
.lightbox-year {
  display: inline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .main-nav {
    gap: 1rem;
  }

  /* Stack biography vertically on mobile with centered layout */
  .biography-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .biography-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0.5rem;
  }

  .biography-text {
    flex: 0 0 auto;
    width: 100%;
    padding: 0.5rem;
  }

  .installation-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .preview-grid .artwork-card:nth-last-child(2):nth-child(odd) {
    grid-column: auto;
  }

  .preview-grid .artwork-card:nth-last-child(1):nth-child(even) {
    grid-column: auto;
  }

  .full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .artwork-image {
    height: 300px;
  }

  .artwork-name {
    font-size: 1rem;
  }

  .lightbox-content {
    padding: 1.5rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .lightbox-title {
    font-size: 1.5rem;
  }

  .lightbox-detail {
    font-size: 0.9375rem;
  }

  .contact-instagram svg {
    width: 32px;
    height: 32px;
  }

  .simple-header {
    padding: 2rem 1rem 1.5rem;
  }

  .artist-name {
    font-size: 1.125rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  .landing-title {
    font-size: 2rem;
  }

  .landing-subtitle {
    font-size: 0.9375rem;
  }

  .explore-btn {
    padding: 0.875rem 2rem;
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .artwork-image {
    height: 250px;
  }

  .lightbox-image {
    height: 400px;
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.works-section {
  background-color: #f9f9f8;
  padding: 4rem 2rem;
  margin: 0 -2rem;
  animation: fadeIn 0.8s ease-out;
}

.contact-section {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  margin: 0 -2rem;
  animation: fadeIn 0.8s ease-out;
}

.installation-section {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  margin: 0 -2rem;
  animation: fadeIn 0.8s ease-out;
}

/* View More Button */
.view-more-container {
  text-align: center;
  margin-top: 3rem;
}

.view-more-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--text-color);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  font-size: 1rem;
  border: 2px solid var(--text-color);
}

.view-more-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 74, 74, 0.2);
}
