/* TBB ART - Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,300..700&family=Cardo:ital,wght@0,400;0,700;1,400&family=Inter:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg-color: #fcfbfa; /* Warm gallery white */
  --bg-secondary: #f5f4f0; /* Off-white / cream */
  --text-color: #1a1a1a; /* Elegant off-black */
  --text-muted: #707070; /* Soft gray */
  --accent-color: #0f4c81; /* Artist signature cobalt blue */
  --accent-hover: #08335b;
  --border-color: #f0eee9; /* Subtler gallery border lines */
  --border-dark: #333333;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-height: 60px;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300; /* Lighter body text for a premium feel */
  font-size: 15px; /* Slightly more refined base size */
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Bilingual Selection Rules */
html[lang="en"] :lang(fr) {
  display: none !important;
}

html[lang="fr"] :lang(en) {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cardo', serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.font-serif {
  font-family: 'Cardo', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

/* Sticky Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(252, 251, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-transform: uppercase;
  line-height: 1;
}

.logo-main {
  font-family: 'Bodoni Moda', 'Didot', serif;
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  color: var(--text-color);
  line-height: 1;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.55em;
  color: var(--text-muted);
  margin-top: 0.35rem;
  padding-left: 0.18em;
  text-transform: uppercase;
}

/* Nav Menu */
nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

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

.nav-links a {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
  width: 100%;
}

.nav-soon {
  display: inline-block;
  font-size: 0.55rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-left: 0.35em;
  vertical-align: super;
  text-transform: lowercase;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  background: transparent;
  transition: var(--transition-smooth);
}

.lang-switcher:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Main Area Container */
main {
  flex: 1;
  margin-top: var(--header-height);
  display: flex;
  flex-direction: column;
}

/* Section Common */
section {
  padding: 5rem 2.5rem;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  font-family: 'Cardo', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 3.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Elegant Buttons */
.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 0.8rem 2rem;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 0;
}

.btn:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

.btn-accent {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-accent:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* Hero Banner v2 — Divi-style (Vanmar uses Divi, .et_pb_row max-width: 1080px) */
.hero-banner-v2 {
  position: relative;
  width: calc(100% - 4rem);
  max-width: 1080px;
  margin: 3.5rem auto 0;
  padding: 0;
  aspect-ratio: 12 / 5;
  overflow: hidden;
  background-color: #0a0a0a;
}

.hero-banner-v2 .slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  height: 100%;
}

.hero-banner-v2 .slider-track::-webkit-scrollbar { display: none; }

.hero-banner-v2 .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  max-height: none;
}

.hero-banner-v2 .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.banner-overlay-v2 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.1) 100%);
}

.banner-overlay-v2 > * { pointer-events: auto; }

.banner-headline-v2 {
  font-family: 'Bodoni Moda', 'Didot', serif;
  font-weight: 300;
  font-size: 2.4rem;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0 0 0.9rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
}

.banner-desc-v2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  max-width: 660px;
  margin: 0 0 1.2rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.banner-cta-v2 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 4px;
  transition: var(--transition-smooth);
}

.banner-cta-v2:hover {
  border-bottom-color: #fff;
  letter-spacing: 0.28em;
}

/* Slider controls on banner v2 */
.hero-banner-v2 .slider-prev,
.hero-banner-v2 .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.hero-banner-v2 .slider-prev { left: 1.5rem; }
.hero-banner-v2 .slider-next { right: 1.5rem; }

.hero-banner-v2 .slider-prev:hover,
.hero-banner-v2 .slider-next:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.hero-banner-v2 .slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 4;
}

.hero-banner-v2 .slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s, transform 0.3s;
}

.hero-banner-v2 .slider-dot.active {
  background-color: #fff;
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .hero-banner-v2 { aspect-ratio: 4 / 3; margin-top: 0.5rem; }
  .banner-headline-v2 { font-size: 1.8rem; }
  .banner-desc-v2 { font-size: 0.85rem; }
  .hero-banner-v2 .slider-prev,
  .hero-banner-v2 .slider-next { width: 36px; height: 36px; }
}

/* Legacy slider styles kept for potential future use */
.hero-slider {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  background-color: #0a0a0a;
  overflow: hidden;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  position: relative;
  background-color: #0a0a0a;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, border-color 0.3s;
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
  border-color: #fff;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.slider-dot.active {
  background-color: #fff;
  transform: scale(1.3);
}

