/* Home Page Styles */

/* Group Card Clickable Area */
.group-card {
    cursor: pointer !important;
}
.group-card a[style*="position: absolute"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    display: block !important;
    cursor: pointer !important;
}

/* SEO Content Section */
.seo-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.seo-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.seo-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.seo-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.seo-card a.text-primary {
    position: relative;
    z-index: 100;
    display: inline;
}

.seo-card-link:hover .seo-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.seo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.seo-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-align: justify;
}

.seo-card .seo-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 25px !important;
    background: rgba(0, 123, 255, 0.1) !important;
    margin-top: auto;
    align-self: center;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.seo-card-link:hover .seo-link {
    color: white !important;
    background: var(--primary-color) !important;
    transform: translateX(5px);
}

.seo-link i {
    transition: transform 0.3s ease;
}

.seo-card-link:hover .seo-link i {
    transform: translateX(3px);
}

/* Splide Carousels */
.splide {
    padding: 0 50px;
    overflow: hidden;
}

.splide__track {
    overflow: hidden;
}

.splide__list {
    display: flex;
}

.splide__slide {
    padding: 0 8px;
    height: auto;
}

/* Platform Card Links */
.platform-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all var(--transition-normal);
    align-items: center;
    justify-content: center;
}

.platform-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.platform-card-link:hover .platform-icon {
    transform: scale(1.1);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 136, 204, 0.08);
    box-shadow: 0 3px 10px rgba(0, 136, 204, 0.1);
}

.platform-icon i {
    font-size: 2.8rem;
}

/* Category Card Links */
.category-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all var(--transition-normal);
}

.category-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Category Cards */
.category-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    overflow: hidden;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.category-card-link:hover .category-card {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 136, 204, 0.2);
}

.category-card-inner {
    padding: 1.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: 140px;
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 1.5rem;
    color: var(--primary-color, #0088cc);
    transition: color var(--transition-normal);
}

/* Dynamic category icon color - JavaScript ile set edilecek */
.category-icon[data-color] i {
    color: var(--category-icon-color, var(--primary-color, #0088cc));
}

.category-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--dark);
    line-height: 1.3;
}

/* Groups Section */
.groups-section {
    padding: 4rem 0;
}

/* Latest Groups Section */
.latest-groups-section {
    padding: 4rem 0;
    background: var(--light-gray, #f8f9fa);
}

/* Minimal Hero Stats */
.hero-stats-minimal {
    margin-top: 2rem;
}

.stats-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0.8;
}

.stat-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-simple .stat-number {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    line-height: 1;
}

.stat-simple .stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: lowercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.stat-divider {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Group Card Links */
.group-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all var(--transition-normal, 0.3s ease);
    cursor: pointer;
}

.group-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.group-card-link:hover .group-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl, 0 8px 25px rgba(0, 0, 0, 0.12));
    border-color: rgba(0, 136, 204, 0.2);
}

/* Clickable Title */
.clickable-title:hover {
    color: var(--primary-color, #0088cc) !important;
    text-decoration: underline;
}

/* Group Image Link */
.group-image-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.group-image-link:hover {
    text-decoration: none;
    transform: scale(1.02);
}

.group-image-link:hover .group-image {
    opacity: 0.9;
}

/* Group Cards */
.group-card {
    background: var(--white);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow-sm, 0 3px 10px rgba(0, 0, 0, 0.06));
    transition: all var(--transition-normal, 0.3s ease);
    overflow: hidden;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
}

/* Ensure mobile 2 column layout */
@media (max-width: 991px) {
    .group-card {
        margin-bottom: 0.8rem;
    }
}

.group-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0;
}

.group-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary, linear-gradient(135deg, #0088cc, #00aaff));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm, 8px);
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.15));
}

.group-content {
    padding: 1.25rem;
    height: calc(100% - 180px);
    display: flex;
    flex-direction: column;
}

.group-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark);
    line-height: 1.3;
    flex: 1;
}

