/* =============================================
   HOMEPAGE LIGHT THEME OVERRIDE
   Applies ONLY to index.html
   Brand: Eyelid Wellness Group
   Colors: bg #F5F7FA | primary #1F2937 | accent #6EA3D6
   ============================================= */

/* ── Global ── */
body {
    background-color: #F5F7FA !important;
    color: #1F2937 !important;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
    color: #1F2937 !important;
}

/* Hero headings must stay white (on dark photo overlay) */
body .hero h1,
body .hero-text h1,
body .hero-text h2,
body .hero-text .hero-name {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

/* Override global button gold to blue */
body .cta-btn,
body button.cta-btn,
body .btn {
    background: #6EA3D6 !important;
    color: #ffffff !important;
}

body .cta-btn:hover,
body button.cta-btn:hover,
body .btn:hover {
    background: #4f8fc4 !important;
    color: #ffffff !important;
}

/* Keep header/nav buttons black */
body .header .cta-btn,
body .nav-menu .cta-btn,
body .nav-menu button.cta-btn {
    background: #000000 !important;
    color: #ffffff !important;
}

body .header .cta-btn:hover,
body .nav-menu .cta-btn:hover {
    background: #6EA3D6 !important;
    color: #ffffff !important;
}

/* All links: blue */
body a {
    color: #6EA3D6 !important;
}

body .header a,
body .nav-menu a {
    color: #1F2937 !important;
}

body .header a:hover,
body .nav-menu a:hover {
    color: #6EA3D6 !important;
}

.highlight {
    color: #6EA3D6 !important;
}

/* ── Header / Nav ── */
.header {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 2px 12px rgba(31,41,55,0.07);
}

.nav-link {
    color: #1F2937 !important;
}

.nav-link:hover {
    color: #6EA3D6 !important;
}

.hamburger span {
    background: #1F2937 !important;
}

/* Mobile nav */
.nav-menu {
    background: #ffffff !important;
}

.nav-menu .nav-link {
    color: #1F2937 !important;
    border-bottom: 1px solid #E5E7EB;
}

.nav-menu.active {
    background: #ffffff !important;
}

/* Header CTA Buttons */
.header .cta-btn,
.header .phone-btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

.header .cta-btn:hover,
.header .phone-btn:hover {
    background: #6EA3D6 !important;
    color: #ffffff !important;
}

/* ── Hero Section ── */
/* Restore the background image on ALL devices (desktop inline-style uses
   background-attachment:fixed which iOS ignores, so we use scroll on mobile) */
.hero {
    background-image: linear-gradient(rgba(26,26,26,0.65), rgba(26,26,26,0.65)),
                      url('attached_assets/testpage_1751368305982_compressed.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-color: #1a1a1a !important;
}

@media (max-width: 768px) {
    /* fixed attachment is broken on iOS; switch to scroll */
    .hero {
        background-attachment: scroll !important;
    }

    /* Text must stay light — mobile hero still has the dark image */
    .hero-text {
        color: #e5e7eb !important;
    }

    .hero-text h1,
    .hero-text h2 {
        color: #ffffff !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-text p,
    .hero-subtitle,
    .hero-description {
        color: #e5e7eb !important;
        text-shadow: none !important;
    }
}

.hero h1 {
    color: #ffffff !important;
}

.hero-name {
    color: #6EA3D6 !important;
}

.hero-subtitle,
.hero-description {
    color: #e5e7eb !important;
}

.hero-text h1,
.hero-text h2 {
    color: #ffffff !important;
}

/* Hero review box — desktop (dark hero background) */
.reviews-section {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.reviews-section .review-text,
.reviews-section .review-source,
.reviews-section p,
.reviews-section span {
    color: #e5e7eb !important;
}

.reviews-section a {
    color: #6EA3D6 !important;
}

/* Mobile reviews — dark blue card */
@media (max-width: 768px) {
    .mobile-reviews-after-slider .reviews-section {
        background: #1e3a5f !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
        border-radius: 12px !important;
        padding: 1.25rem !important;
    }

    .mobile-reviews-after-slider .reviews-section p,
    .mobile-reviews-after-slider .reviews-section span,
    .mobile-reviews-after-slider .reviews-section strong {
        color: #e5e7eb !important;
    }
}

/* Hero CTA */
.hero-cta {
    margin-bottom: 2rem !important;
}

.hero .cta-btn,
.hero .cta-btn.primary {
    background: #6EA3D6 !important;
    color: #ffffff !important;
    border: none !important;
}

.hero .cta-btn:hover {
    background: #4f8fc4 !important;
    color: #ffffff !important;
}

/* Carousel nav */
.carousel-btn {
    background: rgba(110, 163, 214, 0.85) !important;
    color: #ffffff !important;
}

.carousel-btn:hover {
    background: rgba(110, 163, 214, 1) !important;
}

.dot {
    background: #94a3b8 !important;
}

.dot.active {
    background: #6EA3D6 !important;
}

/* ── Video / Who We Are Section ── */
.video-section {
    background: #EEF4FB !important;
}

.video-section h2 {
    color: #1F2937 !important;
}

/* ── Before & After Results ── */
.before-after-results {
    background: #ffffff !important;
}

.before-after-results h2 {
    color: #1F2937 !important;
}

.before-after-results .section-subtitle {
    color: #4B5563 !important;
}

.before-after-card {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 4px 16px rgba(31,41,55,0.08) !important;
}

.before-after-card:hover {
    box-shadow: 0 8px 24px rgba(110, 163, 214, 0.2) !important;
}

.placeholder-image {
    background: linear-gradient(135deg, #E5E7EB, #F5F7FA) !important;
    border-bottom: 2px solid rgba(110, 163, 214, 0.3) !important;
}

.placeholder-text {
    color: #6B7280 !important;
}

.result-image {
    border-bottom: 2px solid rgba(110, 163, 214, 0.3) !important;
}

.results-cta {
    background: #F5F7FA !important;
    border: 1px solid #E5E7EB !important;
}

.results-cta p {
    color: #1F2937 !important;
}

.results-cta .cta-btn {
    background: #6EA3D6 !important;
    color: #ffffff !important;
    border: none !important;
}

.results-cta .cta-btn:hover {
    background: #4f8fc4 !important;
}

/* ── Logo Carousel ── */
.logo-carousel-section {
    background: #1F2937 !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* ── Popular Services ── */
.popular-services {
    background: #F5F7FA !important;
}

.popular-services h2 {
    color: #1F2937 !important;
}

.section-subtitle {
    color: #6B7280 !important;
}

.service-card {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 2px 12px rgba(31,41,55,0.06) !important;
}

.service-card:hover {
    border-color: #6EA3D6 !important;
    box-shadow: 0 6px 24px rgba(110, 163, 214, 0.15) !important;
}

.service-card h4 {
    color: #1F2937 !important;
}

.circular-icon {
    border: 2px solid #6EA3D6 !important;
    background: #F5F7FA !important;
}

.service-cta {
    background: #6EA3D6 !important;
    color: #ffffff !important;
    border: none !important;
}

.service-cta:hover {
    background: #4f8fc4 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(110, 163, 214, 0.4) !important;
}

/* ── Treatment Sections ── */
.treatments {
    background: #F5F7FA !important;
}

.treatment-section {
    background: #ffffff !important;
    border-bottom: 1px solid #E5E7EB !important;
}

.treatment-section.alt {
    background: #F5F7FA !important;
}

.treatment-text h3 {
    color: #1F2937 !important;
}

.treatment-intro {
    color: #4B5563 !important;
}

.price-time .price {
    color: #1F2937 !important;
}

.price-time .price span {
    color: #6EA3D6 !important;
    font-weight: 700;
}

.price-time .time {
    color: #6B7280 !important;
}

/* Dropdowns (FAQs within treatment) */
.dropdown-header {
    border-bottom: 1px solid #E5E7EB !important;
}

.dropdown-header:hover {
    border-bottom-color: #6EA3D6 !important;
}

.dropdown-header h4 {
    color: #1F2937 !important;
}

.dropdown-arrow {
    color: #6EA3D6 !important;
}

.faq p {
    color: #4B5563 !important;
}

.when-choose h4,
.benefits h4,
.faq h4 {
    color: #1F2937 !important;
}

.when-choose li,
.benefits li {
    color: #4B5563 !important;
}

.when-choose li:before,
.benefits li:before {
    color: #6EA3D6 !important;
}

/* ── Before & After — card text ── */
.result-info h4 {
    color: #1F2937 !important;
}

.result-info p {
    color: #4B5563 !important;
}

.results-cta {
    border-top: 2px solid rgba(110, 163, 214, 0.25) !important;
}

.results-cta p {
    color: #4B5563 !important;
}

.slider-nav {
    border-color: #6EA3D6 !important;
}

/* ── About Surgeon ── */
.about-surgeon {
    background: #ffffff !important;
}

.about-surgeon h2,
.surgeon-text h2 {
    color: #1F2937 !important;
}

.about-surgeon p,
.about-description,
.about-text p,
.surgeon-text h3 {
    color: #4B5563 !important;
}

.surgeon-text p {
    color: #4B5563 !important;
}

.credential {
    color: #4B5563 !important;
}

.credential i {
    color: #6EA3D6 !important;
}

.qualification-item,
.credential-item {
    background: #F5F7FA !important;
    border: 1px solid #E5E7EB !important;
    color: #1F2937 !important;
}

.qualification-item i,
.credential-item i {
    color: #6EA3D6 !important;
}

/* ── Process / Steps ── */
.process-section,
.how-it-works,
.steps-section {
    background: #F5F7FA !important;
}

.process-section h2,
.how-it-works h2,
.steps-section h2 {
    color: #1F2937 !important;
}

.step-card,
.process-card {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 2px 12px rgba(31,41,55,0.06) !important;
}

.step-number,
.process-number {
    background: #6EA3D6 !important;
    color: #ffffff !important;
}

.step-card h3,
.step-card h4,
.process-card h3,
.process-card h4 {
    color: #1F2937 !important;
}

.step-card p,
.process-card p {
    color: #4B5563 !important;
}

/* ── Review / Testimonial Section ── */
.testimonials,
.testimonials-section,
.reviews-main-section,
.patient-reviews {
    background: #ffffff !important;
}

.testimonials h2,
.testimonials-section h2,
.reviews-main-section h2,
.patient-reviews h2 {
    color: #1F2937 !important;
}

.testimonial-card,
.review-card {
    background: #F5F7FA !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 2px 8px rgba(31,41,55,0.05) !important;
}

.testimonial-card p,
.review-card p,
.review-text {
    color: #4B5563 !important;
}

.testimonial-card h4,
.reviewer-name,
.testimonial-author {
    color: #1F2937 !important;
}

.testimonials-nav .testimonial-nav-btn {
    background: rgba(31,41,55,0.6) !important;
}

.testimonial-dot {
    background: #CBD5E1 !important;
}

.testimonial-dot.active {
    background: #6EA3D6 !important;
}

/* Star ratings */
.star,
.fa-star {
    color: #f59e0b !important;
}

/* ── Contact Section ── */
.contact {
    background: #F5F7FA !important;
}

.contact h2,
.contact-title {
    color: #1F2937 !important;
    text-align: center !important;
    margin-bottom: 0.75rem !important;
    font-size: 2rem !important;
}

.contact p,
.contact-subtitle {
    color: #4B5563 !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    max-width: 600px !important;
    margin: 0 auto 2rem auto !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 1.6rem !important;
    }
    .contact-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem !important;
    }
}

/* ── FAQ Section ── */
.faq-section,
.faqs-section {
    background: #F5F7FA !important;
}

.faq-section h2,
.faqs-section h2 {
    color: #1F2937 !important;
}

.faq-item,
.faq-card {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
}

.faq-question,
.faq-header {
    color: #1F2937 !important;
    border-bottom: 1px solid #E5E7EB !important;
}

.faq-answer {
    color: #4B5563 !important;
}

/* ── CTA / Banner Section ── */
.cta-section {
    background: #1F2937 !important;
}

.cta-section h2,
.cta-section p {
    color: #ffffff !important;
}

.cta-section .cta-btn {
    background: #6EA3D6 !important;
    color: #ffffff !important;
    border: none !important;
}

.cta-section .cta-btn:hover {
    background: #4f8fc4 !important;
}

/* ── Generic CTA Buttons (outside hero/header) ── */
.cta-btn {
    background: #6EA3D6 !important;
    color: #ffffff !important;
    border: none !important;
}

.cta-btn:hover {
    background: #4f8fc4 !important;
    color: #ffffff !important;
}

/* ── Sticky Mobile CTA ── */
.sticky-cta-btn {
    background: linear-gradient(135deg, #6EA3D6, #4f8fc4) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(110, 163, 214, 0.45) !important;
}

.sticky-cta-btn:hover {
    box-shadow: 0 12px 35px rgba(110, 163, 214, 0.65) !important;
}

.sticky-suitability-btn {
    background: linear-gradient(135deg, #6EA3D6, #4f8fc4) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(110, 163, 214, 0.5) !important;
}

.sticky-suitability-btn:hover {
    color: #ffffff !important;
    box-shadow: 0 12px 35px rgba(110, 163, 214, 0.7) !important;
}

@keyframes pulse {
    0%   { box-shadow: 0 8px 25px rgba(110, 163, 214, 0.45); }
    50%  { box-shadow: 0 8px 25px rgba(110, 163, 214, 0.75); }
    100% { box-shadow: 0 8px 25px rgba(110, 163, 214, 0.45); }
}

/* ── Popup / Modal ── */
.popup-overlay,
.modal-overlay {
    background: rgba(31, 41, 55, 0.75) !important;
}

.popup,
.modal {
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
}

.popup h3,
.popup h2,
.modal h3,
.modal h2 {
    color: #1F2937 !important;
}

.popup p,
.modal p {
    color: #4B5563 !important;
}

.popup .close-btn,
.modal .close-btn {
    color: #6B7280 !important;
}

.popup .close-btn:hover,
.modal .close-btn:hover {
    color: #1F2937 !important;
}

/* ── Footer ── */
.footer {
    background: #1F2937 !important;
    border-top: none !important;
}

.footer-text {
    color: #9CA3AF !important;
}

.footer a {
    color: #6EA3D6 !important;
}

/* ── Section headings accent line ── */
.section-title::after,
h2::after {
    background: #6EA3D6 !important;
}

/* ── Link colors ── */
a {
    color: #6EA3D6;
}

a:hover {
    color: #4f8fc4;
}

/* ── Scrollbar ── */
::-webkit-scrollbar-thumb {
    background: #6EA3D6 !important;
}

/* ── Mobile: ensure text contrast on all screen sizes ── */
@media (max-width: 768px) {
    body {
        background-color: #F5F7FA !important;
        color: #1F2937 !important;
    }

    /* Hero: light on mobile (no background image) */
    body .hero {
        background: #F5F7FA !important;
        background-image: none !important;
    }

    body .hero-text h1,
    body .hero-text h2,
    body .hero-text .hero-name {
        color: #1F2937 !important;
        text-shadow: none !important;
    }

    body .hero-text p {
        color: #4B5563 !important;
        text-shadow: none !important;
    }

    /* Sticky phone: blue on mobile */
    body .sticky-phone-top .phone-link {
        background-color: #6EA3D6 !important;
        color: #ffffff !important;
    }

    body .sticky-phone-top .phone-link i,
    body .sticky-phone-top .phone-link span {
        color: #ffffff !important;
    }

    .treatment-section {
        background: #ffffff !important;
    }

    .treatment-section.alt {
        background: #F5F7FA !important;
    }

    .popular-services {
        background: #F5F7FA !important;
    }

    .service-card {
        background: #ffffff !important;
        border: 1px solid #E5E7EB !important;
    }

    .nav-menu {
        background: #ffffff !important;
    }

    .mobile-hero-logo {
        filter: none !important;
    }

    /* Before/after section */
    .before-after-results {
        background: #ffffff !important;
    }

    /* Body headings on mobile light bg */
    body h2, body h3, body h4, body h5, body h6 {
        color: #1F2937 !important;
    }
}
