/*
Theme Name: Vento Real V2
Theme URI: https://ventoreal.example
Author: Vento Real
Description: Premium Iberian sport horse trading, stabling & training.
Version: 1.0.3
Requires PHP: 7.4
Text Domain: ventoreal-v2
*/

:root {
	--navy: #1a1a1a;
	--navy-deep: #0d0d0d;
	--gold: #c8a25c;
	--gold-light: #d9bd85;
	--parchment: #fafaf8;
	--parchment-dark: #f2e9d8;
	--ink: #1a1a1a;
	--white: #ffffff;

	--font-serif: 'Bodoni Moda', Georgia, serif;
	--font-sans: 'Poppins', -apple-system, sans-serif;

	--container: 1280px;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 8rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--parchment);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, .font-serif {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.eyebrow {
	font-family: var(--font-sans);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 700;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--space-md);
}
.section { padding: var(--space-xl) 0; }

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	background: #ffffff;
	backdrop-filter: none;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	padding: 1.25rem 0;
	transition: padding 0.3s ease;
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 1.5rem;
}
.mobile-nav-cta { display: none; 
}
.site-logo { color: var(--ink); font-family: var(--font-serif); font-size: 1.5rem; }
.site-logo span { color: var(--gold); }
.site-logo img,
.custom-logo {
	max-height: 60px;
	width: auto;
}
.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}
.main-nav ul { display: flex; gap: 2.5rem; }
.main-nav a {
	color: var(--ink);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold); }
body.mobile-nav-open .main-nav a { color: var(--parchment); }
.menu-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; }
.header-cta {
	background: var(--gold);
	color: #fff;
	padding: 0.75rem 1.75rem;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	white-space: nowrap;
}
.header-cta:hover { background: var(--gold-light); }

.btn {
	display: inline-block;
	padding: 0.9rem 2.2rem;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	border: 1px solid var(--gold);
	transition: all 0.3s ease;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: var(--parchment); }
.btn-outline:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* Full-bleed hero */
.hero-full {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.hero-full-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 18%;
}
.hero-full-bg-mobile { display: none; }

@media (max-width: 900px) {
	.hero-full-bg-desktop { display: none; }
	.hero-full-bg-mobile { display: block; }
}

