/* ================================================================================
// DOSYA: app-manager-pro/assets/css/apps-listing.css
================================================================================*/

/* BU KOD YENİ - Apps Listing Page Stilleri */

:root {
    --amp-primary: #4F46E5;
    --amp-primary-dark: #4338CA;
    --amp-primary-light: #818CF8;
    --amp-secondary: #6B7280;
    --amp-success: #10B981;
    --amp-danger: #EF4444;
    --amp-warning: #F59E0B;
    --amp-info: #3B82F6;
    --amp-dark: #111827;
    --amp-gray: #6B7280;
    --amp-light: #F9FAFB;
    --amp-white: #FFFFFF;
    --amp-border: #E5E7EB;
    --amp-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --amp-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --amp-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --amp-radius: 12px;
    --amp-radius-lg: 20px;
    --amp-transition: all 0.3s ease;
}

/* Base Styles */
body.amp-apps-listing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--amp-dark);
    line-height: 1.6;
    background: #f8f9fa;
    min-height: 100vh;
}

.amp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.amp-listing-header {
    background: var(--amp-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.amp-listing-header .amp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.amp-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--amp-dark);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--amp-transition);
}

.amp-brand-link:hover {
    color: var(--amp-primary);
}

.amp-brand-name {
    background: var(--amp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* BU KOD YENİ - Dil seçici dropdown stilleri düzeltildi - Beyaz metin sorunu çözüldü */
.amp-language-selector {
    position: relative;
}

.amp-lang-dropdown-wrapper {
    position: relative;
}

/* BU KOD YENİ - Hero section'daki dil seçici için özel stil */
.amp-listing-hero .amp-lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--amp-white); /* Beyaz metin */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--amp-transition);
    min-width: 140px;
}

.amp-listing-hero .amp-lang-current:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* BU KOD YENİ - Header'daki dil seçici için stil (beyaz arka plan) */
.amp-listing-header .amp-lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid var(--amp-border);
    border-radius: 8px;
    background: var(--amp-white);
    color: var(--amp-dark); /* Koyu metin */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--amp-transition);
    min-width: 140px;
}

.amp-listing-header .amp-lang-current:hover {
    border-color: var(--amp-primary);
    background: var(--amp-light);
}

.amp-flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* BU KOD YENİ - Dropdown arrow rengi hero ve header için ayrı */
.amp-listing-hero .amp-dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--amp-white); /* Hero'da beyaz */
}

.amp-listing-header .amp-dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--amp-gray); /* Header'da gri */
}

.amp-lang-dropdown-wrapper.open .amp-dropdown-arrow {
    transform: rotate(180deg);
}

.amp-lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--amp-white);
    border: 1px solid var(--amp-border);
    border-radius: 8px;
    box-shadow: var(--amp-shadow);
    min-width: 180px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.amp-lang-dropdown-wrapper.open .amp-lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.amp-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--amp-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.amp-lang-option:hover {
    background: var(--amp-light);
}

.amp-lang-option.active {
    background: rgba(79, 70, 229, 0.1);
    color: var(--amp-primary);
    font-weight: 600;
}

.amp-lang-option .amp-flag-icon {
    width: 20px;
    height: 15px;
}

/* Hero Section */
.amp-listing-hero {
    background: var(--amp-gradient);
    padding: 60px 0 40px;
    color: var(--amp-white);
}

.amp-hero-content {
    text-align: center;
}

.amp-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease;
}

.amp-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

/* Filters Section */
.amp-filters-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.amp-search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.amp-search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: var(--amp-transition);
    color: var(--amp-dark);
}

.amp-search-input:focus {
    outline: none;
    border-color: var(--amp-white);
    background: var(--amp-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.amp-search-input::placeholder {
    color: var(--amp-gray);
}

.amp-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--amp-gray);
    pointer-events: none;
}

