/* =====================================================================
   Hill Crest Land Group LLC - Joomla 3 Template
   template.css - Main stylesheet
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. CSS Variables / Brand palette
   --------------------------------------------------------------------- */
:root {
	--primary:   #A0522D;   /* Rustic brown - main brand color */
	--secondary: #D2691E;   /* Lighter rust / chocolate */
	--accent:    #F5DEB3;   /* Wheat / cream highlights */
	--dark:      #2C2C2C;   /* Near-black for headings */
	--text:      #555555;   /* Body text */
	--light:     #FAFAF8;   /* Off-white background */
	--white:     #FFFFFF;
	--shadow:    rgba(0, 0, 0, 0.1);

	--container:  1200px;
	--radius:     8px;
	--nav-height: 80px;
}

/* ---------------------------------------------------------------------
   2. Reset / Base
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.hillcrest-body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--secondary); }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	color: var(--dark);
	margin: 0 0 .5em;
	line-height: 1.25;
}

p { margin: 0 0 1em; }

/* ---------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------- */
.hc-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.hc-section { padding: 80px 0; }

.hc-section-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 56px;
}

.hc-section-head h2 {
	font-size: 36px;
	font-weight: 600;
	color: var(--dark);
}

.hc-section-sub {
	font-size: 18px;
	color: var(--text);
	margin: 0;
}

.hc-text-left { text-align: left; }
.hc-on-dark { color: var(--white); }

/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.hc-btn {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	padding: 14px 28px;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	transition: all .25s ease;
	white-space: nowrap;
}

.hc-btn-primary {
	background: var(--primary);
	color: var(--white);
	border-color: var(--primary);
}
.hc-btn-primary:hover, .hc-btn-primary:focus {
	background: var(--secondary);
	border-color: var(--secondary);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(160, 82, 45, .35);
}

.hc-btn-outline {
	background: transparent;
	color: var(--white);
	border-color: var(--white);
}
.hc-btn-outline:hover, .hc-btn-outline:focus {
	background: var(--white);
	color: var(--dark);
	transform: translateY(-2px);
}

.hc-btn-lg { font-size: 18px; padding: 16px 36px; }
.hc-btn-block { display: block; width: 100%; }

/* ---------------------------------------------------------------------
   5. Sticky Navigation
   --------------------------------------------------------------------- */
.hc-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.hc-header.hc-transparent {
	background: rgba(255, 255, 255, 0.10);
	box-shadow: none;
}
.hc-header.sticky {
	background: var(--white);
	box-shadow: 0 2px 16px var(--shadow);
}

.hc-navbar { margin: 0; border: 0; min-height: auto; background: transparent; }

.hc-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--nav-height);
}

/* Logo: horizontal crop with transparent background — constrain by max-width
   so the proportions are always correct regardless of screen size. */
.hc-logo-link { display: block; flex-shrink: 0; }
.hc-logo-img {
	max-width: 360px;
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 1px 4px rgba(0,0,0,.12));
}

.hc-nav-menu {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hc-nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.hc-nav-links li { margin: 0; }
.hc-nav-links a,
.hc-nav-menu nav ul li a {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--dark);
	padding: 10px 14px;
	border-radius: 4px;
}
.hc-nav-links a:hover,
.hc-nav-menu nav ul li a:hover {
	color: var(--primary);
	background: rgba(160, 82, 45, .07);
}

/* Joomla menu module styling fallback */
.hc-nav-menu ul.nav,
.hc-nav-menu ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.hc-nav-cta { margin-left: 12px; padding: 11px 22px; }

/* Hamburger */
.hc-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.hc-nav-toggle .hc-bar {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--dark);
	border-radius: 2px;
	transition: transform .3s ease, opacity .3s ease;
}
.hc-nav-toggle.is-active .hc-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hc-nav-toggle.is-active .hc-bar:nth-child(2) { opacity: 0; }
.hc-nav-toggle.is-active .hc-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
.hc-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: calc(var(--nav-height) + 40px) 0 60px;
	background-image: url('../images/hero-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
}
.hc-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.6));
}
.hc-hero-content { position: relative; z-index: 2; max-width: 860px; }

