/* Custom Styles for Volkankurtaran.com */

/* Root Variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e4080;
    border-color: #1e4080;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 90, 160, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Top Bar Styles */
.top-bar {
    font-size: 0.9rem;
}

.top-bar a:hover {
    text-decoration: underline !important;
}

/* Navigation Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.8);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.about-section img {
    border-radius: 15px;
}

/* Appointment Section */
.appointment-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4080 100%);
    padding: 5rem 0;
}

.appointment-feature {
    text-align: center;
    margin-bottom: 2rem;
}

.appointment-feature i {
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Footer Styles */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: #adb5bd;
}

/* Content Pages */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4080 100%);
    color: white;
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-content {
    padding: 4rem 0;
}

.content-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.content-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-card h4 {
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.content-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-card ul {
    margin-bottom: 1.5rem;
}

.content-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Sidebar */
.sidebar {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    position: sticky;
    top: 100px;
}

.sidebar h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.sidebar .list-group-item {
    border: none;
    background: transparent;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar .list-group-item:last-child {
    border-bottom: none;
}

.sidebar .list-group-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar .list-group-item a:hover {
    color: var(--primary-color);
}

/* Service Pages Standardization (reference: gebelik-oncesi-danismanlik.php) */
body.service-standard-page .page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4080 100%) !important;
    color: #fff !important;
    padding: 5rem 0 3rem !important;
    text-align: center !important;
}

body.service-standard-page .page-content {
    padding: 4rem 0 5rem !important;
}

