* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #DCD8D3 100%);
}

/* Mobile-first base styles */
.section {
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
  padding: 1rem;
  display:flex;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  width: max-content;
}

.burger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2001;
  position: relative;
}

.burger-lines {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1999;
}

.nav-menu.active {
  transform: translateY(0);
}

.nav-menu a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 300;
  margin: 1rem 0;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-align: center;
}

.nav-menu a:hover {
  background: rgb(153, 73, 140);
  transform: scale(1.05);
}

/* Welcome Section */
.welcome-section {
  text-align: center;
  padding-top: 6rem;
}

.welcome-content {
  max-width: 100%;
  width: 100%;
}

.welcome-text h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  letter-spacing: 1px;
}

.welcome-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.artist-image {
  width: 100%;
  max-width: 300px;
  height: 300px;
  background: url(/images/lucyart.jpg);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  background-size: contain;
}

/* About Section */
.about-section {
  
}

.about-content {
  max-width: 100%;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-weight: 300;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-section {

}

.skills-content {
  width: 100%;
  text-align: center;
}

.skills-content h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skill-card {
  background: #000000cf;
  color: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.skill-card p {
  line-height: 1.6;
  color: #ffffff;
}

/* Gallery Section */
.gallery-section {

}

.gallery-content {
  width: 100%;
  text-align: center;
}

.gallery-content h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.collections-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}

.collection-card {
  background: #000000cf;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  color:white;
}

.collection-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgb(205 87 211 / 27%);
  color:black;
}

.collection-preview1,
.collection-preview2,
.collection-preview3 {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.collection-preview1::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: url(/images/oleo/1.jpg);
  border-radius: 4px;
  background-size: cover;
}

.collection-preview2::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: url(/images/acuarela/2.jpg);
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}

.collection-preview3::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: url(/images/mini/1.jpg);
  border-radius: 4px;
  background-size: cover;
}

.collection-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.collection-info p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Virtual Gallery */
.virtual-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: hidden;
  background: radial-gradient(ellipse at center bottom, #1a1a1a 0%, #000 100%);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.virtual-gallery.active {
  transform: translateY(0);
  opacity: 1;
}

.gallery-room {
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse 120% 80% at 50% 90%,
      rgba(40, 40, 40, 0.8) 0%,
      transparent 50%
    ),
    linear-gradient(
      to bottom,
      #0a0a0a 0%,
      #1a1a1a 20%,
      #2a2a2a 60%,
      #3a3a3a 80%,
      #2c1810 100%
    );
  position: relative;
  perspective: 2000px;
  overflow: hidden;
  max-width: 1000px;
  justify-self: center;
}

.gallery-controls {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.gallery-title {
  color: #f5f5f5;
  font-size: 1.4rem;
  font-weight: 300;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
}

.close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f5f5;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin-top:-5px;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-wall {
  top: 10%;
  left: 0;
  right: 0;
  bottom: 25%;
  background: url(/images/gallerybackground.png);
  align-items: center;
  display: flex;
  background-repeat: round;
  justify-content: center;
  z-index: 2;
  position: relative;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 50px rgba(0, 0, 0, 0.3);
  height: 100%;
}

.paintings-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.paintings-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  margin-top: 1rem;
}

.painting-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: absolute;
  opacity: 0;
  transform: translateX(100px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}

.painting-display.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 15;
  position: relative;
  top: -3rem;
}

.painting-display.prev {
  opacity: 0.1;
  transform: translateX(-200px) scale(0.7) rotateY(25deg);
  z-index: 12;
  position: absolute;
}

.painting-display.next {
  opacity: 0.1;
  transform: translateX(200px) scale(0.7) rotateY(-25deg);
  z-index: 12;
  position: absolute;
}

.painting-frame {
  width: 320px;
  height: 380px;
  background: #fff;
  border: 8px solid #2a2a2a;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  position: relative;
  z-index: 10;
  scale:0.6;
}

.painting-frame:hover {
  transform: translateY(-8px) scale(1.02);
}

.painting-image {
  width: 100%;
  height: 100%;
 }

.painting-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.painting-frame:hover::before {
  left: 100%;
}

.painting-info {
    color: #000000;
    text-align: left;
    max-width: 65%;
    top: -5rem;
    position: relative;
    left: -1rem;
}

.painting-info h4 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #000000;
}

.painting-info p {
  color: #000000;
  font-size: 0.9rem;
}

.painting-info .price {
  color: #7d5438;
  font-weight: 600;
  font-size: 1rem;
}

/* Gallery Navigation */
.gallery-nav {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  z-index: 50;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.6;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-nav.prev {
  left: 6rem;
}

.gallery-nav.next {
  right: 6rem;
}

.gallery-counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  z-index: 50;
  opacity: 0.6;
}

/* Full-screen Image Viewer */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 1);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-viewer.active {
  opacity: 1;
  visibility: visible;
}

.image-viewer-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-viewer-image {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  cursor: zoom-out;
}

.image-viewer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  backdrop-filter: blur(10px);
}

.image-viewer-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.image-viewer-nav {
  position: absolute;
  bottom: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  backdrop-filter: blur(10px);
}

.image-viewer-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
}

.image-viewer-nav.prev {
  left: 2rem;
}

.image-viewer-nav.next {
  right: 2rem;
}

/* Contact Section */
.contact-section {

}

.contact-content {
  width: 100%;
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 300;
}

.contact-content h3 {
  font-size: 1.2rem;
  color: #e67e22;
  font-style: italic;
  margin-bottom: 2rem;
}

.contact-details {
  text-align: left;
  max-width: 300px;
  margin: 0 auto 2rem auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-item strong {
  min-width: 80px;
  color: #2c3e50;
  font-weight: 600;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Tablet and Desktop Responsive */
@media (min-width: 768px) {
  .section {
    padding: 3rem 2rem;
  }

  .welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
  }

  .welcome-text {
    text-align: left;
  }

  .welcome-text h1 {
    font-size: 3.5rem;
  }

  .artist-image {
    max-width: 400px;
    height: 400px;
    border-radius: 15px;
  }

  .about-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .about-content h2 {
    font-size: 3rem;
  }

  .skills-grid {
    flex-direction: row;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  .collections-grid {
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
  }

  .contact-details {
    text-align: left;
    max-width: none;
    margin: 0;
  }

  .painting-frame {
    width: 320px;
    height: 380px;
  }

  .gallery-title {
    font-size: 1.8rem;
  }

  .gallery-nav {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .gallery-nav.prev {
    left: 3rem;
  }

  .gallery-nav.next {
    right: 3rem;
  }

  /* Desktop navigation */
  .burger-menu {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    background: none;
    transform: none;
    height: auto;
    backdrop-filter: none;
  }

  .nav-menu a {
    color: #ffffff;
    font-size: 1rem;
    margin: 0 0 0 2rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    color:black;
  }
}

@media (min-width: 1024px) {
  .welcome-text h1 {
    font-size: 4rem;
  }

  .painting-frame {
    width: 320px;
    height: 380px;
    scale:0.7;
  }
  .painting-info {
    top: -4rem;
  }
}
