body {
    font-family: 'Roboto', sans-serif;
}
:root {
    --primary-color: #35a4b9;
    --primary-light: #e0f7fa;
    --primary-dark: #2b7c8c;
    --text-dark: #2c3e50;
    --text-light: #666;
    --bg-light: #f7fafd;
    --white: #fff;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
}
/* Select2 ve Bootstrap-select'e ait özel stilleri temizle */
.select2-container,
.bootstrap-select {
    width: 100% !important; /* Ensure full width */
}

/* Özel select bileşeni stilleri */
.custom-select-container {
    position: relative;
    display: inline-block; /* Or block, depending on layout */
    width: 100%;
}

.custom-select-trigger {
    display: block;
    padding: .75rem 2.5rem .75rem 1rem; /* Match padding with custom arrow space */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    cursor: pointer;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

.custom-select-trigger:focus,
.custom-select-trigger.active {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 123, 255, .25);
}

.custom-options {
    position: absolute;
    top: 100%; /* Position below the trigger */
    left: 0;
    right: 0;
    z-index: 10; /* Ensure it's above other content */
    background-color: #fff;
    border: 1px solid #ced4da;
    border-top: none; /* Remove top border */
    border-radius: 0 0 .25rem .25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    max-height: 200px; /* Limit height */
    overflow-y: auto; /* Add scrollbar */
    display: none; /* Hide by default */
}

.custom-option {
    padding: .5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: #495057;
}

.custom-option:hover,
.custom-option.selected {
    background-color: #007bff; /* Highlight color */
    color: white;
}

.custom-select-container.disabled .custom-select-trigger {
 background-color: #e9ecef;
 cursor: not-allowed;
 opacity: 1;
}

.hero-section {
    background-color: #35a4b9; /* Green color from image */
    color: white;
    padding-top: 20px; /* Space for the header */
    padding-bottom: 80px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column;
}

.hero-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-header .site-logo {
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 display: flex;
 align-items: center;
 text-decoration: none;
}
.hero-header .site-logo svg {
 fill: white;
 margin-right: 8px;
}

.hero-header .header-nav .nav-link {
    color: white !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: .5rem 1rem;
}
.hero-header .header-nav .nav-link:hover {
 opacity: 0.8;
 text-decoration: none;
}

.hero-header .dropdown-menu {
    background-color: white;
}
.hero-header .dropdown-item {
    color: #333;
}
.hero-header .dropdown-item:hover {
 background-color: #f8f9fa;
}

.hero-header .btn-doctor {
 color: #00cd9d;
 background-color: white;
 border: none;
 border-radius: 20px;
 padding: 5px 15px;
 font-size: 1rem;
 font-weight: 500;
 margin-left: 15px;
 transition: all 0.3s ease;
}
.hero-header .btn-doctor:hover {
 background-color: #f0f0f0;
 text-decoration: none;
}

.hero-header .navbar-toggler {
 border-color: rgba(255, 255, 255, 0.5);
}
.hero-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-content-area {
    z-index: 1;
    flex-grow: 1; /* Allows this area to take up vertical space */
    display: flex;
    align-items: center; /* Center content vertically */
    padding-top: 40px; /* Space below header */
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
}

