/* ============================================================
   NYCE WEBSITE — Combined Stylesheet
   Covers: index.html (homepage), faqs.html, atmlocator/nyce.html, atmlocator/sum.html
   Brand colors: #E00034 (NYCE Red / PMS 185) · #222222 (Dark text)

   TABLE OF CONTENTS
   -----------------
   1.  CSS Variables & Reset
   2.  Base Typography & Links
   3.  Navigation (shared)
   4.  Page Layout Utilities (shared)
   5.  Page Header — red banner (FAQs & ATM Locator pages)
   6.  Hero Section (homepage only)
   7.  Buttons (homepage only — .btn, .btn-primary, .btn-outline)
   8.  Feature Cards (homepage only)
   9.  Locator Band (homepage only) — two-band layout for NYCE + SUM
  10.  FAQ Accordion (faqs.html only)
  11.  FAQ Locator Card — red CTA at bottom of FAQs (faqs.html only)
  12.  ATM Locator Page — .locator-* base rules
  13.  Footer (shared)
  14.  Utility Classes (shared)
  15.  Responsive / Media Queries
   ============================================================ */


/* ============================================================
   1. CSS VARIABLES & RESET
   ============================================================ */

:root {
  /* --- Brand colors --- */
  --red:         #E00034;   /* NYCE primary red (PMS 185) */
  --red-mid:     #c8002e;
  --red-light:   #fbeaee;   /* pale red — backgrounds, icon fills */
  --red-hover:   #b8002a;   /* hover state for red elements */
  --red-icons:   #700015;   /* burgundy red for icon strokes  */
  --gray:        #999999;   /* Cool Gray — footnotes, captions */
  --gray-light:  #f5f5f5;   /* page section backgrounds */
  --gray-mid:    #D3D3D3;   /* borders, dividers */
  --blue:				 #0070C0;   /* blue text in locator banners */
  --black:			 #000000;
  /* --- Text --- */
  --text-dark:   #222222;
  --text-mid:    #555555;
  --white:       #ffffff;

  /* --- Layout --- */
  --max-width:   1100px;
  --nav-height:  72px;      /* ← Sticky nav height. Adjust with care (affects main min-height calc). */
  --radius:      6px;
  --shadow:      0 2px 12px rgba(24,24,24,0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}


/* ============================================================
   2. BASE TYPOGRAPHY & LINKS
   ============================================================ */

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-hover);
  text-decoration: underline;
}


/* ============================================================
   3. NAVIGATION  (shared — appears on every page)
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--gray-light);
  box-shadow: 0 1px 8px rgba(224,0,52,0.06);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 53px; /* ← Logo height. Adjust this value to fine-tune size. */
  width: auto;
}
.sum-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

sum-nav-logo img{
	height: auto;
	width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 8px 18px;
  font-size: 17px; /* ← Nav link font size. Adjust here to change all nav items at once. */
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.02em;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}

/* Mobile hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: all 0.22s;
}


/* ============================================================
   4. PAGE LAYOUT UTILITIES  (shared)
   ============================================================ */

main {
  min-height: calc(100vh - var(--nav-height) - 180px);
}

/* Centered content wrapper — used on most page sections */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   5. PAGE HEADER — red banner  (FAQs & ATM Locator pages)
      Not used on the homepage (which has its own hero section).
   ============================================================ */

.page-header {
  background: var(--gray-mid);
  color: var(--black);
  padding: 52px 24px 48px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 17px;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto;
}


/* ============================================================
   6. HERO SECTION  (homepage only)
   ============================================================ */

.hero {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 480px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  gap: 48px;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero-text p {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
}


/* ============================================================
   7. BUTTONS  (homepage only)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 20px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  text-align: center;
}

span#arrow {
  font-size: 42px;
  padding-bottom: 8px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(224,0,52,0.18);
}

.btn-primary:hover {
  background: var(--red-hover);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(224,0,52,0.22);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}


/* ============================================================
   8. FEATURE CARDS  (homepage only)
      Four-column horizontal row below the hero.
   ============================================================ */

.features {
  background: var(--gray-light);
  padding: 64px 0;
}

.features h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 20px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card .feature-illustration {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.58;
}

/* Asterisk disclaimer below the feature grid */
.features-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-mid);
  text-align: center;
}


/* ============================================================
   9. LOCATOR BAND  (homepage only)
      Two stacked bands — NYCE ATM first, SUM ATM second.
      Each is two-column: photo left, red panel right.
      Mirrors the PowerPoint slide layout.
   ============================================================ */

.locator-band {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 260px;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 10px;
}

section.locator-band {
  margin-top: 20px;
}

.locator-band-image {
  overflow: hidden;
 
}

.locator-band-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  max-height: 310px;
}

.locator-band-content {
  background: var(--gray-mid);
  color: var(--black);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* Small label above the main heading */
.locator-band-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /*opacity: 0.7;*/
  margin: 0;
}

.locator-band-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  margin: 4px 0 8px;
  line-height: 1.1;
}

.locator-band-sub {
  font-size: 16px;
  opacity: 0.88;
  margin: 0 0 24px;
}

/* "Find a NYCE ATM →" button with embedded logo */
.locator-band-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--red);
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 20px 12px 16px;
  max-width: fit-content;
  transition: background 0.18s, transform 0.12s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.locator-band-btn:hover {
  /*background: var(--red-light);*/
  color: var(--red);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.locator-btn-find {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray);
  letter-spacing: -0.01em;
}

.locator-btn-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.locator-btn-logo {
  height: 40px;               /* logo height inside button */
  width: auto;
  flex-shrink: 0;
  margin-left: 4px;
}

/* SUM band uses a slightly darker red to visually distinguish the two bands */
.locator-band.sum-band .locator-band-content {
  background: var(--gray-mid);
}


