/* =========================================================
   Global Styles
========================================================= */
body {
  background: black;
  margin: 0;
  font-family: Georgia, 'Inter', 'Segoe UI Symbol', serif;
}

/* Outer background wrapper */
.outer-bg {
  background: black;
  padding: 0;
}

.page-container {
  background: #DCDCDC;
  width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0 20px;
}

/* Horizontal separators */
.section-separator {
  border: none;
  border-top: 2px solid black;
  margin: 0;
}

/* =========================================================
   Header & Navigation
========================================================= */
/* Header Layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  color: black;
  text-shadow: 0 0 6px red, 0 0 12px red, 0 0 18px red;
}

/* Navigation Bar */
.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.nav-bar a {
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
  text-shadow:
    -1px -1px 0 black, 0 -1px 0 black, 1px -1px 0 black,
    -1px 0 0 black, 1px 0 0 black, -1px 1px 0 black,
    0 1px 0 black, 1px 1px 0 black, 3px 3px 5px black;
}

.nav-bar .star {
  font-size: 24px;
  font-family: "Segoe UI Symbol", sans-serif;
  text-shadow:
    -1px -1px 0 black, 0 -1px 0 black, 1px -1px 0 black,
    -1px 0 0 black, 1px 0 0 black, -1px 1px 0 black,
    0 1px 0 black, 1px 1px 0 black, 3px 3px 5px black;
}

