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

:root {
  --primary: #2c3e50;
  --secondary: #e74c3c;
  --accent: #3498db;
  --light: #ecf0f1;
  --dark: #1a1a1a;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --border: #ddd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--secondary);
}

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

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--secondary);
}

nav a.active::after {
  width: 100%;
}

/* HERO */
.hero {
  padding: 120px 2rem 80px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  margin-top: 60px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

.btn-primary:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: transparent;
  transform: translateY(-2px);
}

/* GALLERY */
.gallery-section {
  padding: 80px 2rem;
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeIn 0.8s ease;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  animation: fadeInUp 0.6s ease;
  opacity: 1;
  transform: translateY(30px);
}


.gallery-image {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: #222;
}

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

.gallery-item:hover .gallery-image img {
  transform: scale(1.02);  /* slight zoom in grid only */
  box-shadow: 0 15px 35px rgba(17, 9, 9, 0.15);
}
.gallery-content {
  padding: 20px;
}

.gallery-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.gallery-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* ABOUT, TIMELINE, CONTACT, FOOTER */
/* (keep your existing rules here) */
/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.header-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
}

.image-frame {
  position: relative;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.frame-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid #ff6b35;
}

.frame-corner.tl {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.frame-corner.tr {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}

.frame-corner.bl {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}

.frame-corner.br {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.about-text {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.artist-intro h3 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.artist-title {
  font-size: 1.2rem;
  color: #ff6b35;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.bio-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 20px;
}

.lead-paragraph {
  font-size: 1.3rem !important;
  font-weight: 500;
  color: #2c3e50 !important;
  margin-bottom: 30px !important;
}

.artist-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 30px 0;
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ff6b35;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.technique-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
  padding: 100px 20px;
  background: #fff;
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-form-wrapper {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 0;
  font-size: 1rem;
  color: #495057;
  background: transparent;
  border: none;
  border-bottom: 2px solid #dee2e6;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #ff6b35;
}

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

.form-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  transition: width 0.3s ease;
}

.form-group input:focus ~ .form-underline,
.form-group select:focus ~ .form-underline,
.form-group textarea:focus ~ .form-underline {
  width: 100%;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 1.1rem;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.btn-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
  transform: translateX(5px);
}

.form-status {
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-left: 4px solid #ff6b35;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.info-card h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-card p,
.info-card a {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #ff6b35;
}

.social-links {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

.social-links h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-icon:hover {
  background: #ff6b35;
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 10px 20px rgba(255,107,53,0.3);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info h3,
.footer-links h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.footer-info p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ff6b35;
  padding-left: 5px;
}

.footer-legal {
  text-align: right;
}

.footer-legal p {
  color: #95a5a6;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-legal {
    text-align: center;
  }
  
  .artist-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .artist-intro h3 {
    font-size: 2rem;
  }
  
  .about-text {
    padding: 25px;
  }
  
  .contact-form-wrapper {
    padding: 25px;
  }
  
  .artist-stats {
    padding: 20px 0;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .about-section,
  .contact-section {
    padding: 60px 15px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .artist-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .technique-tags {
    justify-content: center;
  }
  
  .social-icons {
    flex-wrap: wrap;
  }
}


/* MODAL (matches #galleryModal HTML) */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.active {
  display: flex;
}

/* Lightbox framing: more like your red box */
.modal-content {
  position: relative;
  width: 70vw;        /* narrower frame */
  max-width: 600px;  /* cap on large screens */
  max-height: 100vh;   /* shorter than full viewport */
  background: #111;
  padding: 1.25rem 1.25rem 1.6rem;
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 6px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
}

/* Image wrapper */
.modal-image {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 0;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

/* Image: fully visible inside new frame */
.modal-image img {
  max-width: 100%;
  max-height: 60vh;   /* leaves room for caption inside 80vh modal */
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: default;
}

/* Magnifying glass / zoom icon */
.modal-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 16px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  padding: 0;
  cursor: pointer;
  text-shadow: 0 0 19px rgba(0,0,0,0.9);
}

.modal-zoom-btn:hover {
  transform: translateY(-1px);
}

/* Arrows container */
.modal-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

/* Arrow buttons (left/right) */
.modal-nav-btn {
  pointer-events: auto;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(0,0,0,0.9),
               0 4px 18px rgba(0,0,0,0.9);
}

.modal-nav-btn:hover {
  text-shadow: 0 0 14px rgba(0,0,0,1),
               0 6px 22px rgba(0,0,0,1);
}

/* Zoomed state for modal image */
.modal-image img.zoomed {
  transform: scale(1.8);
  cursor: default;
}

/* Caption typography */
.modal-info {
  padding-top: 0.25rem;
  max-height: 18vh;      /* prevents caption from pushing image up */
  overflow-y: auto;
}

.modal-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.modal-meta {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.45rem;
}

.modal-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ddd;
}

.modal-counter {
  font-size: 0.85rem;
  color: #aaa;
  text-align: right;
}

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

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

/* RESPONSIVE */
/* keep your existing media queries as-is */
