/*
Theme Name:        Reese Properties — Custom Rental Theme
Theme URI:         https://reeseproperties.com
Author:            Reese Properties
Description:       Modern, mobile-first WordPress theme tailored for Reese Properties. Features the building photo header background with 3D cutout logo, interactive homepage graphics slideshow, filterable Available Rentals catalog, lightbox photo galleries, and property-specific inquiry forms.
Version:           1.0.5
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
Text Domain:       wp-rental-theme
*/

:root {
	--brand-primary: #071F56;
	--brand-primary-dark: #041236;
	--brand-primary-light: #153C8F;
	--brand-accent: #C41E24;
	--brand-accent-hover: #991B1B;
	--surface-bg: #F8FAFC;
	--surface-card: #FFFFFF;
	--text-main: #0F172A;
	--text-muted: #475569;
	--border-color: #E2E8F0;
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background-color: var(--surface-bg);
	color: var(--text-main);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.reese-serif, h1, h2, h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
}

a {
	color: var(--brand-primary);
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
	color: var(--brand-accent);
}

img {
	max-width: 100%;
	height: auto;
}

.reese-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Angled Crimson Ribbon Badge ("AVAILABLE NOW!" / "FOR LEASE") */
.ribbon-available {
	background-color: var(--brand-accent);
	color: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 20px 4px 12px;
	display: inline-block;
	clip-path: polygon(0 0, 100% 0, 91% 100%, 0% 100%);
}

/* Top Leasing Utility Bar */
.reese-topbar {
	background-color: var(--brand-primary);
	color: #ffffff;
	font-size: 13px;
	padding: 8px 0;
	border-bottom: 2px solid var(--brand-accent);
}

.reese-topbar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.reese-topbar-phone {
	color: #ffffff;
	font-weight: 800;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.reese-topbar-phone:hover {
	color: #fde68a;
}

/* Header with Building Photo Background (Tall Panoramic Desktop Height to Showcase Building) */
.reese-site-header {
	position: relative;
	background-color: var(--brand-primary-dark);
	background-image: url('assets/images/reese-header-building.jpg');
	background-size: cover;
	background-position: center 46%;
	border-bottom: 4px solid var(--brand-primary);
	min-height: 240px;
	padding: 36px 0;
	display: flex;
	align-items: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (min-width: 992px) {
	.reese-site-header {
		min-height: var(--reese-header-height, 360px);
		padding: 48px 0;
	}
}

.reese-header-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(4, 18, 54, 0.25) 0%, rgba(4, 18, 54, 0.05) 50%, rgba(4, 18, 54, 0.28) 100%);
	pointer-events: none;
}

.reese-header-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
}

/* 3 Header Logo Blend Styles over the Building Photo */
.reese-logo-transparent-3d {
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 12px 26px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
	display: inline-flex;
	flex-direction: column;
	align-items: center;
}

.reese-logo-soft-glow {
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.97) 48%, rgba(255,255,255,0.82) 68%, rgba(255,255,255,0) 100%);
	padding: 14px 32px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.reese-logo-soft-glow img {
	height: 105px;
	width: auto;
	mix-blend-mode: multiply;
}

.reese-logo-frosted-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	padding: 12px 24px;
	border-radius: 16px;
	border: 2px solid #ffffff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.reese-logo-frosted-card img {
	height: 100px;
	width: auto;
}

.reese-logo-word-main {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 900;
	font-size: 46px;
	line-height: 1;
	letter-spacing: 0.06em;
	color: #092468;
	margin-top: -4px;
	text-shadow: 0 0 12px rgba(255,255,255,0.98), 1px 2px 3px rgba(0,0,0,0.55);
}

