/*
Theme Name: GroupLinksHub
Theme URI: https://grouplinkshub.com
Author: GroupLinksHub
Author URI: https://grouplinkshub.com
Description: Modern directory theme for social group links, built with Bootstrap.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grouplinkshub
*/


/* Bootstrap overrides */
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background-color: #f8f9fa;
color: #212529;
}


.site-header {
position: sticky;
top: 0;
z-index: 1020;
}


.navbar-brand {
font-size: 1.25rem;
letter-spacing: -0.5px;
}


.navbar-nav .nav-link {
font-weight: 500;
color: #343a40;
padding: 0.75rem 1rem;
}


.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item > .nav-link {
color: #0d6efd;
}

/* Cards for directory items */
.directory-card {
background: #ffffff;
border-radius: 0.75rem;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}


.directory-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


/* Footer */
.site-footer {
background: #ffffff;
border-top: 1px solid #e9ecef;
padding: 2rem 0;
font-size: 0.9rem;
color: #6c757d;
}


.site-footer a {
color: inherit;
text-decoration: none;
}


.site-footer a:hover {
color: #0d6efd;
}
/* ==================================
   BREADCRUMBS MODERNOS - RANK MATH
   ================================== */

/* Contenedor principal */
.rank-math-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

/* Eliminar margin-bottom de párrafos dentro de breadcrumbs */
.rank-math-breadcrumb p {
    margin-bottom: 0;
}

/* Enlaces de breadcrumb */
.rank-math-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.rank-math-breadcrumb a:hover {
    color: #0d6efd;
    transform: translateY(-1px);
}

/* Efecto underline animado en hover */
.rank-math-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    transition: width 0.3s ease;
}

.rank-math-breadcrumb a:hover::after {
    width: 100%;
}

/* Separador */
.rank-math-breadcrumb .separator {
    color: #adb5bd;
    margin: 0 0.25rem;
    font-size: 0.75rem;
}

/* Último elemento (actual) */
.rank-math-breadcrumb span:last-child {
    color: #212529;
    font-weight: 600;
}

/* Ícono de inicio (si usas FontAwesome o similar) */
.rank-math-breadcrumb a:first-child::before {
    content: '🏠';
    margin-right: 0.375rem;
    font-size: 1rem;
}

/* ==================================
   VERSIÓN ALTERNATIVA - MINIMALISTA
   ================================== */

.rank-math-breadcrumb.minimal {
    background: transparent;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: none;
}

.rank-math-breadcrumb.minimal a {
    color: #495057;
}

.rank-math-breadcrumb.minimal a:hover {
    color: #000;
}

/* ==================================
   VERSIÓN ALTERNATIVA - DARK MODE
   ================================== */

@media (prefers-color-scheme: dark) {
    .rank-math-breadcrumb {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .rank-math-breadcrumb a {
        color: #a0aec0;
    }

    .rank-math-breadcrumb a:hover {
        color: #63b3ed;
    }

    .rank-math-breadcrumb .separator {
        color: #4a5568;
    }

    .rank-math-breadcrumb span:last-child {
        color: #f7fafc;
    }
}

/* ==================================
   RESPONSIVE
   ================================== */

@media (max-width: 768px) {
    .rank-math-breadcrumb {
        font-size: 1rem;
        padding: 0.625rem 1rem;
        flex-wrap: wrap;
    }

    .rank-math-breadcrumb a:first-child::before {
        font-size: 1rem;
    }
}
/* Elevación de diseño moderno */
:root {
    --glass-bg: rgba(255, 255, 255, 0.8);
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.hero-section {
    background: radial-gradient(circle at top right, #e9ecef, #f8f9fa) !important;
}

/* Tarjetas de Directorio Mejoradas */
.directory-card {
    border: 1px solid rgba(0,0,0,0.05);
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.directory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

/* Botones con gradiente */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
}

/* Estilo para las cápsulas de países */
.btn-outline-secondary {
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
}

.btn-outline-secondary:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
/* ==================================
   PAGINACIÃ"N MODERNA
   ================================== */

.pagination {
    gap: 0.5rem;
    justify-content: center;
}

.page-numbers {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background: #f8fafc;
    color: #64748b;
}

.page-numbers:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.page-numbers.dots {
    background: transparent;
    border: none;
}

.page-numbers.prev,
.page-numbers.next {
    font-weight: 500;
    padding: 0 1rem;
}
