/* 
 * Gods Sanhedrin Christian Assembly Website Styles
 * Created for the church website
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: #1a3c6c;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 8px;
    color: #ffd700;
}

.tagline p {
    font-style: italic;
    color: #ffd700;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.logo h1 {
    font-size: 18px;
    color: #1a3c6c;
    font-weight: bold;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #1a3c6c;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: #e9ecef;
    color: #0d2a4a;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #1a3c6c;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.hero .slide.active {
    display: block;
}

.hero .slide:first-child {
    display: block;
}

.hero .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    width: 80%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slider-controls button {
    background-color: rgba(255,255,255,0.7);
    border: none;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background-color: rgba(255,255,255,0.9);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

/* Page Title Section */
.page-title {
    background-color: #1a3c6c;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content Sections */
.welcome {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.welcome h2 {
    color: #1a3c6c;
    margin-bottom: 20px;
    font-size: 2rem;
}

.welcome p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

.quick-links {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.link-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.link-card i {
    font-size: 3rem;
    color: #1a3c6c;
    margin-bottom: 20px;
}

.link-card h3 {
    color: #1a3c6c;
    margin-bottom: 10px;
}

.link-card p {
    color: #666;
}

/* Navigation Sections */
.visit-nav, .ministry-nav, .grow-nav, .give-nav, .contact-nav, .about-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.visit-option, .ministry-option, .grow-option, .give-option, .contact-option, .about-option {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
    display: block;
}

.visit-option:hover, .ministry-option:hover, .grow-option:hover, .give-option:hover, .contact-option:hover, .about-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    color: #333;
}

.visit-option i, .ministry-option i, .grow-option i, .give-option i, .contact-option i, .about-option i {
    font-size: 3rem;
    color: #1a3c6c;
    margin-bottom: 20px;
}

.visit-option h3, .ministry-option h3, .grow-option h3, .give-option h3, .contact-option h3, .about-option h3 {
    color: #1a3c6c;
    margin-bottom: 15px;
}

.visit-option p, .ministry-option p, .grow-option p, .give-option p, .contact-option p, .about-option p {
    color: #666;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    background-color: #fff;
}

.content-section .container {
    max-width: 900px;
}

.content-section h2 {
    color: #1a3c6c;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.content-section h3 {
    color: #1a3c6c;
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Forms */
form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #1a3c6c;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0d2a4a;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Footer */
footer {
    background-color: #1a3c6c;
    color: #fff;
    margin-top: 60px;
}

.footer-top {
    padding: 60px 0 30px;
    background-color: #0d2a4a;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #e9ecef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    padding: 20px 0;
    background-color: #0a1a2a;
    text-align: center;
    border-top: 1px solid #343a40;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 15px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        justify-content: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
        width: 100%;
    }
    
    .main-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .quick-links .container,
    .visit-nav, .ministry-nav, .grow-nav, .give-nav, .contact-nav, .about-nav {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .page-title p {
        font-size: 1rem;
    }
    
    .welcome h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .link-card, .visit-option, .ministry-option, .grow-option, .give-option, .contact-option, .about-option {
        padding: 20px 15px;
    }
    
    .footer-top {
        padding: 40px 0 20px;
    }
}

/* Additional Styles for Specific Pages */
.location-details, .ministry-info, .membership-info, .resources-content, .giving-options, .contact-grid, .prayer-support, .care-services, .leadership-grid, .belief-section, .policy-section, .newsletter-content, .social-platforms, .event-item, .job-item, .facility-item, .benefit-item, .feature-item, .type-item, .faq-item, .option, .req-item, .newsletter-item, .testimonial-item, .group-item, .feed-item {
    margin-bottom: 40px;
}

.location-map, .member-image, .leader-image, .facility-image, .feed-image {
    margin-bottom: 20px;
}

.location-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.info-section, .teaching-section, .resource-section, .option-card, .contact-item, .service-item, .value-item, .overview-item, .volunteer-item, .policy-item, .benefit-item, .step, .group-meta, .feed-meta {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    min-width: 30px;
    height: 30px;
    background-color: #1a3c6c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #1a3c6c;
    margin-bottom: 5px;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #1a3c6c;
}

.testimonial-author {
    text-align: right;
    font-style: italic;
    color: #666;
}

.event-card, .report-card, .ministry-item, .highlight-item, .value-item, .overview-item, .volunteer-item, .platform-item, .benefit-item, .feature-item, .type-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.platform-item {
    text-align: center;
}

.platform-item i {
    font-size: 2.5rem;
    color: #1a3c6c;
    margin-bottom: 15px;
}

.platform-item.facebook { border-top: 3px solid #3b5998; }
.platform-item.instagram { border-top: 3px solid #e4405f; }
.platform-item.youtube { border-top: 3px solid #ff0000; }
.platform-item.twitter { border-top: 3px solid #1da1f2; }
.platform-item.whatsapp { border-top: 3px solid #25d366; }
.platform-item.linkedin { border-top: 3px solid #0077b5; }

.event-card-date {
    font-size: 2rem;
    font-weight: bold;
    color: #1a3c6c;
    margin-bottom: 10px;
}

.events-grid, .reports-grid, .ministries-grid, .highlights-grid, .overview-grid, .volunteer-grid, .platforms-grid, .benefits-grid, .features-grid, .types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.leader-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.leader-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.leader-info {
    padding: 20px;
}

.leader-info h3 {
    color: #1a3c6c;
    margin-bottom: 5px;
}

.leader-info h4 {
    color: #6c757d;
    margin-bottom: 15px;
}

.leader-contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Calendar Styles */
.calendar-filters {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.filter-group select, .filter-group button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.events-list {
    margin-top: 30px;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.event-date {
    text-align: center;
    min-width: 60px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
    color: #1a3c6c;
}

.event-date .month {
    font-size: 0.9rem;
    color: #666;
}

.event-details h4 {
    color: #1a3c6c;
    margin-bottom: 10px;
}

/* Scripture Highlight */
.scripture-highlight {
    background-color: #e9f7ef;
    border-left: 4px solid #28a745;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress {
    height: 100%;
    background-color: #28a745;
    transition: width 0.3s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Highlight Numbers */
.highlight-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a3c6c;
    text-align: center;
}

.highlight-text {
    text-align: center;
    margin-top: 10px;
    color: #666;
}

/* Form Styles */
.contact-form, .prayer-form, .care-request-form, .rental-request-form, .subscribe-form, .consent-form, .feedback-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Content Cards */
.content-cards {
    padding: 60px 0;
    background-color: #fff;
}

.content-cards .container {
    max-width: 1200px;
}

.content-cards h2 {
    text-align: center;
    color: #1a3c6c;
    margin-bottom: 40px;
    font-size: 2rem;
}

.section-cards {
    margin-bottom: 50px;
}

.section-cards h3 {
    color: #1a3c6c;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a3c6c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: block;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card:hover {
    background-color: #1a3c6c;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.card:hover i {
    color: #fff;
}

.card i {
    font-size: 2.5rem;
    color: #1a3c6c;
    margin-bottom: 15px;
}

.card h4 {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
}

.card:hover h4 {
    color: #fff;
}

/* Responsive adjustments for content cards */
@media (max-width: 768px) {
    .content-cards h2 {
        font-size: 1.8rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .content-cards h2 {
        font-size: 1.5rem;
    }
}

/* Responsive Tables (if any) */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .events-grid, .reports-grid, .ministries-grid, .highlights-grid, .overview-grid, .volunteer-grid, .platforms-grid, .benefits-grid, .features-grid, .types-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-filters {
        flex-direction: column;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
button:focus, input:focus, select:focus, textarea:focus, a:focus {
    outline: 2px solid #1a3c6c;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .main-nav, .mobile-menu-btn, .footer-bottom, .slider-controls, .slider-dots {
        display: none;
    }
    
    body {
        background-color: #fff;
    }
    
    .container {
        max-width: 100%;
    }
}