/* =====================================================================
   Villain Lucknow — main.css
   Design language: modern luxury real estate. Dark green + gold accents
   on a warm white/cream base, generous white space, rounded cards,
   restrained motion. Colours are overridden inline from Theme Settings
   (see inc/theme-options.php) so the admin can retint without touching
   this file.
===================================================================== */

body {
	font-family: var(--vl-font-body);
	color: var(--vl-ink);
	background: var(--vl-cream-100);
}
h1, h2, h3, h4, .vl-font-display { font-family: var(--vl-font-display); color: var(--vl-green-900); }

/* Safety net: an uploaded logo or any other image should never be able to
   overflow its column and overlap neighbouring content — this is what
   caused the footer logo to spill into the Quick Links column when its
   native file dimensions were wider than the column itself. */
img { max-width: 100%; height: auto; }
.vl-logo img,
.vl-footer .custom-logo,
.vl-header .custom-logo { max-width: 220px; width: 100%; height: auto; }

a { color: var(--vl-green-800); text-decoration: none; }
a:hover { color: var(--vl-gold-500); }

.vl-eyebrow {
	display: inline-block;
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--vl-gold-500);
	font-weight: 600;
	margin-bottom: .5rem;
}
.vl-section-heading { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.vl-section { padding: 5rem 0; }
.vl-section--tinted { background: #f2efe4; }

/* Buttons */
.vl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .7rem 1.6rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: .95rem;
	transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
	border: 1.5px solid transparent;
}
.vl-btn-primary { background: var(--vl-green-800); color: var(--vl-white); }
.vl-btn-primary:hover { background: var(--vl-green-900); color: var(--vl-white); transform: translateY(-1px); box-shadow: var(--vl-shadow); }
.vl-btn-outline { border-color: var(--vl-green-800); color: var(--vl-green-800); background: transparent; }
.vl-btn-outline:hover { background: var(--vl-green-800); color: var(--vl-white); }
.vl-btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.vl-btn-sm { padding: .45rem 1.1rem; font-size: .85rem; }

/* Marquee */
.vl-marquee-bar { background: var(--vl-green-950); color: var(--vl-gold-400); overflow: hidden; white-space: nowrap; padding: .45rem 0; }
.vl-marquee-track { display: inline-block; animation: vl-marquee linear infinite; }
.vl-marquee-bar[data-direction="right"] .vl-marquee-track { animation-direction: reverse; }
.vl-marquee-bar[data-pause="1"]:hover .vl-marquee-track { animation-play-state: paused; }
.vl-marquee-item { display: inline-block; padding: 0 3rem; font-size: .85rem; letter-spacing: .02em; }
@keyframes vl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header */
.vl-header { background: var(--vl-white); border-bottom: 1px solid var(--vl-line); z-index: 1030; }
.vl-header--sticky { position: sticky; top: 0; }
.vl-logo-text { font-family: var(--vl-font-display); font-size: 1.5rem; font-weight: 700; color: var(--vl-green-900); }
.vl-logo-text--light { color: var(--vl-white); }
.vl-nav-list a { color: var(--vl-ink); font-weight: 500; padding: .5rem 0; }
.vl-nav-list a:hover { color: var(--vl-gold-500); }
.vl-icon-btn { background: none; border: none; color: var(--vl-green-900); padding: .4rem; }
.vl-hamburger { background: none; border: none; display: flex; flex-direction: column; gap: 4px; }
.vl-hamburger span { width: 22px; height: 2px; background: var(--vl-green-900); display: block; }

/* Hero */
.vl-hero-slide {
	min-height: 78vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	position: relative;
}
.vl-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,22,.35), rgba(11,31,22,.75)); }
.vl-hero-content { position: relative; z-index: 2; color: var(--vl-white); max-width: 680px; }
.vl-hero-content h1 { color: var(--vl-white); font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.vl-hero-content p { font-size: 1.15rem; margin-bottom: 1.75rem; opacity: .92; }

/* Search bar */
.vl-search-bar {
	background: var(--vl-white);
	border-radius: var(--vl-radius-lg);
	box-shadow: var(--vl-shadow);
	padding: 1.5rem;
	margin-top: -3.5rem;
	position: relative;
	z-index: 5;
}
.vl-form-label { font-size: .8rem; font-weight: 600; color: var(--vl-muted); margin-bottom: .25rem; display: block; }

/* Property cards */
.vl-property-card { background: var(--vl-white); border-radius: var(--vl-radius-md); overflow: hidden; box-shadow: 0 8px 24px -16px rgba(11,31,22,.25); transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.vl-property-card:hover { transform: translateY(-4px); box-shadow: var(--vl-shadow); }
.vl-property-card-media { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.vl-property-card-media img { width: 100%; height: 100%; object-fit: cover; }
.vl-property-card-media--placeholder { width: 100%; height: 100%; background: var(--vl-line); }
.vl-badge { position: absolute; top: 12px; left: 12px; background: var(--vl-gold-500); color: var(--vl-white); font-size: .7rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.vl-property-card-body { padding: 1.25rem; }
.vl-property-card-price { font-family: var(--vl-font-display); font-size: 1.3rem; font-weight: 700; color: var(--vl-green-800); }
.vl-property-card-title { font-size: 1.05rem; margin: .3rem 0; }
.vl-property-card-title a { color: var(--vl-green-900); }
.vl-property-card-location { color: var(--vl-muted); font-size: .9rem; margin-bottom: .75rem; }
.vl-property-card-specs { color: var(--vl-muted); font-size: .85rem; }
.vl-property-card--list { display: flex; flex-direction: row; }
.vl-property-card--list .vl-property-card-media { width: 40%; aspect-ratio: auto; }
.vl-property-card--list .vl-property-card-body { width: 60%; }

/* Amenities */
.vl-amenity-box { background: var(--vl-white); border-radius: var(--vl-radius-sm); padding: 1.25rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%; }
.vl-amenity-icon { color: var(--vl-gold-500); font-size: 1.4rem; }

/* Locations */
.vl-location-card { display: block; border-radius: var(--vl-radius-md); overflow: hidden; position: relative; box-shadow: 0 8px 24px -16px rgba(11,31,22,.25); }
.vl-location-card img, .vl-location-card-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--vl-line); }
.vl-location-card-body { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(11,31,22,.85), transparent); color: var(--vl-white); padding: 1rem; }
.vl-location-card-body h3 { color: var(--vl-white); font-size: 1.1rem; margin: 0; }

/* Video gallery */
.vl-video-thumb { position: relative; border: none; padding: 0; width: 100%; border-radius: var(--vl-radius-sm); overflow: hidden; cursor: pointer; }
.vl-video-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.vl-play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--vl-white); font-size: 2rem; background: rgba(11,31,22,.3); }
.vl-video-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .75rem; background: linear-gradient(0deg, rgba(11,31,22,.85), transparent); color: var(--vl-white); font-size: .85rem; font-weight: 600; text-align: left; }

