/* ==========================================
DONATION HERO
========================================== */

.donate-hero {

    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;

    background-color: #212a15;
    overflow: hidden;
}

/* Background image */
.donate-hero-bg {

    position: absolute;
    inset: 0;

    background-image: url("/donate/images/gaza-hero.png");

    background-size: cover;
    background-position: center;

    z-index: 1;
}

/* Overlay */
.donate-hero-overlay {

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(33,42,21,0.95) 0%,
        rgba(33,42,21,0.85) 40%,
        rgba(33,42,21,0.5) 100%
    );

    z-index: 2;
}


/* Container */
.donate-hero-container {

    position: relative;
    z-index: 3;

    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 30px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}


/* Left content */

.donate-hero-content {

    max-width: 600px;
}

.donate-hero-content h1 {

    color: white;
    font-size: 3.2rem;
    line-height: 3.6rem;
    margin-bottom: 20px;
}

.highlight-word {
    color: #ffbb00;
    font-weight: inherit; /* keeps same weight as rest of h1 */
}

.donate-hero-content h1 span {
    margin-top: 10px;
    display: block;
    color: #ffbb00;
}

.donate-hero-content p {

    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 30px;
}


/* Trust row */

.donate-trust-row {

    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {

    color: white;
    display: flex;
    align-items: center;
    gap: 8px;

    background: rgba(255,255,255,0.05);
    padding: 10px 16px;
    border-radius: 10px;
}

.trust-item i {

    color: #ffbb00;
}


/* Donation Card */

.donate-card {

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);

    padding: 30px;
    border-radius: 20px;

    width: 100%;              /* full available width */
    max-width: 500px;        /* desktop limit */

    border: 1px solid rgba(255,255,255,0.1);

    box-sizing: border-box;  /* prevents overflow */
}

.donate-card h3 {

    color: white;
    margin-bottom: 20px;
}


/* Amount buttons */

.donation-amount-buttons {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.amount-btn {

    padding: 12px;
    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.2);

    background: transparent;
    color: white;

    cursor: pointer;

    transition: all 0.25s ease;
}

.amount-btn:hover {

    background: rgba(255,255,255,0.1);
}

.amount-btn.active {

    background: #ffbb00;
    color: black;
    border-color: #ffbb00;
}


/* Main donate button */

.donate-main-btn {

    width: 100%;
    padding: 16px;

    border-radius: 12px;
    border: none;

    background: #ffbb00;
    color: black;

    font-weight: bold;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    transition: 0.25s ease;
}

.donate-main-btn:hover {

    background: #ffd24a;
}


.donation-note {

    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}


/* ==========================================
Custom donation input
========================================== */

.custom-donation-wrapper {

    margin-bottom: 20px;
}

.custom-label {

    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 6px;
}

.custom-input-row {

    display: flex;
    align-items: center;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 10px;

    padding: 10px 12px;

    margin-bottom: 10px;
}

.currency {

    color: #ffbb00;
    font-weight: bold;
    margin-right: 6px;
}

#custom-amount-input {

    background: transparent;
    border: none;
    outline: none;

    color: white;

    font-size: 1rem;
    width: 100%;
}

.custom-fee-message {

    font-size: 0.8rem;

    color: rgba(255,255,255,0.65);

    line-height: 1.4;
}


/* Responsive */

@media(max-width:1024px){

    .donate-hero-container {

        flex-direction: column;
        align-items: flex-start;
    }

    .donate-card {

        width: 100%;
        max-width: 500px;
    }

}


@media(max-width:600px){

    .donate-hero-content h1 {

        font-size: 2.2rem;
        line-height: 2.6rem;
    }

    .donate-hero-container {
        padding: 100px 20px 40px;  /* tighter mobile padding */
    }

    .donate-card {
        max-width: 100%;           /* allow full width on mobile */
        padding: 22px;
    }
}




/* ==========================================
RETRO STORYBOARD
========================================== */

.retro-storyboard {

    background: #212a15;
    padding: 140px 30px;
    position: relative;
}

.retro-container {

    max-width: 1100px;
    margin: 0 auto;
}


.retro-header {

    text-align: center;
    margin-bottom: 80px;
}

.retro-header h2 {

    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.retro-header p {

    color: rgba(255,255,255,0.7);
}


/* Grid: always balanced */
.retro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
  }
  
  /* Base card */
  .retro-card {
    background: #f4f1ea;
    border-radius: 10px;
    padding: 10px 10px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  
  /* Retro slight imperfect vibe (but controlled) */
  .retro-card:nth-child(odd) { transform: rotate(-1.2deg); }
  .retro-card:nth-child(even){ transform: rotate( 1.0deg); }
  
  /* Hover */
  .retro-card:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  }
  
  /* Featured cards span both columns (centered, uniform) */
  .retro-card.featured {
    grid-column: 1 / -1;
    max-width: 900px;
    margin: 0 auto;
    transform: rotate(-0.6deg);
  }
  
  /* Small controlled offsets (no breaking layout) */
  .retro-card.offset { margin-top: 18px; }
  .retro-card.offset-down { margin-top: 28px; }
  
  /* Images */
  .retro-card img {
    width: 100%;
    display: block;
    border-radius: 8px;
  }
  
  /* Captions */
  .retro-caption { padding: 12px 10px 0; }
  
  .retro-caption h4 {
    color: #212a15;
    margin-bottom: 6px;
  }
  
  .retro-caption p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5rem;
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .retro-grid { grid-template-columns: 1fr; gap: 18px; }
  
    .retro-card,
    .retro-card.featured {
      grid-column: auto;
      max-width: 100%;
      margin: 0;
      transform: rotate(0deg);
    }
  
    .retro-card.offset,
    .retro-card.offset-down {
      margin-top: 0;
    }
  }


/* Footer note */

.retro-footer-note {

    margin-top: 80px;

    text-align: center;

    color: rgba(255,255,255,0.6);

    font-style: italic;
}


/* Mobile */

@media(max-width:768px){

    .retro-grid {

        grid-template-columns: 1fr;
    }

    .retro-card.large,
    .retro-card.medium,
    .retro-card.small {

        grid-column: span 1;
    }

    .offset,
    .offset-down {

        margin-top: 0;
    }

}




/* Transparency card */

.transparency-card {
    margin: 0 auto;
    margin-top: 100px;
    max-width: 1200px ;
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.1);

    text-align: center;
}

.transparency-card h3 {

    color: white;
    margin-bottom: 15px;
}

.transparency-card p {

    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
}

.transparency-icons {

    display: flex;
    justify-content: center;
    gap: 40px;
}

.transparency-icons div {

    color: white;
}

.transparency-icons i {

    color: #ffbb00;
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
