/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 93px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.1); /* For GSAP zoom animation */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(37, 17, 59, 0.4) 0%, rgba(18, 8, 26, 0.9) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
  z-index: 1;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border-light);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--secondary);
  animation: scrollAnim 2s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* 3D Section Overlay (if implemented in hero) */
#three-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Let clicks pass through */
}


/* Collections Section */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 3/4;
  border: 1px solid rgba(201, 163, 78, 0.15); /* Gold border */
}

/* Inner decorative frame */
.collection-card::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  pointer-events: none;
  transition: border-color var(--transition-slow);
}

.collection-card:hover::before {
  border-color: rgba(201, 163, 78, 0.4);
}

/* Asymmetric Grid */
.collection-card:nth-child(1) { grid-column: span 5; }
.collection-card:nth-child(2) { grid-column: span 7; margin-top: 4rem; }
.collection-card:nth-child(3) { grid-column: span 7; }
.collection-card:nth-child(4) { grid-column: span 5; margin-top: -4rem; }

.collection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: background 0.5s ease;
}

.collection-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  transform: translateY(10px);
  transition: transform 0.5s ease;
}

.collection-link {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.8;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.collection-link i {
  transition: transform 0.3s ease;
}

.collection-card:hover .collection-img {
  transform: scale(1.05);
}

.collection-card:hover .collection-overlay {
  background: linear-gradient(to top, rgba(37, 17, 59, 0.8) 0%, transparent 70%);
}

.collection-card:hover .collection-title,
.collection-card:hover .collection-link {
  transform: translateY(0);
  opacity: 1;
}

.collection-card:hover .collection-link i {
  transform: translateX(10px);
}

@media (max-width: 768px) {
  .collection-card:nth-child(1),
  .collection-card:nth-child(2),
  .collection-card:nth-child(3),
  .collection-card:nth-child(4) {
    grid-column: span 12;
    margin-top: 0;
  }
}

/* Signature Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  group: product;
  position: relative;
  background: transparent;
  transition: transform var(--transition-normal);
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201, 163, 78, 0.15);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.product-overlay-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  background: linear-gradient(to top, rgba(18, 8, 26, 0.9), transparent);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card:hover .product-overlay-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-action-btn {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 163, 78, 0.3);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-action-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

.wishlist-btn-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
}

.wishlist-btn-top:hover {
  color: var(--secondary);
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--secondary);
  font-size: 1rem;
}

/* 3D Interactive Section */
.craft-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 80vh;
}

.craft-3d-container {
  height: 600px;
  width: 100%;
  position: relative;
}

.craft-content {
  padding-left: 4rem;
}

.craft-labels {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.craft-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.craft-label span {
  color: var(--secondary);
}

@media (max-width: 992px) {
  .craft-section {
    grid-template-columns: 1fr;
  }
  .craft-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

/* Story Section */
.story-section {
  text-align: center;
  padding: 8rem 0;
  background-image: url('../images/story_bg.webp'); /* Will add parallax in JS */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.story-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(18, 8, 26, 0.8);
}

.story-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.story-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.4;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Bridal Banner */
.bridal-banner {
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bridal-banner img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bridal-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(37, 17, 59, 0.3) 0%, rgba(18, 8, 26, 0.9) 100%);
  z-index: -1;
}

/* Instagram Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 3rem;
}

.social-item {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  display: block;
}

.social-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.social-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(37, 17, 59, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-overlay i {
  color: var(--text-light);
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-item:hover img {
  transform: scale(1.1);
}

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

.social-item:hover .social-overlay i {
  transform: scale(1);
}

@media (max-width: 992px) {
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