/* Navigation Colors */
.star.deep-red { color: #8B0000; }
a.home { color: #FF0000; }
.star.orange { color: #FF7F00; }
a.characters { color: #FFFF00; }
.star.lime { color: #BFFF00; }
a.about { color: #00FF00; }
.star.cyan { color: #00FFFF; }
a.shop { color: #0000FF; }
.star.violet { color: #8B00FF; }

/* Icon Sizes */
.paw-icon { width: 50px; height: auto; }
.cart-icon { width: 50px; height: auto; }


/* =========================================================
   Hero Section
========================================================= */
.hero {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 1px;
  margin: 1px 0; /* Top/bottom margin for entire section */
  box-sizing: border-box;
}

/* Left and Right Columns */
.hero-left,
.hero-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: #696969;
  box-sizing: border-box;
}

/* Hero Title Lines */
.hero-title div {
  font-size: 56px;
  color: white;
  text-align: left;
  font-weight: bold;
  animation: fadeInUp 1s ease-out forwards;
  text-shadow:
    -1px -1px 0 black, 0 -1px 0 black, 1px -1px 0 black,
    -1px 0 0 black, 1px 0 0 black, -1px 1px 0 black,
    0 1px 0 black, 1px 1px 0 black, 4px 6px 8px rgba(0, 0, 0, 0.7);
  margin: 5px 0;
}

.hero-left { 
font-size: 28px; 
}


/* Shop Button */
.shop-btn {
  position: relative;
  margin-top: 35px;
  display: inline-block;
  background: transparent;
}

.shop-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 270px;
  height: 128px;
  border-radius: 50% / 50%;
  background: transparent;
  z-index: 0;
  pointer-events: none;
  box-shadow:
    0 0 25px rgba(139, 0, 0, 0.95),
    0 0 55px rgba(139, 0, 0, 0.70),
    0 0 120px rgba(139, 0, 0, 0.45);
  animation: shop-oval-glow 6s linear infinite;
}

.shop-btn img {
  position: relative;
  z-index: 1;
  display: block;
  width: 223px;
  height: auto;
  margin: 5px;
}

/* Right Column Image */
.hero-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1px auto;
}

/* Vertical Separator */
.hero {
  align-items: stretch;
  margin-top: 0;
}

.vertical-separator {
  height: auto;
  min-height: auto;
  width: 2px;
  background-color: #000000;
}

/* Glow Animation */
@keyframes shop-oval-glow {
  0% { box-shadow: 0 0 14px #8B0000, 0 0 34px #8B0000, 0 0 70px #8B0000; }
  16% { box-shadow: 0 0 14px #FF0000, 0 0 34px #FF0000, 0 0 70px #FF0000; }
  32% { box-shadow: 0 0 14px #FF7F00, 0 0 34px #FF7F00, 0 0 70px #FF7F00; }
  48% { box-shadow: 0 0 14px #FFFF00, 0 0 34px #FFFF00, 0 0 70px #FFFF00; }
  64% { box-shadow: 0 0 14px #00FF00, 0 0 34px #00FF00, 0 0 70px #00FF00; }
  80% { box-shadow: 0 0 14px #00FFFF, 0 0 34px #00FFFF, 0 0 70px #00FFFF; }
  100% { box-shadow: 0 0 14px #8B00FF, 0 0 34px #8B00FF, 0 0 70px #8B00FF; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Hero Subtext
========================================================= */
.hero-subtext {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 16px 0;
  background: transparent;
  color: black;
  text-shadow: 0 0 12px violet;
  animation: hero-subtext-glow 8s linear infinite;
}

@keyframes hero-subtext-glow {
  0%   { text-shadow: 0 0 14px #8B00FF, 0 0 24px #8B00FF; }
  14%  { text-shadow: 0 0 14px #0000FF, 0 0 24px #0000FF; }
  28%  { text-shadow: 0 0 14px #00FFFF, 0 0 24px #00FFFF; }
  42%  { text-shadow: 0 0 14px #00FF00, 0 0 24px #00FF00; }
  57%  { text-shadow: 0 0 14px #BFFF00, 0 0 24px #BFFF00; }
  71%  { text-shadow: 0 0 14px #FFFF00, 0 0 24px #FFFF00; }
  85%  { text-shadow: 0 0 14px #FF7F00, 0 0 24px #FF7F00; }
  100% { text-shadow: 0 0 14px #FF0000, 0 0 24px #FF0000; }
}

/* =========================================================
   Side-by-side natural images (Desktop layout)
========================================================= */
.image-row {
  display: flex;
  justify-content: center; /* Matches .hero alignment */
  align-items: flex-start;
  gap: 1px;
  margin: 1px; /* Removed disruptive vertical spacing */
  box-sizing: border-box;
}

/* Left side */
.child-img {
  width: 50%;
  display: block;
  margin: 1px 0;
  box-sizing: border-box;
}

/* Right side */
.atti-block {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 1px 0;
}

/* Atti image */
.atti-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1px; /* Image-to-image spacing */
}

/* Separator under Atti image */
.partial-separator {
  width: 100%;
  height: 2px;
  background-color: #000000;
  margin: 5px;
}

/* Caption */
.atti-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  padding: 20px;
  margin: 0 auto;
  color: transparent;
  background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, violet);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Heart Rows */
.heart-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 5px auto 0 auto;
  gap: 5px;
  font-size: 28px;
  color: red;
  text-shadow: 1px 1px 0 black, 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.bottom-heart-row {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Tribute Section */
.atti-tribute {
  max-width: 1000px;
  margin: 5px auto;
  padding: 20px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

.atti-tribute h2 {
  font-size: 30px;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #00008B;
}

/* Signature line inside tribute */
.atti-tribute .signature {
  text-align: center;
  font-size: 30px;
  margin-top: 1rem;
  color: #b22222; /* deep red accent */
}

/* Disclaimer */
.site-disclaimer {
  max-width: 1000px;
  margin: 5px auto;
  padding: 20px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
}

.site-disclaimer h3 {
  font-size: 25px;
  margin-bottom: 20px;
  color: #333;
}

/* Footer wrapper */
.site-footer {
  text-align: center;   /* centers all footer content */
  font-size: 20px;      /* increase text size */
  color: #777;
  padding: 20px;
}

/* Container for copyright text and bubble */
#copyright-container {
  position: relative;       /* anchor for bubble positioning */
  display: inline-block;    /* shrink to fit text so bubble centers over it */
  cursor: pointer;
}

/* Copyright text styling */
#copyright {
  font-size: inherit;       /* match footer font size */
  font-weight: normal;      /* change to bold if desired */
  color: inherit;           /* use footer color */
}

/* Bubble hidden by default */
#copyright-bubble {
  display: none;
  position: absolute;
  bottom: 100%;             /* directly above container */
  left: 50%;                /* center horizontally */
  transform: translateX(-50%) translateY(-10px);
  width: 90%;
  max-width: 600px;
  background: #fff;
  color: #333;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;               /* start invisible */
  transition: opacity 0.3s ease;
}

/* Arrow pointer */
#copyright-bubble::after {
  content: "";
  position: absolute;
  top: 100%; /* arrow sits at bottom of bubble */
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* Show bubble on hover with fade-in */
#copyright-container:hover #copyright-bubble {
  display: block;
  opacity: 1;
}

/* Cart Wrapper Anchoring */
.cart-wrapper {
  position: relative;
  display: inline-block;
}

/* Cart Icon */
.cart-icon {
  width: 50px;
  height: auto;
}

/* Cart Badge */
#cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: red;
  color: white;
  font-size: 14px;
  font-family: "Segoe UI Symbol", sans-serif;
  padding: 2px 6px;
  border-radius: 50%;
  z-index: 10;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Cart Badge Animation */
#cart-badge.updated {
  background-color: #ffcc00;
  color: black;
  transform: scale(1.2);
  animation: badgePulse 0.6s ease;
}

/* Pulse Keyframes */
@keyframes badgePulse {
  0% { transform: scale(1); background-color: red; }
  50% { transform: scale(1.3); background-color: #ffcc00; }
  100% { transform: scale(1); background-color: red; }
}

/* Header Layout */
.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Hide Visual */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.signature {
  text-align: center;
  font-size: 1.2em;
  margin-top: 0.5em;
}

/* Logo-flanked values banner */
.values-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* space between logos and text */
  flex-wrap: wrap; /* allows stacking on narrow screens */
  margin: 1.5rem 0;
}

.values-banner .logo {
  width: 50px; /* adjust to fit your design */
  height: auto;
}

/* Flip the left logo horizontally */
.values-banner .logo.left {
  transform: scaleX(-1);
}

.values-line-wrapper {
  flex: 1; /* lets text expand between logos */
  text-align: center;
}

.values-line {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

/* Mobile tweak: stack logos above/below text */
@media (max-width: 600px) {
  .values-banner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .values-banner .logo {
    width: 40px; /* slightly smaller logos on mobile */
  }

  .values-line {
    font-size: 1rem;
  }
}

/* =========================
   Our Mission Section
========================= */
.mission-statement {
  max-width: 1000px;       /* width of text area */
  margin-top: 5px;       /* space above section (from top separator) */
  margin-bottom: 5px;    /* space below section (to bottom separator) */
  margin-left: auto;      /* centers horizontally */
  margin-right: auto;     /* centers horizontally */
  padding: 1.5rem;
  text-align: center;     /* centers all inline text inside */
  font-size: 20px;      /* paragraph font size */
  line-height: 1.6;
  color: #333;
}

/* Our Mission heading: bright red with thin black outline + sharp black glow */
.mission-heading {
  font-size: 35px;       /* heading font size */
  color: #ff0000;          /* bright red */
  font-weight: bold;
  text-align: center;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000, /* thin black outline */
     0 0 6px #000,
     0 0 10px #000,
     0 0 14px #000;   /* sharp black glow */
  margin-top: 5px;       /* space above section (from top separator) */
  margin-bottom: 5px;    /* space below section (to bottom separator) */
}


/* =========================
   About Author
========================= */
/* About Author section — width containment and text styling */
#about-author {
  text-align: center;
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
  line-height: 1.6;
  color: #333;
}

/* Heading — bold, black, red glow */
#about-author h2 {
  font-size: 35px;
  font-weight: bold;
  color: #000;
  text-shadow: 0 0 6px red;
}

/* Paragraphs — smaller font size */
#about-author p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* =========================
   About Dogs
========================= */
.about-dog-heading {
  font-size: 35px;
  color: #ff0000; /* bright red */
  font-weight: bold;
  text-align: center;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000, /* thin black outline */
     0 0 6px #000,
     0 0 10px #000,
     0 0 14px #000;   /* sharp black glow */
  margin-top: var(--dog-heading-margin-top, 40px); /* adjustable margin */
}

/* Main layout container: centers content and limits width */
.centered-row {
  display: flex;              /* Places children in a horizontal row */
  justify-content: center;   /* Centers the whole row within page */
  align-items: center;       /* Vertically aligns image and text */
  max-width: 1400px;         /* Limits total width */
  margin: 0 auto;            /* Horizontally centers the container */
  gap: 20px;                 /* Adds space between text and image */
}

/* Left and right text blocks */
.text-left,
.text-right {
  flex: 1;                   /* Allows text blocks to grow equally */
  min-width: 200px;          /* Prevents them from collapsing too small */
}

/* Image styling */
.center-image {
  max-width: 500px;          /* Controls image size */
  height: auto;              /* Maintains aspect ratio */
}

/* Optional: Font styling for text blocks */
.text-left p,
.text-right p {
  font-size: 20px;           /* Adjusts text size */
  line-height: 1.5;          /* Improves readability */
}

.image-wrapper {
  display: flex;
  align-items: stretch; /* Children fill wrapper height */
}

.center-image {
  max-width: 500px;
  height: auto;
  display: block;
}

.image-wrapper .about-dog-separator {
  width: 2px;
  background-color: black; /* Test color */
  height: auto;          /* Let flex stretch handle height */
  flex-shrink: 0;         /* Prevent collapsing */
  margin: 0 5px;
}

#about-dog-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* allows stacking on narrow screens */
  margin: 1.5rem 0;
}

.about-dog-separator {
  width: 1px; /* or whatever width you prefer */
  height: 100px; /* adjust as needed */
  background-color: red;
  box-shadow: 0 0 4px 1px red;
}


/* =========================
   Responsive: Tribute Section
========================= */
@media (max-width: 1024px) {
  #about-dog-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .text-left,
  .text-right {
    flex: 1 1 100%;
    min-width: unset;
  }

  .image-wrapper {
    justify-content: center;
  }

  /* Hide vertical separators on smaller screens */
  .image-wrapper .about-dog-separator {
    display: none;
  }
}

@media (max-width: 768px) {
  #about-dog-row {
    flex-direction: column;
    align-items: center;
  }

  .text-left,
  .text-right {
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
  }

  .center-image {
    max-width: 100%;
    height: auto;
  }
}

/* =========================
   Characters Section
========================= */
.character {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Base shadow */
}

/* Image styles */
.character img {
    width: 200px; /* Set a fixed width for images */
    height: auto; /* Maintain aspect ratio */
    margin-right: 20px; /* Space between image and narrative */
    border-radius: 8px; /* Rounded corners for images */
}

/* Narrative section styles */
.narrative {
    flex: 1; /* Allow narrative to take remaining space */
}

/* Author section specific styles */
.author {
    flex-direction: row-reverse; /* Reverse order for author section */
}

.author img {
    margin-right: 0; /* Remove right margin for author image */
    margin-left: 20px; /* Add left margin for author image */
}

/* Atti section specific styles */
.atti {
}

.atti img {
    margin-right: 0; /* Remove right margin for author image */
    margin-left: 20px; /* Add left margin for author image */
}

/* Johnny section specific styles */
.johnny {
    flex-direction: row-reverse; /* Reverse order for author section */
}

.johnny img {
    margin-right: 0; /* Remove right margin for author image */
    margin-left: 20px; /* Add left margin for author image */
}

/* Heading styles */
/* Default heading style */
h2 {
    margin-bottom: 10px;
}

/* Author character heading */
.character.author .narrative h2 {
    color: #8B00FF; /* Violet */
}

/* Atti character heading */
.character.atti .narrative h2 {
    color: #E75480; /* Tomato */
}

/* Johnny character heading */
.character.johnny .narrative h2 {
    color: #4682B4; /* Steel Blue */
}

/* Paragraph styles */
p {
    color: #000000; /* Slightly lighter color for text */
    line-height: 1.6; /* Improve readability */
}

/* Author character glow – deeper violet */
.character.author {
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.1),
        0 0 12px rgba(100, 0, 180, 0.4); /* Deeper violet glow */
}

/* Atti character glow – deeper rose */
.character.atti {
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.1),
        0 0 12px rgba(180, 50, 90, 0.4); /* Deeper rose glow */
}

/* Johnny character glow – deeper steel blue */
.character.johnny {
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.1),
        0 0 12px rgba(50, 100, 140, 0.4); /* Deeper steel blue glow */
}

/* =========================================================
   Responsive: All‑Device Friendly Nothing Below HERE!
========================================================= */
/* Large desktops */
@media (min-width: 1401px) {
  .page-container { width: 1400px; }
}

/* Laptops & tablets landscape */
@media (max-width: 1400px) {
  .page-container { width: 95%; }
}

/* Tablets portrait (iPad, etc.) */
@media (max-width: 1024px) {
  .image-row {
    flex-direction: column;
    align-items: center;
  }

  .child-img,
  .atti-block {
    width: 100%;
    box-sizing: border-box;
  }

  .atti-caption {
    padding: 20px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-wrap: wrap;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
  }

  .hero-left {
    font-size: 32px;
  }

  .vertical-separator {
    display: none;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  .nav-bar { flex-direction: column; }
  .nav-bar a { font-size: 20px; }
  .hero-subtext { font-size: 18px; }
}

