
/* National Storage Realty - Global Styles (Mobile-First) */
:root {
  --navy: #0D1B2A;
  --steel-blue: #2E5A88;
  --charcoal: #1A1A1A;
  --emerald: #007F6A;
  --gold: #C6A567;
  --white: #FFFFFF;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background-color: #f5f6f8;
}

/* Links */
a {
  color: var(--steel-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background-color: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
}

.navbar-brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.navbar-brand span {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Desktop nav links container */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}

/* Individual nav links */
.nav-links a {
  color: var(--white);
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background-color: var(--gold);
  color: var(--navy) !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: transparent;
  color: var(--white);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.8rem;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--white);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

/* Mobile nav container */
.mobile-nav {
  display: none;
  background-color: #050c16;
  border-top: 1px solid rgba(148,163,184,0.5);
}

.mobile-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.1rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mobile-nav a {
  color: #e5e7eb;
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
}

.mobile-nav a.nav-cta {
  border-color: var(--gold);
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #203654, var(--navy));
  color: var(--white);
  padding: 3.2rem 1.1rem 2.8rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.9rem;
  line-height: 1.18;
  margin: 0 0 1rem;
}

.hero p {
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.25rem 0.8rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Montserrat', system-ui, sans-serif;
  text-decoration: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #d8b676;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
}

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

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border: 1px dashed rgba(255,255,255,0.6);
}

.btn-ghost:hover {
  background-color: rgba(255,255,255,0.06);
}

/* Hero Card */
.hero-card {
  background-color: rgba(6, 20, 41, 0.88);
  border-radius: 1rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.38);
}

.hero-card h2 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.1rem;
  margin: 0 0 0.9rem;
}

.hero-card ul {
  margin: 0 0 1.3rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
}

.hero-card li + li {
  margin-top: 0.3rem;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
}

.hero-highlight span {
  font-size: 1rem;
}

/* Main layout */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.4rem 1.1rem 3rem;
}

.section {
  margin-bottom: 2.6rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  color: var(--steel-blue);
  font-weight: 600;
}

.section-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.5rem;
  margin: 0.3rem 0 0.45rem;
}

.section-description {
  max-width: 40rem;
  color: #4b5563;
  font-size: 0.96rem;
}

/* Grid layouts */
.two-col,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.9rem;
}

/* Cards & grids */
.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  border: 1px solid #e2e8f0;
}

.card h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 0.93rem;
  color: #4b5563;
}

.icon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.icon-item {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1rem 0.9rem;
  border: 1px solid #e5e7eb;
}

.icon-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.icon-text {
  font-size: 0.88rem;
  color: #4b5563;
}

.properties-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
}

.property-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.1rem 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15,23,42,0.05);
}

.property-location {
  font-size: 0.84rem;
  color: #6b7280;
}

.property-meta {
  font-size: 0.83rem;
  color: #4b5563;
  margin: 0.4rem 0;
}

.property-type {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel-blue);
  margin-bottom: 0.35rem;
}

.property-price {
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.3rem;
  margin-bottom: 0.6rem;
}

.property-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--steel-blue);
}

/* Utility layouts */
.flex-between {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

/* Highlight strip */
.highlight-strip {
  background-color: #0b1727;
  color: #e5e7eb;
  padding: 1.1rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 0.9rem;
}

.highlight-strip strong {
  color: #f9fafb;
}

/* Footer */
.footer {
  background-color: #020817;
  color: #e5e7eb;
  padding: 2.3rem 1.1rem 1.4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

.footer h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.footer a {
  color: #cbd5f5;
  font-size: 0.86rem;
}

.footer a:hover {
  color: var(--gold);
  text-decoration: none;
}

.footer p {
  font-size: 0.86rem;
  margin: 0.15rem 0;
  color: #9ca3af;
}

.footer-brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.footer-brand span {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.footer-small {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 1rem;
  border-top: 1px solid #111827;
  padding-top: 1rem;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-form input,
.footer-form select {
  border-radius: 999px;
  border: 1px solid #374151;
  background-color: #020617;
  color: #e5e7eb;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.footer-form input::placeholder {
  color: #6b7280;
}

/* Forms */
.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem 1rem;
  margin-top: 0.8rem;
}

.form-full {
  grid-column: 1 / -1;
}

.form label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  display: block;
  margin-bottom: 0.25rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

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

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, #0d1b2a, #1f2937);
  color: var(--white);
  padding: 2.3rem 1.1rem 1.9rem;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: #9ca3af;
}

.breadcrumb a {
  color: #cbd5f5;
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* Responsive breakpoints */
@media (min-width: 640px) {
  .hero {
    padding: 3.4rem 1.4rem 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .two-col,
  .content-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 2.1rem;
  }

  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flex-between {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1.1fr)) minmax(0, 1.3fr);
  }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.9fr);
    gap: 2.4rem;
  }

  .navbar {
    padding-inline: 1.5rem;
  }

  .main {
    padding-inline: 1.5rem;
  }

  .properties-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Show mobile menu toggle and hide desktop links on small screens */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* Utility */
.btn-block {
  width: 100%;
}
