/* ============================================================
   🐾 HAPPY PUPPY BIG MONITOR RESTORATION
   ============================================================ */

@media screen and (min-width: 1101px) {
  header {
    display: block !important;
    background-color: #f1c40f !important; /* Your Branded Yellow */
    height: 80px !important; /* This creates the "cage" */
    border-bottom: 4px solid #940012 !important;
    position: sticky !important;
    top: 0;
    z-index: 10000;
  }

  /* This pulls the logo to the left and links to the right */
  header nav.container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* 🐾 THE LOGO FIX: This stops the overlap */
  .nav-logo-bubble img {
    height: 55px !important; /* Keeps the paw small and professional */
    width: auto !important;
    display: block !important;
  }

  /* Forces the navigation links (soul, about, etc.) into a row */
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 25px !important;
    list-style: none;
    margin: 0;
    padding: 0;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-links li a {
    text-transform: lowercase; /* Your boutique style */
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
  }
}

/* 2. THE BOUTIQUE BUBBLES (Laptop & Tablet only) */
@media screen and (max-width: 1100px) {
  /* (Keep your existing bubble code here for the laptop/tablet) */
}

/* 2. THE TABLET & LAPTOP SKY ROW (Screens < 1100px) */
@media screen and (max-width: 1100px) {
  /* Kill the heavy yellow background */

  header {
    background: none !important;
    border: none !important;
  }

  /* 🐾 THE SKY ROW: Nudged down 80px to clear the internet bar */
  .nav-links {
    position: fixed !important;
    top: 80px !important; /* 🐾 Clears the browser bar completely */
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important; /* Forces them into a row */
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 999999 !important;
    padding: 0 !important;
    pointer-events: auto !important;
  }

  .nav-links li {
    list-style: none !important;
    display: block !important;
  }

  /* 🐾 THE LOGO BUBBLE (Found Casper!) */
  .nav-logo-bubble {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 🐾 THE LOGO BUBBLE: Changing from White to Yellow */
  .nav-logo-bubble a {
    background-color: #f1c40f !important; /* 🐾 Swapped from #ffffff to Yellow */
    border: 3px solid #940012 !important; /* White border for contrast */
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
  }

  .nav-logo-bubble img {
    max-width: 80% !important; /* Slightly larger to fit the yellow vibe */
    max-height: 80% !important;
    object-fit: contain !important;
  }

  /* THE BOUTIQUE BUBBLES */
  .nav-links a:not(.nav-logo-bubble a) {
    background-color: #f1c40f !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
    text-decoration: none !important;
    font-size: 0 !important; /* Hides original long text */
  }

  /* BOUTIQUE LABELS */
  .nav-links a::after {
    content: attr(data-label);
    font-size: 0.45rem !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    text-transform: uppercase;
    margin-top: 2px;
  }

  /* This "cage" ensures the hover pop ONLY happens on Laptop/Tablet/Phone */
  @media screen and (max-width: 1100px) {
    /* Paste the Boutique Pop code here */
    .nav-links a:hover,
    .nav-logo-bubble a:hover {
      transform: scale(1.15) translateY(-5px) !important;
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4) !important;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    .nav-links a:hover .material-icons {
      transform: scale(1.1);
      color: #b50016 !important;
    }

    .nav-logo-bubble a:hover img {
      transform: rotate(5deg) scale(1.05);
      transition: transform 0.3s ease;
    }
  } /* This bracket closes the size cage */

  .nav-links .material-icons {
    font-size: 20px !important;
    color: #940012 !important;
  }
}
/* 🐾 HOME PAGE HERO: Big Screen & Tablet Cleanup */
@media screen and (min-width: 768px) {
  .hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 60px 20px !important;
    min-height: 400px !important;
    background-color: #fff !important; /* Clean boutique background */
    overflow: hidden !important;
  }

  /* 1. The Logo: No more overlapping the text */
  .hero-logo-container {
    margin-bottom: 20px !important;
    z-index: 2 !important;
  }

  .hero-logo-container img {
    height: 150px !important; /* Prominent but controlled */
    width: auto !important;
  }

  /* 2. The Text Content: Clean stacking */
  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 3 !important;
  }

  .hero-content h1 {
    font-family: "Merriweather", serif !important;
    color: #940012 !important; /* Brand Red */
    font-size: 3.5rem !important; /* Bold and clear */
    margin: 0 !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
  }

  .hero-content h2 {
    font-family: "Roboto", sans-serif !important;
    color: #333 !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
  }

  /* 3. The "Peace of Mind" Accent */
  .hero-accent {
    font-family: "Merriweather", serif !important;
    font-style: italic !important;
    color: #940012 !important;
    font-size: 1.4rem !important;
    margin-top: 10px !important;
  }
}
/* ============================================================
   🐾 HAPPY PUPPY FULL-WIDTH HERO FIX 
   ============================================================ */

