/* Custom styles for Elite Management Property Solutions */
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; background: #fff; }
.header { display: flex; align-items: center; justify-content: space-between; padding: 24px 40px 0 40px; background: #fff; }
.logo { display: flex; align-items: center; }
.logo img { height: 60px; margin-right: 16px; }
.logo-text { font-size: 2rem; font-weight: bold; color: #7a8a3a; letter-spacing: 2px; }
.subtitle { font-size: 1rem; color: #555; margin-top: 4px; letter-spacing: 1px; }
.contact { font-size: 1rem; color: #222; }
.hero { background: #f5f5f5; padding: 40px 0 0 0; }
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-title { font-size: 2.5rem; font-weight: 600; color: #444; margin-bottom: 12px; }
.hero-desc { font-size: 1.2rem; color: #333; margin-bottom: 32px; }
.hero-buttons { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; }
.hero-buttons button,
.hero-buttons a { font-size: 1.1rem; padding: 12px 32px; border-radius: 6px; border: none; background: #7a8a3a; color: #fff; cursor: pointer; font-weight: 500; transition: background 0.2s; text-decoration: none; display: inline-block; }
.hero-buttons button:hover,
.hero-buttons a:hover { background: #5c6d2a; }
.nav { background: #7a8a3a; padding: 12px 0; text-align: center; }
.nav a { color: #fff; text-decoration: none; margin: 0 24px; font-size: 1.1rem; font-weight: 500; }
.nav a:hover { text-decoration: underline; }
.footer { background: #5c6d2a; color: #fff; padding: 32px 0 16px 0; text-align: center; }
.footer .footer-nav { margin-bottom: 16px; }
.footer .footer-nav a { color: #fff; margin: 0 18px; text-decoration: none; font-size: 1rem; }
.footer .footer-nav a:hover { text-decoration: underline; }
.footer .company { font-weight: bold; margin-bottom: 8px; }
.footer .contact-info { margin-bottom: 8px; }
.footer .copyright { font-size: 0.95rem; color: #e0e0e0; }
.footer .powered { font-size: 0.9rem; color: #c0c0c0; margin-top: 12px; }

/* Ensure the injected footer always spans the full viewport width
	and isn't constrained by a parent container. This override helps
	when the footer HTML is dynamically loaded into a page. */
#footer-container { width: 100%; }
#footer-container .footer { width: 100%; box-sizing: border-box; margin: 0; border-radius: 0; padding: 32px 0 16px 0; background: #5c6d2a; color: #fff; text-align: center; }
#footer-container .footer .footer-nav { margin-bottom: 16px; }
#footer-container .footer .footer-nav a { color: #fff; margin: 0 18px; text-decoration: none; font-size: 1rem; }

/* Office page actions: two buttons side-by-side */
.office-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: 0 auto 24px auto;
}

/* Base style for action buttons (applies to both Check Availability and SEE MORE) */
.office-btn,
.see-more {
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.2;
	padding: 12px 32px;
	border-radius: 6px;
	border: none;
	background: #ffffff;
	color: #5c6d2a;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease;
}
.office-btn:hover,
.see-more:hover { background: #eaeaea; }

/* Smooth scroll for in-page anchor links like SEE MORE -> carousel */
html { scroll-behavior: smooth; }

/* Unified white panel for carousel + thumbnails on office pages */
.carousel-panel {
	background: #ffffff;
	padding: 16px;
	border-radius: 10px;
	box-shadow: 0 6px 14px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
}
.carousel-panel .carousel {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	margin: 0;
}
.carousel-panel .carousel-thumbs {
	display: flex;
	gap: 16px;
	justify-content: center;
}

/* Ensure carousel viewer matches main image size on office pages */
:root {
	--office-main-width: 525px;
}

/* Main hero image on office pages */
.office-img {
	width: 100%;
	max-width: var(--office-main-width);
	height: auto;
	border-radius: 8px;
	object-fit: cover;
}

/* Set of thumbnail images below carousel on office pages */
.carousel-thumbs img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 6px;
	cursor: pointer;
	transition: transform 0.2s;
	border: 2px solid transparent;
}
.carousel-thumbs img:hover { transform: scale(1.05); border-color: #7a8a3a; }

/* Navigation bars */
.top-index { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 16px 40px; background: #fff; border-bottom: 1px solid #f0f0f0; }
.nav-trigger { cursor: pointer; display: none; }
.nav-trigger img { width: 24px; height: 24px; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; margin-right: 16px; }

/* Contact info in header */
.top-contact { font-size: 0.95rem; color: #555; }

/* Responsive design */
@media (max-width: 768px) {
	.nav-trigger { display: block; }
	.logo img { height: 30px; }
	.hero-buttons { flex-direction: column; }
	.office-actions { flex-direction: column; }
	.carousel-panel .carousel { gap: 12px; }
	:root { --office-main-width: 100%; }
}

/* Contact form styles */
.contact-form { max-width: 600px; margin: 40px auto; padding: 40px; background: #f9f9f9; border-radius: 8px; }
.contact-form h2 { color: #333; margin-bottom: 24px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; color: #333; font-weight: 500; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { background: #7a8a3a; color: #fff; padding: 12px 32px; border: none; border-radius: 6px; cursor: pointer; font-size: 1.1rem; font-weight: 500; }
.contact-form button:hover { background: #5c6d2a; }

/* Listing card styles */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; padding: 40px; max-width: 1200px; margin: 0 auto; }
.listing-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.2s, box-shadow 0.2s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.listing-card img { width: 100%; height: 240px; object-fit: cover; }
.listing-info { padding: 16px; }
.listing-info h3 { margin: 0 0 8px 0; color: #333; font-size: 1.2rem; }
.listing-info p { margin: 4px 0; color: #666; }
.listing-btn { display: inline-block; margin-top: 12px; padding: 10px 20px; background: #7a8a3a; color: #fff; text-decoration: none; border-radius: 4px; transition: background 0.2s; }
.listing-btn:hover { background: #5c6d2a; }
