/* ============================================================
   Sudzy Pets – Custom brand styles (used alongside Tailwind CDN)
   Brand colors:
     Blue:        #1b4f9e
     Orange:      #fd8200
     Light blue:  #acc8dd
     Dark:        #1b1b1b
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blue:       #1b4f9e;
  --blue-dark:  #163d7a;
  --orange:     #fd8200;
  --orange-dark:#e07300;
  --light-blue: #acc8dd;
  --dark:       #1b1b1b;
  --gray:       #f5f5f5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  margin: 0;
  padding: 0;
}

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

a { text-decoration: none; transition: color 0.2s, background-color 0.2s, opacity 0.2s; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background-color: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
}
.btn-primary:hover { background-color: var(--blue-dark); color: #fff; transform: translateY(-1px); }

.btn-orange {
  display: inline-block;
  background-color: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
}
.btn-orange:hover { background-color: var(--orange-dark); color: #fff; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.btn-outline:hover { background-color: #fff; color: var(--blue); }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.10);
  transition: box-shadow 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

/* Text-based wordmark logo */
.logo-wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.logo-wordmark .logo-sudzy { color: var(--blue); }
.logo-wordmark .logo-pets  { color: var(--orange); }

/* Footer wordmark — slightly smaller, stays readable on dark bg */
.footer-brand .logo-wordmark {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }

.nav-links .nav-cta {
  background-color: var(--blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
}
.nav-links .nav-cta:hover { background-color: var(--blue-dark); color: #fff; }

.nav-links .nav-phone {
  background-color: var(--orange);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links .nav-phone:hover { background-color: var(--orange-dark); color: #fff; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../img/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 72px; /* nav height */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,79,158,0.75) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 620px;
}

.hero-content .eyebrow {
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--light-blue);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero-content h1 span { color: var(--orange); }

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section spacing ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 12px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 48px;
}

/* ---------- Feature cards (homepage) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 6px 24px rgba(27,79,158,0.12); transform: translateY(-3px); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #e8f0fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--blue); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.feature-card p { font-size: 0.95rem; color: #555; line-height: 1.6; margin: 0; }

/* ---------- Service areas banner ---------- */
.areas-banner {
  background-color: var(--blue);
  color: #fff;
  text-align: center;
}
.areas-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin: 0 0 16px; }
.areas-banner p { font-size: 1.1rem; opacity: 0.9; margin: 0 0 28px; }
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.areas-list li {
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Photo gallery strip ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--orange) 0%, #e07300 100%);
  text-align: center;
  color: #fff;
}
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin: 0 0 12px; }
.cta-strip p { font-size: 1.1rem; opacity: 0.92; margin: 0 0 28px; }

/* ---------- Shop page ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 8px 28px rgba(27,79,158,0.13); transform: translateY(-4px); }
.product-card-body { padding: 20px 24px 24px; }
.product-card-body h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.product-card-body p { font-size: 0.9rem; color: #666; margin: 0 0 16px; }
/* Shopify Buy Button iframe overrides */
.shopify-buy-frame { width: 100% !important; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin: 0 0 20px; }
.contact-info p { font-size: 1rem; color: #555; line-height: 1.7; margin: 0 0 16px; }
.contact-info a { color: var(--blue); font-weight: 600; }
.contact-info a:hover { color: var(--blue-dark); }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: #e8f0fb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; color: var(--blue); }
.info-item-text strong { display: block; font-weight: 700; font-size: 0.9rem; color: #888; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.info-item-text span { font-size: 1rem; color: var(--dark); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-control {
  width: 100%;
  height: 44px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,158,0.1);
  background: #fff;
}
textarea.form-control {
  height: 120px;
  padding-top: 12px;
  resize: vertical;
}
select.form-control { cursor: pointer; }
.form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.95rem; }
.form-check input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.form-section-label { font-weight: 700; font-size: 0.85rem; color: #444; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 10px; }

/* ---------- Careers ---------- */
.job-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: box-shadow 0.2s;
}
.job-card:hover { box-shadow: 0 6px 24px rgba(27,79,158,0.1); }
.job-badge {
  display: inline-block;
  background-color: #e8f0fb;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.job-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; }
.job-card p { font-size: 0.95rem; color: #666; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: #1a1a2e;
  color: #ccc;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: #aaa; margin: 0 0 20px; }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }

.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.social-link:hover { background-color: var(--blue); }
.social-link svg { width: 16px; height: 16px; color: #ccc; }

.footer-form-inline { display: flex; flex-direction: column; gap: 10px; }
.footer-form-inline input,
.footer-form-inline textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
}
.footer-form-inline input::placeholder,
.footer-form-inline textarea::placeholder { color: #888; }
.footer-form-inline input:focus,
.footer-form-inline textarea:focus { outline: none; border-color: var(--blue); }
.footer-form-inline textarea { height: 80px; resize: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: #777; margin: 0; }
.footer-bottom a { color: #888; font-size: 0.82rem; }
.footer-bottom a:hover { color: #ccc; }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 120px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 0 0 12px; }
.page-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 560px; margin: 0 auto; }

/* ---------- Map embed ---------- */
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  /* Careers two-column layout stacks on mobile */
  .careers-layout { grid-template-columns: 1fr !important; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    gap: 4px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 12px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
