/* ============================================================
   Live Oak Rental Properties — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --navy:       #2B3A47;
  --navy-dark:  #1C2830;
  --navy-light: #3A4F60;
  --tan:        #C4A882;
  --tan-light:  #D4BFA0;
  --off-white:  #F5F1EB;
  --white:      #FFFFFF;
  --text:       #1A2530;
  --text-light: #5A6A78;
  --border:     #DDD9D2;
  --shadow:     rgba(27, 40, 48, 0.12);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-light); }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.75rem;
}

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--tan);
  color: var(--navy-dark);
  border-color: var(--tan);
}
.btn-primary:hover {
  background: var(--tan-light);
  border-color: var(--tan-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(27,40,48,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

/* Logo on dark backgrounds — wrap img in this div */
.logo-on-dark {
  background: var(--white);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-links .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(27,40,48,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
  .nav-links .btn { margin: 0.5rem 1.5rem 0; }
}

/* ---- Hero (Home) ---- */
.hero {
  background: var(--navy-dark);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(196,168,130,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(43,58,71,0.8) 0%, transparent 50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 80px 0;
}

.hero-content { }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero p:not(.hero-eyebrow) {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  text-align: justify;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo .logo-on-dark {
  max-width: 420px;
  width: 100%;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-logo img {
  max-width: 420px;
  width: 100%;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-eyebrow, .hero h1 { text-align: center; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 280px; margin: 0 auto; }
  .hero p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero { min-height: auto; }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy-dark);
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.05rem; }

/* ---- Features Section ---- */
.features { background: var(--off-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  border-top: 3px solid var(--tan);
  box-shadow: 0 2px 12px var(--shadow);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p { font-size: 0.925rem; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ---- CTA Strip ---- */
.cta-strip {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}

.cta-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }
.cta-strip .btn { margin: 0 0.5rem; }

/* ---- Intro Section (Home) ---- */
.intro {
  background: var(--white);
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-image {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro-image img {
  width: 70%;
}

.intro-content .section-subtitle { margin-bottom: 1.75rem; }

@media (max-width: 900px) {
  .intro-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-image { aspect-ratio: 16/7; }
}

/* ---- Rentals Page ---- */
.no-listings {
  background: var(--off-white);
  border-radius: 4px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
  border: 2px dashed var(--border);
}

.no-listings-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.no-listings h3 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.no-listings p {
  max-width: 440px;
  margin: 0 auto 1.75rem;
}

.notify-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.notify-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
}

.notify-form input:focus {
  outline: none;
  border-color: var(--navy);
}

.rentals-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-card {
  background: var(--white);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  text-align: center;
}

.info-card .info-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.info-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--navy); font-family: 'Inter', sans-serif; font-weight: 600; }
.info-card p { font-size: 0.875rem; }

@media (max-width: 640px) {
  .notify-form { flex-direction: column; }
  .rentals-info { grid-template-columns: 1fr; }
}

/* ---- About Page ---- */
.about-intro {
  background: var(--white);
}

.about-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-logo-block {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-block img { max-width: 280px; width: 100%; }

.about-values {
  background: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-item {
  background: var(--white);
  border-radius: 4px;
  padding: 1.75rem;
  border-left: 3px solid var(--tan);
  box-shadow: 0 2px 8px var(--shadow);
}

.value-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-item p { font-size: 0.9rem; }

@media (max-width: 900px) {
  .about-intro-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ---- Contact Page ---- */
.contact-section { background: var(--white); }

.contact-inner {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { margin-bottom: 2rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.contact-form .btn { align-self: flex-start; }

.contact-info-block {
  background: var(--navy-dark);
  border-radius: 4px;
  padding: 2.5rem;
  color: var(--white);
}

.contact-info-block h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.2rem;
}

.contact-detail-text a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-detail-text a:hover { color: var(--white); }

.contact-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 1.5rem 0;
}

.response-note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.form-success {
  display: none;
  background: #EDF7F0;
  border: 1px solid #A8D5B5;
  border-radius: 3px;
  padding: 1.25rem;
  color: #2D6A4F;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 1rem;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