.reese-logo-divider {
	width: 100%;
	height: 6px;
	border-radius: 999px;
	margin: 5px 0;
	background: linear-gradient(90deg, #071F56 0%, #1E46A8 45%, #FFFFFF 50%, #1E46A8 55%, #071F56 100%);
}

.reese-logo-word-sub {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 800;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0.36em;
	color: #C41E24;
	padding-left: 4px;
	text-shadow: 0 0 10px rgba(255,255,255,0.98), 1px 2px 2px rgba(0,0,0,0.45);
}

/* Navigation Pill over Building Header */
.reese-nav-pill {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 12px 26px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 22px;
}

.reese-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.reese-nav-list a {
	font-weight: 700;
	font-size: 14px;
	color: #1e293b;
	padding: 4px 0;
}

.reese-nav-list a:hover,
.reese-nav-list .current-menu-item > a {
	color: var(--brand-accent);
	border-bottom: 2px solid var(--brand-accent);
}

.reese-btn-cta {
	background-color: var(--brand-accent);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 10px 18px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	display: inline-block;
	box-shadow: 0 2px 6px rgba(196, 30, 36, 0.35);
}

.reese-btn-cta:hover {
	background-color: var(--brand-accent-hover);
}

.reese-btn-navy {
	background-color: var(--brand-primary);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 10px 18px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	display: inline-block;
	text-align: center;
}

.reese-btn-navy:hover {
	background-color: var(--brand-primary-light);
}

/* Homepage Hero Slideshow & Quick Search Section */
.reese-hero-section {
	background: radial-gradient(circle at 80% 20%, #153C8F 0%, var(--brand-primary) 55%, var(--brand-primary-dark) 100%);
	color: #ffffff;
	padding: 36px 0;
	border-bottom: 4px solid var(--brand-accent);
}

.reese-hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: center;
}

@media (min-width: 992px) {
	.reese-hero-grid {
		grid-template-columns: 7fr 4fr;
	}
}

.reese-slideshow-box {
	border: 4px solid #ffffff;
	border-radius: 16px;
	overflow: hidden;
	background: var(--brand-primary-dark);
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.reese-slide {
	display: none;
}

.reese-slide.active {
	display: block;
	animation: reeseFade 0.4s ease-out;
}

@keyframes reeseFade {
	from { opacity: 0.4; }
	to { opacity: 1; }
}

.reese-slide-img-wrap {
	background: #ffffff;
	height: 310px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.reese-slide-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.reese-slide-caption-bar {
	background: var(--brand-primary-dark);
	border-top: 4px solid var(--brand-accent);
	padding: 18px 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.reese-slide-title {
	margin: 6px 0 4px;
	font-size: 20px;
	color: #ffffff;
}

.reese-slide-subtext {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	max-width: 540px;
}

.reese-slideshow-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
}

.reese-slide-btn {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
	border: none;
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.reese-slide-btn:hover {
	background: rgba(255, 255, 255, 0.28);
}

.reese-slide-dots {
	display: flex;
	gap: 8px;
}

.reese-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.reese-dot.active {
	width: 30px;
	background: var(--brand-accent);
}

/* Hero Quick Search Card */
.reese-quick-search-card {
	background: #ffffff;
	color: var(--text-main);
	padding: 22px;
	border-radius: 16px;
	border-top: 4px solid var(--brand-accent);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.reese-dashed-callout {
	background: #ffffff;
	color: var(--text-main);
	padding: 14px;
	border-radius: 12px;
	border: 2px dashed var(--brand-primary);
	text-align: center;
	margin-top: 14px;
}

/* 4-Icon Feature Strip */
.reese-feature-strip {
	background: #ffffff;
	border-bottom: 1px solid var(--border-color);
	padding: 24px 0;
}

.reese-feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 22px;
}

.reese-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.reese-feature-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--brand-primary);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

/* Property Grid & Cards */
.reese-properties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
	margin: 28px 0;
}

.reese-property-card {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reese-property-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

.reese-card-media {
	position: relative;
	height: 200px;
	background: var(--brand-primary-dark);
	border-bottom: 4px solid var(--brand-accent);
	overflow: hidden;
}

.reese-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reese-card-type-badge {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: var(--brand-primary);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 6px;
	border: 1px solid rgba(255,255,255,0.25);
}

.reese-card-body {
	padding: 18px;
}

.reese-card-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 6px;
}

.reese-card-price {
	font-size: 22px;
	font-weight: 800;
	color: var(--brand-accent);
}

.reese-card-title {
	margin: 0 0 10px;
	font-size: 17px;
}

.reese-card-specs {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--text-muted);
	border-top: 1px solid var(--border-color);
	padding-top: 10px;
}

.reese-card-footer {
	padding: 0 18px 18px;
}

.reese-card-footer .reese-btn-navy {
	width: 100%;
}

/* Filter Bar on Available Rentals Page */
.reese-filter-bar {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-top: 4px solid var(--brand-primary);
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 28px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.reese-filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
}

.reese-filter-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--text-muted);
	margin-bottom: 4px;
}

