/* =========================================
   SEYAHAT HARİTASI - PROFESYONEL CSS
   ========================================= */

* { box-sizing: border-box; }

body {
    background-color: #0d1117;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
nav.navbar { display: none !important; }

/* =========================================
   HEADER - MİNİMAL
   ========================================= */
.site-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 0;
}
.header-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #58a6ff;
    font-size: 1.1rem;
    font-weight: 600;
}
.header-logo i { font-size: 1.4rem; }
.header-logo:hover { color: #79b8ff; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-user {
    color: #8b949e;
    font-size: 0.85rem;
    margin-right: 8px;
}
.header-user i { margin-right: 4px; }

.btn-header {
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s;
}
.btn-login {
    background: #238636;
    color: #fff;
    border: 1px solid #238636;
}
.btn-login:hover { background: #2ea043; color: #fff; }
.btn-register {
    background: transparent;
    color: #8b949e;
    border: 1px solid #30363d;
}
.btn-register:hover { background: #21262d; color: #c9d1d9; }
.btn-logout {
    background: transparent;
    color: #6e7681;
    border: 1px solid #30363d;
}
.btn-logout:hover { background: #21262d; color: #f85149; border-color: #f85149; }

/* =========================================
   MAP SECTION
   ========================================= */
.map-section {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.map-legend {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
    background: rgba(22, 27, 34, 0.9);
    border: 1px solid #30363d;
    border-radius: 5px;
    padding: 8px 16px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b949e;
    font-size: 0.78rem;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.map-section > svg {
    width: 100%;
    max-width: 1800px;
    height: auto;
    max-height: 78vh;
}
.map-section svg path {
    stroke: #0d1117;
    stroke-width: 0.5px;
    transition: fill 0.2s, filter 0.15s;
}
.map-section svg path:not([id="kibris"]):not([id="deniz"]) {
    fill: #21262d;
}
.city-label {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 8px;
    font-weight: 600;
    fill: #c9d1d9;
    pointer-events: none;
    text-transform: uppercase;
}

/* =========================================
   FOOTER - SADECE COPYRIGHT
   ========================================= */
.main-footer {
    background: #161b22;
    border-top: 1px solid #30363d;
    padding: 16px;
    text-align: center;
    color: #6e7681;
    font-size: 0.8rem;
}

/* =========================================
   MODAL
   ========================================= */
.modal-content.dark-theme {
    background-color: #0d1117 !important;
    border: 1px solid #30363d !important;
    border-radius: 5px !important;
}
.modal-header.dark-theme {
    background: #161b22 !important;
    border-bottom: 1px solid #30363d !important;
    border-radius: 5px 5px 0 0 !important;
    padding: 14px 20px;
}
.modal-header.dark-theme .modal-title { color: #e6edf3; font-weight: 600; }
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: #0d1117; }
.modal-body::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }

/* =========================================
   REVİEW GRID
   ========================================= */
.review-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card-modern {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}
.review-card-modern:hover { border-color: #484f58; }
.review-card-modern.pending { border-color: #9e6a03; }

.review-cover-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.review-cover {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    background: #21262d;
}
.review-cover-wrapper:hover .review-cover { opacity: 0.85; }

.review-header {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #21262d;
}
.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #21262d;
    color: #8b949e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 1px solid #30363d;
}
.review-user-info { display: flex; flex-direction: column; }
.review-username { color: #e6edf3; font-weight: 600; font-size: 0.82rem; }
.review-date { color: #6e7681; font-size: 0.68rem; }

.review-body { padding: 10px 12px; flex-grow: 1; }
.review-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.review-tag {
    background: transparent;
    color: #8b949e;
    border: 1px solid #30363d;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 0.68rem;
}
.review-tag-more { border-style: dashed; color: #6e7681; }
.review-text-modern { color: #c9d1d9; font-size: 0.82rem; line-height: 1.4; }
.read-more-btn {
    color: #58a6ff;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.78rem;
    cursor: pointer;
    margin-top: 5px;
    display: block;
}
.read-more-btn:hover { color: #79b8ff; text-decoration: underline; }

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-top: 1px solid #21262d;
    background: #0d1117;
}
.review-action {
    color: #6e7681;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.2s;
}
.review-action:hover { color: #c9d1d9; }

.comment-section {
    background: #0d1117;
    border-top: 1px solid #21262d;
    padding: 8px 12px;
}
.comment-input-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 5px 8px;
}
.comment-input {
    background: transparent;
    border: none;
    color: #c9d1d9;
    font-size: 0.78rem;
    flex-grow: 1;
    outline: none;
}
.comment-input::placeholder { color: #6e7681; }
.comment-send {
    color: #58a6ff;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.85rem;
}
.comment-send:hover { color: #79b8ff; }

/* =========================================
   FORM ELEMANLARI
   ========================================= */
.form-control-dark {
    background: #0d1117 !important;
    border: 1px solid #30363d !important;
    color: #c9d1d9 !important;
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
}
.form-control-dark:focus {
    border-color: #58a6ff !important;
    box-shadow: none !important;
}
.form-control-dark::placeholder { color: #6e7681; }

.add-form-box {
    background: transparent;
    border: 1px dashed #30363d;
    border-radius: 5px;
    padding: 20px;
}
.add-form-title {
    color: #c9d1d9;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}
.upload-zone {
    background: rgba(0,0,0,0.2);
    border: 1px dashed #30363d !important;
    border-radius: 5px;
    padding: 12px;
    text-align: center;
}

.btn-submit {
    background: #238636;
    color: #fff;
    border: none;
    width: 100%;
    padding: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 5px;
}
.btn-submit:hover { background: #2ea043; color: #fff; }

.btn-add-new {
    background: transparent;
    color: #c9d1d9;
    border: 1px solid #30363d;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 5px;
}
.btn-add-new:hover { background: #21262d; border-color: #484f58; color: #e6edf3; }

.btn-add-first {
    background: #238636;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
}
.btn-add-first:hover { background: #2ea043; color: #fff; }

.btn-page {
    background: transparent;
    color: #8b949e;
    border: 1px solid #30363d;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
}
.btn-page:hover { background: #21262d; color: #c9d1d9; }
.btn-page-active {
    background: #238636;
    color: #fff;
    border-color: #238636;
}

/* =========================================
   DETAY MODALI İÇERİĞİ
   ========================================= */
.detail-tag {
    background: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* =========================================
   YÜKLEME & BOŞ DURUM
   ========================================= */
.spinner-border { color: #58a6ff; }
.empty-city-icon {
    font-size: 3rem;
    color: #30363d;
    margin-bottom: 12px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 640px) {
    .header-inner { padding: 10px 16px; }
    .header-logo span { display: none; }
    .header-user { display: none; }
    .map-legend { top: 10px; gap: 14px; padding: 6px 12px; }
    .legend-item { font-size: 0.7rem; }
    .map-section svg { max-height: 70vh; }
}
