/*
Theme Name: Sardinia Pool Villas
Description: Custom theme for a curated Sardinian villa portal.
Version: 0.1.0
WPVibe: yes
*/

:root{
	--spv-ink:#111111;
	--spv-ink-soft:#2b2b2b;
	--spv-sand:#c7a56a;
	--spv-sand-light:#ead8b3;
	--spv-coral:#111111;
	--spv-cream:#ffffff;
	--spv-white:#fff;
	--spv-border:rgba(199,165,106,.38);
	--spv-serif:"Playfair Display",Georgia,serif;
	--spv-sans:"DM Sans",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--spv-cream);color:var(--spv-ink);font-family:var(--spv-sans);line-height:1.5}
a{color:inherit}
img{display:block;max-width:100%}
button,input,select{font:inherit}
.spv-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.95);backdrop-filter:blur(18px);border-bottom:1px solid var(--spv-border)}
.spv-header__inner{max-width:1380px;margin:0 auto;padding:18px 36px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px}
.spv-brand{text-decoration:none;font-family:var(--spv-serif);font-size:clamp(24px,2.1vw,36px);font-weight:600;letter-spacing:-.025em}
.spv-nav__list{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}
.spv-nav a{text-decoration:none;font-size:14px;color:var(--spv-ink-soft)}
.spv-nav a:hover{color:var(--spv-sand)}
.spv-header__owner{justify-self:end;text-decoration:none;border:1px solid #e67760;padding:10px 16px;font-size:13px;text-transform:uppercase;letter-spacing:.08em;background:#e67760;color:white;transition:.25s}
.spv-header__owner:hover{background:#cf6652;border-color:#cf6652;color:white}
.spv-hero{position:relative;min-height:690px;display:flex;align-items:end;background-image:var(--hero-image);background-size:cover;background-position:center 45%}
.spv-hero__veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,8,15,.06),rgba(14,8,15,.34) 68%,rgba(14,8,15,.48))}
.spv-hero__content{position:relative;z-index:1;width:min(1220px,calc(100% - 48px));margin:0 auto;padding:90px 0 58px;color:white}
.spv-kicker{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:600;margin:0 0 13px;color:var(--spv-sand-light)}
.spv-hero h1,.spv-section-heading h2,.spv-owners h2{font-family:var(--spv-serif);font-weight:500;letter-spacing:-.03em}
.spv-hero h1{font-size:clamp(54px,7vw,104px);line-height:.96;margin:0;max-width:900px}
.spv-hero__sub{max-width:670px;font-size:18px;margin:24px 0 34px;color:rgba(255,255,255,.88)}
.spv-search{display:grid;grid-template-columns:1.4fr 1.2fr .8fr auto;background:white;color:var(--spv-ink);max-width:1000px;margin:0 auto;box-shadow:0 16px 50px rgba(0,0,0,.16)}
.spv-search label{padding:15px 18px;border-right:1px solid var(--spv-border)}
.spv-search label span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#8b7b78;margin-bottom:5px}
.spv-search input,.spv-search select{width:100%;border:0;background:transparent;color:var(--spv-ink);outline:none}
.spv-search button{border:0;background:#e67760;color:white;padding:0 26px;display:flex;align-items:center;gap:10px;cursor:pointer;transition:.25s}
.spv-search button svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.spv-search button:hover{background:#cf6652;color:white}
.spv-featured{background:var(--spv-cream)}
.spv-section-heading{text-align:center;padding:82px 24px 46px}
.spv-section-heading h2{font-size:clamp(38px,5vw,66px);margin:0}
.spv-section-heading>p:last-child{margin:12px auto 0;max-width:560px;color:#7b6e69}
.spv-villa-band{position:relative;min-height:560px;margin:0 0 10px;overflow:hidden}
.spv-villa-band img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.spv-villa-band:hover img{transform:scale(1.025)}
.spv-villa-band__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,10,17,.6),rgba(18,10,17,.1) 65%)}
.spv-villa-band__content{position:absolute;left:max(42px,7vw);bottom:70px;color:white;max-width:680px}
.spv-villa-band__place{text-transform:uppercase;letter-spacing:.14em;font-size:12px;color:var(--spv-sand-light)}
.spv-villa-band h3{font-family:var(--spv-serif);font-size:clamp(36px,5vw,68px);font-weight:500;line-height:1.02;margin:8px 0 12px}
.spv-villa-band h3 span{font-style:italic;font-weight:500}
.spv-villa-band__content>p:not(.spv-villa-band__place){font-size:18px;margin-bottom:22px}
.spv-villa-band a,.spv-owners a{display:inline-block;background:#e67760;color:white;text-decoration:none;padding:13px 19px;font-size:13px;text-transform:uppercase;letter-spacing:.08em;border:1px solid #e67760;transition:.25s}
.spv-villa-band a:hover,.spv-owners a:hover{background:#cf6652;border-color:#cf6652;color:white}
.spv-why{padding:20px 24px 100px}
.spv-why__grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:44px}
.spv-why article{text-align:center;padding:18px}
.spv-icon{width:64px;height:64px;border:1px solid var(--spv-sand);border-radius:50%;display:grid;place-items:center;margin:0 auto 20px}
.spv-icon svg{width:29px;height:29px;fill:none;stroke:var(--spv-sand);stroke-width:1.4}
.spv-why h3{font-family:var(--spv-serif);font-size:26px;margin:0 0 9px}
.spv-why p{color:#756966;margin:0}
.spv-collections{background:white;padding-bottom:100px}
.spv-collections__grid{max-width:1180px;width:min(1180px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--spv-sand);border-left:1px solid var(--spv-sand);background:white;overflow:hidden}
.spv-collections__grid a{text-decoration:none;min-height:142px;padding:32px 34px;border-right:1px solid var(--spv-sand);border-bottom:1px solid var(--spv-sand);font-family:var(--spv-serif);font-size:26px;display:flex;justify-content:space-between;align-items:center;transition:background .25s ease,color .25s ease;background:white}
.spv-collections__grid a:hover{background:var(--spv-ink);color:var(--spv-sand-light)}
.spv-collections__grid span{font-family:var(--spv-sans);font-size:19px}
.spv-owners{background:var(--spv-ink);color:white;display:grid;grid-template-columns:1.2fr .8fr;gap:80px;padding:100px max(42px,8vw);align-items:end;border-top:1px solid var(--spv-sand)}
.spv-owners h2{font-size:clamp(42px,5vw,72px);line-height:1.02;margin:0}
.spv-owners>div:last-child p{color:rgba(255,255,255,.7);font-size:17px;margin:0 0 25px}
.spv-footer{background:#0b0b0b;color:white;padding:70px max(32px,7vw) 28px;border-top:1px solid var(--spv-sand)}
.spv-footer__grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:50px}
.spv-footer__brand{font-family:var(--spv-serif);font-size:32px}
.spv-footer p{color:rgba(255,255,255,.55)}
.spv-footer h3{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--spv-sand-light);margin:0 0 18px}
.spv-footer__grid a{display:block;text-decoration:none;color:rgba(255,255,255,.72);margin:8px 0}
.spv-footer__bottom{border-top:1px solid rgba(255,255,255,.13);margin-top:52px;padding-top:22px;display:flex;justify-content:space-between;color:rgba(255,255,255,.45);font-size:12px}
.spv-footer__bottom a{text-decoration:none;margin-left:18px}
@media(max-width:900px){
	.spv-header__inner{grid-template-columns:1fr auto;padding:16px 20px}
	.spv-nav{display:none}
	.spv-header__owner{font-size:11px}
	.spv-hero{min-height:690px}
	.spv-hero__content{width:min(100% - 28px,760px);padding-bottom:30px}
	.spv-search{grid-template-columns:1fr 1fr}
	.spv-search label:nth-child(2){border-right:0}
	.spv-search button{min-height:58px;justify-content:center}
	.spv-why__grid,.spv-collections__grid,.spv-owners,.spv-footer__grid{grid-template-columns:1fr}
	.spv-owners{gap:34px;padding:75px 28px}
}
@media(max-width:620px){
	.spv-brand{font-size:23px}
	.spv-header__owner{display:none}
	.spv-hero{min-height:740px;background-position:60% center}
	.spv-hero h1{font-size:54px}
	.spv-hero__sub{font-size:16px}
	.spv-search{grid-template-columns:1fr}
	.spv-search label{border-right:0;border-bottom:1px solid var(--spv-border)}
	.spv-search button{padding:16px 18px}
	.spv-villa-band{min-height:520px}
	.spv-villa-band__shade{background:linear-gradient(0deg,rgba(18,10,17,.75),rgba(18,10,17,.08) 70%)}
	.spv-villa-band__content{left:24px;right:24px;bottom:40px}
	.spv-villa-band h3{font-size:42px}
	.spv-section-heading{padding:68px 24px 36px}
	.spv-collections__grid{grid-template-columns:1fr;width:min(100% - 28px,1180px)}
	.spv-footer__bottom{gap:14px;flex-direction:column}
	.spv-footer__bottom a{margin-left:0;margin-right:18px}
}