.hero-full-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
}
.hero-full-content {
	position: relative;
	z-index: 2;
	padding: 3rem;
	max-width: 620px;
}
.hero-full-content h1 {
	color: #fff;
	font-family: var(--font-serif);
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.25;
	margin-bottom: 1rem;
}
.hero-full-content h1 span { color: var(--gold); display: block; }
.hero-full-content p { color: #f0f0f0; max-width: 420px; margin-bottom: 1.75rem; }

/* Feature strip */
.feature-strip {
	background: var(--navy);
	padding: 3rem 0;
	position: relative;
}
.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.feature-item {
	text-align: center;
	padding: 0 1.5rem;
	border-right: 1px solid rgba(200,162,92,0.25);
}
.feature-item:last-child { border-right: none; }
.feature-item svg { margin: 0 auto 1rem; display: block; }
.feature-item h4 {
	color: #fff;
	font-family: var(--font-sans);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.feature-item p { color: #ccc; font-size: 0.85rem; }

.marquee {
	background: var(--navy-deep);
	color: var(--gold-light);
	overflow: hidden;
	padding: 1rem 0;
	white-space: nowrap;
	border-top: 1px solid rgba(200,162,92,0.3);
	border-bottom: 1px solid rgba(200,162,92,0.3);
}
.marquee-track {
	display: inline-flex;
	gap: 3rem;
	animation: scroll-marquee 30s linear infinite;
	font-family: var(--font-serif);
	font-size: 1.3rem;
	font-style: italic;
}
@keyframes scroll-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.horse-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--space-md);
	margin-top: var(--space-md);
}
.horse-card {
	background: var(--white);
	border: 1px solid var(--parchment-dark);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.horse-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.horse-card-image { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.horse-card-image img { width: 100%; height: 100%; object-fit: cover; }
.horse-status-badge {
	position: absolute; top: 1rem; right: 1rem;
	background: var(--navy); color: var(--gold-light);
	font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.35rem 0.8rem;
}
.horse-card-body { padding: 1.5rem; }
.horse-card-body h3 { margin-bottom: 0.3rem; }

.horse-details {
	margin: 0.5rem 0;
}
.horse-detail-item {
	font-size: 1.1rem;
	color: var(--ink);
	display: block;
	margin-top: 0.25rem;
}

.horse-price { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); margin-top: 0.5rem; }

.horse-single-grid {
	grid-template-columns: 1.3fr 1fr;
}

.services { background: var(--navy); color: var(--parchment); }
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
	margin-top: var(--space-md);
}
.service-card { padding: var(--space-md); border: 1px solid rgba(200,162,92,0.25); }
.service-card h3 { color: var(--gold-light); margin-bottom: 0.75rem; }
.service-card p { color: #ddd; }
.service-card ul {
	list-style: none;
	padding-left: 0;
	margin: 0.75rem 0;
}
.service-card ul li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.4rem;
	font-size: 0.95rem;
	color: #ddd;
}
.service-card ul li::before {
	content: "●";
	color: var(--gold-light);
	position: absolute;
	left: 0;
	font-size: 0.6em;
	top: 0.35em;
}

.site-footer { background: var(--navy-deep); color: #ccc; padding: var(--space-lg) 0 var(--space-md); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }
.site-footer h3 { color: var(--gold-light); font-size: 1rem; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(200,162,92,0.2); padding-top: 1.5rem; font-size: 0.8rem; text-align: center; }

.horse-description img {
	max-width: 100%;
	height: auto;
	margin: 1rem 0;
	border-radius: 2px;
}
.entry-content ul,
.horse-description ul {
	list-style: none;
	padding-left: 0;
	margin: 1rem 0;
}
.entry-content ul li,
.horse-description ul li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
}
.entry-content ul li::before,
.horse-description ul li::before {
	content: "●";
	color: var(--gold);
	position: absolute;
	left: 0;
	font-size: 0.7em;
	top: 0.3em;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#contact-form {
	scroll-margin-top: 100px;
}

@media (max-width: 900px) {
	.services-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.horse-single-grid { grid-template-columns: 1fr; }
	.site-logo img,
	.custom-logo {
		max-height: 48px;
	}
	.site-header {
		padding: 0.75rem 0;
	}
	.header-cta { display: none; }
	.menu-toggle { display: block; }
	.main-nav { display: none; }
	body.mobile-nav-open .main-nav {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--navy);
		padding: 6rem 2rem 2rem;
		z-index: 101;
	}
	body.mobile-nav-open .main-nav ul {
		flex-direction: column;
		gap: 1.5rem;
	}
        body.mobile-nav-open .mobile-nav-cta {
		display: inline-block;
		margin-top: 2rem;
		background: var(--gold);
		color: #fff;
		padding: 0.9rem 2rem;
		font-size: 0.8rem;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		font-weight: 700;
	}
	.hero-full {
		aspect-ratio: 1 / 1;
		min-height: unset;
		margin-top: 90px;
	}
	.hero-full-content {
		padding: 1.5rem;
		padding-top: 25vw;
	}
	.hero-full-content h1 {
		font-size: 1.4rem;
		margin-bottom: 0.6rem;
	}
	.hero-full-content p {
		font-size: 0.85rem;
		margin-bottom: 1.25rem;
	}
	.hero-full-content .btn {
		margin-top: 0.5rem;
		display: inline-block;
	}
	.feature-grid { grid-template-columns: 1fr; }
	.feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 1.5rem 0; }
	.feature-item:last-child { border-bottom: none; }
}