/* Testimonials */
.vl-testimonial-card { max-width: 640px; text-align: center; padding: 2rem; }
.vl-testimonial-rating { color: var(--vl-gold-500); font-size: 1.2rem; margin-bottom: .75rem; }
.vl-testimonial-text { font-size: 1.15rem; font-style: italic; color: var(--vl-green-900); }
.vl-testimonial-author { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem; text-align: left; }
.vl-testimonial-author span { display: block; color: var(--vl-muted); font-size: .85rem; }

/* Contact form */
.vl-contact-form .form-control, .vl-contact-form .form-select, .vl-filter-sidebar .form-control, .vl-filter-sidebar .form-select { border-radius: var(--vl-radius-sm); border-color: var(--vl-line); padding: .6rem .9rem; }
.vl-honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }
.vl-field-error { color: #b3261e; font-size: .8rem; margin-top: .2rem; min-height: 1em; }
.vl-form-message { font-size: .9rem; }
.vl-form-message.is-success { color: var(--vl-green-800); }
.vl-form-message.is-error { color: #b3261e; }

/* Footer */
.vl-footer { background: var(--vl-green-950); color: #cfd8d0; }
.vl-footer-heading { color: var(--vl-white); font-size: 1rem; margin-bottom: 1rem; }
.vl-footer-menu li, .vl-footer-contact li { margin-bottom: .5rem; }
.vl-footer-menu a { color: #cfd8d0; }
.vl-footer-menu a:hover { color: var(--vl-gold-400); }
.vl-social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--vl-white); font-weight: 700; }
.vl-footer-bottom { background: #081711; color: #93a196; }

/* Floating buttons */
.vl-fab { position: fixed; bottom: 90px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--vl-white); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.vl-fab--right { right: 20px; }
.vl-fab--left { left: 20px; }
.vl-sticky-contact-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 1035; box-shadow: 0 -4px 12px rgba(0,0,0,.08); }
.vl-sticky-btn { flex: 1; text-align: center; padding: .9rem 0; background: var(--vl-green-800); color: var(--vl-white); font-weight: 600; }
.vl-sticky-btn--whatsapp { background: #25D366; }

/* Single property */
.vl-property-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
.vl-price-large { font-family: var(--vl-font-display); font-size: 1.8rem; color: var(--vl-green-800); font-weight: 700; margin-top: .5rem; }
.vl-property-gallery img { object-fit: cover; height: 100%; }
.vl-spec-box { background: var(--vl-white); border-radius: var(--vl-radius-sm); padding: 1rem; text-align: center; }
.vl-spec-label { display: block; font-size: .75rem; color: var(--vl-muted); text-transform: uppercase; letter-spacing: .04em; }
.vl-spec-value { display: block; font-weight: 700; color: var(--vl-green-900); margin-top: .25rem; }
.vl-amenity-pill { display: inline-block; background: #eef2ea; color: var(--vl-green-800); padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; }
.vl-sidebar-card { background: var(--vl-white); border-radius: var(--vl-radius-md); padding: 1.5rem; box-shadow: var(--vl-shadow); }
.vl-emi-result { font-weight: 600; color: var(--vl-green-800); }

/* Filters sidebar */
.vl-filter-sidebar { background: var(--vl-white); border-radius: var(--vl-radius-md); padding: 1.5rem; }
.vl-filter-group { margin-bottom: 1rem; }

/* FAQ */
.vl-faq-accordion .accordion-button { font-weight: 600; color: var(--vl-green-900); }
.vl-faq-accordion .accordion-button:not(.collapsed) { background: #eef2ea; color: var(--vl-green-900); }

/* Team */
.vl-team-card { text-align: center; }
.vl-team-card img { border-radius: var(--vl-radius-md); width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: .75rem; }

/* Blog */
.vl-blog-card { display: block; background: var(--vl-white); border-radius: var(--vl-radius-md); overflow: hidden; box-shadow: 0 8px 24px -16px rgba(11,31,22,.25); }
.vl-blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.vl-blog-card-body { padding: 1.25rem; }
.vl-blog-card-body h3 { font-size: 1.1rem; }
.vl-tag { display: inline-block; background: #eef2ea; color: var(--vl-green-800); padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; margin-right: .4rem; }

/* Breadcrumb */
.vl-breadcrumb { margin: 1.25rem 0; font-size: .85rem; }
.vl-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "/"; }

/* Sidebar widgets */
.vl-widget { background: var(--vl-white); border-radius: var(--vl-radius-md); padding: 1.5rem; margin-bottom: 1.5rem; }
.vl-widget-title { font-size: 1.05rem; margin-bottom: 1rem; }
.vl-widget-recent-properties img { border-radius: 6px; }
.vl-widget-locations li a { color: var(--vl-green-900); font-weight: 500; }
.vl-widget-contact li { color: var(--vl-muted); margin-bottom: .5rem; }
.vl-widget-social .vl-social-icon { background: #eef2ea; color: var(--vl-green-800); }
.vl-widget-latest-blogs a { color: var(--vl-green-900); font-weight: 500; }

/* Compare table */
.vl-compare-table-wrap { background: var(--vl-white); border-radius: var(--vl-radius-md); padding: 1rem; }
.vl-compare-table th, .vl-compare-table td { text-align: center; vertical-align: middle; }
.vl-compare-table thead th:first-child, .vl-compare-table tbody th { text-align: left; color: var(--vl-muted); font-weight: 600; white-space: nowrap; }
.vl-compare-table thead th img { width: 100%; max-width: 200px; aspect-ratio: 4/3; object-fit: cover; }

/* Responsive */
@media (max-width: 992px) {
	.vl-property-card--list { flex-direction: column; }
	.vl-property-card--list .vl-property-card-media,
	.vl-property-card--list .vl-property-card-body { width: 100%; }
	.vl-section { padding: 3rem 0; }
	body { padding-bottom: 56px; } /* space for sticky contact bar */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.vl-marquee-track { animation: none; }
	.vl-property-card, .vl-btn-primary { transition: none; }
}
