html {
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
}

.pd-wrapper {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

.pd-wrapper * {
    max-width: 100%;
}

.leaflet-container {
    max-width: 100% !important;
    overflow: hidden !important;
}

.leaflet-pane,
.leaflet-map-pane,
.leaflet-tile-pane {
    max-width: 100% !important;
}

.leaflet-control-container {
    max-width: 100% !important;
}

.pd-nearby-map,
.pd-map-container {
    overflow: hidden !important;
    max-width: 100% !important;
}

#nearbyMap,
#locationMap {
    max-width: 100% !important;
    overflow: hidden !important;
}

.custom-marker {
    overflow: visible !important;
}

.custom-marker > div {
    transform: translateX(-50%);
}

.leaflet-popup {
    max-width: 280px !important;
}

.leaflet-popup-content-wrapper {
    max-width: 280px !important;
    overflow: hidden !important;
}

.leaflet-popup-content {
    max-width: 250px !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
}

.pd-nearby-content {
    overflow: hidden !important;
    max-width: 100% !important;
}

.pd-nearby-section {
    overflow: hidden !important;
    max-width: 100% !important;
}

.pd-hero-gallery {
    overflow: hidden !important;
    max-width: 100% !important;
}

.pd-gallery-grid {
    overflow: hidden !important;
    max-width: 100% !important;
}

:root {
    --pd-primary: #1a365d;
    --pd-primary-light: #2c5282;
    --pd-secondary: #0d9488;
    --pd-secondary-light: #14b8a6;
    --pd-accent: #f59e0b;
    --pd-success: #10b981;
    --pd-success-light: #d1fae5;
    --pd-warning: #f59e0b;
    --pd-danger: #ef4444;
    --pd-dark: #1e293b;
    --pd-gray-50: #f8fafc;
    --pd-gray-100: #f1f5f9;
    --pd-gray-200: #e2e8f0;
    --pd-gray-300: #cbd5e1;
    --pd-gray-400: #94a3b8;
    --pd-gray-500: #64748b;
    --pd-gray-600: #475569;
    --pd-gray-700: #334155;
    --pd-gray-800: #1e293b;
    --pd-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --pd-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --pd-shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --pd-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --pd-shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --pd-radius: 16px;
    --pd-radius-lg: 24px;
    --pd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

.pd-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--pd-gray-50);
    color: var(--pd-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.pd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2px;
}

.pd-hero-gallery {
    position: relative;
    background: #000;
    overflow: hidden;
}

.pd-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 240px);
    gap: 4px;
    max-height: 484px;
}

.pd-gallery-main {
    grid-row: span 2;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pd-gallery-main:hover img {
    transform: scale(1.03);
}

.pd-gallery-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.pd-gallery-side {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.pd-gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pd-gallery-side:hover img {
    transform: scale(1.05);
}

.pd-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--pd-transition);
    backdrop-filter: blur(2px);
}

.pd-gallery-overlay:hover {
    background: rgba(0,0,0,0.75);
}

.pd-gallery-overlay i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.pd-gallery-overlay span {
    font-size: 1.1rem;
    font-weight: 700;
}

.pd-gallery-actions {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.pd-gallery-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-dark);
    cursor: pointer;
    transition: var(--pd-transition);
    box-shadow: var(--pd-shadow-lg);
    backdrop-filter: blur(10px);
}

.pd-gallery-btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: var(--pd-shadow-xl);
}

.pd-gallery-btn i {
    font-size: 18px;
    color: var(--pd-secondary);
}

.pd-breadcrumb-section {
    background: white;
    border-bottom: 1px solid var(--pd-gray-200);
    padding: 16px 0;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: var(--pd-gray-500);
    list-style: none;
    margin: 0;
    padding: 0;
}

.pd-breadcrumb a {
    color: var(--pd-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--pd-transition);
}

.pd-breadcrumb a:hover {
    color: var(--pd-primary);
}

.pd-breadcrumb i.fa-chevron-right {
    font-size: 10px;
    color: var(--pd-gray-400);
}

.pd-content-section {
    padding: 32px 0 60px;
}

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2px;
    align-items: start;
}

.pd-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pd-card {
    background: white;
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow);
    overflow: hidden;
    border: 1px solid var(--pd-gray-100);
    transition: var(--pd-transition);
}

.pd-card:hover {
    box-shadow: var(--pd-shadow-md);
}

.pd-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 2px solid var(--pd-gray-100);
    background: linear-gradient(135deg, var(--pd-gray-50), white);
}

