/* ============================================
   BalArt - Contemporary Art Gallery Styles
   Mobile-First Responsive Design
   ============================================ */

/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
  /* Colors */
  --color-primary: #1a1a1a;
  --color-secondary: #f5f5f5;
  --color-accent: #c9a961;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-dark: #0a0a0a;
  --color-border: #e0e0e0;
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --max-width: 1400px;
  --nav-height: 80px;
  
  /* Hero Tiles Effect */
  --hero-zoom-amount: 130%;
  --hero-tint: rgba(201, 169, 97, 0.15);
  color-scheme: light;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-white);
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--color-white);
    color: var(--color-text);
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  margin-bottom: var(--spacing-sm);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.lead-intro {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.5;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: var(--spacing-sm);
  border-left: 4px solid var(--color-accent);
  animation: slideInLeft 0.8s ease-out;
}

.highlight-text {
  color: var(--color-accent);
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  opacity: 0.5;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Grow on scroll effect */
.grow-on-scroll {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.grow-on-scroll.visible {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Layout Components
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--spacing-lg) 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.section-header p {
  color: rgba(51, 51, 51, 0.78);
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.8);
  }
}

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

.bg-light {
  background-color: var(--color-secondary);
}

.bg-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark p {
  color: var(--color-white);
}

/* ============================================
   Navigation
   ============================================ */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: var(--nav-height);
  gap: var(--spacing-md);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  margin-left: auto;
}

.nav-menu a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--spacing-xs) 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-sm);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  margin: 0;
}

.dropdown a {
  display: block;
  padding: var(--spacing-xs) var(--spacing-sm);
  text-transform: none;
  font-size: 0.9rem;
}

.dropdown a::after {
  display: none;
}

.dropdown a:hover {
  color: var(--color-accent);
  background: var(--color-secondary);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-primary);
  margin: 3px 0;
  transition: var(--transition-smooth);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: var(--spacing-md);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  background: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 480px) {
  .theme-toggle-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: white;
    flex-direction: column;
    padding: var(--spacing-md);
    transition: left 0.3s ease;
    overflow-y: auto;
    margin-left: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: var(--spacing-sm);
    margin-top: var(--spacing-xs);
  }

  .nav-container {
    padding: 0 var(--spacing-sm);
  }

  .theme-toggle {
    margin-left: auto;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ============================================
   Floating CTA Button
   ============================================ */

.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 50px;
  box-shadow: 0 5px 25px rgba(201, 169, 97, 0.4);
  z-index: 999;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.5);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
  margin-top: var(--nav-height);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-image: var(--hero-background, url('../assets/images/main-hero.webp'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
  background-attachment: scroll;
}

@media (max-width: 1024px) {
  .hero-background {
    background-attachment: scroll;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.65) 0%,
    rgba(26, 26, 26, 0.45) 50%,
    rgba(26, 26, 26, 0.65) 100%
  );
  backdrop-filter: blur(1px);
  z-index: 1;
  pointer-events: none;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.6) 40%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent) 50%, var(--color-white) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-family: var(--font-serif);
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollLine {
  0% { height: 0; }
  50% { height: 40px; }
  100% { height: 0; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Hero button special styling */
.hero .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  font-weight: 500;
}

.hero .btn-primary:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.bg-dark .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.bg-dark .btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}

.bg-dark .btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.bg-dark .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ============================================
   About Section
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-text {
  padding-right: var(--spacing-md);
}

.about-focus {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ffffff 100%);
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.about-focus::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
  transition: left 0.8s ease;
}

.about-focus:hover::before {
  left: 100%;
}

.about-focus:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.15);
}

.about-focus h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}

.about-focus p {
  position: relative;
  z-index: 1;
}

.grow-on-scroll {
  transition: all 0.6s ease;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-frame {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.about-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover .about-image-photo {
  transform: scale(1.03);
}

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .about-text {
    padding-right: 0;
  }
}

.specialisation-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-sm) 0;
}

