/* =====================================================
   Bell Storage — Clean, Consolidated Stylesheet
   ===================================================== */

/* ====== CSS Custom Properties (Tokens) ====== */
:root {
  --brand: #003098;
  --brand-dark: #3b4e5e;
  --accent: #f9ec32;
  --accent-hover: #e0d42b;
  --text: #003098;
  --text-muted: #d0d0d0;
  --text-dark-green: #0a3a33;
  --bg-light-grey: #f7f7f7;
  --white: #fff;
  --border-light: #eaeaea;
  --border-grey: #d9d9d9;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 6px 18px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 8px 22px rgba(0, 0, 0, 0.18);
  --transition-fast: 0.15s ease;
  --transition-medium: 0.25s ease;
}

/* ====== Base Styles ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ====== Layout Components ====== */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section {
  padding: 4rem 0;
}

section h2 {
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

section p {
  margin: 0.5rem 0;
  max-width: 70ch;
  color: var(--brand-dark);
}

/* ====== Promo Banner ====== */
.promo-banner {
  position: relative;
  background: url('banner_back_grad.jpg') center/cover no-repeat, var(--brand-dark);
  color: var(--white);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  border-bottom: 5px solid var(--white);
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  z-index: 0;
}

.promo-banner .promo-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1100px;
  text-align: left;
}

.promo-banner .promo-logo {
  width: clamp(200px, 25vw, 250px);
  height: auto;
  flex: 0 0 auto;
}

.promo-banner .promo-text {
  flex: 0 0 auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-weight: 700;
}

.promo-banner h3 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.05rem, 1.6vw + 0.4rem, 1.25rem);
  letter-spacing: 0.2px;
  color: var(--white);
}

.promo-banner p {
  margin: 0.15rem 0;
  opacity: 0.95;
  color: var(--white);
}

.promo-banner .promo-contact {
  font-weight: 700;
  margin-top: 0.15rem;
  color: var(--white);
}
.promo-link {
  display: block; /* makes the link wrap the whole banner properly */
  text-decoration: none;
  color: inherit; /* keeps your banner text styles */
}

/* ====== Header / Navigation ====== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-light);
}

#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
}

#site-header .logo img {
  height: 75px;
  width: auto;
  display: block;
}

#site-header nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 0.25rem;
  margin-left: auto;
  cursor: pointer;
}

/* ====== Hero Section ====== */
.hero {
  position: relative;
  background: var(--white);
  color: var(--brand);
  text-align: center;
  padding: 4.5rem 1.25rem;
  display: grid;
  place-items: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin: 0;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 42ch;
  margin: 0.25rem auto 1.25rem;
}

.hero-phone {
  display: inline-block;
  margin-top: 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  background: var(--accent);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  transition: background var(--transition-medium), color var(--transition-medium);
}

.hero-phone:hover {
  background: var(--accent-hover);
  color: var(--white);
}

/* ====== Buttons ====== */
.cta-btn,
.contact-btn {
  background: var(--accent);
  color: var(--brand-dark);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  display: inline-block;
  border: 0;
  cursor: pointer;
  transition: background var(--transition-medium), transform var(--transition-fast);
  text-decoration: none;
}

.cta-btn:hover,
.contact-btn:hover {
  background: var(--accent-hover);
}

.cta-btn:active,
.contact-btn:active {
  transform: scale(0.97);
}

.cta-btn.small {
  font-size: 0.85rem;
  padding: 0.4rem 0.7rem;
  margin-top: 0.5rem;
}

.contact-btn {
  margin-top: 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--brand);
  box-shadow: var(--shadow-light);
}

.contact-btn:hover {
  color: var(--white);
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem auto 2rem;
}

/* ====== Content Sections ====== */
#about {
  background-color: var(--bg-light-grey);
  padding: 4rem 0;
}

#about h2 {
  color: var(--brand);
}

#about p {
  color: var(--text-dark-green);
}

#self-storage {
  background-color: var(--brand);
  padding: 4rem 0;
  color: var(--white);
}

#self-storage h2,
#self-storage p {
  color: var(--white);
}

/* ====== About & Info Sections Grid Layout ====== */
.about-grid,
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text p,
.info-text p {
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.5;
}

.about-image,
.info-image {
  height: clamp(240px, 32vw, 420px);
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

.about-image img,
.info-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Image positioning variants */
.image-left .info-image {
  order: 1;
}

.image-left .info-text {
  order: 2;
}

.image-right .info-text {
  order: 1;
}

.image-right .info-image {
  order: 2;
}

/* ====== Services ====== */
#services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  text-align: center;
}

