/* cleared: premium styles removed per user request */

/* Ana Container */
.yer-form-wrapper {
    background: #ffffff;
    min-height: 100vh;
    padding: 20px 0;
}

.yer-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
}

.form-header {
    background: #ffffff;
    color: #333;
    padding: 30px 0;
    text-align: center;
}

.form-header::before {
    display: none;
}

.form-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(74, 144, 164, 0.1);
}

.form-subtitle {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    color: #4A90A4;
}

/* Form Content */
.form-content {
    padding: 40px 0;
    background: #ffffff;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-control.error {
    background: #ffe6e6;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Özel Input Stilleri */
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    appearance: none;
    cursor: pointer;
}

/* Checkbox ve Radio Stilleri */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #4A90A4;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 500;
}

/* Harita Stil */
.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#yer-map {
    height: 350px;
    width: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

/* File Upload */
.file-upload-area {
    border: 2px dashed #4A90A4;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #3E7A8A;
    background: #f8fbfc;
}

.file-upload-area.dragover {
    border-color: #5BA5BB;
    background: #f0f8fa;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 48px;
    color: #4A90A4;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.upload-hint {
    color: #666;
    font-size: 14px;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
    background: linear-gradient(135deg, #3E7A8A, #4F9AAF);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Help Text */
.help-text {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
}

.help-text.info {
    color: #17a2b8;
}

.help-text.warning {
    color: #fd7e14;
}

/* Success/Error Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yer-form-container {
        margin: 10px;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .form-content {
        padding: 25px 20px;
    }
    
    #yer-map {
        height: 250px;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Radio Button Group - Yer Türü */
.payment-type-group {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-option-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.radio-option-label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.radio-option-label:hover {
    border-color: #4A90A4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.2);
}

.radio-option input[type="radio"]:checked + .radio-option-label {
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    border-color: #4A90A4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.3);
}

.radio-option input[type="radio"]:checked + .radio-option-label:before {
    opacity: 1;
}

.radio-option-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Info badges (Ücretli / Ücretsiz) */
.info-badges {
    margin-top: 8px;
}
.ucret-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    line-height: 1;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ucret-badge.free {
    background: linear-gradient(135deg, #28a745, #2ecc71);
}
.ucret-badge.paid {
    background: linear-gradient(135deg, #e67e22, #d9534f);
}

/* Header-specific badge alignment (next to the large pill button) */
.yer-header .header-badge {
    margin-left: 14px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    /* Match yer-tur-badge look */
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(74, 144, 164, 0.2);
}

.radio-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-option-label .radio-indicator {
    border-color: white;
    background: white;
}

.radio-indicator:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: #4A90A4;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-option-label .radio-indicator:after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-option-text {
    font-size: 15px;
    line-height: 1.4;
}

.radio-option-description {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 3px;
}

/* Single Yer Detail Page Styles */
.yer-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    min-height: 100vh;
}

.yer-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 2px solid #e8f4f8;
    margin-bottom: 40px;
    position: relative;
}

.yer-header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    border-radius: 2px;
}

.yer-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.yer-turler {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yer-tur-badge {
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(74, 144, 164, 0.2);
}


.yer-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.yer-main-content {
    background: #ffffff;
}

.yer-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(74, 144, 164, 0.15);
}

.yer-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.yer-featured-image:hover img {
    transform: scale(1.02);
}

.yer-description {
    padding: 0;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #2C3E50;
}

.yer-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.yer-meta-info > div {
    padding: 15px 0;
    border-bottom: 1px solid #e8f4f8;
}

.yer-meta-info > div:hover {
    transform: none;
    box-shadow: none;
}

.yer-meta-info h3 {
    color: #4A90A4;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yer-meta-info h3::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    border-radius: 50%;
    flex-shrink: 0;
}

.yer-address h3::before {
    content: '📍';
    background: none;
    font-size: 18px;
}

.yer-price-info h3::before {
    content: '💰';
    background: none;
    font-size: 18px;
}

.yer-contact h3::before {
    content: '📞';
    background: none;
    font-size: 18px;
}

.yer-hours h3::before {
    content: '🕒';
    background: none;
    font-size: 18px;
}

.yer-meta-info p {
    color: #2C3E50;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.yer-price-info p {
    font-size: 18px;
    font-weight: 600;
    color: #4A90A4;
}

.yer-map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(74, 144, 164, 0.15);
    margin-bottom: 40px;
}