.specialisation-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.specialisation-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.mission-statement {
  font-style: italic;
  color: var(--color-accent);
  margin-top: var(--spacing-md);
  font-size: 1.05rem;
}

/* ============================================
   Founder Section
   ============================================ */

.founder-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.founder-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.founder-image .image-frame {
  width: 300px !important;
  max-width: 300px !important;
  height: 300px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.founder-image .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
}

.founder-role {
  color: var(--color-accent);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.founder-text p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.founder-qualities {
  background: rgba(201, 169, 97, 0.08);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  border-left: 3px solid var(--color-accent);
}

.founder-qualities h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.founder-qualities ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.founder-qualities li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.founder-qualities li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

@media (max-width: 968px) {
  .founder-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .founder-image {
    order: -1;
  }

  .founder-image .image-frame {
    max-width: 280px;
  }
}

/* ============================================
   Artists Section
   ============================================ */

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.artist-card {
  background: var(--color-white);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.artist-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.artist-card:hover::after {
  border-color: var(--color-accent);
}

.artist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(201, 169, 97, 0.2);
}

.artist-link {
  display: block;
}

.artist-image {
  position: relative;
  padding-top: 125%;
  overflow: hidden;
  background: var(--color-secondary);
}

.artist-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.artist-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.view-more {
  color: var(--color-white);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artist-card:hover .artist-image img {
  transform: scale(1.05);
}

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

.artist-info {
  padding: var(--spacing-md);
}

.artist-info h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
}

.artist-subtitle {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
}

.artist-info p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .artists-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* ============================================
   Exhibitions Section
   ============================================ */

.exhibition-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.exhibition-content h3 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
}

.exhibition-meta {
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-left: 1.5rem;
}

.exhibition-meta::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-50%) scale(1.2);
  }
}

.exhibition-artists {
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-xs) var(--spacing-md);
  background: var(--color-secondary);
}

.exhibition-artists h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  font-size: 1.25rem;
}

.exhibition-artists ul {
  list-style: none;
}

.exhibition-artists li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.exhibition-artists strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.featured-artist-block {
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-white);
  border-left: 3px solid var(--color-accent);
}

.featured-artist-block:last-child {
  margin-bottom: 0;
}

.featured-artist-block strong {
  display: block;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-serif);
}

.works-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs) var(--spacing-md);
}

.works-list li {
  padding: 0;
  color: var(--color-text-light);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.25rem;
  flex: 0 0 auto;
}

.works-list li::before {
  content: 'â€˘';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.exhibition-image {
  position: relative;
  overflow: hidden;
  background: var(--color-secondary);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.exhibition-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.exhibition-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 968px) {
  .exhibition-feature {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .works-list {
    grid-template-columns: 1fr;
  }

  .featured-artist-block {
    padding: var(--spacing-sm);
  }
}

.exhibition-highlights {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.exhibition-highlights li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.exhibition-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.exhibition-event-info {
  background: rgba(201, 169, 97, 0.1);
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 97, 0.3);
}

.exhibition-event-info h4 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.event-details {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.event-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--color-white);
  border-radius: 4px;
  font-weight: 500;
  color: var(--color-primary);
}

.event-date::before {
  content: '📅';
}

.event-time::before {
  content: '⏰';
}

.event-location::before {
  content: '📍';
}

/* ============================================
   Services Section
   ============================================ */

.services-content {
  max-width: 1000px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.service-category {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--color-accent);
}

.service-category h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.service-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-category li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: var(--spacing-xs);
  line-height: 1.6;
  color: var(--color-text);
}

.service-category li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.services-note {
  text-align: center;
  font-style: italic;
  color: var(--color-text-light);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-secondary);
}

@media (max-width: 768px) {
  .event-details {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
}

/* ============================================
   Contact Section
   ============================================ */

.contact-content {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.contact-item {
  text-align: center;
  padding: var(--spacing-md);
}

.contact-item h3 {
  color: var(--color-accent);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-serif);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--color-white);
  font-size: 1.25rem;
  display: inline-block;
  margin: 0.5rem 0;
  position: relative;
  padding-bottom: 2px;
}