.hc-hero-preheadline {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: var(--accent);
	margin-bottom: 18px;
}
.hc-hero-title {
	font-size: 52px;
	font-weight: 800;
	color: var(--white);
	margin-bottom: 18px;
	text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hc-hero-subheading {
	font-size: 20px;
	color: var(--white);
	opacity: .92;
	margin-bottom: 36px;
}
.hc-hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.hc-scroll-indicator {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: var(--white);
	font-size: 30px;
	opacity: .85;
	animation: hcBounce 2s infinite;
}
.hc-scroll-indicator:hover { color: var(--accent); }
@keyframes hcBounce {
	0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
	40% { transform: translateX(-50%) translateY(-12px); }
	60% { transform: translateX(-50%) translateY(-6px); }
}

/* ---------------------------------------------------------------------
   7. Trust badges
   --------------------------------------------------------------------- */
.hc-trust {
	background: var(--primary);
	padding: 30px 0;
}
.hc-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	text-align: center;
}
.hc-trust-item {
	color: var(--white);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.hc-trust-item i { font-size: 34px; color: var(--accent); }
.hc-trust-label {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 17px;
}

/* ---------------------------------------------------------------------
   8. About / Why choose us
   --------------------------------------------------------------------- */
.hc-about { background: var(--white); }
.hc-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}
.hc-about-text p { font-size: 16px; }
.hc-about-text .hc-btn { margin-top: 12px; }

.hc-benefit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.hc-benefit-card {
	background: var(--white);
	border-top: 4px solid var(--primary);
	border-radius: var(--radius);
	box-shadow: 0 4px 20px var(--shadow);
	padding: 30px 24px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.hc-benefit-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.hc-benefit-card i { font-size: 40px; color: var(--primary); margin-bottom: 14px; display: block; }
.hc-benefit-card h3 { font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.hc-benefit-card p { font-size: 15px; margin: 0; }

/* ---------------------------------------------------------------------
   9. Process
   --------------------------------------------------------------------- */
.hc-process { background: var(--light); }
.hc-process-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	position: relative;
}
/* Connecting dotted line */
.hc-process-grid::before {
	content: '';
	position: absolute;
	top: 30px;
	left: 10%;
	right: 10%;
	border-top: 3px dotted var(--secondary);
	z-index: 0;
}
.hc-step {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 0 8px;
}
.hc-step-circle {
	width: 60px;
	height: 60px;
	margin: 0 auto 16px;
	background: var(--primary);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(160,82,45,.35);
}
.hc-step > i { font-size: 30px; color: var(--secondary); margin-bottom: 12px; display: block; }
.hc-step h3 { font-size: 19px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.hc-step p { font-size: 14px; margin: 0; }

/* ---------------------------------------------------------------------
   10. Service areas
   --------------------------------------------------------------------- */
.hc-areas { background: var(--white); }
.hc-areas-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}
.hc-areas-text .hc-btn { margin-top: 14px; }
.hc-chips {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.hc-chip {
	background: var(--light);
	color: var(--primary);
	border: 1px solid rgba(160,82,45,.35);
	border-radius: 20px;
	padding: 12px 16px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all .2s ease;
	display: block;
}
.hc-chip:hover { background: var(--primary); color: var(--white); }
.hc-chip-more {
	background: var(--primary);
	color: var(--white);
	cursor: pointer;
}
.hc-chip-more:hover { background: var(--secondary); color: var(--white); }

/* ---------------------------------------------------------------------
   11. Testimonials
   --------------------------------------------------------------------- */
.hc-testimonials { background: var(--primary); }
.hc-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.hc-testimonial-card {
	position: relative;
	background: var(--white);
	color: var(--dark);
	border-radius: var(--radius);
	padding: 36px 30px 30px;
	box-shadow: 0 8px 26px rgba(0,0,0,.2);
}
.hc-quote-icon {
	font-size: 42px;
	color: var(--accent);
	opacity: .35;
	margin-bottom: 8px;
	display: block;
}
.hc-testimonial-text { font-size: 15px; color: var(--text); font-style: italic; }
.hc-testimonial-author {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: var(--dark);
	margin: 14px 0 6px;
}
.hc-stars i { color: var(--primary); font-size: 16px; }

/* ---------------------------------------------------------------------
   12. FAQ accordion
   --------------------------------------------------------------------- */
.hc-faq { background: var(--light); }
.hc-accordion { max-width: 860px; margin: 0 auto; }
.hc-faq-panel {
	border: 0;
	border-radius: var(--radius) !important;
	overflow: hidden;
	margin-bottom: 14px;
	box-shadow: 0 3px 14px var(--shadow);
}
.hc-faq-heading { margin: 0; padding: 0; font-family: 'Montserrat', sans-serif; }
.hc-faq-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 18px 22px;
	background: var(--primary);
	border: 0;
	cursor: pointer;
	text-align: left;
	color: var(--white) !important;
	font-family: 'Montserrat', sans-serif;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}
.hc-faq-trigger:hover, .hc-faq-trigger:focus { color: var(--accent) !important; }
.hc-faq-chevron { transition: transform .3s ease; font-size: 15px; }
.hc-faq-trigger.collapsed .hc-faq-chevron { transform: rotate(-90deg); }
.hc-faq-body-inner {
	background: var(--white);
	border: 0;
	padding: 20px 22px;
	font-size: 15px;
	color: var(--text);
}

/* ---------------------------------------------------------------------
   13. Contact
   --------------------------------------------------------------------- */
.hc-contact { background: var(--white); }
.hc-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 50px;
	align-items: start;
}
.hc-contact-info h2 { font-size: 32px; }
.hc-contact-details {
	list-style: none;
	padding: 0;
	margin: 24px 0;
}
.hc-contact-details li {
	font-size: 17px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.hc-contact-details i {
	color: var(--primary);
	width: 22px;
	text-align: center;
	font-size: 18px;
}
.hc-trust-line {
	background: var(--light);
	border-left: 4px solid var(--primary);
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	color: var(--text);
}
.hc-trust-line i { color: var(--primary); margin-right: 6px; }

/* Form */
.hc-contact-form-wrap {
	background: var(--light);
	border-radius: var(--radius);
	padding: 36px;
	box-shadow: 0 6px 24px var(--shadow);
}
.hc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hc-form-group { margin-bottom: 18px; }
.hc-form-group label {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: var(--dark);
	margin-bottom: 6px;
}
.hc-req { color: var(--primary); }
.hc-form-group input,
.hc-form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d9d9d4;
	border-radius: 6px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: var(--dark);
	background: var(--white);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.hc-form-group input:focus,
.hc-form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(160,82,45,.12);
}
.hc-form-group textarea { resize: vertical; min-height: 110px; }
.hc-radio-row { display: flex; gap: 24px; }
.hc-radio {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400 !important;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	margin: 0;
}
.hc-radio input { width: auto; }