#services .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-light-grey);
  color: var(--brand-dark);
  border: none;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

#services .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
}

#services .card h3 {
  margin: 0 0 0.25rem;
  color: var(--brand-dark);
}

#services .card p {
  margin: 0 0 0.8rem;
  flex: 1 1 auto;
  color: var(--brand-dark);
}

#services .card .cta-btn.small {
  margin-top: auto;
  align-self: center;
}

.section-figure {
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.section-figure img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* ====== Testimonials ====== */
#testimonials {
  padding: 3rem 1rem;
}

.testimonials {
  background: var(--bg-light-grey);
  border-radius: 12px;
}

#testimonials .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.t-card {
  background: var(--accent);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.t-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.t-card .stars {
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.t-card blockquote {
  margin: 0.6rem 0 0.8rem;
  font-style: italic;
}

.t-card figcaption {
  color: #555;
  font-weight: 600;
}

.t-card .t-name {
  color: #222;
}

/* ====== FAQs ====== */
.faq-list {
  padding-left: 1rem;
}

.faq-list li {
  margin: 0.4rem 0;
}

/* ====== Contact ====== */
.contact {
  background: var(--brand);
  color: var(--white);
  padding: 2rem 0;
}

.contact .container {
  padding: 0 1rem;
}

.contact .map-wrap {
  max-width: 1100px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
}

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

.contact-addr {
  text-align: center;
  margin: 0.25rem 0;
}

.form-wrap {
  max-width: 720px;
  margin: 1rem auto 0;
  background: var(--bg-light-grey);
  padding: 1rem;
  border-radius: 12px;
  backdrop-filter: saturate(120%) blur(1px);
}

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

.form-group.inline {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

label {
  font-weight: 600;
  color: var(--brand); /* Dark blue for strong contrast against light grey background */
}

/* Specific styling for inline checkbox labels */
.form-group.inline label {
  color: var(--brand-dark); /* Slightly softer for checkbox label */
  font-weight: 500;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='checkbox'],
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
  transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

/* Checkbox specific styling */
input[type='checkbox'] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
}

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

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 236, 50, 0.25);
  outline: none;
}

/* Invalid field styling */
input[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.25);
}

/* Error message styling */
.error-message {
  color: #e53e3e;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
  display: none;
}

.form-status {
  margin-top: 0.6rem;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
}

.form-status.success {
  color: #38a169;
  background-color: #f0fff4;
  border: 1px solid #9ae6b4;
}

.form-status.error {
  color: #e53e3e;
  background-color: #fed7d7;
  border: 1px solid #feb2b2;
}

.form-status.sending {
  color: var(--brand);
  background-color: #ebf8ff;
  border: 1px solid #90cdf4;
}

.site-footer {
  background: #222; /* dark background */
  color: #ccc; /* lighter text */
  padding: 1rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* stack neatly on mobile */
  width: min(1100px, 92%);
  margin: 0 auto;
}

.footer-left {
  text-align: left;
}
.footer-center {
  text-align: center;
}
.footer-right {
  text-align: right;
}

.footer-inner p,
.footer-inner address {
  margin: 0;
}

.footer-inner address {
  font-style: italic;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* Mobile stacking */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }
}

/* Mobile stacking */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }
}

/* ====== Responsive Design ====== */

/* Tablet and desktop promo banner layout */
@media (min-width: 481px) and (max-width: 1024px) {
  .promo-banner {
    padding: 1.5rem 0;
  }

  .promo-banner .promo-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
  }

  .promo-banner .promo-logo {
    order: 0;
    width: clamp(160px, 35vw, 260px);
    margin: 0 auto 0.5rem;
  }

  .promo-banner .promo-text {
    order: 1;
    align-items: center;
    text-align: center;
  }
}

/* Tablet responsive adjustments */
@media (max-width: 768px) {
  /* Mobile navigation */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    background: var(--brand);
    display: grid;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  #primary-nav .nav-link {
    color: var(--white);
    padding: 0.9rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
  }

  #site-header.nav-open #primary-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow-heavy);
  }

  /* Grid layouts stack on mobile */
  .about-grid,
  .info-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text p,
  .info-text p {
    text-align: center;
  }

  .about-image,
  .info-image {
    height: clamp(200px, 45vw, 320px);
    margin-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .promo-banner {
    display: none;
  }

  #site-header {
    padding: 0.4rem 0.75rem;
    margin-top: 0;
  }

  #site-header .logo {
    font-size: 0.95rem;
  }

  #primary-nav .nav-link {
    font-size: 0.92rem;
    padding: 0.6rem 0.9rem;
    line-height: 1.2;
  }
}
