/**
 * Gospel Shares 2026 - Page Styles
 * /site/templates/css/custom/gospelshares.css
 * Using higher specificity to override site defaults
 */

/* ==========================================================================
   Page Title Section
   ========================================================================== */
section.gospel-title {
    padding: 50px 0 !important;
    text-align: center;
    background-color: #fff !important;
}

section.gospel-title h1 {
    font-size: 3em;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

section.gospel-title .subtitle {
    font-size: 1.4em;
    color: #666;
    margin: 0;
}

@media screen and (max-width: 768px) {
    section.gospel-title h1 {
        font-size: 2.2em;
    }
    section.gospel-title .subtitle {
        font-size: 1.2em;
    }
}

/* ==========================================================================
   Content Sections - General (higher specificity)
   ========================================================================== */
section.gospel-section {
    padding: 60px 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

section.gospel-section.bg-light {
    background-color: #f8f9fa !important;
}

section.gospel-section h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: #333;
    text-transform: uppercase;
}

section.gospel-section p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #555;
}

@media screen and (max-width: 768px) {
    section.gospel-section {
        padding: 40px 0 !important;
    }
    section.gospel-section h2 {
        font-size: 1.8em;
    }
}

/* ==========================================================================
   Scripture Section
   ========================================================================== */
section.gospel-scripture {
    background-color: #34495e !important;
    padding: 50px 0 !important;
    margin: 0 !important;
}

section.gospel-scripture blockquote {
    font-size: 1.4em;
    line-height: 1.7;
    color: #fff !important;
    font-style: italic;
    border-left: 4px solid #e74c3c;
    padding-left: 25px;
    margin: 0;
    background: transparent !important;
}

section.gospel-scripture .scripture-ref {
    display: block;
    font-style: normal;
    font-size: 0.75em;
    color: #bdc3c7 !important;
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    section.gospel-scripture blockquote {
        font-size: 1.2em;
    }
}

/* ==========================================================================
   Video Section
   ========================================================================== */
section.gospel-video {
    background-color: #1a1a1a !important;
    padding: 60px 0 !important;
    margin: 0 !important;
}

section.gospel-video h2 {
    color: #fff !important;
    text-align: center;
    margin-bottom: 30px;
}

.video-holder {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 4px;
}

.video-holder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    background-color: #2c3e50 !important;
    padding: 80px 40px;
    text-align: center;
    border-radius: 4px;
}

.video-placeholder p {
    color: #95a5a6 !important;
    font-size: 1.3em;
    margin: 0;
}

/* ==========================================================================
   Live Tracker Section
   ========================================================================== */
section.gospel-tracker {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%) !important;
    padding: 70px 0 !important;
    text-align: center;
    margin: 0 !important;
}

.tracker-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

#gospelCount,
.tracker-count {
    font-size: 5em !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
    display: block;
}

.tracker-label {
    font-size: 1.4em !important;
    color: #bdc3c7 !important;
    margin-bottom: 30px;
}

.tracker-progress {
    background-color: rgba(255,255,255,0.2) !important;
    border-radius: 25px;
    height: 30px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 500px;
}

#gospelProgress,
.tracker-progress-bar {
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%) !important;
    height: 100%;
    border-radius: 25px;
    transition: width 0.8s ease-out;
    min-width: 2%;
}

#gospelPercentage,
.tracker-percentage {
    font-size: 1.1em;
    color: #95a5a6 !important;
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    #gospelCount,
    .tracker-count {
        font-size: 3.5em !important;
    }
    .tracker-label {
        font-size: 1.2em !important;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
section.gospel-cta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    padding: 60px 0 !important;
    text-align: center;
    margin: 0 !important;
}

section.gospel-cta h2 {
    color: #fff !important;
    margin-bottom: 30px;
}

.btn-gospel {
    display: inline-block !important;
    background-color: #fff !important;
    color: #c0392b !important;
    font-size: 1.4em !important;
    font-weight: 600 !important;
    padding: 18px 45px !important;
    border: none !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-gospel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none !important;
    color: #c0392b !important;
}

section.gospel-cta .cta-subtitle {
    color: #fff !important;
    font-size: 1.3em;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* Options Layout (SMS / OR / Button) */
.gospel-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
}

.gospel-option {
    text-align: center;
}

.option-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 12px;
}

section.gospel-cta .sms-info {
    color: #fff !important;
    font-size: 1.2em;
    margin: 0;
}

section.gospel-cta .sms-info strong {
    display: block;
    font-size: 1.3em;
    margin-top: 5px;
    color: #fff !important;
}

.btn-vcard {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff !important;
    font-size: 0.95em;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-vcard:hover,
.btn-vcard:focus {
    background: rgba(255,255,255,0.28);
    border-color: #fff;
    color: #fff !important;
    text-decoration: none !important;
}

.btn-vcard .vcard-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1em;
}

.gospel-divider {
    color: rgba(255,255,255,0.6);
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 30px;
}

/* Form Panel */
.gospel-form-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.gospel-form-panel.open {
    max-height: 500px;
    margin-top: 30px;
}

.form-panel-inner {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 30px;
    max-width: 460px;
    margin: 0 auto;
}

.form-panel-inner .form-intro {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.05em;
    margin-bottom: 20px;
}

.gospel-form-row {
    margin-bottom: 18px;
    text-align: left;
}

.gospel-form-row label {
    display: block;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 6px;
}

.gospel-form-row label .optional {
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.9em;
}

.gospel-form-row input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.1em;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.gospel-form-row input[type="tel"]:focus {
    outline: none;
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.2);
}

.gospel-form-row input[type="tel"]::placeholder {
    color: rgba(255,255,255,0.4);
}

.field-hint {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.82em !important;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

.captcha-row {
    display: flex;
    justify-content: center;
}

/* Submit Button */
.btn-gospel-submit {
    display: block;
    width: 100%;
    background-color: #fff !important;
    color: #c0392b !important;
    font-size: 1.2em;
    font-weight: 700;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-gospel-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-gospel-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Error Message */
.gospel-form-error {
    background: rgba(0,0,0,0.3);
    color: #ff6b6b !important;
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 0.95em;
    text-align: center;
}

/* Thank You State */
.gospel-thank-you {
    padding: 30px 0 10px;
}

.gospel-thank-you h3 {
    color: #fff !important;
    font-size: 2em;
    margin-bottom: 10px;
}

.gospel-thank-you p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.2em;
}

@media screen and (max-width: 768px) {
    .btn-gospel {
        font-size: 1.2em !important;
        padding: 15px 35px !important;
    }

    .gospel-options {
        flex-direction: column;
        gap: 15px;
    }

    .gospel-divider {
        padding-top: 0;
    }

    .form-panel-inner {
        padding: 20px 15px;
    }

    .gospel-form-panel.open {
        max-height: 550px;
    }
}

/* ==========================================================================
   Resources Section
   ========================================================================== */
section.gospel-resources {
    padding: 60px 0 !important;
    background-color: #f8f9fa !important;
    margin: 0 !important;
}

section.gospel-resources h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.resource-card {
    background: #fff !important;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.resource-card h4 {
    color: #333 !important;
    margin-bottom: 10px;
}

.resource-card p {
    color: #666 !important;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.btn-resource {
    display: inline-block;
    background-color: #3498db !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.btn-resource:hover {
    background-color: #2980b9 !important;
    text-decoration: none;
    color: #fff !important;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.mg-t-lg { margin-top: 40px !important; }
.mg-b-lg { margin-bottom: 40px !important; }
