/* Furniture City – enhancements: hero slider, scroll reveal, About/Products polish, responsive refinements. */

/* Prevent animated/offset elements from creating horizontal scroll */
html, body { overflow-x: clip; }
.fc-main { overflow-x: clip; }

/* ---- Hero slider ---- */
.fc-slider { position: relative; border-radius: var(--fc-radius); overflow: hidden; background: #222; aspect-ratio: 4 / 3.1; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.fc-slider__track { position: absolute; inset: 0; }
.fc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.fc-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.fc-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 0; transform: scale(1.06); transition: transform 6.5s ease-out; }
.fc-slide.is-active img { transform: scale(1); }
.fc-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.25rem 1.1rem; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75)); font: 600 1.05rem/1.2 var(--fc-font-head); letter-spacing: .04em; color: #fff; }
.fc-slider__ui { position: absolute; z-index: 2; right: .9rem; bottom: .9rem; display: flex; align-items: center; gap: .6rem; }
.fc-slider__dots { display: flex; gap: .4rem; }
.fc-slider__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s, background .25s; }
.fc-slider__dots button.is-active { width: 26px; border-radius: 999px; background: var(--fc-red); }
.fc-slider__btn { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(20, 20, 20, .65); color: #fff; cursor: pointer; transition: background .2s; }
.fc-slider__btn:hover { background: var(--fc-red); }
.fc-slider__btn[data-dir="-1"] .fc-icon { transform: scaleX(-1); }
.fc-hero__media img { aspect-ratio: auto; }

/* ---- Scroll reveal (progressive enhancement: only active when JS runs) ---- */
.fc-js-reveal [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1) var(--fc-d, 0ms), transform .75s cubic-bezier(.2, .7, .2, 1) var(--fc-d, 0ms); will-change: opacity, transform; }
.fc-js-reveal .fc-split__media[data-reveal] { transform: translateX(-34px); }
.fc-js-reveal .fc-split--rev .fc-split__media[data-reveal] { transform: translateX(34px); }
.fc-js-reveal [data-reveal].is-in, .fc-js-reveal .fc-split__media[data-reveal].is-in, .fc-js-reveal .fc-split--rev .fc-split__media[data-reveal].is-in { opacity: 1; transform: none; }

/* ---- About page ---- */
.fc-statband { background: #fff; border-bottom: 1px solid var(--fc-grey-200); }
.fc-statband__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fc-stat { padding: 2rem 1.25rem; text-align: center; border-left: 1px solid var(--fc-grey-200); }
.fc-stat:first-child { border-left: 0; }
.fc-stat strong { display: block; font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--fc-font-head); color: var(--fc-red); }
.fc-stat span { font-size: .9rem; color: var(--fc-grey-500); }
.fc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.fc-gallery figure { margin: 0; overflow: hidden; border-radius: var(--fc-radius); background: var(--fc-grey-100); }
.fc-gallery figure:first-child { grid-row: span 2; grid-column: span 2; }
.fc-gallery__wide:not(:first-child) { grid-column: span 2; }
.fc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fc-gallery figure:hover img { transform: scale(1.06); }
.fc-value { transition: transform .25s, box-shadow .25s; }
.fc-value:hover { transform: translateY(-4px); box-shadow: var(--fc-shadow); }

/* ---- Products page ---- */
.fc-filter small { opacity: .6; margin-left: .25rem; font-weight: 600; }
.fc-filter a.is-active small { opacity: .85; }
.fc-count { color: var(--fc-grey-500); margin-bottom: 1.25rem; font-size: .95rem; }
.fc-card__img { position: relative; }
.fc-card__img img { transition: transform .5s; }
.fc-card:hover .fc-card__img img { transform: scale(1.06); }
.fc-card__view { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); opacity: 0; background: var(--fc-ink); color: #fff; padding: .55rem 1rem; border-radius: 999px; font: 600 .75rem/1 var(--fc-font-head); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: opacity .25s, transform .25s; }
.fc-card:hover .fc-card__view, .fc-card:focus-within .fc-card__view { opacity: 1; transform: translate(-50%, 0); }
.fc-card__actions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: .5rem; }
.fc-card__wa { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #eafaf0; color: #128c4a; transition: background .2s, color .2s; }
.fc-card__wa:hover { background: #25d366; color: #fff; }
.fc-custom__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.fc-custom__in > div:first-child { max-width: 44rem; }
.fc-custom h2 { margin-bottom: .5rem; }
.fc-custom p { margin: 0; color: var(--fc-charcoal); }
.fc-custom__btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---- Responsive refinements ---- */
.fc-header__in { min-height: 76px; }
@media (max-width: 1100px) {
	.fc-hero__in { gap: 2rem; }
	.fc-gallery { grid-template-columns: repeat(3, 1fr); }
	.fc-gallery figure:first-child { grid-column: span 3; grid-row: span 1; }
	.fc-gallery__wide:not(:first-child) { grid-column: span 2; }
	.fc-menu { gap: 1.15rem; }
	.fc-nav { gap: 1rem; }
}
@media (max-width: 900px) {
	.fc-hero__in { padding-block: 2.5rem 3rem; }
	.fc-hero__text { order: 1; }
	.fc-hero__media { order: 2; }
	.fc-hero__media::after { inset: auto -8px -8px auto; }
	.fc-slider { aspect-ratio: 16 / 11; }
	.fc-statband__in { grid-template-columns: repeat(2, 1fr); }
	.fc-stat:nth-child(3) { border-left: 0; }
	.fc-stat:nth-child(n+3) { border-top: 1px solid var(--fc-grey-200); }
	.fc-strip ul { grid-template-columns: 1fr 1fr; }
	body.fc-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 65; }
	.fc-menu a { padding: 1.05rem 0; font-size: 1.05rem; }
	.fc-cta__in { padding-block: 2.5rem; }
	.fc-footer__grid { padding-block: 3rem 2rem; }
}
@media (max-width: 700px) {
	.fc-wrap { width: min(100% - 2rem, var(--fc-wrap)); }
	.fc-section { padding-block: 3rem; }
	.fc-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.fc-gallery figure:first-child, .fc-gallery__wide:not(:first-child) { grid-column: span 2; }
	.fc-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1rem; padding: 0 1rem .5rem; scrollbar-width: none; }
	.fc-filter::-webkit-scrollbar { display: none; }
	.fc-filter a { white-space: nowrap; flex: none; padding: .7rem 1.1rem; }
	.fc-custom__btns, .fc-custom__btns .fc-btn { width: 100%; }
	.fc-custom__btns .fc-btn { justify-content: center; }
	.fc-slide figcaption { font-size: .92rem; padding: 2.5rem 1rem .9rem; }
	.fc-slider__btn { width: 34px; height: 34px; }
	.fc-map__bar .fc-btn, .fc-sechead--row .fc-btn { width: 100%; justify-content: center; }
	.fc-topbar a { margin-left: .75rem; }
	.fc-topbar a:last-child { display: none; }
}
@media (max-width: 420px) {
	.fc-grid { gap: 1rem; }
	.fc-hero__facts { display: grid; grid-template-columns: 1fr 1fr; }
	.fc-stat { padding: 1.4rem .6rem; }
}
@media (hover: none) { .fc-card__view { display: none; } }
@media (prefers-reduced-motion: reduce) { .fc-slide img { transform: none !important; } }