/* ============================================================
  10. FAQ ACCORDION  (faqs.html only)
   ============================================================ */

.faq-section {
  padding: 64px 0 80px;
}

.faq-intro {
  margin-bottom: 40px;
  max-width: 680px;
}

.faq-intro p {
  font-size: 17px;
  color: var(--text-mid);
}

.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-mid);
  padding: 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-mid);
}

/* Clickable question row */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  gap: 16px;
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--red);
}

/* +/× toggle icon */
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  transition: background 0.15s, transform 0.22s;
  line-height: 1;
}

/* Open state — JS adds .open to .faq-item */
.faq-item.open .faq-question {
  color: var(--red);
}

.faq-item.open .faq-question .faq-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 4px 20px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 680px;
}

.faq-item.open .faq-answer {
  display: block;
}


/* ============================================================
  11. FAQ LOCATOR CARDS  (faqs.html only)
      Two standalone red CTA cards at the bottom of the FAQ list —
      one for NYCE ATM Locator, one for SUM ATM Locator.
   ============================================================ */

.faq-locator-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.faq-locator-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  background: var(--white);
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgb(59 59 59 / 38%);
}

.faq-locator-card:hover {
  /*background: var(--red-hover);*/
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224,0,52,0.22);
}

.faq-locator-card.sum-card {
  background: var(--white);
}

.faq-locator-card.sum-card:hover {
 /* background: var(--red-hover);*/
}

/* Left column: text content */
.faq-locator-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.faq-locator-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  margin: 0;
  letter-spacing: -0.01em;
}

.faq-locator-sub {
  font-size: 22px;
  color: var(--black);
  margin: 0;
}

.faq-locator-link {
  font-size: 26px;
  color: var(--gray);
  margin: 4px 0 0;
}

.faq-locator-link strong {
  font-size: 32px;
  font-weight: 800;
   color: var(--gray);
  letter-spacing: -0.01em;
}

.faq-locator-link span {
  font-size: 26px;
  color: var(--gray);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Right column: logo */
.faq-locator-logo {
  flex-shrink: 0;
  width: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-locator-logo img {
  height: auto;
  width: 100%;
  /*filter: brightness(0) invert(1); */ /* renders logo white on red background */
}


/* ============================================================
  12. ATM LOCATOR PAGES  (atmlocator/nyce.html, atmlocator/sum.html)
      Base rules only. Each locator page also has inline <style>
      overrides for the embed container and page-header layout.
   ============================================================ */

.locator-section {
  padding: 0;
}

.locator-intro {
  padding: 40px 0 0;
  max-width: 700px;
  margin-bottom: 32px;
}

.locator-intro p {
  font-size: 16px;
  color: var(--text-mid);
}

.locator-embed {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-mid);
  min-height: 620px;
  background: var(--gray-light);
}

.locator-embed iframe {
  width: 100%;
  min-height: 620px;
  border: none;
  display: block;
}

.locator-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}


/* ============================================================
  13. FOOTER  (shared — appears on every page)
   ============================================================ */

footer {
  background: var(--gray-mid);
  color: var(--black);
  padding: 48px 24px 28px;
  margin-top: 0;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 24px;
}

.footer-brand img {
  height: 44px;
  width: auto;
 /* filter: brightness(0) invert(1); */ /* renders logo white on red background */
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  opacity: 0.75;
  max-width: 340px;
  line-height: 1.55;
}

.footer-nav h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-nav ul li a:hover {
  color: var(--red-icon);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  opacity: 0.6;
}

/* Legal links on the right side of the footer bar */
.footer-legal-links {
  display: flex;
  gap: 20px;
}

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

.footer-legal-links a:hover {
  text-decoration: underline;
  color: var(--red-icon);
}


/* ============================================================
  14. UTILITY CLASSES  (shared)
   ============================================================ */

.disclaimer {
  font-size: 12px;
  color: var(--gray);
  margin-top: 24px;
  line-height: 1.5;
}


/* ============================================================
  15. RESPONSIVE / MEDIA QUERIES
      Grouped by breakpoint, then by section within each block.
   ============================================================ */

/* ---- Tablet and below (≤ 860px) ---- */
@media (max-width: 860px) {

  /* Feature grid: 4 columns → 2 columns */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Homepage locator bands: side-by-side → stacked */
  .locator-band {
    grid-template-columns: 1fr;
  }

  .locator-band-image {
    height: 220px;
  }

  .locator-band-content {
    padding: 36px 28px;
  }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Navigation: show hamburger, hide inline links */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 2px solid var(--red-light);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 16px;
  }

  /* Hero: two columns → single column */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 28px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-image img {
    height: 240px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  /* Shared layout */
  .container {
    padding: 0 16px;
  }

  .page-header {
    padding: 40px 16px 36px;
  }

  .features {
    padding: 44px 0;
  }

  .faq-section {
    padding: 44px 0 60px;
  }
}

/* ---- Small mobile (≤ 600px) ---- */
@media (max-width: 600px) {

  .features h2 {
    font-size: 24px;
  }

  /* Hide the logo inside the homepage locator band button */
  .locator-btn-logo {
   /* display: none; */
  }

  /* Remove border-radius on the homepage locator bands so they bleed edge-to-edge */
  .locator-band {
    border-radius: unset;
  }

  /* FAQ locator cards: side-by-side → stacked */
  .faq-locator-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .faq-locator-logo {
    width: 120px;
    align-self: flex-end;
  }

  .faq-locator-link strong {
    font-size: 30px;
  }

  .faq-locator-link span {
    font-size: 26px;
  }
}

/* ---- Very small mobile (≤ 480px) ---- */
@media (max-width: 480px) {

  /* Feature grid: 2 columns → 1 column */
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
