/* ================================================================
   MALE ENHANCEMENT FORUM — Custom Styles
   Stack: Bootstrap 5 + custom overrides
   ================================================================ */

/* ---- VARIABLES ---- */
:root {
    --navy:   #DBE6EC;
    --dark:   #12213b;
    --red:    #c0392b;
    --gold:   #e8a020;
    --light:  #f4f6f8;
    --border: #dde2e8;
    --text:   #3a3a3a;
    --muted:  #7a8490;
}

/* ---- GLOBAL ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: var(--text);
    margin: 0;
    padding: 0;
}

/* ================================================================
   UTILITY BAR — Doctor Login
   ================================================================ */
.utility-bar {
    background: var(--dark);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 6px 20px;
}

.doctor-login-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #e0e8f0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.doctor-login-btn:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

/* Footer variant — inherits base but adjusts colours for light bg */
.doctor-login-btn--footer {
    color: var(--dark);
    border-color: var(--dark);
}

.doctor-login-btn--footer:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}


/* ================================================================
   HEADER — LOGO (80px tall)
   ================================================================ */
.site-header {
    background: var(--navy);
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.site-logo {
    display: block;
    width: 100%;
    height: 40px;
    object-fit: cover;
    object-position: left center;
}


/* ================================================================
   BANNER ADS — 1200 x 400 px carousel
   ================================================================ */
.banner-section {
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.banner-wrapper {
    width: 1200px;
    max-width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

#bannerCarousel .carousel-inner {
    height: 400px;
    background: #111;
}

#bannerCarousel .carousel-item {
    height: 400px;
}

#bannerCarousel .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.2s;
}

#bannerCarousel .carousel-control-prev:hover,
#bannerCarousel .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background: var(--gold) !important;
}


/* ================================================================
   NAVIGATION BAR
   ================================================================ */
.site-navbar {
    background: var(--navy) !important;
    border-bottom: 3px solid var(--red);
    padding: 0;
    z-index: 1000;
}

.site-navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.25);
    margin: 6px 12px;
}

.site-navbar .navbar-toggler-icon {
    filter: none;
}

.site-navbar .navbar-nav {
    gap: 2px;
}

.site-navbar .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 16px !important;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--red) !important;
    border-bottom-color: var(--red);
    background: rgba(0, 0, 0, 0.05);
}


/* ================================================================
   WELCOME MESSAGE — lives inside the left column
   ================================================================ */
.welcome-inner {
    padding: 36px 40px 32px;
    border-bottom: 2px solid var(--border);
    max-width: 66vw;
}

.welcome-text {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2e3640;
    margin-bottom: 18px;
    font-weight: 400;
}

.welcome-text strong {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.welcome-word {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    vertical-align: baseline;
}

.welcome-signature {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
    font-style: normal;
    letter-spacing: 0.01em;
}

.welcome-signature em {
    font-style: italic;
    color: var(--red);
}

.welcome-forums-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    padding: 16px 48px;
    border-radius: 6px;
    border: 3px solid var(--red);
    transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}

.welcome-forums-btn:hover {
    background: transparent;
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.25);
}

.welcome-forums-btn .bi {
    font-size: 1.3rem;
}

/* CTA row — Forums + AI side by side, equal columns */
.welcome-cta-row,
.cta-pair {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cta-pair {
    justify-content: center;
    margin-top: 0;
}

/* Each block: equal width, button full-width, label below */
.cta-block {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
}

.cta-block--centered {
    align-items: center;
}

.cta-block--centered .ai-chat-label {
    text-align: center;
}

/* AI Chat button */
.ai-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a7f5a;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 6px;
    border: 3px solid #1a7f5a;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(26, 127, 90, 0.3);
}

.ai-chat-btn:hover {
    background: transparent;
    color: #1a7f5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 127, 90, 0.2);
}

.ai-chat-btn .bi {
    font-size: 1.3rem;
}

/* Descriptive label under the AI button */
.ai-chat-label {
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #5a6470;
    max-width: 340px;
    margin-bottom: 0;
    font-style: italic;
}

/* (legacy selector kept for safety) */
.ai-chat-block--cta .ai-chat-label {
    text-align: center;
    max-width: 360px;
}

