/**
 * OpenGIS Türkiye - 2026 Güz Atölyesi Stilleri (Sadeleştirilmiş Liste)
 */

/* ── Hero Bölümü ───────────────────────────────────────────────────── */
.atolye-hero {
    background: radial-gradient(120% 120% at 50% -10%, #ecfdf5 0%, #f0fdf4 40%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 3.5rem 0 2.25rem;
    text-align: center;
}

.atolye-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.atolye-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
}

.atolye-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-green-dark);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.atolye-hero p.lead {
    max-width: 680px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.atolye-date-badge {
    display: inline-block;
    background: #1b4332;
    color: #ffffff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin-top: 0.85rem;
    font-size: 0.95rem;
}

/* ── Arama ve Özet Çubuğu ─────────────────────────────────────────── */
.atolye-search-container {
    max-width: 600px;
    margin: 2rem auto 2.5rem;
    position: relative;
}

.atolye-search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: all 0.2s;
}

.atolye-search-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.atolye-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

.atolye-search-clear {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    display: none;
}

.atolye-search-clear.visible {
    display: block;
}

.atolye-search-count {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* ── Takımlar Grid Düzeni (Temiz Kartlar) ───────────────────────────── */
.atolye-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.atolye-team-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.atolye-team-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.atolye-team-card-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.atolye-team-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Renk Çeşitleri */
.team-1 .atolye-team-badge { background: #dc2626; }
.team-2 .atolye-team-badge { background: #4f46e5; }
.team-3 .atolye-team-badge { background: #d97706; }
.team-4 .atolye-team-badge { background: #ea580c; }
.team-5 .atolye-team-badge { background: #0284c7; }
.team-6 .atolye-team-badge { background: #16a34a; }
.team-7 .atolye-team-badge { background: #9333ea; }

.atolye-team-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    margin: 0;
}

/* Üye Listesi */
.atolye-members-list {
    list-style: none;
    padding: 0.75rem 1.25rem 1.25rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.atolye-member-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid transparent;
    transition: background 0.15s;
}

.atolye-member-item:hover {
    background: var(--color-surface-alt);
}

.atolye-member-item.highlighted {
    background: #fef08a !important;
    border-color: #fde047;
    font-weight: 700;
}

.atolye-member-order {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    width: 20px;
    text-align: right;
    flex-shrink: 0;
}

.atolye-member-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ── Bilgilendirme Notu ────────────────────────────────────────────── */
.atolye-notice-box {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.atolye-notice-box h3 {
    color: #14532d;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.atolye-notice-box p {
    color: #166534;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* ── Hero Announcement Banner (Homepage için) ────────────────────────── */
.home-atolye-announcement {
    background: linear-gradient(90deg, #1b4332 0%, #2d6a4f 100%);
    color: #ffffff;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.92rem;
    box-shadow: 0 2px 8px rgba(27, 67, 50, 0.15);
    position: relative;
    z-index: 99;
}

.home-atolye-announcement-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

.home-atolye-badge {
    background: #52b788;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-atolye-announcement a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .atolye-hero h1 {
        font-size: 1.75rem;
    }
    .atolye-teams-grid {
        grid-template-columns: 1fr;
    }
}
