/* =========================================
   PATIENT REVIEWS SECTION - GOOGLE STYLE REDESIGN
   Updated: 2026-12-18
   ========================================= */

/* Container - Dark Theme */
.patient-reviews-section {
    padding: 80px 0;
    background: #1C2833;
    position: relative;
}

/* Section Header */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    color: #ccc;
    font-size: 1.1rem;
}

/* Review Card (Google-Style White Cards) */
.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Review Header (Stars + Google Logo) */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.google-stars {
    color: #FBBC04;
    /* Google yellow */
    font-size: 20px;
    letter-spacing: 3px;
}

.google-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Review Text */
.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Review Footer */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.review-author {
    font-weight: 600;
    color: #1C2833;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
}

/* Swiper Pagination for Reviews */
.reviews-pagination {
    margin-top: 40px !important;
    position: relative !important;
}

.reviews-pagination .swiper-pagination-bullet {
    background: #800000 !important;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
}

.reviews-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* =========================================
   MOBILE HEADER FIXES (Z-INDEX + TOP BAR LAYOUT)
   ========================================= */

/* Critical Z-Index Hierarchy */
#mobile-menu-container {
    z-index: 10000 !important;
    /* HIGHEST - Must be above everything */
}

#mobile-menu-overlay {
    z-index: 9999 !important;
}

#top-bar {
    z-index: 9991 !important;
}

#site-header {
    z-index: 9990 !important;
}

/* WhatsApp Icon - Original Color */
.whatsapp-btn {
    color: #25D366 !important;
    /* WhatsApp Original Green */
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: rgba(37, 211, 102, 0.1) !important;
    color: #128C7E !important;
    transform: scale(1.05);
}

/* Desktop Sidebar WhatsApp Button - Keep White Text on Hover */
.sidebar .whatsapp-btn:hover,
.sidebar-cta .whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Social Icons Hover Effects */
.social-icon {
    transition: all 0.3s ease;
    font-size: 18px;
}

/* Desktop Top Bar WhatsApp Icon - GREEN */
#top-bar .social-icon.whatsapp-icon {
    color: #25D366 !important;
}

#top-bar .social-icon.whatsapp-icon:hover {
    color: #128C7E !important;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #800000 !important;
}

/* Mobile Top Bar Layout (Phone Left, Social Right) */
@media (max-width: 768px) {
    #top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .top-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .top-left .email-link {
        display: none !important;
        /* Hide email on mobile */
    }

    .top-right {
        display: flex;
        align-items: center;
        gap: 15px;
        padding-right: 8px;
        /* Move icons to right but not touching edge */
        margin-left: auto;
        /* Push to far right */
    }

    .top-right .whatsapp-btn {
        display: inline-flex;
        padding: 0;
        background: transparent !important;
        font-size: 20px;
    }

    .top-right .whatsapp-btn i {
        margin-right: 0;
    }

    /* Hide WhatsApp text on mobile (TOP BAR ONLY), show icon only */
    .top-right .whatsapp-btn,
    .mobile-menu-social .whatsapp-btn {
        font-size: 0;
    }

    .top-right .whatsapp-btn i,
    .mobile-menu-social .whatsapp-btn i {
        font-size: 20px;
    }

    /* Sidebar WhatsApp Button - Full Green Button Style */
    .sidebar .whatsapp-btn,
    .sidebar-cta .whatsapp-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 20px !important;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
        color: #fff !important;
        border-radius: 8px;
        font-size: 0.9rem !important;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }

    .sidebar .whatsapp-btn i,
    .sidebar-cta .whatsapp-btn i {
        font-size: 18px !important;
        color: #fff !important;
    }

    .sidebar .whatsapp-btn:hover,
    .sidebar-cta .whatsapp-btn:hover {
        background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    /* Patient Reviews Mobile - Pagination below cards */
    .patient-reviews-section {
        padding: 50px 0;
    }

    .section-header-center h2 {
        font-size: 2rem;
    }

    .review-card {
        padding: 20px;
    }

    /* Mobile reviews pagination - further below cards */
    .reviews-pagination {
        margin-top: 25px !important;
    }
}

/* Hero Slider Pagination - Match Reviews Style */
#hero-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

#hero-slider .swiper-pagination-bullet-active {
    background: #800000 !important;
    /* Bordo */
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(128, 0, 0, 0.6);
}

/* =========================================
   MOBILE MENU HEADER WITH LOGO
   ========================================= */
.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(128, 0, 0, 0.2);
    margin-bottom: 10px;
}