.contact-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-white));
  transition: width 0.4s ease;
}

.contact-item a:hover::after {
  width: 100%;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--spacing-sm);
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .contact-info {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .contact-item {
    min-width: auto;
  }
  
  .works-list {
    flex-direction: column;
  }
  
  .exhibition-artists {
    padding: var(--spacing-sm);
  }
  
  .featured-artist-block {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

/* ============================================
   Artist Page
   ============================================ */

.artist-hero {
  margin-top: var(--nav-height);
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.artist-hero .hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--spacing-lg);
}

.artist-hero .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.6) 55%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.artist-name {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.artist-name-native {
  color: var(--color-accent);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  margin: var(--spacing-sm) 0 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.artist-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.artist-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.artist-bio {
  font-size: 1.05rem;
  line-height: 1.8;
}

.artist-bio h2,
.artist-bio h3 {
  margin-top: var(--spacing-md);
  color: var(--color-primary);
}

.artist-bio ul {
  list-style: disc;
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.artist-bio li {
  margin-bottom: var(--spacing-xs);
}

@media (max-width: 968px) {
  .artist-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .artist-hero {
    height: 50vh;
  }
}

/* ============================================
   Works Grid
   ============================================ */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.work-item {
  background: var(--color-white);
  overflow: hidden;
}

.work-image-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--color-secondary);
  cursor: pointer;
}

.work-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.work-media.zoom-on-hover {
  transition: var(--transition-slow);
}

.work-item:hover .work-media.zoom-on-hover {
  transform: scale(1.1);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8));
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: var(--transition-smooth);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-info h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin: 0;
}