/* Forums CTA section updated for pair layout */
.forums-cta-section {
    background: #fff;
    border-top: 2px solid var(--border);
    padding: 48px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991.98px) {
    .welcome-inner {
        max-width: 100%;
        padding: 24px 20px;
    }
}


/* ================================================================
   MAIN CONTENT — Highlight + All About
   ================================================================ */
.main-content-section {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

/* Left column */
.highlight-column {
    border-right: 1px solid var(--border);
}

.highlight-section {
    min-height: 480px;
}

.highlight-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--red);
    margin-bottom: 28px;
}

.highlight-title .bi {
    color: var(--gold);
    font-size: 1.3rem;
}

/* Side-by-side: image left, text right */
.highlight-body {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.highlight-image-wrap {
    flex: 0 0 42%;
    max-width: 42%;
}

.highlight-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
    display: block;
}

.highlight-text {
    flex: 1;
    font-size: 0.97rem;
    line-height: 1.82;
    color: #3d4450;
}

/* First paragraph — bold lead-in */
.highlight-text p:first-child {
    font-size: 1.13rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.65;
    border-left: 4px solid var(--red);
    padding-left: 14px;
    margin-bottom: 18px;
}

/* Remaining paragraphs */
.highlight-text p {
    margin-bottom: 14px;
    font-size: 0.96rem;
    color: #4e555f;
}

/* Bold inline text within the content */
.highlight-text strong {
    color: var(--dark);
    font-weight: 700;
}

/* Doctor name / title badge rendered by JS */
.highlight-doctor-name {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.highlight-doctor-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 20px;
}

.highlight-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--light);
    border: 2px dashed var(--border);
    border-radius: 8px;
}

.placeholder-inner {
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

/* Right column — All About */
.all-about-column {
    background: var(--light);
}

.all-about-section {
    position: sticky;
    top: 56px;          /* offset for sticky navbar */
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.all-about-title {
    background: var(--navy);
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 12px 16px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
}

.about-item {
    border-bottom: 1px solid #f0f2f4;
}

.about-item:last-child {
    border-bottom: none;
}

.about-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.18s;
}

.about-link .bi {
    font-size: 0.7rem;
    color: var(--red);
    margin-right: 7px;
    transition: margin 0.18s;
}

.about-link:hover {
    background: var(--navy);
    color: var(--dark);
    padding-left: 20px;
}

.about-link:hover .bi {
    color: var(--gold);
    margin-right: 10px;
}

/* Sidebar ad space */
.sidebar-ad-space {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.ad-label {
    display: block;
    background: #f0f2f4;
    color: var(--muted);
    font-size: 0.7rem;
    text-align: center;
    padding: 3px;
    letter-spacing: 0.05em;
}

.sidebar-ad-placeholder {
    width: 100%;
    height: 250px;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* ================================================================
   PENILE ENLARGEMENT & TODAY'S MAN SECTION
   ================================================================ */
.pe-section {
    border-top: 3px solid var(--red);
    border-bottom: 2px solid var(--border);
    background: #fff;
    padding: 36px 40px;
}

.pe-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.pe-image-wrap {
    flex: 0 0 38%;
    max-width: 38%;
}

.pe-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    display: block;
}

.pe-content {
    flex: 1;
}

.pe-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.25;
}

.pe-quote {
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--red);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--red);
    line-height: 1.4;
}

.pe-text {
    font-size: 1rem;
    line-height: 1.85;
    color: #3a4050;
    margin-bottom: 16px;
}

.pe-closing {
    font-weight: 700;
    color: var(--dark);
    font-style: italic;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .pe-inner {
        flex-direction: column;
    }
    .pe-image-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .pe-section {
        padding: 24px 20px;
    }
}


/* ================================================================
   PRODUCTS CAROUSEL — nested inside the left highlight column
   ================================================================ */
.products-inner-wrap {
    background: var(--navy);
    border-top: 3px solid var(--gold);
    padding: 20px 24px 16px;
    width: 33vw;
    max-width: 100%;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

.eyebrow-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* Clipping window for the sliding track */
.products-track-wrap {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

/* The sliding strip — width set by JS based on item count */
.products-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each product slide */
.product-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    padding: 8px;
}

.product-slide a {
    display: block;
}

.product-slide img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    display: block;
}

