/* ==========================================================================
   KOPUZ PAZARLAMA - BASE STYLES & CORPORATE RESET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #EDF2F7;
}

::-webkit-scrollbar-thumb {
  background: var(--turquoise-500);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--turquoise-600);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: var(--transition-fast);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Main Content Area with SPA Transition */
#main-content {
  flex: 1 0 auto;
  min-height: 60vh;
  transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1), transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.view-transition-enter {
  opacity: 0;
  transform: translateY(10px);
}

.view-transition-active {
  opacity: 1;
  transform: translateY(0);
}

/* Global Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-instock {
  background-color: var(--badge-instock-bg);
  color: var(--badge-instock-text);
  border: 1px solid var(--badge-instock-border);
}

.badge-soldout {
  background-color: var(--badge-soldout-bg);
  color: var(--badge-soldout-text);
  border: 1px solid var(--badge-soldout-border);
}

.badge-turquoise {
  background-color: var(--turquoise-100);
  color: var(--turquoise-700);
  border: 1px solid var(--border-turquoise);
}

.badge-navy {
  background-color: var(--navy-900);
  color: #FFFFFF;
}

/* Global Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--navy-900);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 30, 56, 0.2);
}

.btn-turquoise {
  background: linear-gradient(135deg, var(--turquoise-500), var(--turquoise-600));
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 155, 176, 0.25);
}

.btn-turquoise:hover {
  background: linear-gradient(135deg, var(--turquoise-400), var(--turquoise-500));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 155, 176, 0.35);
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  background-color: #FFFFFF;
  color: var(--navy-900);
}

.btn-outline:hover {
  border-color: var(--turquoise-500);
  color: var(--turquoise-600);
  background-color: var(--turquoise-50);
}

.btn-disabled {
  background-color: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

/* Toast Container */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--turquoise-500);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-item.toast-success {
  border-left-color: var(--color-success);
}

.toast-item.toast-danger {
  border-left-color: var(--color-danger);
}

.toast-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: var(--turquoise-100);
  color: var(--turquoise-700);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.toast-close {
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 4px;
  line-height: 1;
}

.toast-close:hover {
  color: var(--navy-900);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Backdrop Overlay */
.backdrop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 37, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.backdrop-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   ANIMAL-FRIENDLY SIDE GUTTERS (Sparse Minimal Cat Silhouettes & Paws 2X)
   ========================================================================== */
.site-gutters {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 95px;
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 110px 0 40px;
}

.site-gutters-left {
  left: 6px;
}

.site-gutters-right {
  right: 6px;
}

.gutter-art-item {
  opacity: 0.16;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(14, 30, 56, 0.05));
  color: var(--navy-800);
}

.gutter-art-item:hover {
  opacity: 0.38;
  transform: scale(1.06);
}

.gutter-svg-paw-2x {
  filter: drop-shadow(0 2px 5px rgba(0, 155, 176, 0.12));
}

@media (max-width: 1440px) {
  .site-gutters {
    width: 75px;
  }
  .gutter-art-item {
    transform: scale(0.85);
    opacity: 0.12;
  }
}

@media (max-width: 1220px) {
  .site-gutters {
    display: none; /* Keep mobile & tablet completely clean */
  }
}

/* ==========================================================================
   BREED BADGES & ANIMAL-FRIENDLY PILLS
   ========================================================================== */
.breed-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 155, 176, 0.35);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.breed-pill:hover {
  background: rgba(0, 155, 176, 0.25);
  border-color: var(--turquoise-400);
  transform: translateY(-2px);
}

.breed-pill-dog {
  border-color: rgba(239, 68, 68, 0.35);
}

.breed-pill-dog:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #F87171;
}

/* ==========================================================================
   INTERACTIVE CAT COMPANION CANVAS & FLOATING CONTROLS
   ========================================================================== */
.cat-companion-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
}

.cat-companion-ctrl-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
}

.cat-companion-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 30, 56, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--turquoise-400);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(14, 30, 56, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.cat-companion-pill:hover {
  background: var(--navy-900);
  border-color: var(--turquoise-300);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 155, 176, 0.35);
}

.cat-companion-pill.cat-sleeping {
  background: rgba(71, 85, 105, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  color: #E2E8F0;
}

@media (max-width: 768px) {
  .cat-companion-layer,
  .cat-companion-ctrl-wrap {
    display: none !important;
  }
}


