/* Martin Storage LLC - static site styles */

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/work-sans.woff2") format("woff2");
}

:root {
  --navy: #121f26;
  --navy-2: #131f28;
  --red: #ff1616;
  --black: #000;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; border: 0 solid; }
html { font-family: "Work Sans", Arial, sans-serif; line-height: 1; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: #000; background: #fff; }
h1, h2, h3, h4, h5, h6, p, ul { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; cursor: pointer; padding: 0; }
section[id], div[id] { scroll-margin-top: 70px; }

.button {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 8px 24px;
  border: 1px solid var(--red);
  border-radius: 4px;
  transition: .25s;
}
.button:hover { background-color: var(--white); color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  background-color: var(--navy);
  padding: 8px 24px;
}
.header-wrapper {
  max-width: 1408px; margin: auto;
  display: flex; align-items: center; justify-content: center;
}
.logo img { width: 150px; height: auto; }
.desktop-nav { display: none; margin-left: auto; }
.desktop-nav ul { display: flex; align-items: center; font-size: 16px; }
.desktop-nav li { margin-left: 48px; color: var(--white); }
.desktop-nav a { display: inline-block; padding: 22px 0 20px; }
.desktop-nav a:hover { text-decoration: underline; }
.desktop-nav li:last-child a { padding: 8px 24px; }
.desktop-nav li:last-child a:hover { text-decoration: none; }

@media (min-width: 992px) {
  .header-wrapper { justify-content: flex-start; }
  .desktop-nav { display: block; }
}
@media (min-width: 1200px) {
  .desktop-nav a { padding: 26px 0 24px; }
}

/* Mobile menu */
.menu-toggle {
  position: fixed; bottom: 55px; left: 50%; transform: translateX(-50%);
  z-index: 60;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--red);
}
.menu-toggle svg { width: 28px; height: 28px; }
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }
@media (min-width: 992px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  overflow-y: auto;
  background-color: var(--navy);
  padding: 24px 0 140px;
  opacity: 0; pointer-events: none; transform: scale(1.1);
  transition: .25s;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: scale(1); }
body.menu-open { overflow: hidden; }
.mobile-menu .logo { display: flex; justify-content: center; }
.mobile-menu ul { padding: 3rem 1.5rem 0; }
.mobile-menu li { display: flex; justify-content: center; font-size: 24px; color: var(--white); margin-bottom: 1rem; }
.mobile-menu li:last-child a { padding: 8px 24px; }

/* ---------- Hero ---------- */
.hero .wrapper {
  display: flex; flex-direction: column-reverse; align-items: center;
  max-width: 1400px; margin: 0 auto; gap: 32px;
}
.hero .content { display: flex; flex-wrap: wrap; align-items: flex-start; width: 100%; padding: 0 24px; }
.hero h1 { width: 100%; font-size: 32px; font-weight: 700; color: var(--black); }
.hero h2 { width: 100%; font-size: 24px; padding: 12px 0 56px; }
.phone { width: 100%; font-size: 24px; font-weight: 700; padding: 0 0 12px; }
.image { position: relative; width: 100%; height: 250px; overflow: hidden; }
.image img, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.new-facility-link {
  display: block; background-color: var(--black); color: var(--white);
  font-size: 16px; font-weight: 700; text-align: center;
  padding: 16px 8px; margin-top: 50px; transition: .25s;
}
.new-facility-link:hover { background-color: #2d3748; }
.facility-hero .wrapper { padding-bottom: 40px; }

@media (min-width: 516px) {
  .hero h1 { font-size: 40px; }
  .image { height: 300px; }
}
@media (min-width: 768px) {
  .hero .wrapper { flex-direction: row; }
  .hero .content, .hero .image { width: 50%; }
  .home-hero .content { width: auto; flex: 0 1 auto; }
  .home-hero .image { flex: 1 0 36%; }
  .hero h1 { font-size: 48px; }
  .image { height: 400px; }
  .new-facility-link { margin-top: 0; }
  .facility-hero .wrapper { padding-bottom: 0; }
}
@media (min-width: 992px) { .hero h1 { font-size: 56px; } }
@media (min-width: 1200px) {
  .hero h1 { font-size: 64px; }
  .image { height: 528px; }
}

/* ---------- Dark list band (unit sizes / amenities) ---------- */
.band { background-color: var(--navy-2); color: var(--white); }
.band .wrapper { max-width: 1200px; width: 100%; text-align: center; padding: 100px 8px; margin: 0 auto; }
.band h2 { width: 100%; font-size: 40px; font-weight: 700; }
.band ul { display: flex; flex-wrap: wrap; gap: 50px; padding: 100px 0; }
.band li { font-size: 48px; font-weight: 200; margin: 0 auto; }
.band.amenities li { font-size: 32px; }
.band .html-text { font-size: 18px; line-height: 1.4; }
.band .html-text a { text-decoration: underline; }
@media (min-width: 768px) { .band h2 { font-size: 56px; } }

/* ---------- Split sections (image + content) ---------- */
.split .wrapper {
  display: flex; flex-wrap: wrap; align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.split.reverse .wrapper { flex-direction: column-reverse; }
.split .content { display: flex; flex-wrap: wrap; width: 100%; padding: 24px; }
.split h2 { width: 100%; font-size: 32px; font-weight: 700; color: var(--black); line-height: 1; }
.split.reverse h2 { padding: 0 0 24px; }
.split p { font-size: 16px; line-height: 1.5; padding: 24px 0 0; white-space: pre-line; }
.split .section-items { width: 100%; }
.split .section-item { padding: 0 0 32px; }
.split .section-item h5 { font-size: 20px; font-weight: 200; padding: 0 0 10px; }
.split .section-item h6, .split .section-item a { font-size: 18px; }
.split .phone-lg { width: 100%; font-size: 32px; font-weight: 700; padding: 32px 0 12px; }

@media (min-width: 516px) { .split h2 { font-size: 40px; } }
@media (min-width: 768px) {
  .split .wrapper, .split.reverse .wrapper { flex-wrap: nowrap; flex-direction: row; }
  .split .content { width: 50%; padding: 0 24px; }
  .split .image, .split .gallery { width: 50%; }
}
@media (min-width: 992px) {
  .split h2 { font-size: 56px; }
  .split p { font-size: 18px; }
}
@media (min-width: 1200px) { .split h2 { font-size: 64px; } }

/* ---------- Gallery slider ---------- */
.gallery { position: relative; width: 100%; overflow: hidden; }
.gallery .track { display: flex; transition: transform .4s ease; }
.gallery .slide { position: relative; flex: 0 0 100%; height: 250px; }
.gallery .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: var(--red); color: var(--white);
  font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 4px;
  opacity: .9;
}
.gallery .arrow:hover { opacity: 1; }
.gallery .prev { left: 12px; }
.gallery .next { right: 12px; }
@media (min-width: 516px) { .gallery .slide { height: 300px; } }
@media (min-width: 768px) { .gallery .slide { height: 400px; } }
@media (min-width: 1200px) { .gallery .slide { height: 528px; } }

/* ---------- Pay bill ---------- */
.pay-bill .wrapper { max-width: 800px; margin: 0 auto; padding: 100px 8px 200px; min-height: 60vh; }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--navy); color: var(--white); padding: 25px 8px 150px; text-align: center; }
.site-footer .text { font-size: 12px; opacity: .5; }
@media (min-width: 992px) { .site-footer { padding: 25px 8px; } }