.product-slide img:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Prev / Next buttons */
.prod-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.prod-nav-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

/* Dot indicators */
.prod-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.prod-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.prod-dot.active {
    background: var(--gold);
    transform: scale(1.25);
}

/* Placeholder when no products configured */
.product-placeholder {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.35);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-placeholder code {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 3px;
}



/* ================================================================
   CLINICS SECTION
   ================================================================ */
.clinics-section {
    background: #fff;
    border-top: 4px solid var(--dark);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-accent {
    display: inline-block;
    width: 5px;
    height: 1.75rem;
    background: var(--red);
    border-radius: 3px;
    flex-shrink: 0;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

.clinic-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.09);
    transition: transform 0.22s, box-shadow 0.22s;
    background: #fff;
    border: 1px solid var(--border);
}

.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.clinic-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.clinic-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: var(--light);
    border-radius: 10px;
    border: 2px dashed var(--border);
}


/* ================================================================
   INFO SECTIONS — Techniques & Enlargement
   ================================================================ */
.info-section {
    background: var(--light);
    border-top: 4px solid var(--red);
}

.info-block {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    border: 1px solid var(--border);
}

.info-block-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.info-icon {
    background: var(--navy);
    color: var(--dark);
    font-size: 2rem;
    padding: 36px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 90px;
    align-self: stretch;
}

.info-content {
    padding: 36px;
    flex: 1;
}

.info-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.info-divider {
    width: 56px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 22px;
}

.info-text {
    font-size: 0.96rem;
    line-height: 1.82;
    color: #4e555b;
    margin-bottom: 16px;
}

.info-text strong {
    color: var(--dark);
}

.info-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, gap 0.2s;
}

.info-read-more:hover {
    border-bottom-color: var(--red);
    gap: 10px;
    color: var(--red);
}


/* ================================================================
   FORUMS CTA — centered button above footer
   ================================================================ */
.forums-cta-section {
    background: #fff;
    border-top: 2px solid var(--border);
    padding: 48px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--navy);
    color: var(--dark);
    border-top: 4px solid var(--red);
}

.footer-logo {
    height: 36px;
    max-width: 100%;
    object-fit: contain;
    object-position: left;
    opacity: 0.85;
    filter: none;
    display: block;
}

.footer-heading {
    color: var(--dark);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-text {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #3a4450;
}

.footer-disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    color: #5a6470;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #3a4450;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.18s, gap 0.18s;
}

.footer-links a .bi {
    font-size: 0.7rem;
    color: var(--red);
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--red);
    gap: 10px;
}

.footer-links a:hover .bi {
    color: var(--red);
}

/* Social icons */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    color: var(--dark);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    font-size: 0.8rem;
    color: #4a5560;
}

.footer-bottom a {
    color: #4a5560;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-bottom a:hover {
    color: var(--red);
}

.footer-sep {
    margin: 0 8px;
    color: #8a96a4;
}


/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */
@media (max-width: 991.98px) {
    #bannerCarousel .carousel-inner,
    #bannerCarousel .carousel-item,
    #bannerCarousel .carousel-item img {
        height: 260px;
    }

    .highlight-body {
        flex-direction: column;
    }

    .highlight-image-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .all-about-section {
        position: static;
        max-height: none;
    }

    .highlight-column {
        border-right: none;
        border-bottom: 2px solid var(--border);
    }

    .info-block-inner {
        flex-direction: column;
    }

    .info-icon {
        padding: 20px 28px;
        min-width: unset;
        align-self: auto;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .site-logo {
        object-position: center;
    }

    #bannerCarousel .carousel-inner,
    #bannerCarousel .carousel-item,
    #bannerCarousel .carousel-item img {
        height: 180px;
    }

    .site-navbar .nav-link {
        padding: 12px 14px !important;
        font-size: 0.8rem;
    }

    .highlight-title {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .info-title {
        font-size: 1.25rem;
    }
}