.search-form-container {
    background-color: white;
    padding: 25px;
    padding-bottom: 50px; /* Increase bottom padding */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.search-tabs .nav-link {
    color: #00cd9d;
    border: 1px solid #00cd9d;
    margin-right: 10px;
    border-radius: 25px;
    padding: 8px 20px;
    background-color: transparent;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}
.search-tabs .nav-link.active {
    background-color: #00cd9d;
    color: white;
    border-color: #00cd9d;
}
.search-tabs .nav-link .material-icons {
 font-size: 18px;
 vertical-align: middle;
 margin-right: 5px;
}

.search-input-group .form-control {
    border-right: none;
}
.search-input-group .input-group-text {
    background-color: white;
    border: 1px solid #ced4da;
    border-left: none;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}
.search-input-group .input-group-text .material-icons {
    font-size: 20px;
    color: #6c757d;
}

.btn-search {
 background-color: #4285F4;
 border-color: #4285F4;
 padding: .375rem 1.5rem;
 font-size: 1.25rem;
 line-height: 1.5;
 border-radius: .3rem;
 color: white;
 display: inline-flex;
 align-items: center;
 justify-content: center;
}
.btn-search .material-icons {
 font-size: 24px;
 margin-right: 5px;
}
.btn-search:hover {
 background-color: #3367d6;
 border-color: #3367d6;
}

.background-illustration {
 position: absolute;
 bottom: 0;
 right: 0;
 height: 100%;
 z-index: 0;
 max-height: 550px; /* Limit height */
}

/* Responsive adjustments */
@media (max-width: 991.98px) { /* Large devices (desktops, less than 1200px) */
 .hero-section {
     padding-top: 20px;
     padding-bottom: 40px;
     min-height: unset;
     text-align: center;
 }
 .hero-header {
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center items */
}
.hero-title {
 font-size: 36px;
}
.hero-subtitle {
 font-size: 18px;
}
.search-form-container {
 padding: 15px;
}
.search-tabs .nav-link {
 margin-right: 5px;
 padding: 6px 15px;
 font-size: 14px;
}
.background-illustration {
 position: relative;
 width: 100%;
 height: auto;
 max-height: 300px;
 margin-top: 30px;
}
.hero-header .navbar-toggler {
 margin-left: auto;
 margin-right: auto;
 display: block;
 order: -1; /* Place toggler above logo */
 margin-bottom: 10px;
}
.hero-header .header-nav.collapse:not(.show) {
  display: none;
}
.hero-header .header-nav.collapse.show {
    background-color: #00cd9d;
    padding: 10px;
    margin-top: 10px;
    display: flex !important; /* Override Bootstrap's display: none */
    flex-direction: column;
    width: 100%;
    align-items: center;
}
.hero-header .header-nav .navbar-nav {
 flex-direction: column;
 padding: 0;
 margin: 0;
}
.hero-header .header-nav .nav-item {
 margin-left: 0 !important;
 margin: 5px 0;
}
.hero-header .header-nav .nav-link,
.hero-header .header-nav .btn-doctor {
 padding: 8px 15px;
 margin-left: 0 !important;
}
.btn-search {
  width: 100%;
}
}
@media (min-width: 992px) {
  .hero-header .header-nav.collapse:not(.show) {
    display: flex !important;
}
.hero-header .navbar-toggler {
  display: none;
}
.hero-header .header-nav .navbar-nav {
 flex-direction: row;
 align-items: center;
 margin-left: auto;
}
.hero-header .header-nav .nav-item {
 margin-left: 20px;
 margin-top: 0;
 margin-bottom: 0;
}
.hero-header .header-nav .nav-link,
.hero-header .header-nav .btn-doctor {
   padding: .5rem 1rem;
   margin-left: 15px;
}
}
@media (max-width: 767.98px) {
  .search-input-group .input-group-append {
     width: 1%;
     white-space: nowrap;
 }
 .search-input-group .input-group-append .input-group-text {
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
 }
}

/* Add some style to the form selects */
.search-form-container .form-select {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem 2.25rem .375rem .75rem; /* Standard Bootstrap padding with arrow space */
    height: calc(1.5em + .75rem + 2px); /* Standard Bootstrap height */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); /* Custom arrow for consistency */
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.search-form-container .form-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 123, 255, .25); /* Standard Bootstrap focus shadow */
}

.search-form-container .form-select:disabled {
    background-color: #e9ecef;
    opacity: 1;
}

/* Style adjustments for form selects to resemble the image */
.search-form-container .form-select {
    /* Remove default Bootstrap arrow and background */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    background-color: #fff; /* Ensure white background */

    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .75rem 1rem; /* Increase padding to make it taller */
    height: auto; /* Auto height based on padding */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    cursor: pointer;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.search-form-container .form-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 123, 255, .25);
}

/* Add custom arrow icon */
.search-form-container .form-select {
 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
 background-repeat: no-repeat;
 background-position: right .75rem center;
 background-size: 16px 12px;
 padding-right: 2.5rem; /* Make space for the arrow */
}

/* Adjust column padding if needed to ensure alignment */
.search-form-container .col-md-5 {
 padding-right: 10px;
}
.search-form-container .col-md-5:last-child {
 padding-right: 0;
}
.search-form-container .col-md-2 {
 padding-left: 10px;
}

/* Ensure text color is dark inside Select2 input */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333; /* Set text color to a dark grey */
    line-height: calc(1.5em + .75rem) !important;
    padding-left: .75rem; /* Keep left padding */
}

/* Ensure placeholder text is also visible */
.select2-container--default .select2-selection--single .select2-selection__rendered::placeholder {
 color: #6c757d; /* Standard placeholder color */
}