.pd-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--pd-secondary), var(--pd-secondary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.pd-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--pd-dark);
    margin: 0;
}

.pd-card-body {
    padding: 28px;
}

.pd-header-card .pd-card-body {
    padding: 0;
}

.pd-header-top {
    display: flex;
    gap: 28px;
    padding: 28px;
    border-bottom: 1px solid var(--pd-gray-100);
}

.pd-firma-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.pd-firma-logo {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    overflow: hidden;
    border: 3px solid var(--pd-gray-100);
}

.pd-firma-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    padding: 5px;
}

.pd-firma-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-firma-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pd-secondary);
}

.pd-firma-label {
    font-size: 0.9rem;
    color: var(--pd-gray-500);
}

.pd-title-section {
    flex: 1;
}

.pd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.pd-badge-primary {
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-primary-light));
    color: white;
}

.pd-badge-success {
    background: var(--pd-success-light);
    color: var(--pd-success);
}

.pd-badge-warning {
    background: #fef3c7;
    color: #d97706;
}

.pd-badge-featured {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
}

.pd-project-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pd-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.pd-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pd-gray-500);
    font-size: 1.1rem;
    font-weight: 500;
}

.pd-location i {
    color: var(--pd-secondary);
}

.pd-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pd-price-box {
    padding: 28px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-right: 1px solid var(--pd-gray-100);
}

.pd-price-label {
    font-size: 14px;
    color: #047857;
    margin-bottom: 6px;
    font-weight: 600;
}

.pd-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #065f46;
    line-height: 1.2;
}

.pd-price-suffix {
    font-size: 15px;
    font-weight: 600;
}

.pd-price-range {
    font-size: 14px;
    color: #059669;
    margin-top: 8px;
}

.pd-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.pd-stat-item {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--pd-gray-100);
    border-right: 1px solid var(--pd-gray-100);
    transition: var(--pd-transition);
}

.pd-stat-item:hover {
    background: var(--pd-gray-50);
}

.pd-stat-item:nth-child(2n) {
    border-right: none;
}

.pd-stat-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.pd-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pd-dark);
}

.pd-stat-label {
    font-size: 13px;
    color: var(--pd-gray-500);
    margin-top: 4px;
    font-weight: 500;
}

.pd-delivery-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-top: 1px solid var(--pd-gray-100);
}

.pd-delivery-icon {
    width: 52px;
    height: 52px;
    background: var(--pd-warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.pd-delivery-text {
    flex: 1;
}

.pd-delivery-label {
    font-size: 13px;
    color: #92400e;
    font-weight: 500;
}

.pd-delivery-date {
    font-size: 1.15rem;
    font-weight: 700;
    color: #78350f;
}

.pd-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--pd-gray-700);
}

.pd-description p {
    margin-bottom: 18px;
}

.pd-description p:last-child {
    margin-bottom: 0;
}

.pd-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 24px;
    background: var(--pd-gray-100);
    border: 2px solid var(--pd-gray-200);
    border-radius: 30px;
    color: var(--pd-secondary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pd-transition);
}

.pd-read-more:hover {
    background: var(--pd-secondary);
    color: white;
    border-color: var(--pd-secondary);
}

.pd-daire-tabs {
    display: flex;
    gap: 8px;
    padding: 0 28px 20px;
    overflow-x: auto;
    border-bottom: 2px solid var(--pd-gray-100);
    background: var(--pd-gray-50);
}

.pd-daire-tab {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-gray-500);
    background: white;
    border: 2px solid var(--pd-gray-200);
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--pd-transition);
}

.pd-daire-tab:hover {
    border-color: var(--pd-secondary);
    color: var(--pd-secondary);
}

.pd-daire-tab.active {
    background: var(--pd-secondary);
    color: white;
    border-color: var(--pd-secondary);
}

.pd-daire-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
}

.pd-daire-card {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, var(--pd-gray-50), white);
    border: 2px solid var(--pd-gray-200);
    border-radius: var(--pd-radius);
    transition: var(--pd-transition);
    align-items: center;
}

.pd-daire-card:hover {
    border-color: var(--pd-secondary);
    box-shadow: var(--pd-shadow-md);
    transform: translateY(-2px);
}

