/* A&M Rental Properties — site stylesheet */

:root {
  --dark: #0c0c0c;
  --dark-card: #111111;
  --light: #f9f9f9;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #505050;
  --accent: #d21f2c;
  --accent-dark: #a5121d;
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Lato', Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.25;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }

p { margin-bottom: 1.1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo img { width: 230px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--heading-font);
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--text);
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  text-decoration: none;
}

.btn {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white) !important;
  padding: 12px 26px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.btn:hover { background: var(--accent-dark); text-decoration: none; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--dark) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, .55);
}

.hero .container {
  position: relative;
  padding: 140px 24px;
}

.hero.hero-sm .container { padding: 90px 24px; }

.hero h1 { margin-bottom: .75rem; }

.hero p.tagline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--light); }
.section.dark { background: var(--dark); color: var(--white); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img { border-radius: 4px; }

.lead { font-size: 1.15rem; color: var(--muted); }

.section.dark .lead { color: #cccccc; }

.closing {
  text-align: center;
  font-family: var(--heading-font);
  font-size: 1.4rem;
}

/* ---------- FAQ ---------- */
.faq-list details {
  border-bottom: 1px solid #e2e2e2;
  padding: 4px 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 36px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list .answer { padding: 0 0 20px; color: var(--muted); }

.faq-list ul { margin: 0 0 1rem 1.4rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-family: var(--heading-font);
  font-size: .9rem;
  margin: 16px 0 6px;
}

label .req { color: var(--accent); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
  width: 100%;
  padding: 12px;
  font-family: var(--body-font);
  font-size: 1rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background: var(--white);
}

textarea { min-height: 120px; resize: vertical; }

input:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: transparent;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: .95rem;
  color: var(--muted);
}

.checkbox-row input { margin-top: 5px; }

.form-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* honeypot — hidden from humans */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Contact info / hours ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
  padding: 12px 4px;
  border-bottom: 1px solid #e2e2e2;
}

.hours-table td:last-child { text-align: right; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #cccccc;
  padding: 56px 0 40px;
  text-align: center;
}

.site-footer .footer-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.site-footer a { color: var(--white); }

.site-footer .footer-nav a {
  font-family: var(--heading-font);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.site-footer .brand {
  font-family: var(--heading-font);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  h1 { font-size: 2rem; }
  .hero .container { padding: 90px 24px; }
  .split, .info-grid, .form-row { grid-template-columns: 1fr; }
  .site-header .container { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
}
