@import url('https://fonts.googleapis.com/css2?family=Kurale&family=Beau+Rivage&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital@1&display=swap');

.main-section {
  background: #1d1e22;
  animation: fadeIn 2s ease-in forwards;
}

.section {
  padding: 0 0;
}

.odd-section {
  background: linear-gradient(to bottom, rgba(29, 30, 34, 1) 0%, rgba(209, 185, 180, 0.05) 5%, rgba(209, 185, 180, 0.15) 10%, rgba(209, 185, 180, 0.3) 15%, rgba(209, 185, 180, 0.5) 30%, rgba(209, 185, 180, 0.8) 50%, rgba(209, 185, 180, 0.5) 70%, rgba(209, 185, 180, 0.3) 85%, rgba(209, 185, 180, 0.15) 90%, rgba(209, 185, 180, 0.05) 95%, rgba(29, 30, 34, 1) 100%);
}

.space {
  margin-top: 10rem;
}

.space-for-gallery {
  margin-top: 5rem;
}

.gold-gradient-text-h2 {
  color: transparent;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), #feda6a, #feda6a);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  -webkit-text-fill-color: transparent;
}

.text {
  color: white;
  font-family: 'Kurale', serif;
  font-size: 18px;
}

.manicure-lead,
.manicure-section-copy {
  max-width: 58rem;
  line-height: 1.8;
}

.manicure-actions {
  row-gap: 1rem;
}

.gold-button {
  white-space: nowrap;
  color: black;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), #feda6a, #feda6a);
  border: 0;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  transform: scale(1.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.gold-button.text {
  font-size: 0.875rem;
}

.gold-button:hover {
  color: black;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), #feda6a, #feda6a);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
  text-decoration: none !important;
  transform: scale(1.4);
}

.stats-number {
  color: white;
  font-weight: bold;
}

.stats-text {
  color: white;
  font-size: 1.2rem;
}

.manicure-before-after-image {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  object-fit: cover;
}

#header.lightbox-open {
  visibility: hidden;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
}

.lightbox .close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 10%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 40px;
  opacity: 1;
}

.lightbox .arrow {
  position: absolute;
  top: 50%;
  color: white;
  cursor: pointer;
  font-size: 36px;
  transform: translateY(-50%);
  user-select: none;
}

.lightbox .arrow.left {
  left: 20px;
}

.lightbox .arrow.right {
  right: 20px;
}

@media (min-width: 500px) {
  .gold-gradient-text-h2 {
    font-size: 2.5rem;
  }

  .text {
    font-size: 22px;
  }

  .gold-button.text {
    font-size: 0.875rem;
  }
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
}
