/* shared.css - Modern Jasper Pet Outpost - April 2026 */
/* Hero banner now scales beautifully on ALL mobile devices */

:root {
  --primary:    #478ac9;
  --primary-dark: #3a78b3;
  --secondary:  #3b8c5f;
  --secondary-dark: #327752;
  --accent-warm: #c47c48;
  --bg-light:   #fafafa;
  --card-bg:    #f5f5f5;
  --text-dark:  #333333;
  --text-muted: #555555;
  --text-light: #ffffff;
  --radius:     12px;
  --shadow-sm:  0 4px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 10px 30px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==================== HERO - FIXED FOR MOBILE ==================== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.42), rgba(0,0,0,0.52)),
              url('images/hero-jasper.jpg') center/cover no-repeat;
  color: white;
  min-height: 100vh;                    /* Full screen height */
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 4px 25px rgba(0,0,0,0.75);
}

.hero p {
  font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== HEADER & NAV (your existing + improvements) ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
}

.logo img {
  height: 68px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.cta-phone {
  background: var(--secondary);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* Mobile Menu */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.4s ease;
    z-index: 1100;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.45rem;
  }
}

/* ==================== BUTTONS & CARDS (kept + refined) ==================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Cards */
.card, .pricing-card, .service-card, .product-card, .wash-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s;
}

.card:hover, .pricing-card:hover, .service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

/* Other sections */
section {
  padding: 6rem 0 4rem;
}

h2 {
  font-size: 2.45rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

/* FLOATING BOOK DAYCARE BUTTON - Always shows text on all devices */
.floating-book-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: var(--secondary);
  color: white;
  padding: 1rem 1.9rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(59,140,95,0.4);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(59,140,95,0.35);
}

.floating-book-btn:hover {
  background: var(--secondary-dark);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(59,140,95,0.5);
}

.floating-book-btn .btn-icon {
  font-size: 1.45rem;
}

/* Slightly smaller on very narrow phones but still shows text */
@media (max-width: 480px) {
  .floating-book-btn {
    padding: 0.95rem 1.6rem;
    font-size: 1.05rem;
    bottom: 20px;
    right: 20px;
  }
}