.yer-sidebar {
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Yol Tarifi Widget */
.yol-tarifi-widget {
    background: #ffffff;
    border: 1px solid #e8f4f8;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.yol-tarifi-widget h3 {
    color: #4A90A4;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yol-tarifi-widget h3::before {
    content: '🗺️';
    font-size: 20px;
}

.tarif-aciklama {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tarif-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.tarif-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.3);
    text-decoration: none;
    color: white;
}

.tarif-button::before {
    content: '📍';
    font-size: 16px;
}

/* Yıldız Derecelendirme Widget */
.yildiz-widget {
    background: #ffffff;
    border: 1px solid #e8f4f8;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.yildiz-widget h3 {
    color: #4A90A4;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yildiz-widget h3::before {
    content: '⭐';
    font-size: 20px;
}

.yildiz-display {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
    font-size: 24px;
}

.yildiz-display .stars {
    color: #FFD700;
    font-size: 28px;
    letter-spacing: 2px;
}

.yildiz-display .rating-text {
    display: block;
    margin-top: 2px;
    font-size: 16px;
    font-weight: 600;
    color: #4A90A4;
}

.yildiz-aciklama {
    background: #fff9e6;
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.rating-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    text-align: center;
}

.rating-description strong {
    color: #B8860B;
    font-weight: 600;
}

.no-rating-text {
    color: #999;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    margin: 10px 0 0 0;
    font-style: italic;
}

/* Yer Galerisi */
.yer-gallery {
    margin-bottom: 40px;
}

.yer-gallery h3 {
    color: #4A90A4;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-count {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Disable hover effects */
.gallery-item:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100% !important; /* ensure full fill even if theme sets height:auto */
    object-fit: cover;
    display: block;
    transition: none;
}

/* Disable image hover scale */
.gallery-item:hover img { transform: none; }

/* Hide overlay and its content */
.gallery-overlay { display: none !important; }

/* No overlay on hover */
.gallery-item:hover .gallery-overlay { display: none !important; }

.image-author {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.image-date {
    font-size: 11px;
    opacity: 0.8;
}

/* Gallery Modal için placeholder */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .gallery-overlay {
        padding: 10px 8px 6px;
    }
    
    .image-author {
        font-size: 12px;
    }
    
    .image-date {
        font-size: 10px;
    }
}

/* Comments Section Styles */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e8f4f8;
}

.comments-title {
    color: #4A90A4;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8f4f8;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-metadata {
    text-align: right;
    font-size: 13px;
    color: #666;
}

.comment-stars {
    margin-top: 5px;
    font-size: 16px;
}

.comment-content {
    line-height: 1.6;
    color: #2C3E50;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.comment-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 15px;
    max-width: 400px;
}

.comment-image-item {
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8f4f8;
}

.comment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.comment-image:hover {
    transform: scale(1.05);
}

/* Comment Form Styles */
.comment-form {
    padding: 25px 0;
    margin-top: 30px;
    border-top: 2px solid #e8f4f8;
}

.comment-form h3 {
    color: #4A90A4;
    margin-bottom: 20px;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #4A90A4;
    box-shadow: 0 0 0 2px rgba(74, 144, 164, 0.2);
}

.star-rating-field {
    margin-bottom: 20px;
}