.reese-filter-field select,
.reese-filter-field input[type="number"],
.reese-filter-field input[type="text"] {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
	background: #f8fafc;
}

.reese-filter-amenities {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--border-color);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

/* Single Property Detail Page */
.reese-detail-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin: 30px 0;
}

@media (min-width: 992px) {
	.reese-detail-layout {
		grid-template-columns: 8fr 4fr;
	}
}

.reese-detail-box {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 22px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.reese-specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--border-color);
	font-size: 13px;
}

.reese-gallery-stage {
	background: #0f172a;
	border-radius: 10px;
	overflow: hidden;
	border-bottom: 4px solid var(--brand-accent);
	cursor: zoom-in;
}

.reese-gallery-stage img {
	width: 100%;
	height: 400px;
	object-fit: contain;
	background: #ffffff;
	display: block;
}

.reese-gallery-caption-bar {
	background: var(--brand-primary);
	color: #ffffff;
	padding: 10px 16px;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
}

.reese-gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.reese-thumb-btn {
	background: #f8fafc;
	border: 2px solid var(--border-color);
	border-radius: 8px;
	padding: 4px;
	cursor: pointer;
	text-align: left;
	font-size: 11px;
}

.reese-thumb-btn.active {
	border-color: var(--brand-accent);
	background: #fef2f2;
	font-weight: 700;
}

.reese-thumb-btn img {
	width: 100%;
	height: 64px;
	object-fit: cover;
	border-radius: 4px;
}

.reese-amenities-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
}

.reese-amenities-list li {
	background: #f8fafc;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.reese-amenity-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--brand-accent);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	flex-shrink: 0;
}

/* Inquiry Form Styles */
.wprm-inquiry-card {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-top: 4px solid var(--brand-accent);
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.wprm-form-group {
	margin-bottom: 14px;
}

.wprm-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
}

.wprm-form-group input[type="text"],
.wprm-form-group input[type="email"],
.wprm-form-group input[type="tel"],
.wprm-form-group textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
}

.wprm-readonly-input {
	background: #f1f5f9;
	color: #475569;
	font-weight: 600;
}

.wprm-privacy-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	font-weight: 400;
	color: var(--text-muted);
}

.wprm-submit-btn {
	width: 100%;
	background: var(--brand-accent);
	color: #ffffff;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
}

.wprm-submit-btn:hover {
	background: var(--brand-accent-hover);
}

.wprm-alert {
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 14px;
	font-size: 13px;
}

.wprm-alert-success {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #86efac;
}

.wprm-alert-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}

/* Lightbox Modal */
.reese-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(4, 18, 54, 0.92);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.reese-lightbox.open {
	display: flex;
}

.reese-lightbox-inner {
	max-width: 960px;
	width: 100%;
	text-align: center;
	position: relative;
}

.reese-lightbox-inner img {
	max-height: 78vh;
	border-radius: 10px;
	border: 3px solid #ffffff;
	background: #ffffff;
}

/* Footer */
.reese-site-footer {
	background: var(--brand-primary);
	color: #ffffff;
	border-top: 4px solid var(--brand-accent);
	margin-top: 60px;
}

.reese-footer-banner {
	background: var(--brand-primary-dark);
	padding: 14px 0;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.reese-footer-banner-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-weight: 800;
}

.reese-footer-main {
	padding: 36px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
	font-size: 13px;
}

.reese-footer-main a {
	color: rgba(255,255,255,0.85);
}

.reese-footer-main a:hover {
	color: #ffffff;
	text-decoration: underline;
}