.pd-daire-image {
    width: 160px;
    height: 120px;
    background: white;
    border: 2px solid var(--pd-gray-200);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.pd-daire-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-daire-image .pd-zoom-icon {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    opacity: 0;
    transition: var(--pd-transition);
}

.pd-daire-image:hover .pd-zoom-icon {
    opacity: 1;
}

.pd-daire-placeholder {
    text-align: center;
    color: var(--pd-gray-400);
}

.pd-daire-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 6px;
}

.pd-daire-placeholder span {
    font-size: 12px;
    display: block;
    font-weight: 600;
}

.pd-daire-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--pd-dark);
    margin: 0 0 12px 0;
}

.pd-daire-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.pd-daire-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--pd-gray-600);
    font-weight: 500;
}

.pd-daire-spec i {
    color: var(--pd-secondary);
    width: 20px;
    text-align: center;
}

.pd-daire-price-section {
    text-align: right;
    min-width: 180px;
}

.pd-daire-price-label {
    font-size: 13px;
    color: var(--pd-gray-500);
    margin-bottom: 4px;
    font-weight: 500;
}

.pd-daire-price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pd-success);
}

.pd-daire-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 14px;
    background: var(--pd-success-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-success);
}

.pd-daire-stock.limited {
    background: #fef2f2;
    color: var(--pd-danger);
}

.pd-daire-stock.soldout {
    background: var(--pd-gray-100);
    color: var(--pd-gray-500);
}

.pd-daire-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 20px;
    background: var(--pd-secondary);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pd-transition);
}

.pd-daire-btn:hover {
    background: var(--pd-primary);
    transform: translateY(-2px);
}

.pd-features-category {
    margin-bottom: 28px;
}

.pd-features-category:last-child {
    margin-bottom: 0;
}

.pd-features-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pd-dark);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--pd-gray-100);
}

.pd-features-category-title i {
    width: 40px;
    height: 40px;
    background: var(--pd-gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-secondary);
    font-size: 16px;
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--pd-gray-50);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--pd-dark);
    transition: var(--pd-transition);
}

.pd-feature-item:hover {
    background: var(--pd-success-light);
}

.pd-feature-item i {
    color: var(--pd-success);
    font-size: 18px;
}

.pd-nearby-section {
    background: white;
    border-radius: var(--pd-radius-lg);
    overflow: hidden;
    box-shadow: var(--pd-shadow);
    border: 1px solid var(--pd-gray-100);
}

.pd-nearby-tabs {
    display: flex;
    gap: 0;
    background: var(--pd-gray-50);
    border-bottom: 2px solid var(--pd-gray-100);
    overflow-x: auto;
}

.pd-nearby-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-gray-500);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--pd-transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.pd-nearby-tab:hover {
    color: var(--pd-secondary);
    background: rgba(13, 148, 136, 0.05);
}

.pd-nearby-tab.active {
    color: var(--pd-secondary);
    background: white;
    border-bottom-color: var(--pd-secondary);
}

.pd-nearby-tab i {
    font-size: 18px;
}

.pd-nearby-tab .pd-tab-count {
    background: var(--pd-gray-200);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pd-gray-600);
}

.pd-nearby-tab.active .pd-tab-count {
    background: var(--pd-secondary);
    color: white;
}

.pd-nearby-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.pd-nearby-content:has(.pd-nearby-list-container:only-child) {
    grid-template-columns: 1fr;
}

.pd-nearby-map {
    position: relative;
    background: var(--pd-gray-100);
}

#nearbyMap {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.pd-nearby-list-container {
    border-left: 2px solid var(--pd-gray-100);
    max-height: 450px;
    overflow-y: auto;
}

.pd-nearby-list-container.full-width {
    border-left: none;
    max-height: none;
}

.pd-nearby-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-nearby-list-container.full-width .pd-nearby-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.pd-nearby-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--pd-gray-50);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--pd-transition);
    border: 2px solid transparent;
}

.pd-nearby-item:hover {
    background: #e0f2fe;
    border-color: #0ea5e9;
    transform: translateX(4px);
}

.pd-nearby-item.active {
    background: #dbeafe;
    border-color: var(--pd-secondary);
}

