/* ================================================
   SIRKETLER-COMPLET.CSS
   CSS 100% séparé - Extraction complète du fichier original
   fr.reklamyol.com
   Version 2.0 - Février 2026
   ================================================ */

/* ================================================
   COMPANY CARDS
   ================================================ */
.company-card {
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ================================================
   LIKE BUTTON
   ================================================ */
.like-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.like-button.liked {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.like-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.like-button.liked:hover {
    transform: scale(1.15);
}

.like-button.like-success {
    animation: likeSuccess 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.like-button.unlike-success {
    animation: unlikeSuccess 0.6s ease-out;
}

@keyframes likeSuccess {
    0% { transform: scale(1); }
    30% { transform: scale(1.3) rotate(5deg); }
    60% { transform: scale(1.2) rotate(-3deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

@keyframes unlikeSuccess {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.9) rotate(-2deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.like-count {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.like-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ================================================
   HERO & TEXT
   ================================================ */
.hero-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    line-height: 1.2;
}

.text-shadow {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ================================================
   STATS BOX
   ================================================ */
.stats-box {
    background: linear-gradient(135deg, #1a9de8, #e0198a);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.3);
    transition: all 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 171, 226, 0.4);
}

/* ================================================
   FILTER BUTTONS
   ================================================ */
.filter-button-standard {
    background: white;
    border: 2px solid #1a9de8;
    border-radius: 24px;
    padding: 12px 20px;
    color: #1a9de8;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(41, 171, 226, 0.1);
}

.filter-button-standard:hover {
    background: #1a9de8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.3);
}

.filter-button-standard:active {
    transform: translateY(0);
}

.filter-button-standard .button-icon {
    font-size: 1.25rem;
}

/* ================================================
   ADDRESS & CITY
   ================================================ */
.address-line {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.2;
    margin-top: 2px;
}

.city-highlight {
    color: #2563eb;
    font-weight: 600;
}

/* ================================================
   COMPANY CARD HEADER
   ================================================ */
.company-card-header {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background: linear-gradient(135deg, #1a9de8, #e0198a);
    border-radius: 12px 12px 0 0;
}

.company-card-header.has-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    z-index: 1;
    border-radius: 12px 12px 0 0;
}

.company-card-header.photo-error {
    background: linear-gradient(135deg, #1a9de8, #e0198a);
}

.company-card-header.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.company-card-header.no-photo .company-initials {
    font-size: 2rem;
    font-weight: bold;
}

/* ================================================
   CARD BADGES
   ================================================ */
.card-top-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
}

.category-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.625rem;
    font-weight: 500;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.like-button-overlay {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.like-button-overlay:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.photo-count-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.625rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    z-index: 10;
}

/* ================================================
   COMPANY INFO SECTION
   ================================================ */
.company-info-section {
    padding: 16px;
}

.company-name-main {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
    flex: 1;
}

.company-address-main {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.3;
}

/* ================================================
   SOUS-CATÉGORIES CHECKBOXES
   ================================================ */
.subcat-checkbox-wrapper {
    position: relative;
}

.subcat-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.subcat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    user-select: none;
}

.subcat-label:hover {
    border-color: #1a9de8;
    background: #eff6ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.subcat-checkbox:checked + .subcat-label {
    background: linear-gradient(135deg, #1a9de8, #e0198a);
    border-color: #1a9de8;
    color: white;
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.3);
}

.subcat-checkbox:checked + .subcat-label .subcat-icon {
    transform: scale(1.1);
}

.subcat-icon {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.subcat-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.subcat-checkbox:checked + .subcat-label .subcat-count {
    background: rgba(255, 255, 255, 0.25);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 768px) {
    .mobile-hide-filters {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .company-card-header {
        height: 140px;
    }
    
    .company-logo-square {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    .company-info-section {
        padding: 12px;
    }
    
    .company-name-main {
        font-size: 1rem;
    }
    
    .company-address-main {
        font-size: 0.875rem;
        margin-left: 52px !important;
    }
    
    .like-button {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .like-button svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .filter-button-standard {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
    
    .filter-button-standard .button-icon {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.25rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .grid-cols-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #subcategoriesGrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subcat-label {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
    
    .subcat-icon {
        font-size: 1rem;
    }
}
