/**
 * DIME Landing - Donativo Page Styles
 * Custom styles for the donation page
 */

/* ============================================================
   DONATIVO PAGE — Custom Styles
   ============================================================ */

/* Hero */
.donativo-hero {
   position: relative;
   min-height: 85vh;
   display: flex;
   align-items: center;
   background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
   overflow: hidden;
}

.hero-content-wrap {
   position: relative;
   z-index: 1;
}

.hero-title {
   font-family: var(--font-display);
   font-size: clamp(2.2rem, 5vw, 3.5rem);
   font-weight: 700;
   line-height: 1.1;
   color: white;
   margin-bottom: 1.5rem;
   text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-subtitle {
   font-size: 1.2rem;
   color: rgba(255,255,255,0.9);
   line-height: 1.6;
   max-width: 650px;
   margin-bottom: 2.5rem;
}

/* Stats bar */
.stats-bar {
   background: white;
   border-radius: 1rem;
   padding: 2rem;
   box-shadow: 0 20px 50px -10px rgba(0,0,0,0.15);
   margin-top: -4rem;
   position: relative;
   z-index: 2;
}

.stat-item {
   text-align: center;
   padding: 1rem;
   border-right: 1px solid var(--color-gray-200);
}

.stat-item:last-child {
   border-right: none;
}

.stat-number {
   font-family: var(--font-display);
   font-size: 2.5rem;
   font-weight: 700;
   color: var(--color-primary);
   line-height: 1;
   margin-bottom: 0.5rem;
}

.stat-label {
   font-size: 0.9rem;
   color: var(--text-muted);
   font-weight: 500;
}

/* Section styles */
.section-iconic {
   position: relative;
}

.section-iconic::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 1px;
   height: 60px;
   background: linear-gradient(to bottom, transparent, var(--color-primary-100));
}

/* What we provide cards */
.provide-card {
   background: white;
   border-radius: 1.25rem;
   padding: 2.5rem;
   height: 100%;
   border: 1px solid var(--color-gray-200);
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
}

.provide-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12);
   border-color: var(--color-primary-100);
}

.provide-icon {
   width: 4.5rem;
   height: 4.5rem;
   border-radius: 1rem;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 2rem;
   margin-bottom: 1.5rem;
}

.provide-icon-primary {
   background: linear-gradient(135deg, var(--color-primary-100) 0%, var(--color-primary-50) 100%);
   color: var(--color-primary);
}

.provide-icon-secondary {
   background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, rgba(249,115,22,0.05) 100%);
   color: var(--color-secondary);
}

.provide-title {
   font-family: var(--font-display);
   font-size: 1.4rem;
   font-weight: 700;
   color: var(--text-primary);
   margin-bottom: 1.5rem;
}

.provide-list {
   list-style: none;
   padding: 0;
   margin: 0;
}

.provide-list li {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   padding: 0.75rem 0;
   border-bottom: 1px solid var(--color-gray-100);
   font-size: 1rem;
   color: var(--text-secondary);
   transition: all 0.2s ease;
}

.provide-list li:last-child {
   border-bottom: none;
}

.provide-list li:hover {
   color: var(--color-primary);
   padding-left: 0.5rem;
}

.provide-list li i {
   flex-shrink: 0;
   font-size: 1.1rem;
}

/* Donation method cards */
.donation-method {
   background: white;
   border-radius: 1.25rem;
   overflow: hidden;
   box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
   transition: all 0.3s ease;
}

.donation-method:hover {
   transform: scale(1.02);
   box-shadow: 0 20px 50px -12px rgba(0, 102, 204, 0.15);
}

.donation-method-img {
   width: 100%;
   height: 220px;
   object-fit: cover;
}

.donation-method-body {
   padding: 2rem;
}

.donation-method-title {
   font-family: var(--font-display);
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--text-primary);
   margin-bottom: 1rem;
}

.donation-method-text {
   color: var(--text-secondary);
   line-height: 1.7;
   margin-bottom: 1.5rem;
}

/* Bank details box */
.bank-box {
   background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
   border-radius: 1rem;
   padding: 1.5rem;
   color: white;
}

.bank-box-title {
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 0.1em;
   color: var(--color-gray-400);
   margin-bottom: 0.75rem;
}

.bank-box-info {
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
}

.bank-box-item {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   background: rgba(255,255,255,0.1);
   padding: 0.6rem 1rem;
   border-radius: 0.5rem;
   font-size: 0.9rem;
}

.bank-box-item i {
   color: var(--color-secondary);
}

/* Bank details card */
.bank-details-card {
   background: white;
   border-radius: 1rem;
   box-shadow: 0 10px 40px -10px rgba(0,0,0,0.12);
   overflow: hidden;
   border: 1px solid var(--color-gray-200);
   transition: all 0.3s ease;
}

.bank-details-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 20px 50px -12px rgba(138, 43, 226, 0.25);
   border-color: rgba(138, 43, 226, 0.4);
}

