/* FaithfullyGiving Marketing Site Styles */

:root {
    /* FaithfullyGiving Brand Colors */
    --fg-primary: #715635;
    --fg-primary-dark: #5A4529;
    --fg-primary-light: #8E714C;
    --fg-secondary: #EFE7DD;
    --fg-secondary-dark: #D2C7BB;
    --fg-text-primary: #715635;
    --fg-text-secondary: #4C4034;
    --fg-success: #1EC8A5;
    --fg-info: #3498DB;
    --fg-warning: #F39C12;
    --fg-danger: #E74C3C;
    --fg-light: #F7F2ED;
    --fg-dark: #2E2E2E;
    --fg-cream: #EFE7DD;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* App Download Banner */
.app-banner {
    background: linear-gradient(135deg, var(--fg-info) 0%, #2980b9 100%);
    color: white;
    padding: 0.75rem 0;
}

.app-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.app-banner-text {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.app-banner-text i {
    font-size: 1.25rem;
}

.app-banner-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
}

.app-store-btn i {
    font-size: 1rem;
}

.app-banner-close {
    background: transparent;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    font-size: 1rem;
}

.app-banner-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .app-banner-content {
        justify-content: center;
        text-align: center;
    }

    .app-banner-text {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
    }

    .app-banner-text span {
        display: inline;
    }

    .app-store-btn span {
        display: none;
    }

    .app-store-btn {
        padding: 0.5rem 0.75rem;
    }

    .app-store-btn i {
        font-size: 1.2rem;
    }
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--fg-text-secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--fg-text-primary);
}

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, var(--fg-primary) 0%, var(--fg-primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-lg {
    min-height: 80vh;
    padding: 8rem 0;
}

/* Hero background images */
.hero-home {
    background: linear-gradient(135deg, rgba(113, 86, 53, 0.85) 0%, rgba(90, 69, 41, 0.90) 100%),
                url('https://faithfullygiving.blob.core.windows.net/$web/images/bg/login-bg-2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-features {
    background: linear-gradient(135deg, rgba(113, 86, 53, 0.85) 0%, rgba(90, 69, 41, 0.90) 100%),
                url('https://faithfullygiving.blob.core.windows.net/$web/images/bg/church-bg-1.png');
    background-size: cover;
    background-position: center;
}

.hero-pricing {
    background: linear-gradient(135deg, rgba(113, 86, 53, 0.85) 0%, rgba(90, 69, 41, 0.90) 100%),
                url('https://faithfullygiving.blob.core.windows.net/$web/images/bg/garden-bg-1.png');
    background-size: cover;
    background-position: center;
}

.hero-services {
    background: linear-gradient(135deg, rgba(113, 86, 53, 0.85) 0%, rgba(90, 69, 41, 0.90) 100%),
                url('https://faithfullygiving.blob.core.windows.net/$web/images/bg/preaching-1.png');
    background-size: cover;
    background-position: center;
}

.hero-about {
    background: linear-gradient(135deg, rgba(113, 86, 53, 0.85) 0%, rgba(90, 69, 41, 0.90) 100%),
                url('https://faithfullygiving.blob.core.windows.net/$web/images/bg/church-bg-2.png');
    background-size: cover;
    background-position: center;
}

.hero-contact {
    background: linear-gradient(135deg, rgba(113, 86, 53, 0.85) 0%, rgba(90, 69, 41, 0.90) 100%),
                url('https://faithfullygiving.blob.core.windows.net/$web/images/bg/login-bg-5.png');
    background-size: cover;
    background-position: center;
}

.hero-learn {
    background: linear-gradient(135deg, rgba(113, 86, 53, 0.85) 0%, rgba(90, 69, 41, 0.90) 100%),
                url('https://faithfullygiving.blob.core.windows.net/$web/images/bg/church-bg-1.png');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.hero p.lead {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Buttons */
.btn-primary {
    background-color: var(--fg-primary);
    border-color: var(--fg-primary);
}

.btn-primary:hover {
    background-color: var(--fg-primary-dark);
    border-color: var(--fg-primary-dark);
}

.btn-outline-primary {
    color: var(--fg-primary);
    border-color: var(--fg-primary);
}

.btn-outline-primary:hover {
    background-color: var(--fg-primary);
    border-color: var(--fg-primary);
    color: white;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--fg-light);
}

.section-cream {
    background-color: var(--fg-cream);
}

.section-dark {
    background-color: var(--fg-dark);
    color: white;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--fg-secondary) 100%);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(113, 86, 53, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--fg-primary);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(113, 86, 53, 0.2);
    border-left-color: var(--fg-primary-light);
}

.feature-card h3,
.feature-card h4,
.feature-card h5 {
    color: var(--fg-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--fg-primary) 0%, var(--fg-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(113, 86, 53, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 3px solid var(--fg-primary);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--fg-primary);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--fg-primary);
}

.pricing-price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--fg-text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--fg-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--fg-success);
    margin-right: 0.5rem;
}

