:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-600: #e11d48;
  --rose-700: #be123c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-900);
}

.text-rose-600 { color: var(--rose-600) !important; }
.bg-rose-50 { background-color: var(--rose-50) !important; }
.bg-rose-100 { background-color: var(--rose-100) !important; }
.bg-rose-600 { background-color: var(--rose-600) !important; }
.bg-rose-700:hover { background-color: var(--rose-700) !important; }
.border-rose-200 { border-color: var(--rose-200) !important; }
.bg-gray-50 { background-color: var(--gray-50) !important; }
.bg-gray-900 { background-color: var(--gray-900) !important; }
.text-gray-400 { color: var(--gray-400) !important; }
.text-gray-600 { color: var(--gray-600) !important; }
.text-gray-700 { color: var(--gray-700) !important; }

.btn-rose {
    background-color: var(--rose-600);
    color: white;
    border: none;
}
.btn-rose:hover {
    background-color: var(--rose-700);
    color: white;
}

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

.hero-section {
    height: 840px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
}

.card {
    border: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.card-img-container {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.card:hover .card-img-container img {
    transform: scale(1.05);
}

.rounded-circle-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breed-card {
    text-decoration: none;
    color: inherit;
}
.breed-card:hover h3 {
    color: var(--rose-600);
}

.footer {
    background-color: var(--gray-900);
    color: white;
}
.footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}
.footer a:hover {
    color: white;
}

.navbar-brand img {
    height: 40px;
}

.lang-select {
    width: 120px;
}

/* Custom badge styles */
.badge-outline {
    background-color: transparent;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
}

/* Gallery styles */
.gallery-main {
    aspect-ratio: 1/1;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}
.gallery-thumbs .thumb-btn {
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 1/1;
    transition: all 0.2s;
}
.gallery-thumbs .thumb-btn.active {
    border-color: var(--rose-600);
    box-shadow: 0 0 0 2px var(--rose-200);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-container > nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagination-container .small.text-muted {
    display: none !important;
}

.pagination-container .hidden.flex-1 {
    display: none !important;
}

.pagination-container .flex.items-center.justify-between {
    display: flex;
    justify-content: center;
}

.pagination-container div:has(> .relative.z-0) {
    display: flex;
    justify-content: center;
}

.pagination-container .relative.z-0 {
    display: flex !important;
    gap: 0.5rem;
    border-radius: 0.75rem;
}

.pagination-container .relative.z-0 > * {
    border-radius: 0.75rem !important;
    border: 1px solid var(--gray-200) !important;
    padding: 0.6rem 1rem !important;
    font-weight: 600 !important;
    background-color: white !important;
    color: var(--gray-700) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 42px;
}

.pagination-container .relative.z-0 > span[aria-current="page"] > span {
    background-color: var(--rose-600) !important;
    color: white !important;
    border-color: var(--rose-600) !important;
}

.pagination-container .relative.z-0 > a:hover {
    background-color: var(--rose-50) !important;
    color: var(--rose-700) !important;
    transform: translateY(-2px);
}

/* Pagination Styling */
.pagination {
    margin-top: 2rem;
    margin-bottom: 0;
    gap: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-item .page-link {
    border-radius: 0.75rem !important;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    padding: 0.6rem 1rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    font-size: 0.95rem;
    background-color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--rose-600) !important;
    border-color: var(--rose-600) !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.2), 0 4px 6px -2px rgba(225, 29, 72, 0.1);
}

.pagination .page-item .page-link:hover {
    background-color: var(--rose-50);
    border-color: var(--rose-200);
    color: var(--rose-700);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link:hover {
    background-color: var(--rose-700) !important;
    border-color: var(--rose-700) !important;
    color: white !important;
    transform: translateY(-2px);
}

.pagination .page-item.disabled .page-link {
    background-color: var(--gray-50);
    border-color: var(--gray-100);
    color: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 0.75rem !important;
}

/* Hide "Showing X to Y of Z results" text if it appears outside our container */
.pagination-container .small.text-muted {
    display: none !important;
}