.bank-details-header {
   display: flex;
   align-items: center;
   gap: 1.5rem;
   padding: 2rem;
   background: linear-gradient(135deg, #6B21A8 0%, #581C87 100%);
   color: white;
}

.bank-logo {
   height: 60px;
   width: auto;
}

.bank-name {
   font-family: var(--font-display);
   font-size: 1.5rem;
   font-weight: 700;
}

.bank-account-name {
   font-size: 0.85rem;
   opacity: 0.9;
   margin-top: 0.25rem;
}

.bank-details-body {
   padding: 2rem;
}

.bank-detail-row {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 1rem 0;
   border-bottom: 1px solid var(--color-gray-100);
}

.bank-detail-row:last-child {
   border-bottom: none;
}

.bank-detail-label {
   font-size: 0.9rem;
   color: var(--text-muted);
   font-weight: 500;
}

.bank-detail-value-wrap {
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.bank-detail-value {
   font-family: var(--font-mono);
   font-size: 1rem;
   font-weight: 600;
   color: var(--text-primary);
}

.copy-btn {
   display: flex;
   align-items: center;
   justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
   background: var(--color-primary-100);
   color: var(--color-primary);
   border: none;
   border-radius: 0.5rem;
   cursor: pointer;
   transition: all 0.2s ease;
}

.copy-btn:hover {
   background: var(--color-primary);
   color: white;
}

.copy-btn.copied {
   background: var(--color-success);
   color: white;
}

/* Share buttons */
.share-section {
   padding: 1.5rem;
   background: var(--color-gray-50);
   border-radius: 1rem;
}

.share-label {
   font-size: 0.9rem;
   color: var(--text-muted);
   font-weight: 500;
   margin-bottom: 1rem;
}

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

.share-btn {
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.75rem 1.5rem;
   border-radius: 0.75rem;
   font-size: 0.9rem;
   font-weight: 600;
   color: white;
   transition: all 0.2s ease;
}

.share-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(0,0,0,0.15);
   color: white;
}

.share-btn-whatsapp {
   background: #25D366;
}

.share-btn-whatsapp:hover {
   background: #1fb855;
}

.share-btn-facebook {
   background: #1877F2;
}

.share-btn-facebook:hover {
   background: #166fe5;
}

/* DIABUDDY section */
.diabuddy-section {
   background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
   position: relative;
   overflow: hidden;
}

.diabuddy-section::before {
   content: '';
   position: absolute;
   inset: 0;
   background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40h40V0H0zM20 20c5.523 0 10-4.477 10-10S25.523 0 20 0 10 4.477 10 10s4.477 10 10 10z'/%3E%3C/g%3E%3C/svg%3E");
   opacity: 0.5;
}

.diabuddy-card {
   background: rgba(28, 25, 23, 0.25);
   border: 1px solid rgba(255, 255, 255, 0.18);
   border-radius: var(--radius-xl);
   padding: 2.5rem;
   color: white;
   position: relative;
   z-index: 1;
}

.diabuddy-icon {
   width: 5rem;
   height: 5rem;
   background: rgba(255,255,255,0.2);
   border-radius: 1rem;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 2.5rem;
   margin-bottom: 1.5rem;
}

.diabuddy-title {
   font-family: var(--font-display);
   font-size: 2rem;
   font-weight: 700;
   margin-bottom: 1rem;
   color: white;
}

.diabuddy-text {
   font-size: 1.1rem;
   opacity: 0.95;
   line-height: 1.7;
   margin-bottom: 1.5rem;
}

/* In-kind donations grid */
.inkind-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
}

.inkind-item {
   background: var(--color-gray-50);
   border-radius: 0.75rem;
   padding: 1.5rem 1rem;
   text-align: center;
   transition: all 0.3s ease;
   border: 1px solid transparent;
}

.inkind-item:hover {
   background: white;
   border-color: var(--color-primary-100);
   box-shadow: 0 8px 20px -8px rgba(0, 102, 204, 0.18);
   transform: scale(1.03);
}

.inkind-item i {
   font-size: 2rem;
   margin-bottom: 0.75rem;
   display: block;
}

.inkind-icon-primary {
   color: var(--color-primary);
}

.inkind-icon-secondary {
   color: var(--color-secondary);
}

.inkind-item-text {
   font-size: 0.9rem;
   font-weight: 500;
   color: var(--text-primary);
}

/* Button light variant for colored backgrounds */
.btn-light {
   background: white;
   color: var(--color-secondary) !important;
   border-color: white;
}

.btn-light:hover {
   background: var(--color-primary-50);
   border-color: var(--color-primary-50);
   color: var(--color-secondary) !important;
}

/* Responsive */
@media (max-width: 991.98px) {
   .donativo-hero {
      min-height: 70vh;
   }

   .stats-bar {
      margin-top: 0;
      border-radius: 1rem 1rem 0 0;
   }

   .stat-item {
      border-right: none;
      border-bottom: 1px solid var(--color-gray-200);
   }

   .stat-item:last-child,
   .stat-item:nth-child(2) {
      border-bottom: none;
   }

   .inkind-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

/* Bank card responsive overrides */
@media (max-width: 767.98px) {
   .bank-details-header {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.75rem;
      padding: 1.25rem 1rem;
   }

   .bank-logo {
      height: 44px;
   }

   .bank-name {
      font-size: 1.25rem;
   }

   .bank-account-name {
      font-size: 0.8rem;
   }

   .bank-details-body {
      padding: 1.25rem;
   }

   .bank-detail-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
      padding: 0.75rem 0;
   }

   .bank-detail-value-wrap {
      width: 100%;
      justify-content: space-between;
   }

   .bank-detail-value {
      font-size: 0.85rem;
      word-break: break-all;
   }

   .copy-btn {
      width: 2.25rem;
      height: 2.25rem;
      flex-shrink: 0;
   }
}

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

   .bank-detail-value {
      font-size: 0.8rem;
   }

   .bank-detail-label {
      font-size: 0.8rem;
   }
}