.pd-nearby-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.pd-nearby-icon.ulasim { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.pd-nearby-icon.alisveris { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pd-nearby-icon.egitim { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.pd-nearby-icon.saglik { background: linear-gradient(135deg, #ef4444, #dc2626); }
.pd-nearby-icon.sosyal { background: linear-gradient(135deg, #10b981, #059669); }

.pd-nearby-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-dark);
    margin: 0 0 4px 0;
}

.pd-nearby-info span {
    font-size: 13px;
    color: var(--pd-gray-500);
}

.pd-nearby-distance {
    text-align: right;
}

.pd-nearby-km {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pd-secondary);
}

.pd-nearby-time {
    font-size: 12px;
    color: var(--pd-gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    margin-top: 2px;
}

.pd-map-marker {
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 3px solid var(--pd-secondary);
}

.pd-map-marker.project {
    background: var(--pd-secondary);
    border-color: white;
}

.pd-map-marker i {
    font-size: 18px;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: var(--pd-shadow-lg) !important;
}

.leaflet-popup-content {
    margin: 14px 16px !important;
    font-family: 'Inter', sans-serif !important;
}

.pd-popup-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-dark);
    margin-bottom: 4px;
}

.pd-popup-type {
    font-size: 13px;
    color: var(--pd-gray-500);
    margin-bottom: 8px;
}

.pd-popup-distance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--pd-secondary);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pd-map-container {
    height: 400px;
    border-radius: var(--pd-radius);
    overflow: hidden;
    border: 2px solid var(--pd-gray-200);
}

.pd-map-container iframe,
.pd-map-container #locationMap {
    width: 100%;
    height: 100%;
    border: none;
}

.pd-map-actions {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.pd-map-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--pd-gray-100);
    border: 2px solid var(--pd-gray-200);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-dark);
    cursor: pointer;
    transition: var(--pd-transition);
    text-decoration: none;
}

.pd-map-action:hover {
    background: var(--pd-secondary);
    color: white;
    border-color: var(--pd-secondary);
}

.pd-map-action i {
    font-size: 18px;
}
.pd-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--pd-radius);
}

.pd-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.pd-gallery-categories {
    display: flex;
    gap: 10px;
    padding: 0 28px 20px;
    overflow-x: auto;
    border-bottom: 2px solid var(--pd-gray-100);
}

.pd-gallery-cat {
    padding: 12px 22px;
    background: var(--pd-gray-100);
    border: 2px solid var(--pd-gray-200);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pd-gray-600);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--pd-transition);
}

.pd-gallery-cat:hover,
.pd-gallery-cat.active {
    background: var(--pd-secondary);
    color: white;
    border-color: var(--pd-secondary);
}

.pd-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.pd-gallery-thumb {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--pd-gray-200);
    transition: var(--pd-transition);
}

.pd-gallery-thumb:hover {
    border-color: var(--pd-secondary);
    transform: scale(1.02);
}

.pd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pd-gallery-thumb:hover img {
    transform: scale(1.08);
}

.pd-gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    opacity: 0;
    transition: var(--pd-transition);
}

.pd-gallery-thumb:hover .pd-gallery-thumb-overlay {
    opacity: 1;
}

.pd-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pd-contact-card {
    background: white;
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow-md);
    overflow: hidden;
    border: 1px solid var(--pd-gray-100);
}

.pd-contact-header {
    padding: 28px;
    text-align: center;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-primary-light));
    color: white;
}

.pd-contact-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    background: rgba(255,255,255,0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pd-contact-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    padding: 5px;
}

.pd-contact-firma {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pd-contact-proje {
    font-size: 14px;
    opacity: 0.9;
}

.pd-contact-body {
    padding: 24px;
}

.pd-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pd-transition);
    text-decoration: none;
    border: none;
}

.pd-btn-phone {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.pd-btn-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.pd-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.pd-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.pd-btn-message {
    background: linear-gradient(135deg, var(--pd-secondary), var(--pd-secondary-light));
    color: white;
}

.pd-btn-message:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.pd-btn-secondary {
    background: var(--pd-gray-100);
    color: var(--pd-dark);
    border: 2px solid var(--pd-gray-200);
}

.pd-btn-secondary:hover {
    background: white;
    border-color: var(--pd-secondary);
    color: var(--pd-secondary);
}

.pd-contact-btn i {
    font-size: 20px;
}

.pd-call-request {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid var(--pd-gray-100);
}

.pd-call-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #fcd34d;
    border-radius: 14px;
    color: #92400e;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pd-transition);
}

.pd-call-btn:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
}

.pd-actions-card {
    background: white;
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow);
    padding: 24px;
    border: 1px solid var(--pd-gray-100);
}

.pd-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.pd-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 14px;
    background: var(--pd-gray-50);
    border: 2px solid var(--pd-gray-200);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-gray-600);
    cursor: pointer;
    transition: var(--pd-transition);
}

.pd-action-btn i {
    font-size: 24px;
    color: var(--pd-secondary);
}

