/* Rockland Athletic Supplies — custom styles */

:root {
  --navy: #0b1e3d;
  --navy-dark: #071122;
  --navy-soft: #16305a;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --cream: #f6f4ef;
  --ink: #171b22;
  --muted: #5c6472;
  --border-soft: rgba(11, 30, 61, 0.1);
  --font-head: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
}

.section-pad {
  padding: 5.5rem 0;
}

.section-pad-sm {
  padding: 3.5rem 0;
}

.bg-cream {
  background: var(--cream);
}

.text-red {
  color: var(--red) !important;
}

.bg-navy {
  background: var(--navy) !important;
}

.eyebrow {
  font-family: var(--font-head);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--red);
}

.eyebrow.on-dark {
  color: #ff8a9b;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-title.on-dark {
  color: #ffffff;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
}

.section-sub.on-dark {
  color: rgba(255, 255, 255, 0.75);
}

.btn-red {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-cream {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.btn-outline-cream:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

/* Navbar */
.navbar-ras {
  background: var(--navy);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.navbar-ras .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
}

.navbar-ras .brand-logo {
  height: 42px;
  width: auto;
}

.navbar-ras .brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.navbar-ras .brand-name small {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.navbar-ras .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
}

.navbar-ras .nav-link:hover {
  color: #fff !important;
}

.navbar-ras .nav-phone {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.navbar-ras .nav-phone i {
  color: var(--red);
}

/* Hero: split panel */
.hero-split {
  display: flex;
  flex-wrap: wrap;
  min-height: 92vh;
}

.hero-photo {
  flex: 1 1 56%;
  min-height: 46vh;
  background-image: url('img/hero.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-panel {
  flex: 1 1 44%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  position: relative;
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -3vw;
  z-index: 2;
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--red);
}

.hero-content {
  padding: 3rem 3.25rem 3rem 4.5rem;
  color: #fff;
}

.hero-eyebrow {
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #ff8a9b;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0.6rem 0 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 2rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats .stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
}

.hero-stats .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991.98px) {
  .hero-split {
    min-height: unset;
  }
  .hero-photo {
    flex-basis: 100%;
    min-height: 42vh;
  }
  .hero-panel {
    flex-basis: 100%;
    clip-path: none;
    margin-left: 0;
  }
  .hero-content {
    padding: 3rem 1.75rem;
  }
}

/* About */
.owners-frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11, 30, 61, 0.18);
  border: 6px solid #fff;
}

.owners-frame img {
  width: 100%;
  display: block;
}

.about-fact {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.about-fact i {
  color: var(--red);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.est-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

.est-badge .num {
  color: var(--red);
  font-weight: 700;
}

/* Service cards */
.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 2.1rem 1.6rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11, 30, 61, 0.12);
  border-color: transparent;
}

.service-card .service-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.5rem;
  color: var(--red);
}

.service-card.featured .service-icon {
  background: var(--navy);
  color: #fff;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

.service-card-sm {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-card-sm .service-icon-sm {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(11, 30, 61, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--navy);
}

.service-card-sm h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.service-card-sm p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Process banner */
.process-banner {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 30, 61, 0.16);
}

.process-banner img {
  width: 100%;
  display: block;
}

/* Team stores */
.stores-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: 10px;
  color: #fff;
  padding: 3.25rem;
  position: relative;
  overflow: hidden;
}

.stores-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: rgba(200, 16, 46, 0.18);
  border-radius: 50%;
}

.stores-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.stores-check i {
  color: #ff8a9b;
  margin-top: 0.2rem;
}

/* Brands grid */
.brand-card {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 1.15rem 0.75rem;
  text-align: center;
  color: var(--navy);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.brand-card:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* Testimonials */
.testimonial-carousel {
  background: var(--navy);
  border-radius: 12px;
  padding: 3.5rem 1.5rem;
  color: #fff;
}

.testimonial-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote i.bi-quote {
  font-size: 2.2rem;
  color: var(--red);
}

.testimonial-quote p {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 1rem 0 1.25rem;
}

.testimonial-quote .name {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff8a9b;
  font-size: 0.9rem;
}

.testimonial-carousel .carousel-indicators {
  position: static;
  margin-top: 2rem;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.35);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.testimonial-carousel .carousel-indicators .active {
  background-color: var(--red);
}

/* Community */
.community-card {
  text-align: center;
  padding: 2rem 1.25rem;
  height: 100%;
}

.community-card .comm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.1rem;
}

.community-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.community-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Location */
.info-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
}

.info-card i {
  color: var(--red);
  font-size: 1.15rem;
  margin-right: 0.75rem;
}

.info-card h3 {
  font-size: 0.95rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.info-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.map-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  min-height: 420px;
}

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

/* Footer */
.footer-ras {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
}

.footer-logo-chip {
  background: #f8f6f0;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-chip img {
  height: 46px;
  width: auto;
}

.footer-ras h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-ras a {
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-ras a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  color: #fff;
}

.footer-social a:hover {
  background: var(--red);
}

.footer-powered {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-powered a {
  display: inline;
  color: #ff8a9b;
  font-weight: 600;
}
