/* Professional Rauschenberg Design - Artistic Colors, Clean Presentation */

:root {
  --rust-orange: #c85a28;
  --aged-blue: #4a6fa5;
  --cream-white: #f5f0e8;
  --newsprint-gray: #6b6b6b;
  --button-black: #1a1a1a;
  --vintage-tan: #d4af37;
  --faded-red: #a64028;
  --canvas-beige: #e8dcc8;
  --ink-black: #0a0a0a;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

ul, ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body {
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-black);
  line-height: 1.7;
  background: linear-gradient(180deg, var(--canvas-beige) 0%, var(--cream-white) 30%, #ffffff 70%, var(--canvas-beige) 100%);
  background-attachment: fixed;
}

/* Hero Header */
.hero-header {
  background: linear-gradient(135deg, var(--button-black) 0%, #2a2a2a 50%, var(--button-black) 100%);
  padding: 60px 40px;
  border-bottom: 8px solid var(--rust-orange);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: var(--cream-white);
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--vintage-tan);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream-white);
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.artwork-title {
  display: block;
  font-size: 2.5rem;
  color: var(--vintage-tan);
  font-style: italic;
  margin-top: 10px;
}

.hero-details {
  margin: 25px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--rust-orange);
  border-radius: 4px;
}

.hero-details p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: var(--cream-white);
}

.hero-price {
  background: linear-gradient(135deg, var(--faded-red) 0%, var(--rust-orange) 50%, var(--vintage-tan) 100%);
  color: white;
  padding: 20px 30px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  border: 3px solid white;
  box-shadow: 0 5px 20px rgba(200, 90, 40, 0.4);
  margin: 25px 0;
  border-radius: 4px;
}

.hero-location {
  font-size: 0.9rem;
  color: var(--cream-white);
  padding: 15px;
  background: rgba(74, 111, 165, 0.2);
  border-radius: 4px;
  text-align: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border: 8px solid var(--cream-white);
  box-shadow: 0 0 0 2px var(--button-black), 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 80px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--button-black);
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  margin-top: 50px;
  margin-bottom: 20px;
  padding: 20px 30px;
  background: var(--button-black);
  color: var(--cream-white);
  border-left: 8px solid var(--rust-orange);
  border-right: 4px solid var(--aged-blue);
  box-shadow: 4px 4px 0 rgba(200, 90, 40, 0.2);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h3 {
  font-size: 1.3rem;
  color: var(--rust-orange);
  border-bottom: 3px solid var(--aged-blue);
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Sections */
.editable-section {
  margin: 40px 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  border-left: 5px solid var(--rust-orange);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.executive-summary {
  background: linear-gradient(135deg, rgba(200, 90, 40, 0.08) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 3px solid var(--rust-orange);
  border-left: 12px solid var(--rust-orange);
  padding: 40px;
  font-size: 1.1rem;
  line-height: 1.9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.price-tag {
  display: none;
}

/* Lists */
ul {
  margin: 20px 0;
}

li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  line-height: 1.8;
}

li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--rust-orange);
  font-weight: bold;
  font-size: 1.2em;
}

/* Section dividers */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--rust-orange) 20%, var(--aged-blue) 80%, transparent 100%);
  margin: 50px auto;
  width: 80%;
}

