/* Main Containers */
.cfmoto-locations-wrap,
.cfmoto-discovery-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Discovery Page Styles */
.discovery-header,
.city-header {
    text-align: center;
    margin-bottom: 50px;
}

.discovery-header h1,
.city-header h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.discovery-header p,
.city-header p {
    color: #666;
    font-size: 19px;
    max-width: 700px;
    margin: 0 auto;
}

/* Map Container */
.map-container {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

#svg-turkey {
    width: 100%;
    height: auto;
    max-height: 500px;
}

#svg-turkey g g {
    cursor: pointer;
    transition: all 0.3s ease;
}

#svg-turkey g g path {
    fill: #eee;
    stroke: #fff;
    stroke-width: 1px;
    transition: all 0.3s ease;
}

#svg-turkey g g:hover path {
    fill: #ffde00 !important;
    filter: drop-shadow(0 0 5px rgba(255, 222, 0, 0.5));
}

#svg-turkey g g.active path {
    fill: #ffde00 !important;
}

#svg-turkey .city-label {
    font-size: 6px;
    fill: #333;
    font-weight: 600;
    pointer-events: none;
    text-transform: uppercase;
    opacity: 0.7;
    transition: all 0.3s ease;
}

#svg-turkey g g:hover .city-label {
    opacity: 1;
    font-size: 8px;
    fill: #000;
}

/* Tooltip or generic help text */
.map-hint {
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

/* City Grid */
.city-grid-container {
    margin-top: 40px;
}

.city-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.city-grid-header h2 {
    margin: 0;
}

.city-search-wrap {
    position: relative;
    max-width: 300px;
    width: 100%;
}

@media (max-width: 768px) {
    .city-search-wrap {
        max-width: 100%;
    }
}

.city-search-wrap input {
    width: 100%;
    padding: 12px 40px 12px 20px;
    border: 1px solid #eee;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.city-search-wrap input:focus {
    border-color: #ffde00;
    box-shadow: 0 5px 15px rgba(255, 222, 0, 0.1);
}

.city-search-wrap .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    pointer-events: none;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.city-card {
    background: #fff;
    padding: 18px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #000;
}

.city-card i {
    color: #ddd;
    font-size: 14px;
    transition: all 0.3s;
}

.city-card:hover i {
    color: #ffde00;
    transform: translateX(3px);
}

/* Breadcrumb */
.cfmoto-breadcrumb {
    margin-bottom: 35px;
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
}

.cfmoto-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.cfmoto-breadcrumb a:hover {
    color: #ffde00;
}

.cfmoto-breadcrumb i {
    font-size: 9px;
    margin: 0 12px;
    color: #ddd;
}

/* Recommended Service Box Style */
.recommended-service-box {
    background-color: #1a1a1a;
    border-radius: 14px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trophy-container {
    background: rgba(255, 222, 0, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.trophy-icon {
    color: #ffde00;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 0;
}

.subtitle {
    font-size: 13px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-name {
    font-size: 22px;
    font-weight: 800;
}

.phone-link {
    background: #ffde00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.phone-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 0;
}

.phone-link:hover {
    transform: scale(1.15) rotate(15deg);
    background: #fff;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.appointment-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.appointment-btn:hover {
    background: #fff;
    color: #000;
}

.appointment-btn i {
    font-size: 16px;
}

/* Table Style */
.cfmoto-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    table-layout: auto;
}

.cfmoto-table th {
    background: #fcfcfc;
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 2px solid #f0f0f0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cfmoto-table td {
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
    color: #444;
    vertical-align: middle;
    font-size: 15px;
}

@media (max-width: 768px) {

    .cfmoto-table {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .cfmoto-table,
    .cfmoto-table thead,
    .cfmoto-table tbody,
    .cfmoto-table th,
    .cfmoto-table td,
    .cfmoto-table tr {
        display: block;
        width: 100%;
    }

    .cfmoto-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .cfmoto-table tr {
        margin-bottom: 20px;
        border: 1px solid #eee;
        border-radius: 14px;
        padding: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        overflow: hidden;
    }

    .cfmoto-table td {
        border: none;
        border-bottom: 1px solid #f9f9f9;
        position: relative;
        padding: 12px 15px;
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .cfmoto-table td:last-child {
        border-bottom: 0;
    }

    .cfmoto-table td:before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 11px;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .appointment-link-table {
        margin-top: 10px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #fdf2f2;
        color: #d32f2f;
        padding: 5px 12px;
        border-radius: 6px;
        font-size: 12px;
        text-decoration: none !important;
        font-weight: 700;
        border: 1px solid #ffcdd2;
    }
}

.appointment-link-table {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #d32f2f;
    text-decoration: none !important;
    font-weight: 700;
}

.appointment-link-table i {
    margin-right: 4px;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .table-responsive {
        overflow: visible !important;
        border-radius: 0 !important;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Virtual Page Cleanup - Suppress Theme Elements */
/* Sadece başlık alanını içeren Elementor section ID'sini hedefleyelim */
.cfmoto-virtual-page .elementor-element-7d6bdcf,
.cfmoto-virtual-page .sc_layouts_title,
.cfmoto-virtual-page .breadcrumbs,
.cfmoto-virtual-page .page-header {
    display: none !important;
}

/* Sayfa üstü boşluğu tamamen sıfırla */
.cfmoto-virtual-page .page_content_wrap,
.cfmoto-virtual-page .cfmoto-locations-wrap {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

/* Sayfa üstü boşluğu düzenle */
.cfmoto-virtual-page .cfmoto-locations-wrap {
    margin-top: 50px;
}