.pricing-features li.disabled {
    color: #ccc;
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: #ccc;
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--fg-primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--fg-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(113, 86, 53, 0.08);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--fg-text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--fg-primary) 0%, var(--fg-primary-light) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Footer Styles */
footer.bg-dark {
    background-color: #1a1a1a !important;
}

footer h5 {
    color: #ffffff !important;
    font-weight: 600;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a.text-muted,
footer .text-muted a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.2s ease;
}

footer a.text-muted:hover,
footer .text-muted a:hover,
footer a:hover {
    color: #ffffff !important;
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar brand text */
.navbar-brand .text-primary {
    color: var(--fg-primary) !important;
}

/* Utility Classes */
.text-primary {
    color: var(--fg-primary) !important;
}

.bg-primary {
    background-color: var(--fg-primary) !important;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--fg-primary) 0%, var(--fg-primary-dark) 100%);
}

.bg-cream {
    background-color: var(--fg-cream);
}

/* Badge colors */
.badge.bg-primary {
    background-color: var(--fg-primary) !important;
}

/* Accordion styling */
.accordion-button:not(.collapsed) {
    background-color: var(--fg-light);
    color: var(--fg-primary);
}

.accordion-button:focus {
    border-color: var(--fg-primary);
    box-shadow: 0 0 0 0.25rem rgba(113, 86, 53, 0.25);
}

/* Form controls */
.form-control:focus,
.form-select:focus {
    border-color: var(--fg-primary);
    box-shadow: 0 0 0 0.25rem rgba(113, 86, 53, 0.25);
}

/* Legal content styling */
.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--fg-primary);
}

.legal-content a:hover {
    color: var(--fg-primary-dark);
}

/* Learn Hub Styles */
.learn-card {
    cursor: pointer;
}

.learn-card:hover {
    border-left-color: var(--fg-primary);
}

/* Video card styling */
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--fg-secondary);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(113, 86, 53, 0.15);
}

