/* Socastee Town Center - shared styles */

:root {
  --navy: #142c46;
  --navy-dark: #0d1e30;
  --gold: #c79a49;
  --gold-light: #e4c483;
  --cream: #f7f4ee;
  --text: #24303d;
  --text-light: #5b6673;
  --white: #ffffff;
  --border: #e2ddd2;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(20, 44, 70, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand .brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
}

.nav-brand .brand-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  color: var(--white);
  font-size: 1.1rem;
  padding: 6px 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero .hero-address {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 64px 24px;
}

.section-alt {
  background: var(--white);
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: 1.9rem;
  margin: 0 0 10px;
  color: var(--navy);
}

.section-heading p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

/* Facts / stats */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.fact-card .fact-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy);
}

.fact-card .fact-label {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-top: 6px;
}

.fact-card--link {
  display: block;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fact-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(20, 44, 70, 0.14);
  border-color: var(--gold);
}

/* Tenant cards */
.tenant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.tenant-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tenant-card .suite {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 700;
}

.tenant-card .tenant-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.tenant-card .tenant-category {
  color: var(--text-light);
  font-size: 0.92rem;
}

.tenant-card .two-space-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 20px;
  width: fit-content;
}

.tenant-card--placeholder {
  border: 1px dashed #c7b98f;
  background: #fbf8f1;
}

.tenant-card--placeholder .tenant-name {
  color: var(--text-light);
  font-style: italic;
}

.needs-info-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9a6b1f;
  background: #f3e3c4;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

/* Warehouse / leasing */
.info-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 800px) {
  .info-split {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-card h3 {
  color: var(--navy);
  margin-top: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .label {
  color: var(--text-light);
}

.info-list .value {
  font-weight: 600;
  text-align: right;
}

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}

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

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
}

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

.site-footer h4 {
  color: var(--white);
  margin-top: 0;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page header (interior pages) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: none;
  }
}
