/* Bloomington Community Foundation Landing Page Styles */

/* Import Avenir font */
@import url('https://fonts.googleapis.com/css2?family=Avenir:wght@300;400;500;600;700;800;900&display=swap');

/* Custom Properties for BCF Brand Colors */
:root {
    --bcf-dark-green: #2E5A3D;
    --bcf-light-green: #8CC63E;
    --bcf-accent-green: #A7C957;
    --bcf-white: #FFFFFF;
    --bcf-light-gray: #F5F5F5;
    --bcf-text-dark: #333333;
}

/* Global Typography */

body {
    font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Header Styles */
.bcf-header {
    background-color: var(--bcf-dark-green);
    padding: 1rem 0;
    position: relative;
}

.bcf-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--bcf-light-green);
}

.bcf-logo {
    max-height: 60px;
    width: auto;
}

/* Hero Banner Styles */
.bcf-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bcf-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--bcf-dark-green) 30%, var(--bcf-dark-green) 100%);
    opacity: 0.85;
}

.bcf-hero-content {
    position: relative;
    z-index: 2;
    color: var(--bcf-white);
    max-width: 600px;
    margin-left: auto;
    margin-right: 2rem;
    padding: 2rem;
}

.bcf-hero-title h1 {
	font-family: 'Avenir';
    font-size: 3.5rem;
    font-weight: 900 !important;
    margin-bottom: 1rem;
    line-height: 1.2;
	margin: 0 !important;
	padding: 0 !important;
}

.bcf-hero-subtitle h2 {
	font-family: 'Avenir';
    font-size: 1.25rem;
    font-weight: 400 !important;
    opacity: 0.9;
    line-height: 1.5;
	margin: 0 !important;
	padding: 0 !important;
}

h3 {
	font-family: 'Avenir';
}

/* Animated Text */
.bcf-animated-text {
    overflow: hidden;
}

.bcf-animated-text span {
    display: inline-block;
    transform: translateX(100%);
    opacity: 0;
    animation: slideInFromRight 0.8s ease-out forwards;
}

.bcf-animated-text span:nth-child(1) { animation-delay: 0.2s; }
.bcf-animated-text span:nth-child(2) { animation-delay: 0.4s; }
.bcf-animated-text span:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Main Content Section */
.bcf-main-content {
    background-color: var(--bcf-white);
    padding: 4rem 0;
}

.bcf-circular-graphic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--bcf-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    opacity: 0.7;
}

.bcf-circular-graphic::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid var(--bcf-light-green);
    border-radius: 50%;
}

.bcf-content-text {
    color: var(--bcf-text-dark);
}

.bcf-content-text h2 {
    color: var(--bcf-dark-green);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.bcf-content-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.bcf-content-text strong {
    color: var(--bcf-dark-green);
    font-weight: 600;
}

/* Contact Form Styles */
.bcf-contact-form {
    margin-top: 2rem;
}

.bcf-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bcf-form-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--bcf-light-green);
    border-radius: 25px;
    font-family: 'Avenir', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.bcf-form-input:focus {
    border-color: var(--bcf-dark-green);
}

.bcf-form-input::placeholder {
    color: #999;
}

.bcf-submit-btn {
    background-color: var(--bcf-light-green);
    color: var(--bcf-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-family: 'Avenir', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bcf-submit-btn:hover {
    background-color: var(--bcf-dark-green);
}

/* Hide Default Theme Header and Footer */
.site-header,
.wp-block-template-part.header,
.wp-block-template-part.footer,
.site-footer,
.wp-block-template-part.site-header,
.wp-block-template-part.site-footer {
    display: none !important;
}

/* Alternative: Hide header/footer on specific page by slug */
.page-slug-bcf-landing .site-header,
.page-slug-bcf-landing .site-footer,
.page-slug-bcf-landing .wp-block-template-part.header,
.page-slug-bcf-landing .wp-block-template-part.footer {
    display: none !important;
}

/* Remove default page margins/padding */
.site-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure full width */
.wp-block-group.alignfull,
.wp-block-group.alignwide {
    max-width: none !important;
    margin: 0 !important;
}

/* Footer Styles */
.bcf-footer {
    background-color: var(--bcf-light-green);
    padding: 2rem 0;
    text-align: center;
    color: var(--bcf-white);
	position: fixed;
	height: 83px;
	width: 100%;
	bottom: 0;
}

/* Contact 7 */
input[type=text],
input[type=email],
textarea {
	border-radius: 22px;
	border: 1px solid #E3E3E3;
}

[type=submit] {
	background: #8CC63F;
	border-color: #8CC63F;
	border-radius: 30px;
	color: #fff;
	font-family: 'Avenir';
}

[type=submit]:hover,
[type=submit]:focus {
	background: #02381C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bcf-hero-overlay {
        width: 100%;
        background: linear-gradient(180deg, transparent 0%, var(--bcf-dark-green) 50%, var(--bcf-dark-green) 100%);
    }
    
    .bcf-hero-content {
        margin: 0 1rem;
        text-align: center;
    }
    
    .bcf-hero-title {
        font-size: 2.5rem;
    }
    
    .bcf-form-row {
        flex-direction: column;
    }
    
    .bcf-circular-graphic {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .bcf-hero-title {
        font-size: 2rem;
    }
    
    .bcf-hero-subtitle {
        font-size: 1rem;
    }
    
    .bcf-content-text h2 {
        font-size: 2rem;
    }
}