.amp-platform-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.amp-filter-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--amp-white);
    font-weight: 500;
    cursor: pointer;
    transition: var(--amp-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.amp-filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.amp-filter-btn.active {
    background: var(--amp-white);
    color: var(--amp-primary);
    border-color: var(--amp-white);
}

/* BU KOD YENİ - Platform ikon stilleri güncellendi */
.amp-filter-btn .amp-platform-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.amp-filter-btn .amp-platform-icon.android {
    fill: currentColor;
}

.amp-filter-btn .amp-platform-icon.ios {
    fill: currentColor;
}

.amp-filter-btn .amp-platform-icon.huawei {
    fill: currentColor;
}

.amp-filter-btn.active .amp-platform-icon {
    fill: var(--amp-primary);
}

/* Apps Section */
.amp-apps-section {
    padding: 60px 0;
    min-height: 400px;
}

.amp-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    animation: fadeIn 0.6s ease;
}

/* App Card */
.amp-app-card {
    background: var(--amp-white);
    border-radius: var(--amp-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--amp-transition);
    animation: scaleIn 0.5s ease backwards;
}

.amp-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.amp-app-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.amp-app-header {
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.amp-app-icon-wrapper {
    flex-shrink: 0;
}

.amp-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.amp-app-icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--amp-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amp-white);
}

.amp-app-icon-placeholder .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.amp-app-info {
    flex: 1;
    min-width: 0;
}

.amp-app-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--amp-dark);
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amp-app-platforms {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.amp-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.amp-platform-badge.android {
    background: rgba(61, 220, 132, 0.2);
    color: #059862;
}

.amp-platform-badge.ios {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.amp-platform-badge.huawei {
    background: rgba(255, 0, 0, 0.1);
    color: #CC0000;
}

.amp-platform-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.amp-app-screenshot {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--amp-light);
}

.amp-app-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.amp-app-card:hover .amp-app-screenshot img {
    transform: scale(1.05);
}

.amp-app-screenshot-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amp-gray);
}

.amp-app-screenshot-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.amp-app-content {
    padding: 0 20px 20px;
}

.amp-app-description {
    color: var(--amp-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.amp-app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.amp-app-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--amp-light);
    color: var(--amp-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.amp-app-footer {
    padding: 15px 20px;
    background: var(--amp-light);
    border-top: 1px solid var(--amp-border);
}

.amp-view-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--amp-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.amp-view-details svg {
    transition: transform 0.3s ease;
}

.amp-app-card:hover .amp-view-details svg {
    transform: translateX(4px);
}

/* No Apps Message */
.amp-no-apps {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--amp-gray);
}

.amp-no-apps .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.amp-no-apps p {
    font-size: 1.125rem;
}

/* Loading Spinner */
.amp-loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 40px;
}

.amp-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--amp-light);
    border-top-color: var(--amp-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Footer */
.amp-listing-footer {
    background: var(--amp-dark);
    color: var(--amp-white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.amp-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.amp-footer-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.amp-footer-info p {
    color: rgba(255, 255, 255, 0.7);
}

.amp-footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.amp-footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.amp-footer-contact a:hover {
    color: var(--amp-white);
}

.amp-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.amp-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* BU KOD YENİ - Dil seçici scrollbar stilleri */
.amp-lang-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.amp-lang-dropdown-menu::-webkit-scrollbar-track {
    background: var(--amp-light);
    border-radius: 3px;
}

.amp-lang-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--amp-gray);
    border-radius: 3px;
}

.amp-lang-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--amp-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .amp-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* BU KOD YENİ - Mobilde dil seçici düzeni */
    .amp-language-selector {
        position: static;
    }

    .amp-lang-dropdown-menu {
        right: 20px;
        left: auto;
        width: 200px;
    }

    .amp-hero-title {
        font-size: 2rem;
    }

    .amp-hero-subtitle {
        font-size: 1rem;
    }

    .amp-filters-wrapper {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .amp-search-box {
        width: 100%;
        max-width: 100%;
    }

    .amp-platform-filters {
        justify-content: center;
        width: 100%;
    }

    .amp-apps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .amp-footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .amp-container {
        padding: 0 15px;
    }

    .amp-listing-hero {
        padding: 40px 0 30px;
    }

    .amp-hero-title {
        font-size: 1.75rem;
    }

    .amp-filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .amp-filter-btn .amp-platform-icon {
        width: 16px;
        height: 16px;
    }

    .amp-apps-section {
        padding: 40px 0;
    }
}

/* apps-listing.css kodları tamamlandı. (20241224101500) */
