/* === Base Styles === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: #2C2C2C;
  font-size: 1rem;
  line-height: 1.6;
  background-color: transparent;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://prettypups-assets.nyc3.digitaloceanspaces.com/images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: -1;
}

/* === Typography === */

h1, h2, h3 {
  font-family: 'Comfortaa', cursive;
  color: #4B004B;
  text-align: center;
  margin-top: 2rem;
}

/* Logo title override – higher specificity than plain h1 */
h1.logo-title {
  font-family: 'UnifrakturCook', serif;
  font-weight: 700;
  font-size: 3rem;
  color: #6A1B9A;
  /* Optional: adjust vertical rhythm if you want less space */
  /* margin-top: 1rem; */
}

.subheading {
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  color: #6A1B9A;
  margin-bottom: 2rem;
}

.sparkle-divider {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #B266FF;
}

/* === Sticky Navigation === */
.sticky-nav {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sticky-nav nav ul {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  margin: 0;
  list-style: none;
}

.sticky-nav li::before {
  content: "🐾";
  margin-right: 8px;
}

.sticky-nav nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.sticky-nav nav ul li a:hover {
  color: #ff69b4;
}

/* === Optional Floating Nav Box === */
.nav-box {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 1em;
  border-radius: 10px;
  position: fixed;
  top: 20px;
  right: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.nav-box a {
  color: #ff69b4;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

/* === Buttons === */
button {
  margin-top: 1.5em;
  background-color: #7c5c8d;
  color: white;
  padding: 0.7em 1.5em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
}

th, td {
  border: 1px solid #ccc;
  padding: 0.8em;
  text-align: left;
}

/* === Error Messages === */
.error-message {
  background-color: #ffe4e1;
  border: 2px dashed #ff69b4;
  padding: 10px;
  font-size: 0.95em;
}

/* === Images === */
img:not(.social-icon) {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* === Social Media Icons === */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.social-icon-wrapper {
  position: relative;
  display: inline-block;
  min-width: 40px;
  min-height: 40px;
  transition: transform 0.3s ease;
}

.social-icon-wrapper:hover {
  transform: scale(1.1);
}

.social-icon-wrapper:hover::after {
  content: "🐾";
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 16px;
  animation: sparkle 0.6s ease-out forwards;
  pointer-events: none;
}

img.social-icon {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  display: inline-block !important;
}

/* === Sparkle Animation === */
@keyframes sparkle {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(20deg);
  }
  100% {
    opacity: 0;
    transform: scale(1) rotate(0deg);
  }
}

.paw-accent {
  animation: sparkle 1.2s ease-out;
  display: inline-block;
}

/* === Contact Form Layout === */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2em;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* === Form Submission Success Message === */
.success-message {
  background-color: #e6ffe6;
  border: 2px dashed #66cc99;
  padding: 1em;
  font-size: 1rem;
  color: #2c2c2c;
  text-align: center;
  margin-top: 2em;
  border-radius: 8px;
}

/* === Paw Divider === */
.paw-divider {
  text-align: center;
  font-size: 1.5rem;
  margin: 1em 0;
  color: #B266FF;
}