/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #fff8fa;
    color: #4a154b;
    line-height: 1.8;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header */
/* header {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9a8d4, #f472b6, #ec4899);
    color: #fff;
    border-radius: 20px;
    margin-bottom: 80px;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
} */
header {
    /* Existing styles... */
    text-align: center;
    padding: 80px 20px;
    background:
        /* Gradient color base */
        linear-gradient(135deg, #f9a8d4, #f472b6, #ec4899);
        /* Images with low opacity using PNG/SVG with transparency, or use filter below */
        /* url('/static/img2.jfif'), url('/static/img3.jfif'), url('/static/img2.jfif'); */
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 100% 100%; /* cover, 200px, 200px, 200px; */
    
    background-position: center, 10% 30%, 70% 60%, 80% 20%;
    color: #fff;
    border-radius: 20px;
    margin-bottom: 80px;
    box-shadow: 0 6px 20px rgba(236,72,153,0.3);

    position: relative; /* Needed for overlay pseudo element */
    overflow: hidden;   /* Ensures overlay doesn't spill out */
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255,255,255,0.35); /* or choose a soft overlay color */
    pointer-events: none;
}
header * {
    position: relative;
    z-index: 1;
}


h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.intro {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto;
}

/* Section Layouts */
.content-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 100px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(244, 114, 182, 0.15);
}

.right-images .text-content,
.left-images .text-content {
    flex: 3;
}

.image-content {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.text-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #be185d;
}

.text-content p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 15px;
}

/* Round Images */
.round-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f9a8d4;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.2);
}
.round-image:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Donation Section */
.donation-section {
    text-align: center;
    padding: 50px 20px;
}

.donation-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #881337;
}

.donation-intro {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #6b2144;
}

.crypto-icons {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.crypto-icon {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crypto-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;left: 0;width: 100%;height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 35px;
    border-radius: 14px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.modal-content p {
    font-size: 1.2rem;
    color: #881337;
    word-break: break-all;     /* Allows breaking long words (addresses!) */
    overflow-wrap: anywhere;   /* Breaks on overflow as needed */
    white-space: normal;       /* Normal wrapping */
    width: 100%;
    box-sizing: border-box;
}

/* Optionally, you can make .modal-content wider for desktop screens */
@media (min-width: 768px) {
    .modal-content {
        max-width: 600px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .content-section { flex-direction: column; text-align: center; }
    .round-image { width: 130px; height: 130px; }
    .crypto-icon { width: 50px; height: 50px; }
}


/* Image Modal Styles */
#imageModal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center; align-items: center;
  flex-direction: column;
}
#imageModal .close {
  position: absolute; top: 30px; right: 40px;
  color: #fff; font-size: 40px; font-weight: bold; cursor: pointer;
}
#modalImage {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(236, 72, 153, 0.6);
}
#imageCaption {
  margin-top: 24px;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}