body.service-standard-page .content-card,
body.service-standard-page .info-card,
body.service-standard-page .card {
    background: #fff !important;
    border-radius: 15px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

body.service-standard-page .content-card,
body.service-standard-page .info-card {
    padding: 2.5rem !important;
    margin-bottom: 2rem !important;
}

body.service-standard-page .highlight-box,
body.service-standard-page .warning-box,
body.service-standard-page .info-box {
    border-radius: 0 10px 10px 0 !important;
}

body.service-standard-page .table {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

body.service-standard-page .sidebar {
    background: var(--light-gray) !important;
    padding: 2rem !important;
    border-radius: 15px !important;
}

body.service-standard-page footer.footer {
    margin-top: 3rem !important;
}

@media (max-width: 767.98px) {
    body.service-standard-page .page-header {
        padding: 3rem 0 2rem !important;
    }

    body.service-standard-page .content-card,
    body.service-standard-page .info-card {
        padding: 1.5rem !important;
    }

    body.service-standard-page footer.footer {
        margin-top: 2rem !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-section,
    .about-section,
    .appointment-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .service-card,
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .sidebar {
        margin-top: 2rem;
        position: static;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.scale-in:hover {
    transform: scale(1);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e4080;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #1e4080;
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

/* SEO Optimized Content Styles */
.seo-content {
    line-height: 1.8;
}

.seo-content h1,
.seo-content h2,
.seo-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.seo-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.seo-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
}

.seo-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.seo-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.seo-content ul,
.seo-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.info-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

/* Table Styles */
.table-responsive {
    margin: 2rem 0;
}

.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    border-color: #f8f9fa;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    border-radius: 0 0 10px 10px;
}

.faq-answer.active {
    display: block;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .btn,
    .appointment-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .page-header {
        background: none !important;
        color: black !important;
    }
}

/* ===== MOBİL MENÜ STİLLERİ ===== */

/* Custom Mobile Menu Toggle */
.mobile-menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.mobile-menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-icon span:nth-child(1) {
    top: 0px;
}

.mobile-menu-icon span:nth-child(2) {
    top: 8px;
}

.mobile-menu-icon span:nth-child(3) {
    top: 16px;
}

/* Mobile Menu Animation */
.navbar-toggler[aria-expanded="true"] .mobile-menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .mobile-menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 15px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(44, 90, 160, 0.1);
    }
    
    /* Override Bootstrap dropdown positioning for mobile */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: auto !important;
        margin-top: 0 !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        display: none; /* Initially hidden */
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
    
    .mobile-nav-link {
        padding: 15px 20px !important;
        margin: 5px 0;
        border-radius: 10px;
        font-weight: 500;
        color: var(--text-dark) !important;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(44, 90, 160, 0.1);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        text-decoration: none !important;
    }
    
    .mobile-nav-link:hover,
    .mobile-nav-link:focus {
        background: var(--primary-color) !important;
        color: white !important;
        transform: translateX(10px);
        box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    }
    
    .mobile-nav-link i {
        color: var(--primary-color);
        width: 20px;
        text-align: center;
    }
    
    .mobile-nav-link:hover i,
    .mobile-nav-link:focus i {
        color: white;
    }
    
    /* Mobile Dropdown Toggle Indicator */
    .mobile-nav-link.dropdown-toggle::after {
        margin-left: auto;
        border: none;
        font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
        font-weight: 900;
        content: "\f107"; /* fa-angle-down */
        transition: transform 0.3s ease;
        font-size: 14px;
    }
    
    .mobile-nav-link.dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    /* Force mobile dropdown behavior */
    .nav-item.dropdown:hover .dropdown-menu {
        display: none !important;
    }
    
    .nav-item.dropdown .dropdown-menu.show {
        display: block !important;
    }
    
    /* Mobile Dropdown Menu */
    .mobile-dropdown-menu {
        background: rgba(248, 249, 250, 0.95) !important;
        border: none !important;
        border-radius: 10px !important;
        margin-top: 10px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
        padding: 10px !important;
        /* Animation for mobile dropdowns */
        transition: all 0.3s ease !important;
        display: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
    
    .mobile-dropdown-menu.show {
        display: block !important;
        max-height: 500px !important;
        opacity: 1 !important;
    }
    
    .mobile-dropdown-item {
        padding: 12px 20px !important;
        margin: 3px 0 !important;
        border-radius: 8px !important;
        color: var(--text-dark) !important;
        font-weight: 400 !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        background: white !important;
        border: 1px solid rgba(44, 90, 160, 0.1) !important;
    }
    
    .mobile-dropdown-item:hover,
    .mobile-dropdown-item:focus {
        background: var(--primary-color) !important;
        color: white !important;
        transform: translateX(5px) !important;
        box-shadow: 0 3px 10px rgba(44, 90, 160, 0.3) !important;
    }
    
    .mobile-dropdown-item i {
        color: var(--primary-color);
        width: 18px;
        font-size: 14px;
    }
    
    .mobile-dropdown-item:hover i,
    .mobile-dropdown-item:focus i {
        color: white;
    }
    
    /* Mobile Appointment Button */
    .mobile-appointment-btn {
        background: linear-gradient(135deg, var(--primary-color) 0%, #1e4080 100%) !important;
        border: none !important;
        border-radius: 25px !important;
        padding: 15px 30px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin-top: 15px !important;
        box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3) !important;
        transition: all 0.3s ease !important;
        display: block !important;
        text-align: center !important;
    }
    
    .mobile-appointment-btn:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 12px 35px rgba(44, 90, 160, 0.4) !important;
    }
    
    /* Bilgilendirme sayfasi vurgusu */
    .ankara-kurtaj-highlight {
        background: linear-gradient(135deg, #e31e24 0%, #c41e24 100%) !important;
        color: white !important;
        border: 2px solid #e31e24 !important;
    }
    
    .ankara-kurtaj-highlight:hover {
        background: linear-gradient(135deg, #c41e24 0%, #a01e24 100%) !important;
        color: white !important;
    }
    
    .ankara-kurtaj-item {
        background: linear-gradient(135deg, #ffe6e6 0%, #fff0f0 100%) !important;
        border: 2px solid #e31e24 !important;
    }
    
    .ankara-kurtaj-item:hover {
        background: #e31e24 !important;
        color: white !important;
    }
    
    .ankara-kurtaj-item strong {
        color: #e31e24;
    }
    
    .ankara-kurtaj-item:hover strong {
        color: white;
    }
}

/* Desktop Navigation Enhancements */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        margin: 0 2px;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(44, 90, 160, 0.1);
        color: var(--primary-color) !important;
        transform: translateY(-2px);
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        padding: 10px;
        margin-top: 10px;
    }
    
    .dropdown-item {
        padding: 10px 16px;
        border-radius: 6px;
        margin: 2px 0;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover {
        background: var(--primary-color);
        color: white;
        transform: translateX(5px);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .mobile-nav-link,
    .mobile-dropdown-item {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .mobile-appointment-btn {
        min-height: 54px;
    }
}

/* Landscape Phone Optimization */
@media (max-width: 767.98px) and (orientation: landscape) {
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }
    
    .navbar-collapse::-webkit-scrollbar {
        width: 6px;
    }
    
    .navbar-collapse::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .navbar-collapse::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }
}

/* Small Mobile Devices */
@media (max-width: 575.98px) {
    .navbar-brand span {
        font-size: 0.75rem !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
        margin-right: 8px !important;
    }
    
    .mobile-nav-link {
        padding: 12px 15px !important;
        font-size: 0.9rem;
    }
    
    .mobile-dropdown-item {
        padding: 10px 15px !important;
        font-size: 0.85rem;
    }
}

/* iOS Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .navbar-collapse {
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-nav-link,
    .mobile-dropdown-item {
        -webkit-tap-highlight-color: rgba(44, 90, 160, 0.2);
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .mobile-menu-icon span {
        height: 2px;
    }
    
    .navbar-brand img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* YouTube Playlist Styling */
.vk-playlist-card {
    background: var(--vk-card);
    border: 1px solid var(--vk-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.05);
}

.vk-playlist-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.vk-playlist-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--vk-text);
}

.vk-playlist-header h2 i {
    color: #ff0000; /* YouTube Red */
    margin-right: 8px;
}

.vk-playlist-sub {
    font-size: .92rem;
    color: var(--vk-muted);
    margin: 0;
}

.vk-playlist-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--vk-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fafbfc;
}

.vk-playlist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--vk-border);
    cursor: pointer;
    transition: background .15s, transform .15s;
    text-align: left;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
}

