:root {
  --warm-dark: #3a3226;
  --gold: #c4a86f;
  --dusty-rose: #d8b4a0;
  --beige: #f5f0e6;
  --text-light: #f8f8f8;
}

.wedding-section {
  position: relative;
  padding: 6rem 1.5rem;
  background: var(--beige);
  min-height: 100vh;
  overflow: hidden;
}

.wedding-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Wedding Header */
.wedding-header {
  text-align: center;
  margin-bottom: 4rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wedding-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--warm-dark);
  margin-bottom: 1.5rem;
  font-family: "Dancing Script", cursive;
  line-height: 1.2;
}

.wedding-header p {
  color: var(--warm-dark);
  opacity: 0.8;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Bundle Container Styles */
.bundle-container {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
  border: 1px solid rgba(196, 168, 111, 0.2);
}

.bundle-header {
  background: linear-gradient(135deg, #f5f0e6 0%, #ffffff 100%);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bundle-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warm-dark);
  flex-grow: 1;
}

.bundle-badge {
  background: var(--gold);
  color: var(--warm-dark);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 1.5rem;
}

.bundle-price {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

.bundle-save {
  font-size: 0.9rem;
  color: var(--warm-dark);
  opacity: 0.8;
  margin-left: 0.5rem;
}

.bundle-content {
  padding: 2rem;
}

.bundle-grid {
  display: flex;
  gap: 2rem;
}

.bundle-left {
  flex: 1;
}

.bundle-right {
  flex: 1.5;
}

.bundle-image {
  height: 450px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bundle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bundle-image:hover img {
  transform: scale(1.03);
}

.bundle-right h3 {
  font-family: "Playfair Display", serif;
  color: var(--warm-dark);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.bundle-description {
  color: var(--warm-dark);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.bundle-includes h4 {
  color: var(--warm-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.bundle-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.bundle-item {
  display: flex;
  align-items: center;
  color: var(--warm-dark);
}

.bundle-item i {
  margin-right: 0.7rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.bundle-value {
  background: rgba(196, 168, 111, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
}

.bundle-value i {
  color: var(--gold);
  margin-right: 0.7rem;
  font-size: 1.2rem;
}

.bundle-value span {
  color: var(--warm-dark);
  font-weight: 500;
}

.bundle-cta {
  display: inline-block;
  background: var(--warm-dark);
  color: var(--beige);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid var(--warm-dark);
  width: 100%;
  max-width: 300px;
}

.bundle-cta:hover {
  background: var(--gold);
  color: var(--warm-dark);
  border-color: var(--gold);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  width: 97%;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
}

.product-card:nth-child(1) {
  animation: fadeInUp 0.8s ease forwards 0.4s;
}
.product-card:nth-child(2) {
  animation: fadeInUp 0.8s ease forwards 0.6s;
}
.product-card:nth-child(3) {
  animation: fadeInUp 0.8s ease forwards 0.8s;
}
.product-card:nth-child(4) {
  animation: fadeInUp 0.8s ease forwards 1s;
}
.product-card:nth-child(5) {
  animation: fadeInUp 0.8s ease forwards 1.2s;
}
.product-card:nth-child(6) {
  animation: fadeInUp 0.8s ease forwards 1.4s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--warm-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  color: var(--warm-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.product-content .price {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-content p {
  color: var(--warm-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  flex-grow: 1;
}

/* Buy Now Button */
.buy-now-btn {
  display: block;
  width: 90%;
  background: var(--warm-dark);
  color: var(--beige);
  padding: 0.8rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-top: auto;
}

.buy-now-btn:hover {
  background: var(--gold);
  color: var(--warm-dark);
}

/* Decorative Elements */
.wedding-watercolor {
  position: absolute;
  top: 50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23d8b4a0" opacity="0.08" d="M45,5c25,15,40,50,60,80s45,65,70,70s45-30,20-80S90,10,45,5z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  animation: float 12s ease-in-out infinite;
}

.wedding-flourish {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23c4a86f" opacity="0.1" d="M30,30c10,5,25-5,40,15s35,45,60,30s35-40,15-60S60,10,30,30z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(10px, 10px) rotate(2deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bundle-grid {
    flex-direction: column;
  }

  .bundle-image {
    height: 250px;
  }

  .bundle-items {
    grid-template-columns: 1fr;
  }

  .paper-select-container {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .wedding-section {
    padding: 4rem 1rem;
  }

  .wedding-header h1 {
    font-size: 3rem;
  }

  .bundle-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
  }

  .bundle-title {
    margin-bottom: 0.5rem;
  }

  .bundle-badge {
    margin: 0.5rem 0;
  }

  .bundle-content {
    padding: 1.5rem;
  }

  .bundle-right h3 {
    font-size: 1.5rem;
  }

  .wedding-watercolor,
  .wedding-flourish {
    width: 200px;
    height: 200px;
  }

  .paper-select-container {
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .product-card {
    /* margin: 0 auto; */
    max-width: calc(100% );
  }

  .bundle-header {
    padding: 1rem;
  }

  .bundle-title {
    font-size: 1.2rem;
  }

  .bundle-price {
    font-size: 1.1rem;
  }

  .bundle-content {
    padding: 1rem;
  }

  .bundle-cta {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 85%;
  }

  .wedding-header h1 {
    font-size: 2.5rem;
  }

  .wedding-header p {
    font-size: 1rem;
  }

  .paper-select-container {
    max-width: 100%;
    text-align: center;
  }
}

/* Motion Sensitivity Preference */
@media (prefers-reduced-motion) {
  .wedding-header,
  .product-card,
  .bundle-container {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .product-card:hover {
    transform: none;
  }

  .product-image img,
  .bundle-image img {
    transition: none;
  }

  .wedding-watercolor,
  .wedding-flourish {
    animation: none;
  }
}