/* Gallery */
.artwork-gallery {
  margin: 40px 0;
  padding: 40px;
  background: rgba(232, 220, 200, 0.3);
  border: 4px solid var(--button-black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.artwork-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border: 6px solid var(--cream-white);
  box-shadow: 0 0 0 2px var(--button-black), 0 10px 40px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  border: 4px solid var(--cream-white);
  box-shadow: 0 0 0 2px var(--button-black), 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border-radius: 4px;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 0 3px var(--rust-orange), 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Forensic */
.forensic-summary {
  background: linear-gradient(135deg, rgba(74, 111, 165, 0.08) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 3px solid var(--aged-blue);
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.forensic-summary h3 {
  color: var(--aged-blue);
  margin-top: 0;
}

/* Download button */
.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vintage-tan) 0%, var(--rust-orange) 100%);
  color: white;
  padding: 18px 35px;
  border: 3px solid var(--button-black);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  margin: 20px 0;
  box-shadow: 4px 4px 0 rgba(200, 90, 40, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.download-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(200, 90, 40, 0.4);
  background: linear-gradient(135deg, var(--rust-orange) 0%, var(--vintage-tan) 100%);
}

/* Contact */
.contact-info {
  background: var(--cream-white);
  border: 4px solid var(--button-black);
  border-left: 10px solid var(--rust-orange);
  padding: 40px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.contact-info h2 {
  margin-top: 0;
}

/* Footer */
.footer {
  margin-top: 60px;
  padding: 30px;
  border-top: 4px double var(--newsprint-gray);
  background: rgba(245, 240, 232, 0.5);
  font-size: 0.85rem;
  text-align: center;
  color: var(--newsprint-gray);
}

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(107, 107, 107, 0.2);
}

.data-table td:first-child {
  font-weight: 700;
  width: 35%;
  color: var(--button-black);
  background: rgba(200, 90, 40, 0.05);
}

/* Legal note */
.legal-note {
  font-size: 0.9rem;
  background: rgba(212, 175, 55, 0.08);
  padding: 20px;
  border: 2px dashed var(--vintage-tan);
  margin-top: 20px;
  font-style: italic;
  color: var(--newsprint-gray);
  border-radius: 4px;
}

/* Comparables */
.comparables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}

.comparable-item {
  background: rgba(232, 220, 200, 0.4);
  padding: 20px;
  border: 2px solid var(--aged-blue);
  border-left: 5px solid var(--aged-blue);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

.comparable-price {
  font-weight: 900;
  color: var(--rust-orange);
  font-size: 1.15rem;
  margin-top: 10px;
  display: block;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .artwork-title {
    font-size: 1.8rem;
  }
  
  .hero-price {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-header {
    padding: 40px 20px;
  }
  
  .main-content {
    padding: 40px 20px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .artwork-title {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.4rem;
    padding: 15px 20px;
  }
  
  .gallery-grid,
  .comparables {
    grid-template-columns: 1fr;
  }
  
  .hero-price {
    font-size: 1rem;
    padding: 15px 20px;
  }
}

/* Print */
@media print {
  body {
    background: white;
  }
  
  .hero-header {
    background: white;
    border-bottom-color: black;
    page-break-after: avoid;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .main-content {
    box-shadow: none;
  }
  
  .editable-section {
    page-break-inside: avoid;
    box-shadow: none;
  }
  
  .download-btn {
    display: none;
  }
}

/* ===== IMAGE ZOOM LIGHTBOX ===== */

.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s;
}

.lightbox-modal.active {
  display: block;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 95%;
  max-height: 90vh;
  width: auto;
  height: auto;
  min-width: 70%;
  object-fit: contain;
  animation: zoomIn 0.3s;
  box-shadow: 0 10px 60px rgba(255, 255, 255, 0.2);
  border: 4px solid var(--cream-white);
  border-radius: 4px;
}

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--cream-white);
  font-size: 50px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--rust-orange);
  text-decoration: none;
  transform: scale(1.2);
}

.lightbox-caption {
  margin: 20px auto;
  display: block;
  max-width: 80%;
  text-align: center;
  color: var(--cream-white);
  padding: 15px 30px;
  background: rgba(26, 26, 26, 0.8);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  border-left: 4px solid var(--rust-orange);
}

.lightbox-controls {
  text-align: center;
  margin-top: 20px;
}

.lightbox-nav {
  display: none; /* Hidden per user request */
  padding: 12px 25px;
  margin: 0 10px;
  background: var(--rust-orange);
  color: white;
  border: 2px solid var(--cream-white);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.lightbox-nav:hover {
  background: var(--aged-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 90, 40, 0.4);
}

.lightbox-nav:active {
  transform: translateY(0);
}

/* Make all artwork images clickable/zoomable */
.artwork-image,
.editable-image,
.gallery-grid img,
img[src*="genspark.ai"],
img[src*="cfimages"] {
  cursor: zoom-in;
  transition: all 0.3s ease;
}

.artwork-image:hover,
.editable-image:hover,
.gallery-grid img:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Responsive lightbox */
@media (max-width: 768px) {
  .lightbox-modal {
    padding-top: 30px;
  }
  
  .lightbox-content {
    max-width: 98%;
    max-height: 85vh;
    min-width: 85%;
  }
  
  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }
  
  .lightbox-caption {
    font-size: 0.9rem;
    padding: 12px 20px;
    max-width: 90%;
  }
  
  .lightbox-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0 5px;
  }
}