.pd-action-btn:hover {
    background: white;
    border-color: var(--pd-secondary);
    color: var(--pd-secondary);
}

.pd-action-btn.active {
    background: #fce7f3;
    border-color: #ec4899;
    color: #ec4899;
}

.pd-action-btn.active i {
    color: #ec4899;
}

.pd-share-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pd-gray-500);
    text-align: center;
    margin: 20px 0 14px;
}

.pd-share-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pd-share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--pd-transition);
    border: none;
    text-decoration: none;
}

.pd-share-btn:hover {
    transform: scale(1.15);
}

.pd-share-btn.facebook { background: #1877f2; }
.pd-share-btn.twitter { background: #000; }
.pd-share-btn.whatsapp { background: #25d366; }
.pd-share-btn.telegram { background: #0088cc; }
.pd-share-btn.copy { background: var(--pd-gray-500); }

.pd-brosur-card {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: var(--pd-radius-lg);
    padding: 28px;
    text-align: center;
    border: 2px solid #93c5fd;
}

.pd-brosur-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--pd-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.pd-brosur-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pd-dark);
    margin-bottom: 6px;
}

.pd-brosur-desc {
    font-size: 14px;
    color: var(--pd-gray-600);
    margin-bottom: 18px;
}

.pd-brosur-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--pd-primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pd-transition);
    text-decoration: none;
}

.pd-brosur-btn:hover {
    background: var(--pd-primary-light);
    transform: translateY(-2px);
}

.pd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.pd-lightbox.active {
    display: flex;
}

.pd-lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow: hidden;
}

.pd-lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    background: rgba(0,0,0,0.6);
    flex-shrink: 0;
}

.pd-lightbox-title {
    color: white;
    font-size: 17px;
    font-weight: 700;
}

.pd-lightbox-counter {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-weight: 600;
}

.pd-lightbox-close {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 26px;
    cursor: pointer;
    transition: var(--pd-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.pd-lightbox-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px;
    min-height: 0;
    overflow: hidden;
}

.pd-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    color: var(--pd-dark);
    font-size: 22px;
    cursor: pointer;
    transition: var(--pd-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--pd-shadow-lg);
}

.pd-lightbox-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.pd-lightbox-nav.prev { left: 28px; }
.pd-lightbox-nav.next { right: 28px; }

.pd-lightbox-thumbs {
    display: flex;
    gap: 10px;
    padding: 18px 28px;
    background: rgba(0,0,0,0.6);
    overflow-x: auto;
    justify-content: center;
    flex-shrink: 0;
}

.pd-lightbox-thumb {
    width: 90px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--pd-transition);
    flex-shrink: 0;
    border: 3px solid transparent;
}

.pd-lightbox-thumb:hover,
.pd-lightbox-thumb.active {
    opacity: 1;
    border-color: white;
}

.pd-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.pd-modal.active {
    display: flex;
}

.pd-modal-content {
    background: white;
    border-radius: var(--pd-radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pd-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 2px solid var(--pd-gray-100);
}

.pd-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pd-dark);
}

.pd-modal-header h3 i {
    color: var(--pd-secondary);
}

.pd-modal-close {
    width: 44px;
    height: 44px;
    background: var(--pd-gray-100);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    color: var(--pd-gray-500);
    cursor: pointer;
    transition: var(--pd-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-modal-close:hover {
    background: var(--pd-danger);
    color: white;
}

.pd-modal-body {
    padding: 28px;
}

.pd-form-group {
    margin-bottom: 22px;
}

.pd-form-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-dark);
    margin-bottom: 10px;
}

.pd-form-group label .required {
    color: var(--pd-danger);
}

.pd-form-control {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--pd-gray-200);
    border-radius: 14px;
    transition: var(--pd-transition);
    font-family: inherit;
}

.pd-form-control:focus {
    outline: none;
    border-color: var(--pd-secondary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.pd-form-control::placeholder {
    color: var(--pd-gray-400);
}

textarea.pd-form-control {
    resize: vertical;
    min-height: 130px;
}

.pd-form-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--pd-secondary), var(--pd-secondary-light));
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--pd-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pd-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.pd-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pd-dark);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    z-index: 99999;
    box-shadow: var(--pd-shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.4s ease;
}

.pd-toast i {
    color: var(--pd-success);
    font-size: 20px;
}

.pd-toast.error i {
    color: var(--pd-danger);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
}