.work-year {
  color: var(--color-accent);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.work-description {
  padding: var(--spacing-md);
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* ============================================
   Artist CTA Section
   ============================================ */

.artist-cta {
  background: linear-gradient(135deg, #faf9f5 0%, #ffffff 100%);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.artist-cta h2 {
  margin-bottom: var(--spacing-sm);
  color: rgba(26, 26, 26, 0.9);
}

.artist-cta p {
  font-size: 1.1rem;
  color: rgba(51, 51, 51, 0.78);
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-about h3,
.footer-contact h4,
.footer-social h4 {
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-contact a {
  color: var(--color-white);
  display: block;
  margin: 0.5rem 0;
  position: relative;
  width: fit-content;
  transition: var(--transition-smooth);
}

.footer-contact a::before {
  content: 'â†’ ';
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: inline-block;
  color: var(--color-accent);
}

.footer-contact a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* ============================================
   Animations
   ============================================ */

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
  animation-delay: 0.4s;
}

.fade-in-up.delay-3 {
  animation-delay: 0.6s;
}

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

.fade-in.delay-1 {
  transition-delay: 0.2s;
}

.fade-in.delay-2 {
  transition-delay: 0.4s;
}

/* Fade In Scale */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-scale {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.fade-in-scale.delay-1 {
  transition-delay: 0.2s;
}

/* Grow Text on Scroll */
.grow-text {
  font-size: 1rem;
  transition: font-size 0.5s ease;
}

.grow-text.grown {
  font-size: 1.5rem;
}

/* Image Effects */

.zoom-on-hover {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-on-hover:hover {
  transform: scale(1.05);
}

/* Parallax Effect (subtle) */
.parallax {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Utility Classes
   ============================================ */

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.no-scroll {
  overflow: hidden;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  .main-nav,
  .floating-cta,
  .hero-scroll {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}


/* ============================================
   Sculpture Page Styles
   ============================================ */

.sculpture-hero {
  margin-top: var(--nav-height);
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.sculpture-hero .hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sculpture-title {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0;
}

.sculpture-artist {
  color: var(--color-accent);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  margin: var(--spacing-sm) 0 0;
  font-family: var(--font-serif);
}

.sculpture-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.sculpture-description {
  font-size: 1.05rem;
  line-height: 1.8;
}

.sculpture-meta {
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-secondary);
  border-left: 4px solid var(--color-accent);
}

.artist-card-mini {
  background: var(--color-white);
  padding: var(--spacing-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: sticky;
  top: calc(var(--nav-height) + var(--spacing-md));
}

.artist-mini-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-sm);
}

.artist-card-mini h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
}

.artist-tagline {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

@media (max-width: 968px) {
  .sculpture-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .artist-card-mini {
    position: static;
  }
  
  .sculpture-hero {
    height: 50vh;
  }
}

/* ============================================
   Masonry Gallery
   ============================================ */

.masonry-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-auto-rows: 180px !important;
  grid-auto-flow: dense !important;
  gap: 12px !important;
  margin-top: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-secondary);
  transition: var(--transition-smooth);
  border-radius: 4px;
  min-height: 180px;
}

.gallery-item.large {
  grid-row: span 2 !important;
  grid-column: span 2 !important;
}

.gallery-item.medium {
  grid-row: span 2 !important;
  grid-column: span 1 !important;
}

.gallery-item.small {
  grid-row: span 1 !important;
  grid-column: span 1 !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  opacity: 0.9;
}

@media (max-width: 1200px) {
  .masonry-gallery {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 150px !important;
  }
  
  .gallery-item.large {
    grid-column: span 2 !important;
  }
}

@media (max-width: 768px) {
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 120px !important;
    gap: 8px !important;
  }
  
  .gallery-item.large {
    grid-row: span 2 !important;
    grid-column: span 2 !important;
  }
}

/* ============================================
   Lightbox
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--color-white);
  padding: var(--spacing-sm);
  text-align: center;
  font-size: 1.1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: none;
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  border-radius: 50%;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Sculpture CTA */
.sculpture-cta {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
}

.sculpture-cta h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.sculpture-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
}

/* Work Link Styles */
.work-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.view-sculpture {
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.work-item:has(.work-link):hover {
  transform: translateY(-5px);
}

/* ============================================
   Artist Page with Sculptures Sections
   ============================================ */

.sculpture-section {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.sculpture-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.sculpture-header-inline {
  margin-bottom: var(--spacing-md);
}

.sculpture-title-main {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
}

.sculpture-year {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: var(--spacing-xs);
}

.sculpture-dimensions {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-top: var(--spacing-xs);
  font-style: italic;
}

.sculpture-material {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-top: var(--spacing-xs);
  font-style: italic;
}

.sculpture-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  align-items: start;
}

.sculpture-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.sculpture-main-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.sculpture-main-image:hover img {
  transform: scale(1.03);
}

.sculpture-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.sculpture-text p {
  margin-bottom: var(--spacing-md);
}

.sculpture-gallery-section {
  margin-top: var(--spacing-xl);
}

.gallery-title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

@media (max-width: 768px) {
  .sculpture-content-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* Navigation between sculptures */
.sculpture-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-sm);
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sculpture-nav-item {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border);
  margin: var(--spacing-sm) 0;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.sculpture-nav-item.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .sculpture-nav {
    display: none;
  }
}

/* Sculpture CTA Inline */
.sculpture-cta-inline {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ffffff 100%);
  border-left: 4px solid var(--color-accent);
}

.sculpture-cta-inline p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  font-size: 1.1rem;
}

.cta-buttons-inline {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.sculpture-text-wrapper {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .cta-buttons-inline {
    flex-direction: column;
  }
  
  .cta-buttons-inline .btn {
    width: 100%;
  }
}

/* ============================================
   Sculptures Sticky Navigation
   ============================================ */

.sculptures-nav {
  position: sticky;
  top: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.sculptures-nav.hidden {
  transform: translateY(-100%);
}

.sculptures-nav-content {
  padding: var(--spacing-sm) 0;
}

.sculptures-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.sculptures-nav-header h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin: 0;
  font-family: var(--font-serif);
}

.sculptures-counter {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  padding: 4px 12px;
  background: var(--color-secondary);
  border-radius: 20px;
}

/* Progress Bar */
.sculptures-nav-progress {
  height: 3px;
  background: var(--color-secondary);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  width: 14.28%; /* 1/7 dla pierwszej */
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
}

/* Navigation Items */
.sculptures-nav-items {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-secondary);
  padding-bottom: 8px;
}

.sculptures-nav-items::-webkit-scrollbar {
  height: 6px;
}

.sculptures-nav-items::-webkit-scrollbar-track {
  background: var(--color-secondary);
  border-radius: 3px;
}

.sculptures-nav-items::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

.sculpture-nav-item {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid transparent;
  transition: var(--transition-smooth);
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sculpture-nav-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.sculpture-nav-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.sculpture-nav-item:hover::after {
  opacity: 0;
}

.sculpture-nav-item.active {
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
  transform: scale(1.08);
}

.sculpture-nav-item.active::after {
  opacity: 0;
}

.sculpture-nav-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.sculpture-nav-item:hover img {
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sculptures-nav {
    top: calc(var(--nav-height) - 10px);
  }
  
  .sculptures-nav-content {
    padding: var(--spacing-xs) 0;
  }
  
  .sculptures-nav-header h3 {
    font-size: 1rem;
  }
  
  .sculptures-counter {
    font-size: 0.85rem;
    padding: 3px 10px;
  }
  
  .sculpture-nav-item {
    width: 55px;
    height: 55px;
  }
}

/* ============================================
   Exhibition Works Thumbnails Grid
   ============================================ */

.exhibition-content-full {
  width: 100%;
}

.works-grid-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

@media (max-width: 968px) {
  .works-grid-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-sm);
  }
}