.star-rating-input {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.star-rating-input input[type="radio"]:checked + label {
    background: #FFD700;
    border-color: #FFD700;
    color: #B8860B;
    font-weight: 600;
}

.star-rating-input label:hover {
    background: #fff5cc;
    border-color: #FFD700;
}

.comment-form input[type="file"] {
    display: none;
}

.file-upload-container {
    margin-top: 8px;
}

.file-upload-button {
    display: inline-block;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.file-upload-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
    color: #fff !important;
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e8f4f8;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.image-remove-btn:hover {
    background: rgba(255, 0, 0, 1);
}

.upload-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.comment-form small {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* Login Required Message */

/* Comments responsive refinements */
@media (max-width: 768px) {
    .comments-title { font-size: 20px; }
    .comment-body { padding: 16px 0; }
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .comment-metadata {
        text-align: left;
        margin-top: 2px;
    }
    .comment-author img {
        width: 40px;
        height: 40px;
    }
    .comment-images {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        max-width: 100%;
    }
    .image-preview-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    .star-rating-input {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .comments-title { font-size: 18px; }
    .comment-author img {
        width: 36px;
        height: 36px;
    }
}
.login-required-message {
    background: #f8fbfc;
    border: 1px solid #4A90A4;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.login-required-message h3 {
    color: #4A90A4;
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
}

.login-required-message p {
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.6;
    font-size: 15px;
}

.login-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-btn, .register-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-btn {
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
    text-decoration: none;
    color: white;
}

.register-btn {
    background: #f8f9fa;
    color: #4A90A4;
    border: 2px solid #4A90A4;
}

.register-btn:hover {
    background: #4A90A4;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .login-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .login-btn, .register-btn {
        width: 200px;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .yer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .yer-title {
        font-size: 2rem;
    }
    
    .yer-meta-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .yer-meta-info > div {
        padding: 20px;
    }
    
    .yer-sidebar {
        position: static;
    }
    
    .yer-map {
        height: 280px;
    }
    /* Prevent map overflow on small screens */
    .map-container,
    #yer-map,
    .yer-map {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .yer-single-container,
    .yer-content-wrapper {
        box-sizing: border-box;
    }

    /* Additional safe mobile constraints to avoid any horizontal scroll */
    html, body {
        overflow-x: hidden; /* prevent stray overflow from child elements */
    }

    /* Add small horizontal padding and ensure map fits within padding */
    .yer-single-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .yer-map, #yer-map, .map-container {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Theme header container (GeneratePress) can cause overflow; clamp it */
    .site-header .inside-header,
    .inside-header.grid-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    /* Generic theme grid wrapper clamp */
    .grid-container {
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Content wrappers */
    .site-content,
    .site-content .content-area {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Navigation and footer containers */
    .inside-navigation,
    .site-footer .inside-footer,
    .inside-footer {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* WordPress alignment classes and wide blocks */
    .alignwide,
    .alignfull,
    .wp-block-image,
    .wp-block-embed,
    .wp-block-cover,
    .wp-block-gallery {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* Ensure the main page container never overflows */
    .yer-single-container,
    .yer-content-wrapper {
        overflow-x: hidden;
    }
}

@media (max-width: 400px) {
    /* Slightly smaller badges on very small screens */
    .yer-tur-badge,
    .yer-header .header-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Ensure Leaflet map never exceeds container width */
.leaflet-container {
    max-width: 100% !important;
}

/* Prevent wide media from causing horizontal scroll */
.yer-single-container img,
.yer-single-container iframe,
.yer-single-container video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 480px) {
    .yer-single-container {
        padding: 15px;
    }
    
    .yer-header {
        padding: 30px 0 20px;
    }
    
    .yer-title {
        font-size: 1.8rem;
    }
    
    .yer-description {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.8rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }
    
    .payment-type-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .radio-option {
        min-width: auto;
    }
    
    .radio-option-label {
        padding: 12px 16px;
    }
}

/* Kamp Haritası Sayfası */
.kamp-harita-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    box-sizing: border-box;
    overflow-x: hidden; /* prevent minor horizontal scroll on mobile */
}

/* Custom marker icon stilleri */
.custom-marker-icon {
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-marker-icon:hover {
    transform: scale(1.1);
    z-index: 1000 !important;
}

.custom-marker-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: filter 0.2s ease;
}

.custom-marker-icon:hover svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.harita-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 2px solid #e8f4f8;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.harita-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90A4;
    margin: 0 0 15px 0;
}

.harita-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Yer Ekle butonu (harita başlığının altında) */
.yer-ekle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 18px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(74, 144, 164, 0.25);
}
.yer-ekle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(74, 144, 164, 0.3);
}
.yer-ekle-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .yer-ekle-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.harita-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Ana Harita */
.ana-harita {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(74, 144, 164, 0.15);
    position: relative;
    width: 100%;
    max-width: 100%;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8fbfc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e8f4f8;
    border-left: 4px solid #4A90A4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sidebar */
.harita-legend, .harita-filters, .harita-stats {
    background: #ffffff;
    border: 1px solid #e8f4f8;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.harita-legend h3, .harita-filters h3 {
    color: #4A90A4;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #e8f4f8;
    padding-bottom: 8px;
}

/* Legend Items */
.legend-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.legend-icon {
    font-size: 18px;
    width: 25px;
    text-align: center;
}

.legend-text {
    font-size: 14px;
    color: #2C3E50;
    font-weight: 500;
}

.legend-item.free .legend-text {
    color: #4CAF50;
}

.legend-item.paid .legend-text {
    color: #FF8C00;
}

/* Filters */
.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.filter-reset-btn {
    background: #f8f9fa;
    color: #4A90A4;
    border: 1px solid #4A90A4;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    background: #4A90A4;
    color: white;
}

/* İstatistikler */
.harita-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8fbfc;
    border-radius: 8px;
    border-left: 4px solid #4A90A4;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #4A90A4;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Map Popup Styles */
.map-popup {
    min-width: 200px;
}

.map-popup h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.map-popup h4 a {
    color: #4A90A4;
    text-decoration: none;
}

.map-popup h4 a:hover {
    text-decoration: underline;
}

.map-popup p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.popup-meta {
    margin-bottom: 10px;
}

.popup-price {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.popup-price.free {
    background: #e8f5e8;
    color: #4CAF50;
}

.popup-price.paid {
    background: #fff3e0;
    color: #FF8C00;
}

.popup-link {
    color: #4A90A4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.popup-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .kamp-harita-container {
    padding: 15px;
    overflow-x: hidden;
    }
    
    .harita-content {
        grid-template-columns: 1fr;
        gap: 20px;
    width: 100%;
    max-width: 100%;
    }
    
    .ana-harita {
        height: 200px;
    width: 100%;
    max-width: 100%;
    }
    
    .harita-title {
        font-size: 2rem;
    }
    
    .legend-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .harita-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .kamp-harita-container {
    padding: 15px;
    overflow-x: hidden;
    }
    
    .harita-header {
        padding: 20px 0 15px;
    }
    
    .harita-title {
        font-size: 1.8rem;
    }
    
    .legend-items {
        grid-template-columns: 1fr;
    }
}

/* Yer Detay: Yol Tarifi kartı ve butonu */
.yol-tarifi-widget {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
}
.yol-tarifi-widget h3 {
    margin: 0 0 8px;
    font-weight: 700;
    color: #2b3a42;
}
.yol-tarifi-widget .tarif-aciklama {
    margin: 0 0 14px;
    color: #5b6b76;
    font-size: 14px;
    line-height: 1.5;
}
.yol-tarifi-widget .tarif-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 18px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #4A90A4, #5BA5BB);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 6px 14px rgba(74, 144, 164, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}
.yol-tarifi-widget .tarif-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(74, 144, 164, 0.3);
}
.yol-tarifi-widget .tarif-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(74, 144, 164, 0.25);
}
.yol-tarifi-widget .tarif-button::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9a2 2 0 110-4 2 2 0 010 4z'/></svg>");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .yol-tarifi-widget .tarif-button {
        padding: 11px 14px;
        font-size: 14px;
        white-space: normal;
    }
}

/* Ensure media doesn’t overflow the container */
.kamp-harita-container img,
.kamp-harita-container svg,
.kamp-harita-container canvas {
    max-width: 100%;
    height: auto;
}

/* Leaflet attribution text should wrap instead of causing overflow */
.kamp-harita-container .leaflet-control-attribution {
    max-width: calc(100% - 16px);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tüm İller listesi (sayfa altı) */
.harita-cities {
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #e8f4f8;
    border-radius: 12px;
    padding: 20px;
}
.harita-cities h3 {
    color: #4A90A4;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    border-bottom: 1px solid #e8f4f8;
    padding-bottom: 8px;
}
.city-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 14px;
}
.city-list li a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f8fbfc;
    color: #2C3E50;
    text-decoration: none;
    border: 1px solid #e8f4f8;
}
.city-list li a:hover {
    background: #eaf6fa;
}
@media (max-width: 768px) {
    .city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .city-list { grid-template-columns: 1fr; }
}