/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Typography ===== */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: #e85555;
  margin-bottom: 1.5rem;
}

/* ===== Navigation ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color 0.3s ease;
}

.site-nav.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.btn-nav {
  background: #e85555;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-nav:hover {
  background: #d14444;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 2rem;
  background-image: url('../images/heroImage.png');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-bottom: 4rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 4rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-text {
  font-size: 1rem;
  color: #fff;
  line-height: 1.7;
  max-width: 500px;
}

/* ===== Paintings Section ===== */
.paintings {
  position: relative;
  padding: 6rem 0 4rem;
  background: #fff;
}

.section-curve {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

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

.painting-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.painting-wrapper:hover {
  transform: scale(1.02);
}

.painting-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}



.painting-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #333;
}

.painting-info {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* ===== Venmo Section ===== */
.venmo {
  background: #e85555;
  padding: 5rem 0;
  color: #fff;
}

.venmo .section-title {
  color: #fff;
}

.venmo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.venmo-text p {
  margin-top: 1rem;
  line-height: 1.7;
}

.venmo-text strong {
  font-weight: 700;
  text-decoration: underline;
}

.venmo-card {
  display: flex;
  justify-content: center;
}

.venmo-card-inner {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 420px;
  width: 100%;
}

.venmo-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
}

.venmo-handle {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.venmo-qr {
  width: 350px;
  margin: 0 auto;
}

/* ===== Biography Section ===== */
.bio {
  padding: 6rem 0;
  background: #fff;
}

.bio-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.bio-photo img {
  border-radius: 4px;
  width: 100%;
}

.bio-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.bio-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.bio-photos img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ===== Footer ===== */
.site-footer {
  background: #2a2a2a;
  color: #ccc;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid #555;
  margin: 1rem 0;
  max-width: 600px;
}

.footer-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-info p {
  margin-bottom: 0.25rem;
}

.footer-info a {
  color: #ccc;
  text-decoration: underline;
}

.footer-info a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social span {
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #e85555;
  border-radius: 6px;
  color: #fff;
  transition: background 0.2s;
}

.social-icons a:hover {
  background: #d14444;
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  z-index: 2001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  cursor: pointer;
  padding: 1rem;
  z-index: 2001;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    gap: 1.5rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .venmo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .bio-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bio-photos {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
    max-height: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }
}