@media (max-width: 640px) {
  .works-grid-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-sm);
  }
  
  .work-thumb-item span {
    font-size: 0.8rem;
  }
}

/* ============================================
   Contact with Featured Photo
   ============================================ */

.contact-photo-large {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-accent);
  box-shadow: 0 12px 35px rgba(201, 169, 97, 0.35);
  margin: 0 auto;
}

.contact-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-details-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.contact-details-row .contact-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  min-width: 0;
}

@media (max-width: 768px) {
  .contact-photo-large {
    width: 240px;
    height: 240px;
  }
 
  .contact-details-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
 
  .contact-details-row .contact-item {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-photo-large {
    width: 200px;
    height: 200px;
  }
}

body.dark-theme {
  background-color: #08080d;
  color: #f1f1f5;
  color-scheme: dark;
}

body.dark-theme .main-nav {
  background: rgba(8, 8, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .logo {
  color: #f5f5f8;
}

body.dark-theme .nav-toggle span {
  background: #f5f5f8;
}

body.dark-theme .nav-menu a {
  color: #f5f5f8;
}

body.dark-theme .nav-menu a::after {
  background: var(--color-accent);
}

body.dark-theme .dropdown {
  background: #15151d;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

body.dark-theme .dropdown a {
  color: #e5e5eb;
}

body.dark-theme .dropdown a:hover {
  background: rgba(201, 169, 97, 0.15);
  color: var(--color-accent);
}

body.dark-theme .theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f1f1f5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

body.dark-theme .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.dark-theme .hero-background {
  background-color: #0a0a0f;
}

body.dark-theme .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.65) 0%,
    rgba(26, 26, 26, 0.45) 50%,
    rgba(26, 26, 26, 0.65) 100%
  );
}

body.dark-theme .hero-title,
body.dark-theme .hero-subtitle,
body.dark-theme .hero-description p {
  color: rgba(255, 255, 255, 0.95);
}

body.dark-theme .section-header p,
body.dark-theme p,
body.dark-theme li,
body.dark-theme span {
  color: rgba(235, 235, 245, 0.88);
}

body.dark-theme .bg-light {
  background-color: #141419;
}

body.dark-theme .artist-card,
body.dark-theme .featured-artist-block,
body.dark-theme .exhibition-artists,
body.dark-theme .exhibition-image,
body.dark-theme .contact-details-row .contact-item,
body.dark-theme .sculpture-cta-inline,
body.dark-theme .artist-card-mini,
body.dark-theme .sculptures-nav {
  background: #171721;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: #f0f0f5;
}

body.dark-theme .artist-card:hover,
body.dark-theme .featured-artist-block:hover,
body.dark-theme .contact-details-row .contact-item:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

body.dark-theme .artist-info p,
body.dark-theme .exhibition-artists li {
  color: rgba(230, 230, 238, 0.8);
}

body.dark-theme .works-grid-thumbnails,
body.dark-theme .works-grid-thumbnails .work-thumb-item {
  color: #f0f0f5;
}

body.dark-theme .sculpture-nav-item {
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .sculpture-nav-item.active {
  border-color: var(--color-accent);
}

body.dark-theme .floating-cta {
  background: var(--color-accent);
  color: #0d0d13;
}

body.dark-theme .btn-secondary {
  color: #f0f0f5;
  border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-accent);
}

body.dark-theme .site-footer {
  background: #050507;
  color: rgba(235, 235, 240, 0.8);
}

body.dark-theme .section-title::after {
  background: var(--color-accent);
}

body.dark-theme .sculpture-main-image {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

body.dark-theme .contact {
  background-color: transparent !important;
}

body.dark-theme .contact-item h3 {
  color: var(--color-accent);
}

body.dark-theme .contact-item a {
  color: #f5f5f8;
}

body.dark-theme .contact-item a:hover {
  color: var(--color-accent);
}

body.dark-theme .exhibition-feature {
  background: #101018;
  border-radius: 12px;
  padding: var(--spacing-md);
}

body.dark-theme .exhibition-feature .lead {
  color: rgba(230, 230, 238, 0.86);
}

body.dark-theme .exhibition-image img {
  filter: brightness(0.92);
}

body.dark-theme .masonry-gallery .gallery-item {
  background: #14141c;
}

body.dark-theme .theme-toggle-icon {
  filter: grayscale(0);
}

body.dark-theme .theme-toggle-icon::after {
  content: '';
}

body.dark-theme .section-padding {
  background-color: transparent;
}

body.dark-theme .section-padding.bg-light,
body.dark-theme .bg-light {
  background-color: rgba(14, 14, 18, 0.85);
}

body.dark-theme .section-header h2,
body.dark-theme .section-title {
  color: rgba(245, 245, 250, 0.95);
}

body.dark-theme .artist-cta {
  background: linear-gradient(135deg, #0a0a10 0%, #15151f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .artist-cta h2 {
  color: #f5f5f8;
}

body.dark-theme .artist-cta p {
  color: rgba(245, 245, 250, 0.85);
}
body.dark-theme .sculpture-title-main {
  color: rgba(245, 245, 250, 0.96);
}
body.dark-theme .sculpture-year,
body.dark-theme .sculpture-dimensions,
body.dark-theme .sculpture-material {
  color: rgba(210, 210, 225, 0.85);
}

body.dark-theme .artist-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(245, 245, 250, 0.9);
}

body.dark-theme .artist-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-accent);
}

/* Remove gradients from headings */
body.dark-theme .section-title::before,
body.dark-theme .section-title::after,
body.dark-theme h2::before,
body.dark-theme h3::before {
  display: none !important;
}

body.dark-theme .about-focus {
  background: rgba(26, 26, 26, 0.35);
  border-left-color: var(--color-accent);
}

body.dark-theme .about-focus h3 {
  color: var(--color-accent);
}

body.dark-theme .exhibition-artists {
  background: rgba(26, 26, 26, 0.35);
}

body.dark-theme .exhibition-artists h4,
body.dark-theme .featured-artist-block strong {
  color: rgba(245, 245, 250, 0.95);
}

body.dark-theme h2,
body.dark-theme h3 {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  body.dark-theme .nav-menu {
    background: #08080d;
  }
}