.group-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.group-platform {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--gray, #666);
    background: var(--light-gray, #f8f9fa);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm, 8px);
    flex: 1;
}

.group-category {
    font-size: 0.8rem;
    color: var(--primary-color, #0088cc);
    background: rgba(0, 136, 204, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm, 8px);
    font-weight: 500;
}

.group-action {
    margin-top: auto;
}

.group-action .btn-join {
    background: var(--gradient-primary, linear-gradient(135deg, #0088cc, #00aaff));
    color: white;
    border: none;
    border-radius: var(--radius-sm, 8px);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.group-action .btn-join:hover {
    background: var(--gradient-primary, linear-gradient(135deg, #0066aa, #0088dd));
    transform: translateY(-1px);
}

.group-action .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* Splide Pagination - Hidden */
.splide__pagination {
    display: none !important;
}

/* Splide Arrow */
.splide__arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.splide__arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.splide__arrow svg {
    fill: var(--primary-color);
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-section {
        padding: 2rem 0;
    }
    
    .splide {
        padding: 0 20px;
        overflow: hidden;
    }
    
    .splide__arrow {
        width: 40px;
        height: 40px;
    }
    
    .splide__arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .platform-icon {
        width: 70px;
        height: 70px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(0, 136, 204, 0.08);
        box-shadow: 0 3px 10px rgba(0, 136, 204, 0.1);
    }
    
    .platform-icon i {
        font-size: 2.1rem;
    }
    
    .category-card-inner {
        padding: 0.8rem;
        min-height: 110px;
    }
    
    /* Groups & Latest Groups Responsive - Mobile 2 column GUARANTEED */
    .groups-section {
        padding: 2rem 0;
    }
    
    .latest-groups-section {
        padding: 2rem 0;
    }
    
    /* Minimal Stats Mobile */
    .stats-simple {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-simple .stat-number {
        font-size: 1.4rem;
        color: white;
    }
    
    .stat-simple .stat-label {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .stat-divider {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .group-card {
        margin-bottom: 0.8rem;
    }
    
    .group-image {
        height: 130px;
    }
    
    .group-content {
        padding: 0.7rem;
        height: calc(100% - 130px);
    }
    
    .group-title {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }
    
    .group-meta {
        margin-bottom: 0.6rem;
    }
    
    .group-platform {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }
    
    .group-category {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }
    
    .group-action .btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .group-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.5rem;
    }
    
    .category-icon i {
        font-size: 1.1rem;
    }
    
    .category-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .seo-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .seo-title {
        font-size: 1.1rem;
    }
    
    .seo-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .splide {
        padding: 0 15px;
        overflow: hidden;
    }
    
    .splide__arrow {
        width: 35px;
        height: 35px;
    }
    
    .splide__arrow svg {
        width: 14px;
        height: 14px;
    }
    
    .platform-icon {
        width: 65px;
        height: 65px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(0, 136, 204, 0.08);
        box-shadow: 0 3px 10px rgba(0, 136, 204, 0.1);
    }
    
    .platform-icon i {
        font-size: 1.9rem;
    }
    
    .category-card-inner {
        padding: 0.6rem;
        min-height: 95px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.4rem;
    }
    
    .category-icon i {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Minimal Stats Small Mobile */
    .stats-simple {
        gap: 0.8rem;
        margin-top: 1.2rem;
    }
    
    .stat-simple .stat-number {
        font-size: 1.3rem;
        color: white;
    }
    
    .stat-simple .stat-label {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    /* Group Cards Small Mobile - DEFINITELY 2 columns */
    .row .col-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .group-image {
        height: 120px;
    }
    
    .group-content {
        padding: 0.6rem;
        height: calc(100% - 120px);
    }
    
    .group-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }
    
    .group-meta {
        margin-bottom: 0.5rem;
    }
    
    .group-platform {
        font-size: 0.6rem;
        padding: 0.1rem 0.25rem;
    }
    
    .group-category {
        font-size: 0.6rem;
        padding: 0.1rem 0.25rem;
    }
    
    .group-action .btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .group-badge {
        padding: 0.15rem 0.4rem;
        font-size: 0.6rem;
    }
}


