/* ===================================
   Component Styles
   =================================== */

/* Gallery Component */
.gallery-section {
  padding: 3rem 0;
  background: var(--color-white);
}

.gallery-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.gallery-header .section-description {
  color: var(--color-dark-light);
  margin: 0 auto;
}

.gallery-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.gallery-wrapper {
  position: relative;
}

.gallery-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0 0 1rem;
  scroll-padding: 1.5rem;
}

@media (max-width: 768px) {
  .gallery-container {
    scroll-padding: 1rem;
  }
}

.gallery-item {
  flex: 0 0 auto;
  width: min(400px, 80vw);
  scroll-snap-align: start;
}

.gallery-item-image {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--color-silver-100);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
  will-change: transform;
}

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

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateZ(0);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--color-dark);
  padding: 0.75rem;
  border-radius: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.gallery-wrapper:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  background: var(--color-white);
}

.gallery-arrow-left {
  left: 2.5rem;
}

.gallery-arrow-right {
  right: 2.5rem;
}

@media (max-width: 768px) {
  .gallery-arrow-left {
    left: 1.5rem;
  }

  .gallery-arrow-right {
    right: 1.5rem;
  }
}

.gallery-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Story Card - Apple-like Design */
.story-card {
  cursor: pointer;
  transform: translateZ(0);
  background: var(--color-white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.06);
}

.story-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.story-card .card-image {
  margin-bottom: 0;
  position: relative;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.story-card .card-image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.story-card:hover .card-image img {
  transform: scale(1.03);
}

.story-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.story-card .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-card h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.625rem;
  transition: color 0.3s ease;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.story-card:hover h3 {
  color: var(--color-dark-light);
}

.story-excerpt {
  font-size: 0.875rem;
  color: var(--color-dark-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  font-weight: 400;
}

.story-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-dark);
  font-weight: 500;
  padding-top: 0.5rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.story-card:hover .story-link {
  color: var(--color-dark-light);
  transform: translateX(4px);
}

/* Venue Card - Apple-like Design */
.venue-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.venue-card .card-image {
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem 1.5rem 0 0;
}

.venue-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.venue-info {
  font-size: 0.8125rem;
  color: var(--color-dark-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.venue-info:last-of-type {
  margin-bottom: 0;
}

.venue-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--color-silver-100);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-top: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Makeup Artist Card - Apple-like Design */
.artist-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.artist-card .card-image {
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem 1.5rem 0 0;
}

.artist-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artist-info {
  font-size: 0.8125rem;
  color: var(--color-dark-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.artist-contact {
  font-size: 0.875rem;
  color: var(--color-dark);
  font-weight: 500;
  margin-top: auto;
  padding-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.artist-contact:hover {
  color: var(--color-dark-light);
  transform: translateX(2px);
}

/* Privacy Feature Card - Apple-like Design */
.feature-card {
  background: var(--color-white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateZ(0);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.06);
}

.feature-icon {
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-dark-light);
  line-height: 1.6;
  margin: 0;
}

/* Photo Selection Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.showcase-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.showcase-content>p {
  font-size: 1.125rem;
  color: var(--color-dark-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-feature {
  display: flex;
  align-items: flex-start;
}

.showcase-feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--color-silver-100);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.showcase-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--color-dark);
}

.showcase-feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.showcase-feature p {
  font-size: 0.875rem;
  color: var(--color-dark-light);
  margin: 0;
}

.showcase-visual {
  position: relative;
}

.showcase-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--color-silver-100);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}

.showcase-indicator {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.showcase-check {
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-dark);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-check svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--color-white);
  stroke-width: 3;
}

.showcase-indicator span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
}

/* Decorations removed for minimal design */

/* Contact Cards - Apple-like Design */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.contact-card {
  background: var(--color-white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.06);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  background: var(--color-silver-100);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--color-dark);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.contact-card>p {
  color: var(--color-dark-light);
  margin-bottom: 1rem;
}

/* Filter Tabs */
.filter-tabs {
  position: sticky;
  top: 5rem;
  z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-silver-200);
  padding: 1.5rem 0;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 500;
  background: var(--color-silver-100);
  color: var(--color-dark-light);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}

.filter-btn:hover {
  background: var(--color-silver-200);
  border-color: rgba(0, 0, 0, 0.06);
}

.filter-btn.active {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.filter-btn.active:hover {
  background: rgba(29, 29, 31, 0.9);
  border-color: rgba(29, 29, 31, 0.9);
}

/* Story Modal */
.story-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.story-modal.active {
  display: flex;
}

.story-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

.story-modal-content {
  position: relative;
  background: var(--color-white);
  border-radius: 2rem;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.story-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-modal-close:hover {
  background: var(--color-white);
  transform: rotate(90deg);
}

.story-modal-close svg {
  stroke: var(--color-dark);
}

.story-modal-body {
  overflow-y: auto;
  max-height: 90vh;
}

.story-modal-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--color-silver-100);
}

.story-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-modal-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.story-modal-info {
  padding: 2.5rem;
}

.story-modal-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.story-modal-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-dark-light);
  margin-bottom: 1.5rem;
}

.story-modal-separator {
  opacity: 0.5;
}

.story-modal-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark-light);
  margin-bottom: 2.5rem;
}

.story-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-modal-gallery-item {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--color-silver-100);
  cursor: pointer;
  transition: transform 0.3s ease;
  grid-column: span 2;
}

.story-modal-gallery-item.portrait {
  grid-column: span 1;
}

.story-modal-gallery-item:hover {
  transform: scale(1.02);
}

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

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-modal {
    padding: 1rem;
  }

  .story-modal-hero {
    height: 300px;
  }

  .story-modal-info {
    padding: 2rem;
  }

  .story-modal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gallery-arrow {
    opacity: 1;
  }

  /* Showcase Mobile */
  .showcase-grid {
    gap: 2.5rem;
  }

  .showcase-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .showcase-content>p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .showcase-features {
    gap: 1.25rem;
  }

  .showcase-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.875rem;
  }

  .showcase-feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .showcase-feature h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
  }

  .showcase-feature p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .showcase-image {
    height: 400px;
  }

  /* Contact Cards Mobile */
  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.125rem;
  }

  .contact-card>p {
    font-size: 0.875rem;
  }

  /* Feature Cards Mobile */
  .feature-card {
    padding: 1.75rem;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.8125rem;
  }

  .story-modal {
    padding: 0.5rem;
  }

  .story-modal-content {
    border-radius: 1.5rem;
    max-height: 95vh;
  }

  .story-modal-close {
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
  }

  .story-modal-close svg {
    width: 18px;
    height: 18px;
  }

  .story-modal-hero {
    height: 250px;
  }

  .story-modal-badge {
    top: 1rem;
    left: 1rem;
    font-size: 0.6875rem;
    padding: 0.375rem 0.75rem;
  }

  .story-modal-info {
    padding: 1.5rem;
  }

  .story-modal-info h2 {
    font-size: 1.5rem;
  }

  .story-modal-meta {
    font-size: 0.875rem;
    flex-wrap: wrap;
  }

  .story-modal-description {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }

  .story-modal-gallery {
    gap: 0.75rem;
  }
}

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

  .story-modal-gallery-item,
  .story-modal-gallery-item.portrait {
    grid-column: span 1;
  }
}