/* ───────────────────────────────────────────────────────────────
   Aywah Global – Frontend CSS  v1.2
   Bromak Agency
   ▸ Yatay/Landscape kart formatı (Resim üstte, logo & title altında ortalanıkız/solda)
   ▸ Sabit icon butonları
─────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Temel değişkenler (tema üzerine yazar, gerekirse özelleştir) ── */
.aywah-firmalar-wrap {
    --aw-radius:    14px;
    --aw-shadow:    0 2px 14px rgba(0,0,0,.08);
    --aw-shadow-hv: 0 8px 30px rgba(0,0,0,.14);
    --aw-border:    1px solid rgba(0,0,0,.06);
    --aw-bg:        #ffffff;
    --aw-bg-soft:   #f8f9fa;
    --aw-txt:       #111827;
    --aw-txt-muted: #4b5563;
    --aw-txt-light: #9ca3af;
    --aw-cover-h:   150px;
    --aw-font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --aw-btn-action: #88348b; /* Resimdeki mor buton tonu */
}

.aywah-firmalar-wrap *,
.aywah-firmalar-wrap *::before,
.aywah-firmalar-wrap *::after {
    box-sizing: border-box;
}

/* ── Grid ── */
.aywah-firmalar-wrap {
    display: grid;
    gap: 22px;
    margin: 32px 0;
    font-family: var(--aw-font);
}
.aywah-kolonlar-2 { grid-template-columns: repeat(2, 1fr); }
.aywah-kolonlar-3 { grid-template-columns: repeat(2, 1fr); } /* Resimdeki yataylık için 3'ü de 2 yapıyoruz genelde veya 3'te kalsın ekran genişse */
.aywah-kolonlar-4 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 1200px) {
    .aywah-kolonlar-3 { grid-template-columns: repeat(3, 1fr); }
    .aywah-kolonlar-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .aywah-kolonlar-2,
    .aywah-kolonlar-3,
    .aywah-kolonlar-4 { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   KART
════════════════════════════════════════ */
.aywah-firma-card {
    background: var(--aw-bg);
    border-radius: var(--aw-radius);
    border: var(--aw-border);
    box-shadow: var(--aw-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
}

.aywah-firma-card:hover {
    box-shadow: var(--aw-shadow-hv);
    transform: translateY(-3px);
}

/* ── Kapak görsel ── */
.aywah-cover {
    height: var(--aw-cover-h);
    background: #e5e7eb;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    flex-shrink: 0;
}

.aywah-cover-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.7) 60%,
        rgba(255,255,255,1) 100%
    );
}

/* ── Öne çıkan rozeti ── */
.aywah-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255,255,255,0.92);
    color: #92400e;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* ── Kart Content ── */
.aywah-card-content {
    padding: 0 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Header: Logo ve Başlık ── */
.aywah-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.aywah-logo-box {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    border: 2px solid #fff;
}

.aywah-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.aywah-logo-placeholder {
    font-size: 26px;
    font-weight: 800;
    color: var(--aw-txt-light);
    text-transform: uppercase;
}

.aywah-title-box {
    margin-top: 32px; /* Logoyu yukarı taşıdık, yazıyı ortalıyoruz */
    flex: 1;
}

.aywah-firma-name {
    font-family: var(--aw-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--aw-txt);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aywah-calisma-alani {
    display: none; /* Talebe göre bu alanda çok kalabalık yapmasın */
}
.aywah-excerpt {
    display: none;
}

/* ── Footer / Actions ── */
.aywah-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 12px;
}

.aywah-icon-actions {
    display: flex;
    gap: 6px;
}

.aywah-icon-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    background: #fff;
    transition: all .2s ease;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.aywah-icon-btn:hover {
    border-color: #d1d5db;
    color: #111827;
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,.05);
}

.aywah-icon-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.75px;
    fill: none !important;
}

.aywah-icon-btn svg path,
.aywah-icon-btn svg circle,
.aywah-icon-btn svg polyline {
    fill: none !important;
}

/* ── Öne çıkan kart vurgu ── */
.aywah-firma-card.aywah-one-cikan {
    border-color: rgba(0,0,0,.15);
}

/* ── Boş durum ── */
.aywah-no-result {
    text-align: center;
    color: var(--aw-txt-light);
    padding: 60px 20px;
    font-family: var(--aw-font);
    font-size: 14px;
    grid-column: 1/-1;
}

/* ════════════════════════════════════════
   FİLTRE BARI
════════════════════════════════════════ */
.aywah-filtre-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 35px;
    font-family: var(--aw-font);
}

.aywah-filtre-btn {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aw-txt-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,.02);
}

.aywah-filtre-btn:hover {
    border-color: rgba(0,0,0,.15);
    background: #f9fafb;
    color: var(--aw-txt);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.aywah-filtre-btn.aywah-filtre-active {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 15px rgba(17, 24, 39, 0.25);
    transform: translateY(-2px);
}