/* Honeypot - visually hidden but present for bots */
.hc-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Alerts */
.hc-alert {
	border-radius: 6px;
	padding: 16px 18px;
	font-size: 15px;
	margin-bottom: 18px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.hc-alert i { margin-top: 2px; }
.hc-alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #b7dfbb; }
.hc-alert-error { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }

/* ---------------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------------- */
.hc-footer {
	background: var(--dark);
	color: #cfcfcf;
	padding: 64px 0 0;
	font-size: 15px;
}
.hc-footer-modules {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.hc-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 40px;
}
.hc-footer h4 {
	color: var(--white);
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 18px;
}
.hc-footer-logo { max-width: 240px; width: 100%; height: auto; display: block; margin-bottom: 14px; }
.hc-footer-name { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hc-footer-tagline { color: #aaa; margin-bottom: 16px; }
.hc-footer-links, .hc-footer-contact { list-style: none; padding: 0; margin: 0; }
.hc-footer-links li, .hc-footer-contact li { margin-bottom: 10px; }
.hc-footer-links a { color: #cfcfcf; }
.hc-footer-links a:hover { color: var(--accent); }
.hc-footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.hc-footer-contact i { color: var(--secondary); width: 18px; text-align: center; margin-top: 4px; }

.hc-social { display: flex; gap: 10px; }
.hc-social a {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: var(--white);
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease, transform .2s ease;
}
.hc-social a:hover { background: var(--primary); transform: translateY(-3px); }

.hc-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	background: rgba(0,0,0,.25);
	margin: 0 -24px;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 14px;
	color: #9a9a9a;
}
.hc-footer-bottom p { margin: 0; }
.hc-footer-legal a { color: #cfcfcf; }
.hc-footer-legal a:hover { color: var(--accent); }
.hc-sep { margin: 0 8px; opacity: .5; }

/* ---------------------------------------------------------------------
   15. Optional Joomla module section
   --------------------------------------------------------------------- */
.hc-modules { background: var(--light); }

/* ---------------------------------------------------------------------
   16. Scroll-reveal animation
   --------------------------------------------------------------------- */
.hc-reveal {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity .7s ease, transform .7s ease;
}
.hc-reveal.hc-visible {
	opacity: 1;
	transform: translateY(0);
}
/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hc-reveal { opacity: 1; transform: none; transition: none; }
	.hc-scroll-indicator { animation: none; }
}
