/*
Theme Name: Harper's Theme
Theme URI: https://harperschews.com
Author: Harper's
Description: Custom WordPress Theme for Harper's Premium Dog Chews
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harpers
*/

/* VARIABLES */
:root {
  --color-harper-navy: #1b2544;
  --color-harper-gold: #b18e63;
  --color-harper-blue: #0087c8;
  --color-harper-cyan: #00aeef;
  --color-harper-red: #d9232a;

  --color-harper-premium: #0087c8;
  --color-harper-daily: #f37021;
  --color-harper-fun: #b52988;

  --font-sans: "Montserrat", ui-sans-serif, system-ui, sans-serif;
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-harper-navy);
  background-color: #f8f9fa;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

.text-navy {
  color: var(--color-harper-navy);
}
.text-cyan {
  color: var(--color-harper-cyan);
}
.text-white {
  color: #fff;
}
.text-premium {
  color: var(--color-harper-premium);
}
.text-daily {
  color: var(--color-harper-daily);
}
.text-fun {
  color: var(--color-harper-fun);
}

.bg-cyan {
  background-color: var(--color-harper-cyan);
}
.bg-red {
  background-color: var(--color-harper-red);
}
.bg-gold2 {
  background-color: #f7b733;
}
.bg-fun {
  background-color: var(--color-harper-fun);
}
.bg-premium {
  background-color: var(--color-harper-premium);
}
.bg-daily {
  background-color: var(--color-harper-daily);
}
.bg-blue-light {
  background-color: #eff6ff;
}

