/* TemizKamp - Ön yüz stilleri */
:root {
    --tk-primary: #2d6a4f;
    --tk-primary-dark: #1b4332;
    --tk-accent: #52b788;
    --tk-light: #d8f3dc;
}

.bg-primary {
    background-color: var(--tk-primary) !important;
}

.btn-success, .btn-primary {
    --bs-btn-bg: var(--tk-primary);
    --bs-btn-border-color: var(--tk-primary);
    --bs-btn-hover-bg: var(--tk-primary-dark);
    --bs-btn-hover-border-color: var(--tk-primary-dark);
}

.text-success {
    color: var(--tk-primary) !important;
}

.btn-outline-success {
    --bs-btn-color: var(--tk-primary);
    --bs-btn-border-color: var(--tk-primary);
    --bs-btn-hover-bg: var(--tk-primary);
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/hero-camp-bg.jpg') center center / cover no-repeat;
    z-index: 0;
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(115deg, rgba(27, 67, 50, 0.52) 0%, rgba(45, 106, 79, 0.38) 50%, rgba(27, 67, 50, 0.45) 100%);
    backdrop-filter: blur(1.5px) saturate(1.15);
    -webkit-backdrop-filter: blur(1.5px) saturate(1.15);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 2rem 0 1.5rem;
}