/* Hero Meta (text section below slider) */
.hero-meta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2.5rem 3rem;
  color: var(--text-color);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  font-family: 'Cardo', serif;
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.15;
}

.hero-tagline {
  font-family: 'Cardo', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}


/* Home Intro */
.home-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-intro p {
  font-family: 'Cardo', serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.press-link-container {
  margin-top: 1.5rem;
}

.press-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 2px;
}

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

/* Home Featured Grid — masonry via CSS columns, respects natural aspect ratios */
.featured-grid,
.gallery-grid {
  column-count: 3;
  column-gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .featured-grid,
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .featured-grid,
  .gallery-grid {
    column-count: 1;
  }
}

/* Artwork Cards (Shared by Home and Gallery) */
.artwork-card {
  background-color: transparent;
  display: block;
  break-inside: avoid;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.artwork-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

.artwork-img-container {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.artwork-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.artwork-overlay span {
  color: #fff;
  border: 1px solid #fff;
  padding: 0.8rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  transform: translateY(10px);
  transition: transform var(--transition-smooth);
}

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

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

.artwork-card:hover .artwork-overlay span {
  transform: translateY(0);
}

.artwork-info {
  margin-top: 1.2rem;
  text-align: left;
}

.artwork-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.artwork-details {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.artwork-price {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--accent-color);
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.6rem;
  border-radius: 0;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.badge-available {
  border: 1px solid var(--text-color);
  color: var(--text-color);
  background-color: transparent;
}

.badge-sold {
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  background-color: transparent;
}

/* Gallery grid uses .featured-grid masonry rules above */

/* Bio & Exposition Page */
.bio-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}

.bio-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.artist-portrait-container {
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.artist-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-details-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.artist-details-list strong {
  color: var(--text-color);
}

.bio-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.bio-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: justify;
}

.bio-text p {
  margin-bottom: 1.5rem;
}

.expo-section-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.expo-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expo-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.expo-year {
  font-weight: 700;
  color: var(--accent-color);
}

.expo-detail h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.expo-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Shop Filters */
.shop-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--text-color);
  color: #fff;
  border-color: var(--text-color);
}

/* Footer styling */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 2.5rem 2rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1300px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Modals & Dialogs (Top-layer animations) */
dialog {
  border: none;
  background-color: var(--bg-color);
  padding: 3rem;
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  color: var(--text-color);
  overflow-y: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  
  /* Transition Properties for top-layer entrance/exit */
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-behavior: allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: translate(-50%, -50%);
  
  @starting-style {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
}

dialog::backdrop {
  background-color: rgba(26, 26, 26, 0);
  backdrop-filter: blur(0);
  transition: 
    display 0.4s allow-discrete, 
    overlay 0.4s allow-discrete, 
    background-color 0.4s ease-out, 
    backdrop-filter 0.4s ease-out;
}

dialog[open]::backdrop {
  background-color: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(4px);
  
  @starting-style {
    background-color: rgba(26, 26, 26, 0);
    backdrop-filter: blur(0);
  }
}

/* Modal Content details */
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.dialog-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.dialog-close-btn:hover {
  color: var(--text-color);
}

.dialog-content {
  line-height: 1.8;
  font-size: 0.95rem;
}

.dialog-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Lightbox Modal (TBB ART Detail view) */
.lightbox-dialog {
  max-width: 950px;
  padding: 2rem;
  overflow: hidden;
}

.lightbox-layout {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 2.5rem;
  align-items: center;
}

.lightbox-img-wrapper {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--bg-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Form Success Overlay */
.form-success-message {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .featured-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .lightbox-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .header-container {
    padding: 0 1.5rem;
  }
  
  /* Mobile Hamburger Nav styling */
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-color);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 3rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }
  
  nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
  
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title {
    font-size: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .featured-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  dialog {
    padding: 2rem 1.5rem;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0.1s !important;
    transition-duration: 0.1s !important;
  }
  
  .hero-frame img, .artwork-img {
    transform: none !important;
    transition: none !important;
  }
  
  .hero-frame:hover img, .artwork-card:hover .artwork-img {
    transform: none !important;
  }
  
  dialog, dialog[open] {
    transform: translate(-50%, -50%) !important;
    transition-duration: 0.1s;
  }
  
  @starting-style {
    dialog[open] {
      transform: translate(-50%, -50%) !important;
    }
  }
  
  .artwork-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