.vk-playlist-item:last-child {
    border-bottom: none;
}

.vk-playlist-item:hover, .vk-playlist-item:focus {
    background: #f0f7ff;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
}

.vk-playlist-item.is-playing {
    background: #e8f2fc;
    border-left: 3px solid var(--vk-primary);
}

.vk-playlist-num {
    flex-shrink: 0;
    width: 28px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--vk-muted);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.vk-playlist-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #e2e8f0;
}

.vk-playlist-info {
    flex: 1;
    min-width: 0;
}

.vk-playlist-title {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    color: var(--vk-text);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vk-playlist-date {
    display: block;
    font-size: .75rem;
    color: var(--vk-muted);
    margin-top: 2px;
}

.vk-playlist-play {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.vk-playlist-item:hover .vk-playlist-play {
    transform: scale(1.06);
}

.vk-playlist-footer {
    margin-top: 16px;
    text-align: center;
}

/* Video Modal Styling */
.vk-video-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.vk-video-modal .modal-header {
    background: #111;
    border-bottom: 1px solid #333;
    padding: 12px 16px;
}

.vk-video-modal .modal-title {
    font-size: .95rem;
    color: #fff;
    line-height: 1.4;
}

.vk-video-modal .btn-close {
    filter: invert(1); /* White close button */
}

.vk-video-modal .modal-body {
    padding: 0;
    background: #000;
}

.vk-video-modal .ratio iframe {
    border: 0;
}

@media (max-width: 768px) {
    .vk-playlist-card {
        padding: 18px 14px;
    }
    .vk-playlist-thumb {
        width: 56px;
        height: 38px;
    }
    .vk-playlist-title {
        font-size: .85rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .vk-playlist-play {
        width: 32px;
        height: 32px;
        font-size: .75rem;
    }
}

/* ===== MOBİL RESPONSIVE UYUMLULUK ===== */

/* Responsive Font Sizes */
.fs-7 { font-size: 0.875rem !important; }
.fs-md-6 { font-size: 1rem !important; }
.fs-md-5 { font-size: 1.25rem !important; }
.fs-md-4 { font-size: 1.5rem !important; }

@media (min-width: 768px) {
    .fs-md-6 { font-size: 1rem !important; }
    .fs-md-5 { font-size: 1.25rem !important; }
    .fs-md-4 { font-size: 1.5rem !important; }
    .display-md-3 { font-size: calc(1.525rem + 3.3vw) !important; }
    .display-md-5 { font-size: calc(1.425rem + 2.1vw) !important; }
    .h2-md { font-size: calc(1.325rem + 0.9vw) !important; }
}

/* Mobile Hero Section */
.min-vh-75 {
    min-height: 75vh;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0 !important;
        min-height: auto !important;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem !important;
    }
    
    .hero-section .h3 {
        font-size: 1.5rem !important;
    }
    
    .info-card {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem !important;
    }
}

/* Mobile Service Cards */
@media (max-width: 991.98px) {
    .service-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
        text-align: center;
    }
    
    .service-card .service-icon {
        margin-bottom: 1rem !important;
    }
    
    .service-card h4 {
        font-size: 1.25rem !important;
    }
    
    .service-card .btn {
        margin-top: 1rem !important;
        width: 100% !important;
    }
}

/* Mobile Contact Cards */
@media (max-width: 767.98px) {
    .contact-item {
        margin-bottom: 1.5rem !important;
        padding: 1.5rem !important;
        text-align: center !important;
    }
    
    .contact-item h4 {
        font-size: 1.25rem !important;
    }
    
    .contact-item i {
        font-size: 2rem !important;
    }
}

/* Mobile Form Optimization */
@media (max-width: 575.98px) {
    .form-control {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 0.75rem !important;
    }
    
    .btn {
        min-height: 48px !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .btn-lg {
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
    }
}

/* Mobile Content Cards */
@media (max-width: 767.98px) {
    .content-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .content-card h3 {
        font-size: 1.5rem !important;
    }
    
    .content-card h4 {
        font-size: 1.25rem !important;
    }
    
    .content-card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

/* Mobile Tables */
@media (max-width: 767.98px) {
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .table td, .table th {
        padding: 0.5rem !important;
    }
}

/* Mobile Utility Classes */
.w-100-mobile {
    width: 100% !important;
}

@media (max-width: 575.98px) {
    .text-center-mobile {
        text-align: center !important;
    }
    
    .mb-mobile-3 {
        margin-bottom: 1rem !important;
    }
    
    .p-mobile-2 {
        padding: 0.5rem !important;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    .btn, .nav-link, .dropdown-item {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .form-control, .form-select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on mobile */
    }
}

/* Mobile Page Header */
@media (max-width: 767.98px) {
    .page-header {
        padding: 3rem 0 2rem !important;
        text-align: center !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }
}

/* Mobile Spacing Fixes */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    section {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Contact Page Mobile Styles */
@media (max-width: 768px) {
    /* Form controls large touch targets */
    .form-control-lg {
        padding: 16px 20px;
        font-size: 1.1rem;
        min-height: 56px;
        border-radius: 8px;
    }
    
    /* Mobile contact cards */
    .mobile-contact-card {
        margin-bottom: 1.5rem;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #e9ecef;
    }
    
    .mobile-contact-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    /* Contact icon mobile size */
    .contact-icon {
        margin-bottom: 1rem;
    }
    
    .contact-icon i {
        font-size: 2.5rem !important;
        color: var(--primary-color);
    }
    
    /* Contact form mobile spacing */
    .contact-form {
        padding: 0;
    }
    
    .contact-form .form-label {
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--text-dark);
    }
    
    /* Increase touch target for contact links */
    .contact-details a {
        padding: 10px 8px;
        display: inline-block;
        min-height: 44px;
        line-height: 1.4;
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }
    
    .contact-details a:hover {
        background-color: rgba(44, 90, 160, 0.1);
    }
    
    /* Hero contact section mobile */
    .hero-contact {
        padding: 40px 0 20px;
        min-height: 70vh;
    }
    
    .hero-contact .btn {
        font-size: 1.1rem;
        border-radius: 25px;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }
    
    /* Mobile form improvements */
    .contact-card {
        border-radius: 20px;
        border: none;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    /* Responsive text for contact page */
    .section-title {
        line-height: 1.3;
        margin-bottom: 2rem !important;
        padding: 0 1rem;
    }
    
    /* Contact form button mobile */
    .contact-form .btn {
        width: 100%;
        margin-top: 1rem;
        padding: 16px;
        font-size: 1.2rem;
        border-radius: 12px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-contact h1 {
        font-size: 2rem !important;
    }
    
    .hero-contact p {
        font-size: 1rem !important;
    }
    
    .contact-card {
        margin: 0 0.5rem;
        padding: 1.5rem !important;
    }
    
    .mobile-contact-card .contact-details {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
}

/* Desktop Dropdown Styles */
@media (min-width: 992px) {
    /* Dropdown hover effect for desktop */
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    
    .dropdown-menu {
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: block !important;
        visibility: hidden;
        border: none;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border-radius: 10px;
        padding: 0.75rem 0;
        margin-top: 0.5rem;
        min-width: 250px;
    }
    
    .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    
    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        padding: 0.75rem 1.25rem;
        transition: all 0.3s ease;
        border-radius: 0;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: var(--primary-color);
        color: white;
        transform: translateX(5px);
    }
    
    .dropdown-item i {
        width: 20px;
        text-align: center;
        margin-right: 8px;
    }
    
    .dropdown-item:hover i {
        color: white;
    }
}

/* Mobile dropdown styles remain the same */
@media (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        background-color: #f8f9fa;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        transition: background-color 0.3s ease;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(44, 90, 160, 0.1);
        color: var(--primary-color);
    }
}

/* Mobile Phone Number Visibility */
@media (max-width: 767.98px) {
    .phone-number {
        display: inline !important;
        font-size: 0.9rem;
    }
    
    .info-card .btn {
        font-size: 0.9rem;
        padding: 0.75rem !important;
    }
    
    .sticky-top-bar {
        padding: 6px 0 !important;
    }
    
    .sticky-top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.25rem;
    }
    
    .sticky-top-bar a {
        font-size: 0.85rem;
        margin: 0 0.5rem;
    }
    
    .hero-section .info-card {
        margin-top: 2rem !important;
    }
    
    .doctor-photo-container img {
        width: 200px !important;
        height: 200px !important;
    }
    
    .doctor-info h1 {
        font-size: 1.8rem !important;
    }
    
    .doctor-details p {
        font-size: 0.85rem !important;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .phone-number {
        display: inline !important;
    }
    
    .sticky-top-bar .col-md-6:first-child {
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* Desktop and larger screens */
@media (min-width: 992px) {
    .phone-number {
        display: inline !important;
    }
}

/* Video Section Styles */
.video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-container {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.video-container iframe {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.faq-preview .faq-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-preview .faq-item:hover {
    transform: translateX(5px);
    border-left-color: #2c5aa0;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.1) !important;
}

.video-info {
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 1rem;
}

/* Video Section Responsive */
@media (max-width: 991.98px) {
    .video-section .col-lg-6:first-child {
        order: 2;
    }
    
    .video-section .col-lg-6:last-child {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .video-container {
        padding: 1rem;
    }
    
    .faq-preview .faq-item {
        padding: 0.75rem !important;
    }
    
    .faq-preview .faq-item h6 {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .video-section {
        padding: 2rem 0 !important;
    }
    
    .video-content h2 {
        font-size: 1.75rem !important;
    }
    
    .video-content h3 {
        font-size: 1.25rem !important;
    }
    
    .video-content .lead {
        font-size: 1rem !important;
    }
}
