/* style.css - Influddy Tam Sayt Dizaynı (Poppins əsaslı) */

:root {
    --primary-color: #007bff; /* Mavi (Əsas aksent) */
    --secondary-color: #ff385c; /* Qırmızı (Düymə və vurğular üçün) */
    --text-dark: #212529;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --card-bg: white;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius-sm: 8px;
    --font-main: 'Poppins', sans-serif;
}

body { 
    font-family: var(--font-main); 
    margin: 0; 
    padding: 0;
    background-color: var(--background-light); 
    color: var(--text-dark); 
    line-height: 1.6;
}
.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s; }
a:hover { color: var(--secondary-color); }


/* --- 1. Header (Menu) --- */
.main-header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}
nav a.active::after, nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(1);
    transition: transform 0.3s;
}
nav a:not(.active)::after {
    transform: scaleX(0);
}
.admin-link {
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    padding: 8px 15px !important;
    border-radius: var(--border-radius-sm);
}
.mobile-menu-btn { display: none; } /* Sadəlik üçün mobil menunu gizlətdik */


/* --- 2. Hero Section (Banner və Axtarış) --- */
.hero-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #fff 100%);
    padding: 80px 0 60px 0;
    text-align: center;
    margin-bottom: 40px;
}
.hero-section h1 {
    font-size: 3em;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--text-dark);
}
.hero-section h1 strong {
    color: var(--primary-color);
}
.subtitle {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 30px;
}
.search-bar-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    background-color: var(--card-bg);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}
.search-bar-container input, .search-bar-container select {
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 50px;
    outline: none;
    flex-grow: 1;
}
.search-bar-container select {
    flex-grow: 0;
    min-width: 150px;
    appearance: none;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 15px center;
    background-size: 14px;
}
.search-bar-container button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.search-bar-container button:hover {
    background-color: #e62047;
}


/* --- 3. Featured Influencers (Kartlar) --- */
.featured-influencers-section {
    padding: 30px 0;
}
.featured-influencers-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
    font-weight: 600;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.influencer-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid #eee;
}
.influencer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.card-image-container {
    height: 200px;
    overflow: hidden;
}
.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-info {
    padding: 20px;
}
.card-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.4em;
    color: var(--primary-color);
}
.category {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9em;
    margin-bottom: 10px;
}
.followers-count {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 15px;
}
.followers-count i {
    color: var(--secondary-color);
    margin-right: 5px;
}
.social-icons i {
    color: var(--text-light);
    margin: 0 5px;
    font-size: 1.2em;
}
.view-profile-btn {
    display: block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    margin-top: 15px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.view-profile-btn:hover {
    background-color: #0056b3;
}
.no-results-full {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--card-shadow);
    color: var(--text-light);
    font-size: 1.2em;
}
.no-results-full i {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.view-all-container {
    text-align: center;
    margin-top: 20px;
}
.view-all-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}
.view-all-btn:hover {
    background-color: #e62047;
    transform: translateY(-2px);
}


/* --- 4. How It Works Section --- */
.how-it-works-section {
    background-color: var(--card-bg);
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
}
.how-it-works-section h2 {
    text-align: center;
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 50px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.step-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius-sm);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s;
}
.step-card:hover {
    box-shadow: var(--card-shadow);
}
.step-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.step-card h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.step-card p {
    color: var(--text-light);
}


/* --- 5. Partners Section --- */
.partners-section {
    padding: 60px 0;
    text-align: center;
}
.partners-section h2 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 40px;
}
.partner-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.logo-placeholder {
    width: 150px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border: 1px dashed var(--text-light);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 5px;
}


/* --- 6. Footer --- */
.main-footer {
    background-color: var(--text-dark);
    color: white;
    padding-top: 40px;
}
.main-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}
.footer-info h4, .social-links h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
}
.footer-info p {
    margin: 5px 0;
    font-size: 0.95em;
}
.footer-info i {
    margin-right: 10px;
    color: var(--primary-color);
}
.social-links a {
    color: white;
    font-size: 1.5em;
    margin-right: 15px;
}
.social-links a:hover {
    color: var(--secondary-color);
}
.copyright {
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    background-color: #111;
}

/* --- Responsivlik --- */
@media (max-width: 992px) {
    .main-header nav {
        display: none; /* Sadəlik üçün menunu mobil-də gizlətdik */
    }
    .hero-section h1 {
        font-size: 2.5em;
    }
    .search-bar-container {
        flex-direction: column;
        border-radius: var(--border-radius-sm);
        padding: 15px;
    }
    .search-bar-container input, .search-bar-container select, .search-bar-container button {
        border-radius: var(--border-radius-sm);
        width: 100%;
    }
    .main-footer .container {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        text-align: center;
    }
}