/* Guide card styling */
.guide-card {
    border-left: 4px solid var(--fg-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(113, 86, 53, 0.12);
}

/* Breadcrumb styling for learn pages */
.learn-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.learn-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Perspective Tabs (Admin/Member) */
.perspective-tabs {
    border-bottom: 2px solid var(--fg-secondary);
    margin-bottom: 2rem;
}

.perspective-tabs .nav-link {
    color: var(--fg-text-secondary);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}

.perspective-tabs .nav-link:hover {
    color: var(--fg-primary);
    border-bottom-color: var(--fg-secondary-dark);
}

.perspective-tabs .nav-link.active {
    color: var(--fg-primary);
    background: transparent;
    border-bottom-color: var(--fg-primary);
}

.perspective-tabs .nav-link i {
    margin-right: 0.5rem;
}

/* Tab content styling */
.tab-content .tab-pane {
    padding-top: 1rem;
}

/* Guide section styling */
.guide-section {
    margin-bottom: 3rem;
}

.guide-section h2 {
    color: var(--fg-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--fg-secondary);
}

.guide-section h3 {
    color: var(--fg-primary-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.guide-section h4 {
    color: var(--fg-text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Step cards for guides */
.step-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--fg-primary);
    box-shadow: 0 2px 8px rgba(113, 86, 53, 0.08);
}

.step-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--fg-primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

.step-card h5 {
    display: inline;
    color: var(--fg-primary);
    font-weight: 600;
}

.step-card p {
    margin-top: 0.75rem;
    margin-bottom: 0;
    padding-left: 2.5rem;
}

/* Screenshot placeholder styling */
.screenshot-placeholder {
    background: var(--fg-light);
    border: 2px dashed var(--fg-secondary-dark);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--fg-text-secondary);
    margin: 1rem 0;
}

.screenshot-placeholder i {
    font-size: 2rem;
    color: var(--fg-primary-light);
    margin-bottom: 0.5rem;
    display: block;
}

/* Tip box styling */
.tip-box {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1e9f6 100%);
    border-left: 4px solid var(--fg-info);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.tip-box i {
    color: var(--fg-info);
    margin-right: 0.5rem;
}

/* Warning box styling */
.warning-box {
    background: linear-gradient(135deg, #fef9e7 0%, #fdf3cd 100%);
    border-left: 4px solid var(--fg-warning);
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.warning-box i {
    color: var(--fg-warning);
    margin-right: 0.5rem;
}

/* Info callout styling */
.info-callout {
    background: var(--fg-light);
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1rem 0;
}

.info-callout h5 {
    color: var(--fg-primary);
    margin-bottom: 0.5rem;
}

/* Feature list in guides */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--fg-success);
}

/* Admin badge */
.badge-admin {
    background: linear-gradient(135deg, var(--fg-primary) 0%, var(--fg-primary-dark) 100%);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Member badge */
.badge-member {
    background: linear-gradient(135deg, var(--fg-info) 0%, #2980b9 100%);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-lg {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-home,
    .hero-features,
    .hero-pricing,
    .hero-services,
    .hero-about,
    .hero-contact,
    .hero-learn {
        background-attachment: scroll;
    }

    .section {
        padding: 3rem 0;
    }

    .pricing-card {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Divider */
.divider {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: var(--fg-primary);
    margin: 1rem auto;
}

.divider-light {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Coming Soon Modal Styles */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coming-soon-overlay.show {
    opacity: 1;
}

.coming-soon-modal {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.coming-soon-overlay.show .coming-soon-modal {
    transform: translateY(0);
}

.coming-soon-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.coming-soon-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--fg-primary) 0%, var(--fg-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.coming-soon-icon i {
    font-size: 2rem;
    color: white;
}

.coming-soon-icon.success {
    background: linear-gradient(135deg, var(--fg-success) 0%, #17a88a 100%);
}

.coming-soon-content h2 {
    color: var(--fg-primary);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.coming-soon-content p {
    color: var(--fg-text-secondary);
    margin-bottom: 1.5rem;
}

.coming-soon-modal .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.coming-soon-modal .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coming-soon-modal .form-control:focus {
    outline: none;
    border-color: var(--fg-primary);
    box-shadow: 0 0 0 3px rgba(113, 86, 53, 0.15);
}

.coming-soon-modal .form-control.is-invalid {
    border-color: var(--fg-danger);
}

.coming-soon-modal .invalid-feedback {
    display: none;
    color: var(--fg-danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.coming-soon-modal .captcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming-soon-modal .btn-block {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.coming-soon-modal .btn-primary:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.coming-soon-modal .alert {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: left;
}

.coming-soon-modal .alert-danger {
    background-color: #fdf2f2;
    border: 1px solid #f5c6cb;
    color: var(--fg-danger);
}

.coming-soon-modal .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments for Coming Soon Modal */
@media (max-width: 480px) {
    .coming-soon-modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .coming-soon-icon {
        width: 60px;
        height: 60px;
    }

    .coming-soon-icon i {
        font-size: 1.5rem;
    }

    .coming-soon-content h2 {
        font-size: 1.5rem;
    }
}
