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

:root {
  --primary-color: #000000;
  --secondary-color: #1a1a1a;
  --accent-color: #ffffff;
  --background-color: #f5f5f5;
  --text-color: #000000;
  --text-light: #666666;
  --background: #ffffff;
  --surface: #f0f0f0;
  --border: #d0d0d0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background);
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0, 3s ease;
}

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

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

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

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

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

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

.nav-link.active {
  color: var(--accent-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  border-radius: 1px;
}

/*Hero Section*/
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slideshow-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 1s ease-in-out;
  filter: brightness(0.6);
}

.slideshow-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2 rem;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opactiy: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.8;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-btn {
  padding: 1rem 2rem;
  border: 2px solid transparent;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-btn.primary {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: white;
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

/* SlideShow Controls */
.slideshow-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  gap: 1rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: scale(1.1);
}

/* Slideshow Indicators */
.slideshow-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Preview Section */
.preview-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
}

.preview-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.preview-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.preview-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.artwork-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.artwork-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.artwork-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

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

.artwork-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

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

/* Hide preview titles/overlays so homepage shows only images */
.artwork-overlay {
  display: none !important;
}

.footer {
  background-color: white;
  color: var(--primary-color);
  padding: 3rem 2rem 2rem;
  border-top: 2px solid var(--border);
}

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

.footer p {
  color: var(--primary-color);
  opacity: 0.8;
}

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

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.social-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-content {
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 200px;
  }

  .slideshow-controls {
    bottom: 1rem;
    right: 1rem;
  }

  .control-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .preview-section {
    padding: 4rem 1rem;
  }

  .artwork-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator i {
  color: white;
  font-size: 2rem;
  opacity: 0.7;
}

/* About Section on Home Page */
.about-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about-content {
  animation: fadeInLeft 1s ease-out;
  margin-bottom: 0;
}

.about-visual {
  animation: fadeInRight 1s ease-out;
  position: relative;
  margin-top: 0;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
}

.about-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 2px;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.about-highlight {
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1),
    rgba(0, 123, 85, 0.1)
  );
  padding: 2rem;
  border-radius: 20px;
  border-left: 5px solid var(--accent-color);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.about-image-container {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.about-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  display: block;
}

.artist-statement-section {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

/* Page Header for Gallery Page */
.page-header {
  padding: 5rem 2rem 0.5rem;
  background: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  display: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0;
  color: black;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  position: relative;
  z-index: 2;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


/* Gallery Section */
.gallery-section {
  padding: 0;
  background: white;
}

.gallery-container {
  max-width: none;
  width: 100%;
}

.gallery {
  columns: 6 220px;
  column-gap: 10px;
  margin: 0;
  padding: 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:hover {
  transform: none;
  box-shadow: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
  background: none;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item-content {
  padding: 1.5rem;
  position: relative;
  text-align: center;
  /* Hide titles so only the artwork image is visible */
  display: none;
}

.gallery-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

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

.gallery-overlay {
  border-radius: 0;
}

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

.overlay-content {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-content {
  transform: translateY(0);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.modal.open {
  display: flex;
  animation: modalFadeIn 0.3s ease;
}

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

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

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 15px;
  box-shadow: var(--shadow-hover);
  object-fit: contain;
  animation: modalSlideIn 0.4s ease;
}

.modal-caption {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 1rem;
  text-align: center;
  max-width: 600px;
  box-shadow: var(--shadow);
  /* Hide caption in modal so popup shows only the artwork image */
  display: none;
}

.modal-caption h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.modal-caption p {
  color: var(--text-light);
  line-height: 1.6;
}

.modal-close {
  position: fixed;
  top: 25px;
  right: 25px;

  width: 55px;
  height: 55px;

  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;

  color: white;
  font-size: 1.5rem;

  cursor: pointer;
  z-index: 10001;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease; 
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: scale(1.1);
}

.modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  
  width: 60px;
  height: 60px;

  border-radius: 50%;
  border: none;

  background: rgba(0, 0, 0, 0.5);
  color: white;

  font-size: 1.5rem;
  cursor: pointer;

  z-index: 10001;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 25px;
}

.next-btn {
  right: 25px;
}

/* Contact Section */
.contact-section {
  padding: 6rem 2rem;
  background: var(--background);
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background: linear-gradient(135deg, #111111 0%, #1b1b1b 100%);
  border-radius: 30px;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="70" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
}

.contact-container h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
} 

.contact-method i {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-method-info p {
  opacity: 0.8;
  margin: 0;
}

.social-highlight {
  position: relative;
  z-index: 2;
}

.social-highlight h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.highlighted-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.highlighted-socials a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.highlighted-socials a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px) scale(1.1);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--surface);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

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

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.submit-btn:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-section {
    padding: 4rem 1rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info, .contact-form {
    padding: 2rem;
  }
}

html {
  scroll-behavior: smooth;
}
