/*
Theme Name: Fluffing Stylish (Original look)
Theme URI: https://fluffingstylish.co.uk/
Author: Etechinc Limited
Author URI: https://www.etechinc.co.uk
Description: Classic theme that recreates the look of the original Fluffing Stylish Divi site (taupe header, "About me" homepage, Services cards, gradient footer) without needing Divi. Everything is edited in Appearance > Customize > Fluffing Stylish.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fluffing-stylish-original
*/

/* ---------- Colours and sizes from the original site ---------- */
:root {
	--taupe: #b9a7a1;
	--cream: #f8f4f1;
	--stone: #e2dad3;
	--gold: #dec098;
	--charcoal: #333;
	--link: #2ea3f2;
	--display: "Patua One", Georgia, serif;
	--sans: "Open Sans", Arial, sans-serif;
	--plain: Arial, Helvetica, sans-serif;
	--gap: 31px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: #666;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding-bottom: 10px; color: var(--charcoal); font-family: var(--display); font-weight: 400; line-height: 1.2; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.fs-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .75rem 1rem; background: #fff; color: #000; }
.fs-skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.fs-center { text-align: center; }

/* Rows: 80% wide, like Divi */
.fs-row { width: 80%; max-width: 1080px; margin: 0 auto; position: relative; }
.fs-row--wide { max-width: 1440px; }
.fs-row--narrow { max-width: 800px; }

/* Text blocks */
.fs-text { color: #000; font-family: var(--plain); font-size: 14px; line-height: 1.8; }
.fs-text p, .fs-text ul, .fs-text ol { padding-bottom: 14px; }
.fs-text > :last-child { padding-bottom: 0; }
.fs-text ul, .fs-text ol { margin: 0; padding-left: 1.2em; }
.fs-text h2 { font-size: 30px; }
.fs-text h3 { font-size: 24px; }
.fs-text img { display: block; margin: 0 0 14px; }

/* Buttons */
.fs-button {
	display: inline-block;
	max-width: 100%;
	padding: 10px 20px;
	border: 0;
	background: #fff;
	color: #000;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	transition: opacity .2s ease;
}
.fs-button:hover { opacity: .85; text-decoration: none; }
.fs-button--stone { background: var(--stone); }
.fs-button--gold { background: var(--gold); color: #fff; }
.fs-button--big { padding: 20px 60px; background: var(--gold); color: #fff; font-size: 14px; letter-spacing: 4px; }
.fs-button--big:hover { color: #fff; }

/* ---------- Header ---------- */
.fs-header { background: var(--taupe); position: relative; z-index: 20; }
.fs-header__row { display: flex; align-items: center; height: 125px; padding-bottom: 8px; }
.fs-header__logo { flex: 0 0 25%; align-self: stretch; display: flex; align-items: center; }
.fs-header__logo a { display: inline-block; line-height: 0; }
.fs-logo { width: 178px; height: 178px; object-fit: contain; display: block; }
.fs-header__menu { flex: 0 0 50%; }
.fs-header__social { flex: 0 0 25%; display: flex; justify-content: center; }
.fs-header__ig { display: inline-flex; color: #000; }
.fs-header__ig:hover { opacity: .7; }

.fs-nav-toggle { display: none; }
.fs-nav__list { display: flex; flex-wrap: wrap; margin: 0; padding: 20px 0; list-style: none; }
.fs-nav__list li { padding-right: 22px; }
.fs-nav__list a { display: inline-block; color: rgba(0, 0, 0, .6); font-family: var(--plain); font-size: 14px; font-weight: 500; line-height: 22px; transition: opacity .2s ease; }
.fs-nav__list a:hover { opacity: .7; text-decoration: none; }
.fs-nav__list .current-menu-item > a, .fs-nav__list .current_page_item > a { color: #000; }

/* ---------- Homepage ---------- */
.fs-home {
	padding: 130px 0;
	background-color: var(--cream);
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}
.fs-home .fs-row { padding: 27px 0; }
.fs-home__title {
	padding-bottom: 10px;
	margin-bottom: var(--gap);
	font-size: clamp(44px, 12vw, 172.8px);
	line-height: 1;
	text-align: center;
}
.fs-home__intro { margin-bottom: var(--gap); color: #000; font-family: var(--sans); text-align: center; }
.fs-home__image { display: block; width: 100%; margin-bottom: var(--gap); }
.fs-home__text { margin-bottom: var(--gap); line-height: 1.7; }

/* ---------- Pages ---------- */
.fs-page { padding: 54px 0; }
.fs-page > .fs-row, .fs-page .fs-row { padding: 27px 0; }
.fs-page__title { margin-bottom: 30px; font-size: clamp(44px, 8vw, 80px); line-height: 1.2; }
.fs-page__title--post { font-size: clamp(34px, 5vw, 56px); }
.fs-page--narrow .fs-page__title { margin-bottom: 54px; }
.fs-meta { margin: -20px 0 24px; color: #666; font-size: 13px; }
.fs-featured { display: block; margin-bottom: 24px; }
.fs-excerpt { margin-bottom: 40px; }
.fs-excerpt h2 { font-size: 30px; }
.fs-excerpt h2 a { color: var(--charcoal); }

/* ---------- Services ---------- */
.fs-banner {
	padding: 225px 0;
	background-color: #fff;
	background-size: cover;
	background-position: 50% 50%;
	text-align: center;
}
.fs-banner__title { color: #fff; font-size: clamp(44px, 8vw, 80px); line-height: 1.2; }

.fs-cards { display: flex; }
.fs-card { flex: 1 1 0; min-width: 0; padding: 40px; background: #fff; }
.fs-card--taupe { background: var(--taupe); }
.fs-card--cream { background: var(--cream); }
.fs-card__icon { display: block; width: 48px; height: 48px; margin-bottom: 30px; }
.fs-card__title { font-size: 24px; line-height: 1.2; }
.fs-card__text { margin-bottom: 20px; color: #000; font-family: var(--sans); font-size: 14px; line-height: 1.8; }
.fs-card__text p, .fs-card__text ul { padding-bottom: 14px; }
.fs-card__text ul { margin: 0; padding-left: 1.4em; }

.fs-note { padding: 0; background: #fff; }
.fs-note .fs-row { padding: 27px 0; }
.fs-note p { color: var(--charcoal); font-family: var(--plain); font-size: 16px; font-weight: 600; line-height: 1.3; }

/* ---------- Footer ---------- */
.fs-footer { padding: 54px 0 30px; background: var(--taupe) linear-gradient(90deg, var(--taupe) 2%, #fff 100%); }
.fs-footer__row { display: flex; gap: 5.5%; padding: 27px 0; }
.fs-footer__brand, .fs-footer__links { flex: 1 1 0; }
.fs-footer__logo { display: block; width: 220px; height: 220px; object-fit: contain; }
.fs-social { display: flex; gap: 8px; margin: -25px 0 0; padding: 0 0 0 40px; list-style: none; }
.fs-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 3px; color: #fff; }
.fs-social a:hover { opacity: .8; }
.fs-social__ig { background: #ea2c59; }
.fs-social__fb { background: #3b5998; }
.fs-footer__title { padding-bottom: 10px; color: #000; font-family: var(--plain); font-size: 26px; font-weight: 500; line-height: 1; }
.fs-footer__divider { width: 50%; margin: 10px 0 16px; border: 0; border-top: 1px solid #000; }
.fs-footer__list { margin: 0; padding: 0; list-style: none; }
.fs-footer__list li { padding-bottom: 14px; line-height: 1.7; }
.fs-footer__list a { color: #000; font-family: var(--sans); font-size: 14px; }
.fs-credit { margin: 0; padding-top: 10px; color: rgba(0, 0, 0, .6); font-size: 12px; text-align: center; }
.fs-credit a { color: #000; }

/* ---------- Tablet and phone (Divi switches at 980px) ---------- */
@media (max-width: 980px) {
	.fs-header__row { flex-wrap: wrap; height: auto; padding: 0 0 24px; }
	.fs-header__logo { flex: 0 0 100%; justify-content: center; margin: -20px 0 0; }
	.fs-header__logo a { display: inline-block; }
	.fs-header__menu { flex: 0 0 100%; display: flex; justify-content: flex-end; }
	.fs-header__social { display: none; }
	.fs-nav-toggle { display: block; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
	.fs-nav-toggle__bars, .fs-nav-toggle__bars::before, .fs-nav-toggle__bars::after { display: block; width: 32px; height: 3px; margin: 0 auto; background: #000; position: relative; transition: transform .2s ease, background-color .2s ease; }
	.fs-nav-toggle__bars::before, .fs-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.fs-nav-toggle__bars::before { top: -10px; }
	.fs-nav-toggle__bars::after { top: 10px; }
	.fs-nav-open .fs-nav-toggle__bars { background: transparent; }
	.fs-nav-open .fs-nav-toggle__bars::before { transform: translateY(10px) rotate(45deg); }
	.fs-nav-open .fs-nav-toggle__bars::after { transform: translateY(-10px) rotate(-45deg); }
	.fs-nav { display: none; position: absolute; left: 10%; right: 10%; top: 100%; margin-top: -20px; background: #fff; border-top: 3px solid var(--link); box-shadow: 0 2px 5px rgba(0, 0, 0, .1); }
	.fs-nav-open .fs-nav { display: block; }
	.fs-nav__list { display: block; padding: 5% ; }
	.fs-nav__list li { padding: 0; }
	.fs-nav__list a { display: block; padding: 10px 5%; border-bottom: 1px solid rgba(0, 0, 0, .03); }

	.fs-home { padding: 50px 0; }
	.fs-cards { flex-wrap: wrap; }
	.fs-card { flex: 1 1 50%; }
	.fs-banner { padding: 120px 0; }
	.fs-footer__row { flex-direction: column; gap: 30px; }
}
@media (max-width: 600px) {
	.fs-card { flex-basis: 100%; }
}