.hidden {
  display: none !important;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mb-20 {
  margin-bottom: 5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.text-center {
  text-align: center;
}
.max-w-3xl {
  max-width: 48rem;
}
.relative {
  position: relative;
}
.z-10 {
  z-index: 10;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
  padding: 1.5rem 0;
}
.header.scrolled {
  background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  padding: 0.75rem 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  position: relative;
  z-index: 50;
  text-decoration: none;
}
.logo-img {
  width: 10rem;
  object-fit: contain;
}
@media (min-width: 768px) {
  .logo-img {
    width: 14rem;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .desktop-nav {
    gap: 2.5rem;
  }
}
.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
}
.nav-link:hover {
  color: #fff;
}
.header.scrolled .nav-link {
  color: #4b5563;
}
.header.scrolled .nav-link:hover {
  color: var(--color-harper-cyan);
}

.nav-link .full {
  display: none;
}
@media (min-width: 1024px) {
  .nav-link .short {
    display: none;
  }
  .nav-link .full {
    display: inline;
  }
}
.hide-on-tablet {
  display: none;
}
@media (min-width: 1024px) {
  .hide-on-tablet {
    display: block;
  }
}

.btn-contact {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #fff;
  color: var(--color-harper-navy);
  transition: all 0.3s;
}
.btn-contact:hover {
  background: #f3f4f6;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
@media (min-width: 1024px) {
  .btn-contact {
    padding: 0.75rem 2rem;
  }
}
.header.scrolled .btn-contact {
  background: var(--color-harper-navy);
  color: #fff;
}
.header.scrolled .btn-contact:hover {
  background: var(--color-harper-cyan);
}
.btn-contact .full {
  display: none;
}
@media (min-width: 1024px) {
  .btn-contact .short {
    display: none;
  }
  .btn-contact .full {
    display: inline;
  }
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 50;
  position: relative;
  padding: 0.5rem;
}
.mobile-toggle i {
  width: 2rem;
  height: 2rem;
}
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transition: transform 0.4s ease-in-out;
}
.mobile-nav-link {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-harper-navy);
  transition: color 0.3s;
}
.mobile-nav-link:hover {
  color: var(--color-harper-cyan);
}
.mobile-btn-contact {
  margin-top: 1.5rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: var(--color-harper-navy);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.mobile-btn-contact:hover {
  background: var(--color-harper-cyan);
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 37, 68, 0.4);
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 13rem;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}
.badge-icon {
  height: 1.25rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hero-badge span {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.hidden-mobile {
  display: none !important;
}
@media (min-width: 768px) {
  .hidden-mobile {
    display: flex !important;
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  max-width: 64rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  max-width: 42rem;
  margin-bottom: 3rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.btn-explore {
  display: none;
  padding: 1rem 2.5rem;
  background: var(--color-harper-cyan);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.btn-explore:hover {
  background: #fff;
  color: var(--color-harper-navy);
}
@media (min-width: 768px) {
  .btn-explore {
    display: inline-block;
  }
}

.hero-stripes {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  height: 0.75rem;
}
.stripe {
  width: 33.333%;
}
.stripe.white {
  background: #fff;
}
.stripe.gold {
  background: var(--color-harper-gold);
}

/* ABOUT */
.about {
  padding: 6rem 0;
  background: #fff;
  position: relative;
}
.grid-2 {
  display: grid;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}
.text-description {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.625;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
}
.stat-value {
  font-size: 1.875rem;
  font-weight: 900;
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-map {
  position: relative;
  height: 600px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.map-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&q=80&w=1000");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.map-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}
.map-content div {
  background: var(--color-harper-navy);
  border-radius: 1rem;
  padding: 2rem;
  color: #fff;
  max-width: 24rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.map-logo {
  height: 2.5rem;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}
.map-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.map-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* FEATURES */
.features {
  padding: 6rem 0;
  background: var(--color-harper-navy);
  position: relative;
  overflow: hidden;
}
.features-bg-radial {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(
    ellipse at top right,
    rgba(255, 255, 255, 0.05),
    transparent
  );
}
.title-white {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .title-white {
    font-size: 3rem;
  }
}
.divider {
  width: 6rem;
  height: 0.25rem;
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
}
.card-header {
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle i {
  width: 2rem;
  height: 2rem;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 0.25rem;
}
.card-body {
  padding: 2rem;
  flex-grow: 1;
}
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.bullet {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  margin-top: 0.375rem;
  flex-shrink: 0;
}
.card-list span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.25;
}

/* COLLECTIONS */
.collections {
  padding: 6rem 0;
  background: #f8f9fa;
}
.block-center {
  margin-left: auto;
  margin-right: auto;
}
.badge {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}
.title-navy {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-harper-navy);
  margin-bottom: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .title-navy {
    font-size: 3rem;
  }
}
.subtitle-text {
  font-size: 1.125rem;
  color: #4b5563;
  font-weight: 500;
  text-align: center;
}
.collections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.collection-row {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .collection-row {
    flex-direction: row;
  }
  .collection-row.reverse {
    flex-direction: row-reverse;
  }
}
.col-image {
  width: 100%;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: #e8ecef;
}
@media (min-width: 1024px) {
  .col-image {
    width: 50%;
  }
}
.col-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 30;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.col-content {
  width: 100%;
}
@media (min-width: 1024px) {
  .col-content {
    width: 50%;
  }
}
.col-title {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .col-title {
    font-size: 3rem;
  }
}
.col-desc {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.625;
  margin-bottom: 2rem;
}

.sku-box {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
}
.sku-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.sku-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.sku-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  color: var(--color-harper-navy);
}
.sku-btn:hover {
  background: #f3f4f6;
}
.sku-btn.active {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}
.sku-btn.active-premium {
  color: var(--color-harper-premium);
  border-color: var(--color-harper-premium);
  background: #fff;
}
.sku-btn.active-daily {
  color: var(--color-harper-daily);
  border-color: var(--color-harper-daily);
  background: #fff;
}
.sku-btn.active-fun {
  color: var(--color-harper-fun);
  border-color: var(--color-harper-fun);
  background: #fff;
}

/* CAROUSEL */
.carousel {
  position: absolute;
  inset: 0;
}
.carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 20;
}
.carousel:hover .carousel-nav {
  opacity: 1;
}
.nav-btn {
  padding: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-harper-navy);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn:hover {
  background: #fff;
  transform: scale(1.1);
}
.nav-btn i {
  width: 1.5rem;
  height: 1.5rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  z-index: 20;
}
.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(27, 37, 68, 0.3);
  transition: all 0.3s;
  cursor: pointer;
}
.dot:hover {
  background: rgba(27, 37, 68, 0.6);
}
.dot.active {
  background: var(--color-harper-navy);
  transform: scale(1.25);
}

/* FOOTER */
.footer {
  background: var(--color-harper-navy);
  color: #fff;
  border-top: 10px solid var(--color-harper-cyan);
}
.pt-20 {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
.grid-3 {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    gap: 6rem;
  }
}

.logo-white-footer {
  width: 10rem;
  object-fit: contain;
  margin-bottom: 1rem;
}
.footer-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.625;
  max-width: 20rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.3s;
}
.footer-link:hover {
  color: var(--color-harper-cyan);
}
.footer-link-highlight {
  color: var(--color-harper-cyan);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  transition: color 0.3s;
}
.footer-link-highlight:hover {
  color: #fff;
}
.footer-link-gold {
  color: var(--color-harper-gold);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  transition: color 0.3s;
}
.footer-link-gold:hover {
  color: #fff;
}

.footer-jbs-logo {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.badge-icon-footer {
  height: 1.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.badge-icon-footer:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #fff;
}

/* ANIMATIONS */
.animate-up,
.animate-slide-right,
.animate-scale-up,
.animate-up-scroll,
.animate-slide-up-scroll {
  opacity: 0;
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.animate-up {
  transform: translateY(30px);
}
.animate-slide-right {
  transform: translateX(-30px);
}
.animate-scale-up {
  transform: scale(0.95);
}
.animate-up-scroll {
  transform: translateY(30px);
}
.animate-slide-up-scroll {
  transform: translateY(40px);
}

.in-view {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