@media screen and (min-width: 1101px) {
  /* 1. Unlocks the master cage so the dogs can reach the edges */
  main.container,
  #passion-hero.container,
  .hero-section {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ============================================================
   🐾 THE UNIVERSAL BREAKOUT (FINAL AFRIHOST FORCE)
   ============================================================ */

  @media screen and (min-width: 1101px) {
    /* 1. UNLOCKS THE MASTER CAGE */
    main {
      max-width: 100% !important;
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow-x: hidden !important;
    }
  }
}
/* ============================================================
   🐾 THE REAL HERO FIX (No More Squat)
   ============================================================ */

@media screen and (min-width: 1101px) {
  /* 1. Targets the ACTUAL top hero section */
  .hero-section {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    min-height: 650px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  /* 2. Ensures the background image fills the screen */
  .hero-image-container {
    width: 100% !important;
    height: 100% !important;
  }

  .hero-image-container img {
    width: 100vw !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
/* ============================================================
   🐾 THE PRIMARY PACK: GLASS-TO-GLASS STRETCH (1101px+)
   ============================================================ */

@media screen and (min-width: 1101px) {
  /* 1. Targets the TOP hero only, bypassing the 1200px cage */
  .hero-section {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    height: 700px !important; /* Adjust height to your liking */
    overflow: hidden !important;
  }

  /* 2. Forces the dog pack to fill the width */
  .hero-image-container,
  .hero-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center bottom !important;
  }
}
/* 🐾 MOBILE BOTTOM APP NAVIGATION BAR (Bubble-Free & Left Logo) */
@media screen and (max-width: 992px) {
  /* 1. Push the body up so content doesn't hide behind the new 90px bar */
  body {
    padding-bottom: 100px !important;
  }

  /* 2. The Sticky Yellow Bar */
  .main-nav.nav-links {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 90px !important;
    background-color: #f1c40f !important; /* Solid Yellow */
    border-top: 4px solid #940012 !important; /* Red Accent Line */
    z-index: 9999 !important;

    /* The Swipeable Layout */
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;

    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iPhones */
    scrollbar-width: none; /* Hides scrollbar on Firefox */

    padding: 0 15px !important;
    margin: 0 !important;
    gap: 25px !important; /* Space between icons */
  }

  /* Hides scrollbar for Chrome/Safari/Edge */
  .main-nav.nav-links::-webkit-scrollbar {
    display: none;
  }

  /* 3. PINNED LEFT LOGO */
  .main-nav.nav-links .nav-logo-bubble {
    display: flex !important;
    position: sticky !important; /* Pins it to the scroll container */
    left: -15px !important; /* Counteracts the container's 15px padding */
    background-color: #f1c40f !important; /* Solid background hides icons sliding behind it */
    height: 90px !important; /* Matches the bar height */
    padding: 0 15px 0 10px !important; /* Breathing room */
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    flex: 0 0 auto !important;
    /* Adds a subtle shadow so it looks separated from the scrolling buttons */
    box-shadow: 5px 0 10px -5px rgba(0, 0, 0, 0.1) !important;
  }

  /* Strips the bubble styling from the logo */
  .main-nav.nav-links .nav-logo-bubble a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
  }

  .main-nav.nav-links .nav-logo-bubble img {
    height: 55px !important; /* Clean, professional size */
    width: auto !important;
    object-fit: contain !important;
    transform: none !important; /* Stops old hover animations */
  }

  /* 4. THE BUBBLE-FREE ICONS */
  .main-nav.nav-links li {
    flex: 0 0 auto !important; /* Prevents squishing */
    margin: 0 !important;
  }

  /* Strips the yellow bubbles away from the navigation links */
  .main-nav.nav-links a:not(.nav-logo-bubble a) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Centers the red icons and bumps up the size */
  .main-nav.nav-links .material-icons {
    font-size: 34px !important;
    color: #940012 !important;
    margin-bottom: 2px !important;
    transform: none !important;
  }

  /* Centers the red text directly underneath the icons */
  .main-nav.nav-links a::after {
    content: attr(data-label) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #940012 !important;
    text-transform: uppercase !important;
    margin-top: 2px !important;
  }
}
/* 🐾 MOBILE FIX: ALIGN TEXT TO THE RIGHT OF THE DOG */
@media screen and (max-width: 992px) {
  #passion-hero {
    display: flex !important;
    flex-direction: row !important; /* Forces side-by-side */
    align-items: center !important; /* Vertically centers dog and text */
    padding: 10px !important;
    gap: 15px !important; /* Space between the dog and the text */
  }

  .passion-img {
    width: 140px !important; /* Slightly smaller to fit the side-by-side */
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important; /* Prevents the dog from squishing */
  }

  .passion-text-container {
    flex: 1 !important;
    width: 100% !important; /* Force it to try and fill the row */
    max-width: 90% !important; /* This broadens it significantly */
    padding-right: 15px !important; /* Keeps it from touching the edge of the screen */
    text-align: right !important; /* Keep it left-aligned for better readability */
  }

  .mission-highlight {
    font-size: 1.8rem !important; /* Balanced for the new, broader width */
    color: #940012 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2 !important;
  }

  .mission-subtext {
    font-size: 0.95rem !important; /* Slightly larger so it fills the broader space */
    color: #333 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }
}
/* ============================================================
   🐾 MOBILE RESPONSIVE FIXES (PHONES & SMALL SCREENS)
   ============================================================ */
@media screen and (max-width: 768px) {
  /* 1. Prevent horizontal overflow and add safe side padding */
  body,
  html {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  section {
    padding: 40px 15px !important;
  }

  /* 2. Force the About Us section to stack vertically instead of squishing */
  .about-container {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .about-content,
  .about-grid {
    grid-template-columns: 1fr !important; /* Stacks text columns into a single clean line */
    gap: 20px !important;
  }

  /* 3. Center and scale down the oval boutique image for phones */
  .boutique-image-container,
  .boutique-image-oval {
    width: 220px !important;
    height: 320px !important;
    margin: 0 auto !important;
    border-radius: 110px !important;
  }

  /* 4. Fix the Hero / Philosophy section text scaling */
  .main-heading.hero-title span.line-one {
    font-size: 2.5rem !important; /* Scales down giant text so it doesn't break */
  }

  .main-heading.hero-title span.line-two {
    font-size: 2rem !important;
  }

  #philosophy h2 {
    font-size: 2.5rem !important;
  }

  /* 5. Fix the Passion Banner overlay on mobile */
  #passion-hero {
    justify-content: center !important;
    text-align: center !important;
    min-height: 450px !important;
  }

  .passion-overlay {
    width: 100% !important;
    padding: 0 20px !important;
    text-align: center !important;
  }

  .mission-highlight {
    font-size: 2rem !important;
  }

  .mission-subtext {
    font-size: 1.1rem !important;
    max-width: 100% !important;
  }

  /* 6. Fix Footer layout for mobile screens */
  .branded-footer {
    height: auto !important;
    background-size: cover !important;
    padding-bottom: 110px !important;
    width: 100% !important;
  }

  /* 6. Fix Footer layout for mobile screens */
  .branded-footer {
    height: auto !important;
    background-size: cover !important;
    padding-bottom: 110px !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 992px) {
  /* Add clearance so the bottom nav bar never overlaps footer content */
  .branded-footer {
    padding-bottom: 110px !important;
    width: 100% !important;
  }

  .branded-footer .footer-credits-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .branded-footer .designer-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  /* Ensure the Eden Business logo is visible and clickable above the bottom bar */
  .branded-footer .designer-wrap img {
    height: 35px !important;
    width: auto !important;
    display: block !important;
    margin: 5px auto !important;
  }

  .footer-overlay {
    flex-direction: column !important;
    gap: 30px !important;
    padding: 40px 20px !important;
    text-align: center !important;
  }

  .footer-nav-left ul {
    justify-content: center !important;
    gap: 15px !important;
  }

  .designer-wrap {
    align-items: center !important;
  }
}
@media screen and (max-width: 768px) {
  /* 1. Remove Springer Spaniel background image from Passion Hero */
  #passion-hero {
    background-image: none !important;
    background-color: #ffffff !important; /* Clean background for the quote */
    min-height: auto !important;
    padding: 40px 20px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* 2. Remove Oliver background image from Footer */
  .branded-footer {
    background-image: none !important;
    background-color: #ffffff !important;
    height: auto !important; /* Lets content fit naturally without clipping */
    padding-bottom: 110px !important; /* Keeps space above the sticky bottom navbar */
  }
}
