/* ══════════════════════════════════════════
   CATEGORY — Subpage styles
   (urbana-oprema, pergole, ogradni-sustavi)
   ══════════════════════════════════════════ */

/* ── Intro ── */
.intro { display: grid; grid-template-columns: 1fr 1fr; background: var(--warm-white); color: var(--bark); }
.intro-img { position: relative; overflow: hidden; min-height: 580px; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.25,.46,.45,.94); }
.intro-img:hover img { transform: scale(1.04); }
.intro-content { padding: 90px 72px; display: flex; flex-direction: column; justify-content: center; }
.intro-content .label { color: var(--wood); }
.intro-content .label::before { background: var(--wood); }
.intro-content h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem,3.5vw,4rem); font-weight: 300; font-style: italic; line-height: 1.1; margin-bottom: 24px; color: var(--bark); }
.intro-content p { font-size: .88rem; line-height: 1.88; color: var(--wood); font-weight: 300; margin-bottom: 14px; max-width: 440px; }
.intro-content blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--timber); border-left: 2px solid var(--gold); padding-left: 20px; margin-top: 28px; line-height: 1.6; font-weight: 300; }

/* ── Products Grid ── */
.products-section { padding: 100px 72px; background: var(--charcoal); }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.products-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,3.5vw,4rem); font-weight: 300; font-style: italic; color: var(--cream); }
.products-header p { max-width: 340px; font-size: .82rem; line-height: 1.8; color: var(--ash); font-weight: 300; text-align: right; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.product-card {
    background: var(--mid);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .4s;
}
.product-card:hover { box-shadow: 0 12px 48px rgba(196,154,85,.15); }

.product-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.25,.46,.45,.94), filter .5s;
    filter: brightness(.75) saturate(.7);
}
.product-card:hover .product-card-img img {
    transform: scale(1.06);
    filter: brightness(.92) saturate(1);
}
.product-card-overlay {
    position: absolute; inset: 0;
    background: rgba(20,18,16,0);
    display: flex; align-items: center; justify-content: center;
    transition: background .4s;
    color: var(--gold);
}
.product-card:hover .product-card-overlay {
    background: rgba(20,18,16,.45);
}
.product-card-overlay svg {
    opacity: 0; transform: scale(.7);
    transition: all .35s;
}
.product-card:hover .product-card-overlay svg {
    opacity: 1; transform: scale(1);
}

.product-card-body {
    padding: 28px 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(196,154,85,.1);
    transition: border-color .4s;
}
.product-card:hover .product-card-body { border-color: rgba(196,154,85,.3); }

.product-card-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: rgba(196,154,85,.1);
    line-height: 1;
    margin-bottom: 6px;
}
.product-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: .06em;
    color: var(--cream);
    margin-bottom: 8px;
    transition: color .3s;
}
.product-card h3 span { color: var(--gold); }
.product-card:hover h3 { color: var(--gold-light); }

.product-card-subtitle {
    font-size: .75rem;
    color: var(--ash);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.product-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* ── Solutions grid (ogradni-sustavi) ── */
.solutions { padding: 100px 72px; background: var(--charcoal); }
.solutions-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.solutions-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,3.5vw,4rem); font-weight: 300; font-style: italic; color: var(--cream); }
.solutions-header p { max-width: 340px; font-size: .82rem; line-height: 1.8; color: var(--ash); font-weight: 300; text-align: right; }
.sol-grid { display: grid; grid-template-columns: repeat(12,1fr); grid-template-rows: auto; gap: 2px; }
.sol-card { position: relative; overflow: hidden; background: var(--mid); cursor: pointer; display: flex; flex-direction: column; }
.sol-card:nth-child(1) { grid-column: span 7; }
.sol-card:nth-child(2) { grid-column: span 5; }
.sol-card:nth-child(3) { grid-column: span 4; }
.sol-card:nth-child(4) { grid-column: span 4; }
.sol-card:nth-child(5) { grid-column: span 4; }
.sol-card:nth-child(6) { grid-column: span 6; }
.sol-card:nth-child(7) { grid-column: span 6; }
.sol-card-img { overflow: hidden; height: 260px; }
.sol-card:nth-child(1) .sol-card-img,
.sol-card:nth-child(6) .sol-card-img,
.sol-card:nth-child(7) .sol-card-img { height: 300px; }
.sol-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.25,.46,.45,.94), filter .5s; filter: brightness(.78) saturate(.68); }
.sol-card:hover .sol-card-img img { transform: scale(1.07); filter: brightness(.95) saturate(1); }
.sol-card-body { padding: 28px 26px 32px; flex: 1; display: flex; flex-direction: column; border-top: 1px solid rgba(196,154,85,.1); transition: border-color .4s; }
.sol-card:hover .sol-card-body { border-color: rgba(196,154,85,.3); }
.sol-card-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: rgba(196,154,85,.12); line-height: 1; margin-bottom: 8px; }
.sol-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: .07em; color: var(--cream); margin-bottom: 10px; transition: color .3s; }
.sol-card:hover h3 { color: var(--gold); }
.sol-card p { font-size: .78rem; line-height: 1.75; color: var(--ash); font-weight: 300; flex: 1; }
.sol-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.sol-card:hover .tag { background: rgba(196,154,85,.1); }
.sol-card-link { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(192,187,178,.4); transition: color .3s; text-decoration: none; }
.sol-card:hover .sol-card-link { color: var(--gold); }
.sol-card-link::after { content: '\2192'; transition: transform .3s; }
.sol-card:hover .sol-card-link::after { transform: translateX(4px); }

/* ── Applications ── */
.applications { background: var(--timber); padding: 100px 72px; }
.applications h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem,3vw,3.6rem); font-weight: 300; font-style: italic; color: var(--cream); margin-bottom: 52px; }
.app-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.app-card { position: relative; overflow: hidden; height: 380px; cursor: default; }
.app-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) saturate(.5); transition: all .8s cubic-bezier(.25,.46,.45,.94); }
.app-card:hover img { transform: scale(1.04); filter: brightness(.5) saturate(.8); }
.app-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(74,46,18,.96) 0%, transparent 55%); }
.app-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 32px; }
.app-card-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.app-card h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: .06em; color: var(--cream); margin-bottom: 10px; }
.app-card p { font-size: .78rem; line-height: 1.7; color: var(--ash); font-weight: 300; }

/* ── Features ── */
.features { background: var(--bark); padding: 100px 72px; }
.features-head { margin-bottom: 64px; }
.features-head h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem,3vw,3.6rem); font-weight: 300; font-style: italic; color: var(--cream); max-width: 480px; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(196,154,85,.08); }
.feature { background: var(--bark); padding: 52px 36px; position: relative; overflow: hidden; transition: background .4s; }
.feature:hover { background: rgba(196,154,85,.04); }
.feature::before { content: attr(data-icon); position: absolute; top: 28px; right: 24px; font-size: 2rem; opacity: .35; }
.feature-num { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: rgba(196,154,85,.1); line-height: 1; margin-bottom: 16px; }
.feature h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 12px; }
.feature p { font-size: .8rem; line-height: 1.75; color: var(--ash); font-weight: 300; }