/* Style for the search input inside custom select dropdown */
.custom-options .custom-select-search {
    margin: 5px; /* Add some margin around the input */
    padding: .375rem .75rem; /* Standard form control padding */
    border: 1px solid #ced4da; /* Standard border */
    border-radius: .25rem; /* Standard border radius */
    font-size: 1rem;
    line-height: 1.5;
    width: calc(100% - 10px); /* Adjust width considering margin */
    box-sizing: border-box; /* Include padding and border in element's total width */
}

.custom-options .custom-select-search:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 123, 255, .25);
}

/* Adjust padding of options to align with input */
.custom-options .custom-option {
    padding: .5rem 1rem; /* Keep existing padding */
}

/* Leaflet z-index override */
.leaflet-top, .leaflet-bottom {
    z-index: 400 !important;
}
.leaflet-control-container .leaflet-top {
    z-index: 400 !important;
}
.leaflet-control-container .leaflet-bottom {
    z-index: 400 !important;
}
body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
}
a.firma-link {
    text-decoration: none;
}
.navbar {
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .navbar-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}
.navbar .navbar-brand svg {
    fill: var(--white);
    margin-right: 8px;
}
.navbar .btn {
    border-radius: 20px;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}
.navbar .btn-outline-light {
    color: var(--primary-color);
    background: var(--white);
    border: none;
}
.navbar .btn-outline-light:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}
.navbar .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}
.navbar .btn-light:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}
.search-summary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.search-summary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,191,174,0.1) 0%, rgba(0,191,174,0) 70%);
    border-radius: 50%;
}
.search-summary h4 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
}
.search-summary .text-muted {
    color: var(--text-light) !important;
    font-size: 1.1rem;
    position: relative;
}
.filters-section {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.filters-section .filter-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}
.filters-section .filter-title .material-icons {
    margin-right: 8px;
    color: var(--primary-color);
}
.filters-section .form-check {
    margin-bottom: 12px;
    padding-left: 30px;
}
.filters-section .form-check-input {
    width: 18px;
    height: 18px;
    margin-left: -30px;
    border: 2px solid #ddd;
}
.filters-section .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.filters-section .form-check-label {
    color: var(--text-light);
    font-size: 0.95rem;
}
.firma-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    padding: 30px;
    margin-bottom: 24px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.firma-card .row {
    width: 100%;
    margin: 0;
}
.firma-card .col-12 {
    padding: 0;
}
.firma-card .col-md-2 {
    padding-right: 15px;
}
.firma-card .col-md-6 {
    padding: 0 15px;
}
.firma-card .col-md-4 {
    padding-left: 15px;
}
.firma-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.firma-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.firma-card:hover::before {
    opacity: 1;
}
.firma-card .firma-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 30px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,191,174,0.2);
    transition: transform 0.3s ease;
}
.firma-card:hover .firma-photo {
    transform: scale(1.05);
}
.firma-card .firma-info {
    flex: 1;
}
.firma-card .firma-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}
.firma-card .firma-name .material-icons {
    margin-left: 8px;
    color: var(--primary-color);
}
.firma-card .firma-branch {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}
.firma-card .firma-rating {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.firma-card .firma-rating span {
    margin-right: 5px;
}
.firma-card .firma-address {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.firma-card .firma-address .material-icons {
    margin-right: 5px;
    color: var(--primary-color);
}
.firma-card .firma-clinic {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.sort-options {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.sort-options .btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    background: var(--white);
    color: var(--text-light);
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}
.sort-options .btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.sort-options .btn.active {
    background-color: #007bff;
    color: white;
}
.map-container {
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px; /* Navbar'ın altında kalması için */
}
.map-container .leaflet-container {
    height: 100%;
    width: 100%;
    border-radius: 16px;
}
.quick-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.quick-filter {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}
.quick-filter:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.quick-filter.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
@media (max-width: 991.98px) {
    .row.flex-row-reverse {
        flex-direction: column !important;
    }
    .col-lg-3, .col-lg-9 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .col-lg-3 {
        order: 2;
    }
    .col-lg-9 {
        order: 1;
    }
    .firma-card {
        padding: 20px;
    }
    .firma-card .col-12 {
        padding: 0;
    }
    .firma-card .col-md-2,
    .firma-card .col-md-6,
    .firma-card .col-md-4 {
        padding: 0;
        margin-bottom: 15px;
    }
    .firma-card .col-md-4:last-child {
        margin-bottom: 0;
    }
}
.hours-table td {
    padding: 6px 12px !important;
    font-size: 1rem;
    border: none !important;
}
.hours-table .text-success {
    color: #28a745 !important;
    font-weight: 500;
}
.hours-table .text-danger {
    color: #dc3545 !important;
    font-weight: 500;
}
.firma-hours-minimal {
    background: #fff;
    border-radius: 10px;
    padding: 6px 32px 4px 32px;
    margin-top: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
    border: 1px solid #e3e3e3;
    display: inline-block;
    min-width: 520px;
    max-width: 100%;
}
.hours-table-minimal {
    width: auto;
    font-size: 0.93rem;
    border-collapse: separate;
    border-spacing: 0;
    background: none;
}
.hours-table-minimal td {
    padding: 3px 12px;
    border: none;
    background: none;
    color: #444;
    font-weight: 400;
    height: 28px;
}
.hours-title {
    font-size: 0.99rem;
    font-weight: 500;
    color: #2b7c8c;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}
.hours-title .material-icons {
    font-size: 1.1em;
    margin-right: 5px;
}
.footer {
    background: #f8fafb;
    border-top: 1px solid #e3e3e3;
    font-size: 1rem;
    color: #666;
}
.footer a {
    color: #35a4b9;
    text-decoration: none;
    transition: color 0.2s;
}
.footer a:hover {
    color: #2b7c8c;
}
.footer .material-icons {
    vertical-align: middle;
    font-size: 1.3em;
}
.navbar.hero-header {
    background: linear-gradient(90deg, #3b82f6 60%, #2563eb 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
}
.navbar .navbar-brand svg {
    fill: #fff;
}
.navbar .btn {
    border-radius: 20px;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}
.navbar .btn-outline-light {
    color: #3b82f6;
    background: #fff;
    border: none;
}
.navbar .btn-outline-light:hover {
    background: #e0f7fa;
    color: #2563eb;
}
.navbar .btn-light {
    background: #fff;
    color: #3b82f6;
    border: none;
}
.navbar .btn-light:hover {
    background: #e0f7fa;
    color: #2563eb;
}
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.input-group.input-group-lg {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eaeaea;
}

.input-group.input-group-lg .form-select {
    border: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    color: #333;
    background-color: transparent;
    border-right: 1px solid #eaeaea;
    height: 38px;
}

.input-group.input-group-lg .form-select:focus {
    box-shadow: none;
    border-color: #eaeaea;
}

.input-group.input-group-lg .form-select option {
    padding: 8px;
}

.input-group.input-group-lg .btn {
    background: #fff;
    border: none;
    padding: 8px 16px;
    color: #666;
    transition: all 0.2s ease;
    height: 38px;
    display: flex;
    align-items: center;
}

.input-group.input-group-lg .btn:hover {
    background: #f8f9fa;
    color: #333;
}

.input-group.input-group-lg .btn .material-icons {
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .input-group.input-group-lg {
        flex-direction: column;
        gap: 6px;
    }

    .input-group.input-group-lg .form-select,
    .input-group.input-group-lg .btn {
        width: 100%;
        border-radius: 6px !important;
    }

    .input-group.input-group-lg .form-select {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
}
.verified-icon {
    color: #00bfae;
    font-size: 1.2rem;
    vertical-align: middle;
    margin-left: 4px;
    cursor: help;
}
.leaflet-bottom.leaflet-right {
    visibility: hidden;
}

.firma-header {
    position: relative;
    height: 260px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    overflow: hidden;
    margin-bottom: 60px;
}

.firma-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.firma-profile {
    position: absolute;
    bottom: -50px;
    left: 20px;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    background: #fff;
    z-index: 2;
}

.firma-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
}

.firma-info-overlay h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.firma-info-overlay .rating {
    color: #ffd700;
    font-size: 1.1rem;
}

.firma-info-overlay .verified-icon {
    color: var(--primary-color);
    font-size: 20px;
    vertical-align: middle;
    margin-left: 6px;
}

.firma-content {
    margin-top: 60px;
    padding: 0 15px;
}

.firma-info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.firma-info-card h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    background: var(--light-gray);
}

.contact-info .material-icons {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-info span, .contact-info a {
    font-size: 0.9rem;
}

.firma-map {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.rating {
    color: #f47001;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating .text-muted {
    font-size: 0.85rem;
    margin-left: 6px;
}

.navbar {
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    color: #fff;
}

.navbar-brand {
    font-size: 1.3rem !important;
}

.navbar .btn-light {
    padding: 6px 12px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .firma-header {
        height: 300px;
        margin-bottom: 80px;
    }

    .firma-profile {
        bottom: 10px;
        left: 40px;
        width: 160px;
        height: 160px;
        border-radius: 100%;
        border: 4px solid #fff;
    }

    .firma-info-overlay {
        bottom: 30px;
        left: 240px;
        right: 40px;
    }

    .firma-info-overlay h1 {
        font-size: 2.2rem;
    }

    .firma-content {
        margin-top: -40px;
        padding: 0 20px;
    }

    .firma-info-card h1 {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 767px) {
    .firma-header {
        height: 220px;
        position: relative;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .firma-header img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: brightness(0.6);
    }
    .firma-header::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
        z-index: 1;
    }
    .firma-profile {
        position: absolute;
        left: 50%;
        bottom: 100px;
        transform: translateX(-50%);
        width: 96px;
        height: 96px;
        border-radius: 50%;
        border: 4px solid #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.18);
        overflow: hidden;
        z-index: 3;
        background: #fff;
    }
    .firma-profile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .firma-info-overlay {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 16px;
        z-index: 2;
        text-align: center;
        color: #fff;
        padding: 0 10px;
    }
    .firma-info-overlay h1 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 6px;
        margin-top: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .firma-info-overlay .verified-icon {
        font-size: 1.3rem;
        margin-left: 0;
    }
    .firma-info-overlay .rating {
        font-size: 1.1rem;
        margin-bottom: 0;
        color: #ffd700;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .firma-info-overlay .text-white {
        font-size: 0.95rem;
        margin-left: 8px;
    }
}

.yorum-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 18px 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.yorum-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.yorum-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c4b4 60%, #f47001 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.yorum-body {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}
.yorum-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.yorum-isim {
    font-weight: 600;
    color: #222;
    font-size: 1.08em;
    word-break: break-word;
}
.yorum-puan {
    color: #f47001;
    font-size: 1.1em;
    letter-spacing: 1px;
}
.yorum-tarih {
    color: #888;
    font-size: 0.97em;
    margin-left: auto;
    white-space: nowrap;
}
.yorum-metin {
    color: #333;
    font-size: 1.04em;
    line-height: 1.5;
    word-break: break-word;
}
@media (max-width: 767px) {
    .yorum-card { 
        padding: 12px 8px; 
        gap: 10px; 
        flex-direction: row;
    }
    .yorum-avatar { 
        width: 38px; 
        height: 38px; 
        font-size: 1.1rem; 
    }
    .yorum-header { flex-direction: column; align-items: flex-start; gap: 2px; }
    .yorum-tarih { margin-left: 0; }
}
.yorum-siralama {
    margin-bottom: 16px;
    text-align: right;
}

@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky;
        top: 90px;
        z-index: 10;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 16px;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}
a.btton.tel {
    background: #0b5ccd;
    padding: 10px;
    width: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    border-radius: 8px;
    text-align: center;
}
a.btton.wp {
    background: #28a745;
    padding: 10px;
    width: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    border-radius: 8px;
    margin: 9px;
    text-align: center;
}

.gallerySwiper { width: 100%; padding-bottom: 30px; }
.swiper-slide { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; overflow: hidden; position: relative; }
.gallery-img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; cursor: pointer; transition: transform 0.3s; }
.gallery-img:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.gallery-caption { padding: 10px 8px; font-size: 0.98rem; color: #333; text-align: center; background: #f8f9fa; width: 100%; }
.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 12px; margin-bottom: 12px; }
.lightbox-caption { color: #fff; font-size: 1.1rem; text-align: center; }
.lightbox-close { position: absolute; top: -32px; right: 0; color: #fff; font-size: 2.5rem; cursor: pointer; }
.lightbox-nav { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.lightbox-arrow { background: #222; color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 1.5rem; cursor: pointer; }
#lightbox-index { color: #fff; font-size: 1.1rem; }
@media (max-width: 576px) { .gallery-img { height: 140px; } }

/* Firma Rating Styles */
.firma-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.firma-rating .rating-stars {
    color: #f47001;
    font-size: 1.3rem;
}

.firma-rating .rating-value {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
}

.firma-rating .rating-count {
    color: #fff;
    font-size: 0.98rem;
}

.firma-rating .view-count {
    margin-left: 15px;
    color: #666;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.firma-rating .view-count .material-icons {
    color: #666;
    font-size: 16px;
}