/* ============================================================
   OUR PLEDGE PAGE STYLES
   Riverside Home Designs
   ============================================================ */

/* ========== HERO SECTION ========== */
.pledge-hero {
    background: linear-gradient(135deg, #1464d1 0%, #0d4a9e 100%);
    
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.pledge-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
}

/* ========== MAIN CONTENT CONTAINER ========== */
.pledge-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.pledge-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 40px;
}

/* ========== CONTENT SECTIONS ========== */
.pledge-section {
    margin-bottom: 40px;
    overflow: hidden; /* Clear floats */
}

.pledge-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1em;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1464d1;
}

/* ========== IMAGES ========== */
.pledge-image {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    max-width: 230px;
    height: auto;
}

.image-left {
    float: left;
    margin: 0 25px 20px 0;
}

.image-right {
    float: right;
    margin: 0 0 20px 25px;
}

/* ========== PLEDGE POINTS ========== */
.pledge-points {
    margin: 40px 0;
    clear: both;
}

.pledge-point {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #1464d1;
}

.pledge-point h2 {
    font-size: 1.4rem;
    color: #1464d1;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.pledge-point p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* ========== CLOSING SECTION ========== */
.pledge-closing {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.pledge-contact {
    clear: both;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.pledge-contact p {
    margin: 10px 0;
}

.email-link {
    color: #1464d1;
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
}

/* ========== BREADCRUMB (HIDDEN BUT SEO-FRIENDLY) ========== */
.breadcrumb-nav {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 768px) {
    .pledge-hero {
        padding: 40px 15px;
    }
    
    .pledge-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .pledge-container {
        padding: 25px;
    }
    
    .pledge-image {
        max-width: 180px;
    }
    
    .pledge-point h2 {
        font-size: 1.25rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .pledge-hero {
        padding: 30px 15px;
    }
    
    .pledge-hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .pledge-container {
        padding: 20px 15px;
    }
    
    /* Stack images on mobile */
    .pledge-image {
        float: none;
        display: block;
        max-width: 200px;
        margin: 0 auto 20px auto;
    }
    
    .image-left,
    .image-right {
        float: none;
        margin: 0 auto 20px auto;
    }
    
    .pledge-section p,
    .pledge-point p {
        font-size: 1rem;
    }
    
    .intro-text {
        font-size: 1.05rem;
    }
    
    .pledge-point {
        padding-left: 15px;
    }
    
    .pledge-point h2 {
        font-size: 1.15rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .pledge-hero {
        background: #1464d1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .pledge-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
