/* Custom Styles for Wellspring Christian Counseling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Green Top Bar */
#top-bar {
    background: #7fb069;
    padding: 10px 0;
}

#top-bar #et-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

#top-bar #et-info-phone,
#top-bar #et-info-email {
    color: #fff;
}

#top-bar #et-info a {
    color: #fff;
    text-decoration: none;
}

#top-bar #et-info a:hover {
    color: #f0f0f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Header */
#main-header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

#main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

#main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}

#main-nav a:hover,
#main-nav .active a {
    color: #7fb069;
}

/* Hero Section */
#hero {
    background-size: cover;
    background-position: center top;
    height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(255,255,255,0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
}

.hero-logo {
    margin-bottom: 30px;
    z-index: 2;
}

.hero-logo img {
    max-width: 332px;
    height: auto;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    margin-top: 0;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 300;
}

.hero-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 400;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.gray-bg {
    background: #f7f7f7;
}

.blue-bg {
    background: #6a9b5a;
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 300;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.column-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #7fb069;
}

.column-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Services Page Specific Styles */
.services-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}

.services-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
    margin-bottom: 40px;
}

.services-list li {
    font-size: 16px;
    color: #555;
    padding-left: 25px;
    position: relative;
}

.services-list li::before {
    content: "•";
    color: #7fb069;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -2px;
}

.quote-section {
    background: #f9f9f9;
    border-left: 4px solid #7fb069;
    padding: 30px 40px;
    margin: 40px auto;
    max-width: 700px;
}

.quote-section blockquote {
    margin: 0;
    text-align: center;
}

.quote-section p {
    font-size: 24px;
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.quote-section cite {
    font-size: 16px;
    color: #7fb069;
    font-style: normal;
    font-weight: 600;
}

/* Quotes Slider Section */
.quotes-slider-section {
    margin: 60px 0;
    background-image: url('../images/personal-stylist-42.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

.quotes-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.quotes-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-slide {
    display: none;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

.quote-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quote-slide h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    color: white;
}

.quote-slide p {
    font-size: 18px;
    color: #7fb069;
    font-weight: 600;
}

.quote-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(127, 176, 105, 0.8);
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.quote-arrow:hover {
    background: rgba(106, 155, 90, 0.95);
}

.quote-prev {
    left: 10px;
}

.quote-next {
    right: 10px;
}

.quote-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.quote-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-dot.active,
.quote-dot:hover {
    background: #7fb069;
    transform: scale(1.2);
}

/* Services Slider */
.services-slider-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

.services-slider {
    overflow: hidden;
}

.services-grid {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 600%;
}

.services-grid.eight-items {
    width: 800%;
}

.service-item {
    flex: 0 0 calc(100% / 6);
    max-width: calc(100% / 6);
    min-width: 0;
}

.services-grid.eight-items .service-item {
    flex: 0 0 calc(100% / 8);
    max-width: calc(100% / 8);
}

.service-item .service-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    padding: 40px 30px 30px;
    color: #fff;
    text-align: center;
}

.service-overlay h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.service-overlay p {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(127, 176, 105, 0.85);
    color: white;
    border: none;
    padding: 20px 15px;
    font-size: 28px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.slider-nav:hover {
    background: rgba(106, 155, 90, 0.95);
    transform: translateY(-50%) scale(1.15);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    text-align: center;
    padding: 20px 0 0;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot:hover,
.dot.active {
    background-color: #7fb069;
}

/* FAQ */
.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #7fb069;
}

/* Call to Action */
#cta {
    text-align: center;
    padding: 40px 0 !important;
}

#cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: #7fb069;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.center-text {
    text-align: center;
}

/* Contact Form */
/* Contact Page Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-left h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 16px;
    color: #7fb069;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p,
.contact-details a {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #7fb069;
}

.office-hours {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #7fb069;
    margin-top: 30px;
}

.office-hours h3 {
    font-size: 18px;
    color: #7fb069;
    margin-bottom: 15px;
}

.office-hours p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.office-hours strong {
    color: #333;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
#main-footer {
    background: #333;
    color: #fff;
    padding: 25px 0 15px;
}

.footer-content {
    text-align: center;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.footer-nav a:hover {
    color: #7fb069;
}

.footer-contact {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-contact a {
    color: #7fb069;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #6a9b5a;
}

.footer-credits {
    font-size: 12px;
    color: #999;
    padding-top: 12px;
    border-top: 1px solid #555;
}

.footer-credits p {
    margin-bottom: 3px;
}

/* Responsive Design */
@media (max-width: 980px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    #main-nav ul {
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-slider-container {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    #main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    #main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-slider-container {
        padding: 0 30px;
    }
    
    .slider-nav {
        padding: 15px 10px;
        font-size: 18px;
    }
}
