/* Base Website Styles */
:root {
    --primary-color: #1a4c84;
    --secondary-color: #f4b942;
    --accent-color: #e63946;
    --text-color: #2d3748;
    --light-bg: #f8fafc;
    --dark-bg: #1a202c;
    --animation-timing: 0.3s;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --success-color: #10b981;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--light-bg);
    overflow-x: hidden;
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar Styles */
.navbar {
    transition: all var(--animation-timing) cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 1rem;
    background: transparent !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 1rem;
    background: rgba(26, 76, 132, 0.95) !important;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    transition: all var(--animation-timing) ease;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--secondary-color) !important;
}

.auth-buttons .btn {
    min-width: 130px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    transition: all var(--animation-timing) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.auth-buttons .btn-outline-light {
    border-width: 2px;
}

.auth-buttons .btn-light {
    color: var(--primary-color);
    font-weight: 700;
}

.auth-buttons .btn::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 100%;
    top: 0;
    left: -125%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: var(--animation-timing);
}

.auth-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.auth-buttons .btn:hover::after {
    left: 100%;
    transition: 0.7s ease;
}

/* Footer */
footer {
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
    padding: 5rem 0 2rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    animation: gradient 3s linear infinite;
    background-size: 200% 100%;
}

footer h5 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

footer p, footer li {
    color: #a0aec0;
    font-size: 1rem;
    line-height: 1.8;
}

footer a {
    color: #e2e8f0 !important;
    transition: all var(--animation-timing) ease;
    position: relative;
    display: inline-block;
    padding: 2px 0;
}

footer a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--animation-timing) ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
    text-decoration: none;
}

footer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

footer .contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

footer .contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

footer .copyright {
    color: #718096;
    font-size: 0.9rem;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.church-loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Section styles */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #64748b;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page header */
.page-header {
    position: relative;
    padding: 150px 0 80px;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-content {
    padding: 60px 0;
    min-height: 400px;
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.pulse-button {
    position: relative;
    box-shadow: 0 0 0 0 rgba(244, 185, 66, 0.5);
    animation: pulse 2s infinite;
}

/* Utility classes */
.bg-light-gray {
    background-color: #f8f9fa;
}

.bg-primary-light {
    background-color: rgba(26, 76, 132, 0.1);
}

/* Animations */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 185, 66, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 185, 66, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 185, 66, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-content {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
} 