/* ==========================================================================
   FOTO TAPETE PO MERI & ZIDNE GRAFIKE - SPECIFIČNI STILOVI & OPTIMIZACIJE
   ========================================================================== */

:root {
    --ft-primary: #0D9B6F;
    --ft-primary-hover: #0a7d59;
    --ft-primary-light: rgba(13, 155, 111, 0.08);
    --ft-primary-glow: rgba(13, 155, 111, 0.25);
    --ft-dark: #0f172a;
    --ft-dark-card: #1e293b;
    --ft-text-muted: #64748b;
    --ft-border: #e2e8f0;
    --ft-bg-light: #f8fafc;
}

/* Breadcrumbs */
.ft-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.ft-breadcrumbs a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ft-breadcrumbs a:hover {
    color: var(--colors-brand-green, #0D9B6F);
}
.ft-breadcrumbs .current {
    color: var(--colors-brand-green, #0D9B6F);
    font-weight: 600;
}

/* Hero Section */
.ft-hero-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}
@media (min-width: 1024px) {
    .ft-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}
.ft-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 28px 0;
}
.ft-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.ft-trust-badge:hover {
    transform: translateY(-2px);
    border-color: #0D9B6F;
}
.ft-trust-badge span {
    font-size: 1.1rem;
}
.ft-hero-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    border: 1px solid rgba(13, 155, 111, 0.2);
}
.ft-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ft-hero-img-wrap:hover img {
    transform: scale(1.03);
}
.ft-hero-badge-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Zero-Click AI Snippet Box */
.ft-definition-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    margin: 20px auto 30px auto;
    max-width: 980px;
    line-height: 1.75;
    color: #334155;
    font-size: 1.05rem;
}
.ft-definition-lead {
    background: rgba(13, 155, 111, 0.07);
    border-left: 5px solid var(--colors-brand-green, #0D9B6F);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 22px;
    font-weight: 500;
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1.65;
}

/* Benefit Cards (4 Kartice) */
.ft-benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
}
@media (min-width: 640px) {
    .ft-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .ft-benefit-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.ft-benefit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ft-benefit-card:hover {
    transform: translateY(-5px);
    border-color: #0D9B6F;
    box-shadow: 0 12px 30px rgba(13, 155, 111, 0.12);
}
.ft-benefit-icon {
    width: 54px;
    height: 54px;
    background: rgba(13, 155, 111, 0.1);
    color: #0D9B6F;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.ft-benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.ft-benefit-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Material / Types Cards (4 Kartice) */
.ft-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 36px;
}
@media (min-width: 640px) {
    .ft-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .ft-types-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.ft-type-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ft-type-card:hover {
    transform: translateY(-5px);
    border-color: #0D9B6F;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}
.ft-type-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.ft-type-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ft-type-card:hover .ft-type-img-wrap img {
    transform: scale(1.06);
}
.ft-type-body {
    padding: 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.ft-type-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}
.ft-type-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.ft-type-body li {
    font-size: 0.88rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.45;
}
.ft-type-body li::before {
    content: "✓";
    color: #0D9B6F;
    font-weight: 800;
}
.ft-type-price {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--colors-brand-green, #0D9B6F);
}

/* Tables (Tech Specs, Comparison, Pricing) */
.ft-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    margin: 28px 0 20px 0;
    -webkit-overflow-scrolling: touch;
}
.ft-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 660px;
    font-size: 0.95rem;
}
.ft-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    padding: 18px 22px;
    border-bottom: 2px solid #cbd5e1;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}
.ft-table td {
    padding: 16px 22px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}
.ft-table tr:last-child td {
    border-bottom: none;
}
.ft-table tr:hover td {
    background-color: #f8fafc;
}
.ft-highlight-cell {
    font-weight: 700;
    color: var(--colors-brand-green, #0D9B6F);
}

/* Advice Box */
.ft-advice-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid var(--colors-brand-green, #0D9B6F);
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin-top: 24px;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* HowTo Process Timeline */
.ft-process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
}
@media (min-width: 768px) {
    .ft-process-timeline {
        grid-template-columns: repeat(5, 1fr);
    }
}
.ft-process-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ft-process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 155, 111, 0.1);
}
.ft-step-badge {
    width: 48px;
    height: 48px;
    background: var(--colors-brand-green, #0D9B6F);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 6px 14px rgba(13, 155, 111, 0.35);
}
.ft-process-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}
.ft-process-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Rich SEO Project Gallery Grid */
.ft-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
}
@media (min-width: 640px) {
    .ft-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .ft-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.ft-project-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ft-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}
.ft-project-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.ft-project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ft-project-card:hover .ft-project-img-wrap img {
    transform: scale(1.06);
}
.ft-project-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}
.ft-project-body {
    padding: 20px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.ft-project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.ft-project-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Industry Cards */
.ft-industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
}
@media (min-width: 640px) {
    .ft-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .ft-industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.ft-industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.ft-industry-card:hover {
    transform: translateY(-4px);
    border-color: #0D9B6F;
}
.ft-industry-card .icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}
.ft-industry-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.ft-industry-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* FAQ Accordion */
.ft-faq-accordion {
    max-width: 900px;
    margin: 36px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ft-faq-details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.ft-faq-details[open] {
    border-color: #0D9B6F;
    box-shadow: 0 4px 16px rgba(13, 155, 111, 0.09);
}
.ft-faq-summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}
.ft-faq-summary::-webkit-details-marker {
    display: none;
}
.ft-faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #0D9B6F;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}
.ft-faq-details[open] .ft-faq-summary::after {
    content: '−';
}
.ft-faq-content {
    padding: 0 24px 22px 24px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Trust Grid */
.ft-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.ft-trust-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.ft-trust-card:hover {
    transform: translateY(-4px);
    border-color: #0D9B6F;
}
.ft-trust-card .icon {
    font-size: 2.3rem;
    margin-bottom: 12px;
    display: block;
}
.ft-trust-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.ft-trust-card p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* CTA Banner Box */
.ft-cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 48px 36px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 155, 111, 0.3);
}
.ft-cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 155, 111, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.ft-cta-banner h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #ffffff;
    margin: 0 0 16px 0;
    position: relative;
}
.ft-cta-banner p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
    position: relative;
}
.ft-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .ft-definition-box {
        padding: 24px 18px;
    }
    .ft-cta-banner {
        padding: 36px 20px;
    }
    .ft-cta-buttons .button {
        width: 100%;
        text-align: center;
    }
}
