/* ===================================
   Gift Card Page Styles
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */

.gift-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  padding: 50px 0 35px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gift-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.gift-hero .container {
  position: relative;
  z-index: 2;
}

.gift-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.gift-hero .title-decoration {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  margin: 1.5rem auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.5);
}

.gift-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================
   COMMON SECTION STYLES
   =================================== */

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
  text-align: center;
}

.title-decoration {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  margin: 1.5rem auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.5);
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666666;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  text-align: center;
}

/* ===================================
   WHY GIFT SECTION
   =================================== */

.why-gift-section {
  background: #ffffff;
  padding: 35px 0 80px 0;
}

.why-gift-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-gift-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.why-gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #ec4899;
}

.why-gift-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.why-gift-icon svg {
  width: 40px;
  height: 40px;
  color: #ffffff;
}

.why-gift-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.75rem;
}

.why-gift-description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   HOW WORKS SECTION
   =================================== */

.how-works-section {
  background: #ffffff;
  padding: 45px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.how-works-section .container {
  position: relative;
  z-index: 2;
}

.how-works-section .section-title {
  color: #333333;
}

.how-works-section .title-decoration {
  background: linear-gradient(90deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.5);
}

.how-works-section .section-subtitle {
  color: #666666;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-card:hover {
  background: #ffffff;
  border-color: #ec4899;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.step-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 1.5rem;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.step-icon svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 1rem;
}

.step-description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

/* ===================================
   OCCASIONS SECTION
   =================================== */

.occasions-section {
  background: linear-gradient(135deg, #a855f7 0%, #db2777 50%, #ec4899 100%);
  padding: 45px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.occasions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="occasionPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23occasionPattern)"/></svg>');
  z-index: 1;
}

.occasions-section .container {
  position: relative;
  z-index: 2;
}

.occasions-section .section-title {
  color: #ffffff;
}

.occasions-section .title-decoration {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.occasions-section .section-subtitle {
  color: rgba(255, 255, 255, 0.95);
}

.occasions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.occasion-item {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.occasion-item:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.occasion-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.occasion-icon svg {
  width: 30px;
  height: 30px;
  color: #ffffff;
}

.occasion-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

/* ===================================
   CTA SECTION
   =================================== */

.gift-cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.gift-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.gift-cta-section .container {
  position: relative;
  z-index: 2;
}

.gift-cta-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.gift-cta-text {
  text-align: center;
  flex: 1;
}

.gift-cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.gift-cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.gift-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.gift-cta-btn:hover {
  background: linear-gradient(135deg, #db2777 0%, #ec4899 50%, #a855f7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.gift-cta-btn svg {
  width: 22px;
  height: 22px;
}

.gift-cta-image {
  flex: 1;
  max-width: 400px;
}

.gift-cta-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (min-width: 768px) {
  .gift-hero {
    padding: 70px 0 50px 0;
  }

  .gift-hero-title {
    font-size: 2.75rem;
  }

  .gift-hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  /* Why Gift Grid */
  .why-gift-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  /* Steps Container */
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .step-card {
    min-height: 350px;
  }

  /* Occasions Grid */
  .occasions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* CTA Content */
  .gift-cta-content {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .gift-cta-text {
    text-align: left;
  }

  .gift-cta-image {
    max-width: 450px;
  }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */

@media (min-width: 1024px) {
  .gift-hero {
    padding: 90px 0 65px 0;
  }

  .gift-hero-title {
    font-size: 3.25rem;
  }

  .gift-hero-subtitle {
    font-size: 1.35rem;
  }

  .why-gift-section,
  .how-works-section,
  .occasions-section,
  .gift-cta-section {
    padding: 60px 0 100px 0;
  }

  .section-title {
    font-size: 2.75rem;
  }

  /* Why Gift Grid */
  .why-gift-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-gift-icon {
    width: 90px;
    height: 90px;
  }

  .why-gift-icon svg {
    width: 44px;
    height: 44px;
  }

  /* CTA */
  .gift-cta-title {
    font-size: 2.75rem;
  }

  .gift-cta-subtitle {
    font-size: 1.3rem;
  }

  .gift-cta-image {
    max-width: 500px;
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