@media (max-width: 1200px) {
    .pd-layout {
        grid-template-columns: 1fr 360px;
        gap: 24px;
    }
    
    .pd-nearby-content {
        grid-template-columns: 1fr;
    }
    
    .pd-nearby-map {
        min-height: 350px;
    }
    
    .pd-nearby-list-container {
        border-left: none;
        border-top: 2px solid var(--pd-gray-100);
        max-height: 300px;
    }
    
    .pd-nearby-list-container.full-width {
        border-top: none;
        max-height: none;
    }
}

@media (max-width: 1024px) {
    .pd-layout {
        grid-template-columns: 1fr;
    }
    
    .pd-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pd-contact-card {
        grid-column: span 2;
    }
    
    .pd-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 320px;
    }
    
    .pd-gallery-side {
        display: none;
    }
    
    .pd-gallery-main {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .pd-wrapper,
    .pd-container,
    .pd-layout,
    .pd-main {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .pd-nearby-section,
    .pd-nearby-content,
    .pd-nearby-map {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #nearbyMap,
    #locationMap {
        max-width: 100% !important;
        width: 100% !important;
        min-height: 280px !important;
    }

    .leaflet-container {
        max-width: 100% !important;
        width: 100% !important;
        touch-action: pan-x pan-y;
    }

    .leaflet-popup {
        max-width: 250px !important;
        left: 10px !important;
        right: 10px !important;
    }

    .leaflet-popup-content-wrapper {
        max-width: 230px !important;
    }

    .leaflet-popup-content {
        max-width: 210px !important;
        font-size: 13px !important;
    }

    .leaflet-control-zoom {
        margin-right: 5px !important;
    }

    .custom-marker > div {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }

    .pd-nearby-tabs {
        overflow-x: auto !important;
        max-width: 100% !important;
        -webkit-overflow-scrolling: touch;
    }

    .pd-card {
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .pd-map-container {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .pd-map-actions {
        flex-wrap: wrap;
    }

    .pd-map-action {
        flex: 1 1 100%;
        justify-content: center;
    }
    
    .pd-container {
        padding: 0 16px;
    }
    
    .pd-header-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .pd-project-title {
        font-size: 1.5rem;
    }
    
    .pd-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pd-price-box {
        border-right: none;
        border-bottom: 1px solid var(--pd-gray-100);
    }
    
    .pd-daire-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pd-daire-image {
        margin: 0 auto;
    }
    
    .pd-daire-price-section {
        text-align: center;
    }
    
    .pd-nearby-tabs {
        padding: 0 16px;
    }
    
    .pd-nearby-tab {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .pd-nearby-tab span:not(.pd-tab-count) {
        display: none;
    }
    
    .pd-sidebar {
        grid-template-columns: 1fr;
    }
    
    .pd-contact-card {
        grid-column: span 1;
    }
    
    .pd-lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .pd-lightbox-nav.prev { left: 12px; }
    .pd-lightbox-nav.next { right: 12px; }
    
    .pd-lightbox-thumbs {
        padding: 14px;
        justify-content: flex-start;
    }
    
    .pd-lightbox-thumb {
        width: 70px;
        height: 50px;
    }
    
    .pd-gallery-actions {
        bottom: 16px;
        right: 16px;
        flex-direction: column;
        gap: 10px;
    }
    
    .pd-gallery-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .pd-card-body {
        padding: 20px;
    }
    
    .pd-features-grid {
        grid-template-columns: 1fr;
    }
    
    .pd-map-actions {
        flex-direction: column;
    }
}

#nearbyMap,
#locationMap {
    min-height: 220px !important;
    max-width: 100% !important;
}

.leaflet-popup {
    max-width: 200px !important;
}

.leaflet-popup-content {
    max-width: 170px !important;
    font-size: 12px !important;
}

.pd-nearby-item {
    padding: 12px !important;
}

.pd-nearby-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
}

@media (max-width: 480px) {
    .pd-project-title {
        font-size: 1.3rem;
    }
    
    .pd-price-value {
        font-size: 1.5rem;
    }
    
    .pd-stat-value {
        font-size: 1.4rem;
    }
    
    .pd-daire-card {
        padding: 18px;
    }
    
    .pd-daire-info h3 {
        font-size: 1.2rem;
    }
    
    .pd-nearby-item {
        grid-template-columns: 44px 1fr;
    }
    
    .pd-nearby-distance {
        display: none;
    }
    
    .pd-actions-grid {
        grid-template-columns: 1fr;
    }
}
</style>