/* Stylesheet for Place Detail Page (District, Subtown, Village) */
.place-detail-section {
    background: #0f172a;
    color: #f8fafc;
    min-height: 85vh;
    padding-bottom: 5rem;
}

/* Hero Section */
.place-detail-hero {
    position: relative;
    padding: 3.5rem 0 3.5rem 0;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #334155;
}

.place-detail-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.place-hero-content {
    position: relative;
    z-index: 2;
}

.place-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 160, 23, 0.15);
    color: #ffd700;
    border: 1px solid rgba(212, 160, 23, 0.4);
    border-radius: 20px;
    padding: 0.35rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.place-hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.place-kurdish-large {
    font-size: 1.8rem;
    color: #d4a017;
    font-weight: 800;
    direction: rtl;
    display: inline-block;
    margin-left: 0.75rem;
}

.place-meta-pills {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.meta-pill {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid #334155;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    backdrop-filter: blur(6px);
}

.admin-action-box {
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid #d4a017;
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

/* Featured Photo Showcase Card */
.place-featured-media-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.place-featured-media-card:hover {
    box-shadow: 0 25px 50px -12px rgba(212, 160, 23, 0.25);
}

.place-featured-img-wrap {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #0b1120;
}

.place-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.place-featured-media-card:hover .place-featured-img {
    transform: scale(1.025);
}

.photo-overlay-tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid #d4a017;
    color: #ffd700;
    padding: 0.45rem 1.15rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

.photo-caption-bar {
    padding: 1rem 1.75rem;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.photo-caption-title {
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.photo-caption-location {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Content Cards & Deep-Dive Sections */
.place-content-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 2.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s;
}

.place-content-card:hover {
    border-color: #475569;
}

.place-content-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffd700;
    margin-top: 0;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.85rem;
}

.place-content-card h2 i {
    color: #d4a017;
}

.place-desc-text {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

/* Location Badges */
.location-badges {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.location-badge-pill {
    background: #0f172a;
    border: 1px solid #334155;
    color: #38bdf8;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* Visitor Advice Grid */
.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.advice-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 1.35rem 1.45rem;
    border-left: 4px solid #d4a017;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.advice-card:hover {
    border-left-color: #fbbf24;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.5);
}

.advice-card-header {
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffd700;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.advice-card-header i {
    color: #d4a017;
}

.advice-card-body {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Info Grid (Regional Metadata) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.info-box {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 1.25rem;
}

.info-box-title {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-box-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

/* Landmarks Badge List */
.landmarks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.landmark-badge {
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.35);
    color: #ffd700;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s, transform 0.2s;
}

.landmark-badge:hover {
    background: rgba(212, 160, 23, 0.25);
    transform: translateY(-2px);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .place-hero-title {
        font-size: 2rem;
    }
    .place-kurdish-large {
        font-size: 1.4rem;
        display: block;
        margin-left: 0;
        margin-top: 0.3rem;
    }
    .place-featured-img-wrap {
        height: 280px;
    }
    .photo-caption-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem 1.15rem;
    }
    .place-content-card {
        padding: 1.5rem;
    }
    .advice-grid, .info-grid {
        grid-template-columns: 1fr;
    }
}