.mobile-logo {
    font-family: 'Lora', serif;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    gap: 5px;
}

.mobile-logo .text-dark {
    color: #1C2833;
    font-weight: 400;
}

.mobile-logo .text-primary {
    color: #800000;
    font-weight: 700;
}

/* =========================================
   MOBILE TOP BAR ICONS - MATCHING DESKTOP STYLE
   ========================================= */
@media (max-width: 768px) {
    .top-right {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        /* Equal spacing like desktop */
        padding-right: 5px;
    }

    .top-right .social-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        font-size: 16px;
        color: #fff;
    }
}

/* =========================================
   DESKTOP MENU - HOVER & ACTIVE STATES
   ========================================= */

/* Desktop Menu Hover - Subtle Bordo (instead of yellow) */
.desktop-nav ul li a:hover {
    color: #800000 !important;
    /* Bordo on hover */
}

/* Desktop Menu Active State - Bordo text with underline */
.desktop-nav ul li a.active-page,
.desktop-nav ul li.active-page>a {
    color: #800000 !important;
    position: relative;
}

.desktop-nav ul li a.active-page::after,
.desktop-nav ul li.active-page>a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #800000;
}

/* =========================================
   MOBILE MENU - ACTIVE STATES
   ========================================= */

/* Mobile Menu Active Link - Bordo with underline */
.mobile-nav ul li a.active-page,
.mobile-nav ul li.active-page>a,
.mobile-nav ul li .mobile-menu-header a.active-page {
    color: #800000 !important;
    border-left: 3px solid #800000;
    padding-left: 12px;
    background-color: rgba(128, 0, 0, 0.05);
}

/* Mobile Submenu Active Item */
.mobile-submenu li a.active-page {
    color: #800000 !important;
    font-weight: 600;
    border-left: 3px solid #800000;
    padding-left: 10px;
}

/* =========================================
   İLETİŞİM BUTTON - KEEP WHITE TEXT ON HOVER
   ========================================= */
.nav-cta-btn:hover {
    color: #fff !important;
}

/* =========================================
   MOBILE MENU SOCIAL ICONS (Matching Desktop Top Bar)
   ========================================= */
.mobile-menu-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid rgba(128, 0, 0, 0.1);
    margin-top: 20px;
}

.mobile-menu-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(128, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #800000;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-menu-social .social-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #800000;
    transform: scale(1.15);
    border: 2px solid #1C2833;
}

/* WhatsApp Icon - Green styling */
.mobile-menu-social .social-icon.whatsapp-icon {
    background-color: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.mobile-menu-social .social-icon.whatsapp-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #25D366;
    border: 2px solid #1C2833;
}

.mobile-menu-social .whatsapp-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.15) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #25D366 !important;
    font-size: 18px !important;
    transition: all 0.3s ease;
}

.mobile-menu-social .whatsapp-btn i {
    font-size: 18px !important;
    color: #25D366 !important;
}

.mobile-menu-social .whatsapp-btn:hover {
    background-color: #25D366;
    color: #fff;
}

/* =========================================
   MOBILE MENU TOP - LOGO & X SAME ROW ALIGNMENT
   ========================================= */
.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(128, 0, 0, 0.15);
    margin-bottom: 15px;
}

/* X CLOSE BUTTON - WHITE ON DARK BACKGROUND */
.mobile-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #800000;
    cursor: pointer;
    font-size: 18px;
    color: #fff !important;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background-color: #5a0000;
    transform: scale(1.1);
}

.mobile-close-btn i {
    color: #fff !important;
}

/* =========================================
   İLETİŞİM BUTTON - FORCE WHITE TEXT ON HOVER
   ========================================= */
.nav-cta-btn,
.nav-cta-btn:hover,
.nav-cta-btn:focus,
.nav-cta-btn:active,
.nav-cta-btn *,
.nav-cta-btn:hover *,
.nav-cta-btn:focus *,
.nav-cta-btn:active * {
    color: #fff !important;
}

/* =========================================
   MOBILE TOP BAR - MATCHING MOBILE MENU ICON STYLE
   ========================================= */
@media (max-width: 768px) {
    #top-bar .top-right {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding-right: 10px;
    }

    #top-bar .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    #top-bar .social-icon:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    #top-bar .social-icon.whatsapp-icon {
        background-color: rgba(37, 211, 102, 0.25);
        color: #25D366;
    }

    #top-bar .social-icon.whatsapp-icon:hover {
        background-color: rgba(37, 211, 102, 0.4);
    }
}