.hero-top {
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.5;
    opacity: 0.95;
    max-width: 36rem;
    margin-bottom: 0 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.6rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-stats {
    margin-top: 0.25rem;
}

/* Temiz Kamp logosu */
.brand-logo {
    object-fit: contain;
    display: inline-block;
}

.navbar-brand {
    max-height: 52px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.brand-logo-nav {
    height: 32px !important;
    width: 32px !important;
    max-height: 32px !important;
    max-width: 32px !important;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.brand-name {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.navbar-mobile-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-mobile-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    pointer-events: none;
}

.profile-menu-mobile-label {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    #mainNav .nav-item.dropdown .nav-link.dropdown-toggle {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}

@media (min-width: 992px) {
    .navbar-mobile-bar {
        flex-wrap: nowrap;
    }
}

.brand-logo-footer {
    height: 80px;
    width: auto;
    max-width: 160px;
}

.brand-logo-about {
    height: 140px;
    width: auto;
    max-width: 200px;
}

.brand-logo-hero {
    height: 72px;
    width: auto;
    max-width: 100px;
    max-height: 72px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.hero-logo-wrap {
    padding: 0;
}

.brand-trademark a:hover {
    text-decoration: underline !important;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.65rem;
    padding: 0.55rem 0.5rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-stat strong {
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-stat span {
    font-size: 0.72rem;
    opacity: 0.88;
    letter-spacing: 0.01em;
}

@media (min-width: 992px) {
    .hero-inner {
        padding: 2.25rem 0 1.75rem;
    }

    .hero-top {
        margin-bottom: 1.15rem;
    }

    .hero-stat {
        padding: 0.65rem 0.75rem;
    }

    .hero-stat strong {
        font-size: 1.5rem;
    }
}

.hero-stat-link {
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-stat-link:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    color: #fff;
}

.camp-reviews .review-card {
    transition: box-shadow 0.2s ease;
}

.camp-reviews .review-card:hover {
    box-shadow: 0 0.35rem 1rem rgba(27, 67, 50, 0.1) !important;
}

.review-stars .bi {
    font-size: 0.75rem;
}

.review-rating-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tk-primary);
    margin-left: 0.15rem;
}

.review-like-btn.active {
    color: var(--tk-primary);
    border-color: var(--tk-primary);
    background: rgba(45, 106, 79, 0.08);
}

.review-avatar {
    border: 2px solid rgba(45, 106, 79, 0.15);
}

.review-category-scores {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.review-category-scores-compact {
    gap: 0.15rem;
}

.review-category-scores-compact .review-category-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.review-category-scores-compact .review-stars .bi {
    font-size: 0.65rem;
}

.review-category-scores-compact .review-rating-num {
    font-size: 0.7rem;
}

.review-category-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--tk-primary-dark);
    min-width: 4.5rem;
}

.camp-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.camp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(45, 106, 79, 0.15) !important;
}

.camp-card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.camp-card-img-wrap img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.camp-score {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.camp-cert-logo-overlay {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 3;
    pointer-events: none;
    line-height: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.camp-cert-logo-overlay .camp-cert-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.tk-camp-gallery .camp-cert-logo-overlay {
    top: 1rem;
    left: 1rem;
    z-index: 8;
    width: 64px;
    height: 64px;
}

.tk-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.tk-gallery-grid-single {
    grid-template-columns: 1fr;
}

.tk-gallery-grid-single .tk-gallery-hero {
    border-radius: 0.75rem;
}

.tk-gallery-hero {
    border-radius: 0.75rem 0 0 0.75rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    display: block;
    width: 100%;
}

.tk-gallery-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tk-gallery-hero:hover img {
    transform: scale(1.03);
}

.tk-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    height: 100%;
}

.tk-gallery-thumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    position: relative;
}

.tk-gallery-thumb:first-child {
    border-radius: 0 0.75rem 0 0;
}

.tk-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tk-gallery-thumb:hover img {
    transform: scale(1.05);
}

.tk-gallery-thumb-more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.tk-gallery-more-label {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.3;
    pointer-events: none;
}

.tk-gallery-carousel .carousel-item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tk-gallery-counter {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    z-index: 3;
}

.tk-gallery-open-all {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 7;
}

.tk-gallery-modal .modal-body {
    min-height: 60vh;
}

.tk-gallery-modal-img {
    max-height: 75vh;
    max-width: 100%;
    object-fit: contain;
}

.tk-gallery-modal-prev,
.tk-gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
}

.tk-gallery-modal-prev {
    left: 1rem;
}

.tk-gallery-modal-next {
    right: 1rem;
}

.tk-gallery-modal-thumb {
    width: 64px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.35rem;
    overflow: hidden;
    opacity: 0.65;
    background: transparent;
}

.tk-gallery-modal-thumb.active {
    border-color: #fff;
    opacity: 1;
}

.tk-gallery-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-hp-wrap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.375rem;
    background: var(--tk-light);
    color: var(--tk-primary-dark);
    width: 100%;
}

.camp-map-canvas {
    height: calc(100vh - 180px);
    min-height: 420px;
    width: 100%;
    z-index: 1;
}

.tk-map-marker {
    background: var(--tk-primary, #2d6a4f);
    color: #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    border: 2px solid #fff;
}

.tk-map-marker i {
    transform: rotate(45deg);
    font-size: 1rem;
}

.tk-map-marker-certified {
    background: #198754;
}

.tk-map-popup {
    min-width: 160px;
}

.tk-map-popup .btn {
    font-size: 0.8rem;
}

.amenity-badge.disabled {
    opacity: 0.4;
    background: #f1f3f5;
    color: #868e96;
}

.bg-success-subtle {
    background-color: var(--tk-light) !important;
}

.border-success-subtle {
    border-color: var(--tk-accent) !important;
}

.text-success-subtle {
    color: var(--tk-primary) !important;
}

.site-footer a:hover {
    color: var(--tk-accent) !important;
}

.page-header {
    border-bottom: 3px solid var(--tk-light);
}

.filter-panel .form-check {
    margin-bottom: 0.25rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
}

.member-avatar {
    object-fit: cover;
    flex-shrink: 0;
}

.member-avatar-fallback {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.85rem;
}

.member-avatar-profile.member-avatar-fallback {
    background: var(--tk-light);
    color: var(--tk-primary);
    font-size: 1.75rem;
}

.member-avatar-trigger {
    display: inline-block;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.member-avatar-trigger:hover {
    transform: scale(1.03);
}

.member-avatar-frame {
    position: relative;
    display: inline-block;
    border-radius: 50%;
}

.member-avatar-edit-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tk-primary, #198754);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.avatar-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border: 2px dashed #ced4da;
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.avatar-dropzone:hover,
.avatar-dropzone-active {
    border-color: var(--tk-primary, #198754);
    background: #eef7f0;
}

.avatar-crop-stage {
    max-height: 420px;
    background: #1a1a1a;
}

/* TK Sertifikası sayfası */
.cert-hero {
    background: linear-gradient(135deg, var(--tk-primary-dark) 0%, var(--tk-primary) 55%, #40916c 100%);
}

.cert-process {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cert-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cert-step-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--tk-light);
    color: var(--tk-primary-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.cert-benefits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cert-benefits li:last-child {
    border-bottom: 0;
}

.cert-criteria-list {
    padding-left: 1.25rem;
}

.cert-criteria-list li {
    padding-left: 0.25rem;
}

.cert-fee-amount {
    font-size: 1.15rem;
}

.cert-fee-box strong {
    color: var(--tk-primary-dark);
}

.cert-sidebar .btn {
    text-align: left;
}

.avatar-crop-stage img {
    display: block;
    max-width: 100%;
}
