/* Estilos Públicos Kreaticfolio */
:root {
    --kf-primary: #2563eb;
    --kf-text: #1f2937;
    --kf-text-light: #6b7280;
    --kf-bg-soft: #f9fafb;
    --kf-border: #e5e7eb;
    --kf-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --kf-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.kf-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--kf-text-light);
}

.kf-breadcrumbs a {
    text-decoration: none;
    color: var(--kf-text-light);
    transition: color 0.3s ease;
}

.kf-breadcrumbs a:hover {
    color: var(--kf-primary);
}

.kf-sep {
    color: #cbd5e1;
    font-weight: 300;
}

.kf-current {
    color: var(--kf-text);
    font-weight: 700;
}

.kf-archive-wrapper,
.kf-single-wrapper,
.kf-taxonomy-wrapper {
    padding: 80px 0;
    color: var(--kf-text);
    background-color: #fff;
}

.kf-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.kf-portfolio-item {
    background: #fff;
    border: 1px solid var(--kf-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
}

.kf-portfolio-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.kf-portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--kf-shadow-lg);
    border-color: transparent;
}

.kf-thumbnail img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.kf-portfolio-item:hover .kf-thumbnail img {
    transform: scale(1.05);
}

.kf-content {
    padding: 28px;
}

.kf-title {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.kf-title a {
    text-decoration: none;
    color: var(--kf-text);
    transition: color 0.3s ease;
}

.kf-title a:hover {
    color: var(--kf-primary);
}

.kf-item-meta,
.kf-meta {
    font-size: 0.95rem;
    color: var(--kf-text-light);
    margin-bottom: 20px;
}

.kf-item-action {
    margin-top: 15px;
}

.kf-view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--kf-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.kf-view-link svg {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kf-view-link:hover svg {
    transform: translateX(5px);
}

.kf-view-link:hover {
    color: #1d4ed8;
}

/* Single Template Styles */
.kf-single-wrapper .entry-title {
   /* font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 50px;*/
}

.kf-project-info {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.kf-project-info .info-details {
    flex: 0 0 320px;
}

.kf-info-card {
    background: var(--kf-bg-soft);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--kf-border);
    position: sticky;
    top: 100px;
}

.kf-info-item {
    margin-bottom: 25px;
}

.kf-info-item:last-child {
    margin-bottom: 0;
}

.kf-info-label {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    color: var(--kf-text-light);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.kf-info-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--kf-text);
}

.kf-client-logo {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--kf-border);
}

.kf-client-logo img {
    max-width: 140px;
    height: auto;
    display: block;
}

.kf-main-thumb {
    flex: 1;
}

.kf-main-thumb img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--kf-shadow-lg);
}

.project-description {
    /*font-size: 1.25rem;
    line-height: 1.8;
    color: #4b5563;
    max-width: 900px;
    margin: 0 auto 80px;*/
}

/* Gallery Grid */
.kf-gallery-section {
    border-top: 1px solid var(--kf-border);
    padding-top: 60px;
}

.kf-gallery-section h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.kf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.kf-gallery-image a {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/3;
}

.kf-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.kf-gallery-image:hover img {
    transform: scale(1.1);
}

/* Header Styles for Archive and Taxonomy */
.kf-taxonomy-header,
.page-header {
    margin-bottom: 60px;
}

.kf-term-image img {
    width: 100%;
    height: auto;
}

/* Pagination */
.kf-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--kf-border);
}

.kf-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .kf-project-info {
        flex-direction: column-reverse;
    }

    .kf-project-info .info-details {
        flex: 1;
    }

    .kf-info-card {
        position: static;
    }
}

@media (max-width: 640px) {

    .kf-archive-wrapper,
    .kf-single-wrapper,
    .kf-taxonomy-wrapper {
        padding: 40px 20px;
    }

    .kf-single-wrapper .entry-title {
        font-size: 2.5rem;
    }

    .kf-portfolio-grid {
        grid-template-columns: 1fr;
    }
}