/* 
   Prime Royal Love - Elite Design System
   Vanilla CSS Implementation (No Bootstrap)
*/

:root {
    --primary-color: #8b5a8c;
    --primary-light: #a668a8;
    --primary-dark: #6f4571;
    --secondary-color: #f8b500;
    --secondary-light: #ffcb33;
    --success-color: #25d366;
    --danger-color: #ff4757;
    --info-color: #1e90ff;
    --warning-color: #ffa502;
    --dark-color: #2c2c2c;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-muted: #6c757d;
    --accent-color: #ff6b6b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5a8c 0%, #6a4c93 50%, #7b68ee 100%);
    --gradient-secondary: linear-gradient(135deg, #f8b500 0%, #ffc107 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);

    /* Sizing */
    --container-max-width: 1200px;
    --border-radius: 20px;
    --border-radius-small: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: #ffffff;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Layout System - Grid Replacement */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col-12 {
    width: 100%;
    padding: 0 0.75rem;
}

.col-8 {
    width: 66.666667%;
    padding: 0 0.75rem;
}

.col-4 {
    width: 33.333333%;
    padding: 0 0.75rem;
}

.col-md-6 {
    width: 100%;
    padding: 0 0.75rem;
}

.col-lg-3 {
    width: 100%;
    padding: 0 0.75rem;
}

.col-lg-4 {
    width: 100%;
    padding: 0 0.75rem;
}

.col-lg-5 {
    width: 100%;
    padding: 0 0.75rem;
}

.col-lg-6 {
    width: 100%;
    padding: 0 0.75rem;
}

.col-lg-7 {
    width: 100%;
    padding: 0 0.75rem;
}

.col-lg-8 {
    width: 100%;
    padding: 0 0.75rem;
}

@media (min-width: 576px) {
    .col-sm-4 {
        width: 33.333333%;
    }

    .col-sm-8 {
        width: 66.666667%;
    }
}

@media (min-width: 768px) {
    .col-md-4 {
        width: 33.333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-8 {
        width: 66.666667%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        width: 25%;
    }

    .col-lg-4 {
        width: 33.333333%;
    }

    .col-lg-5 {
        width: 41.666667%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58.333333%;
    }

    .col-lg-8 {
        width: 66.666667%;
    }
}

/* Flex Utilities */
.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-grow-1 {
    flex-grow: 1;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

/* Spacing Utilities */
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-0 {
    padding: 0;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.me-1 {
    margin-right: 0.25rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.h2 {
    font-size: 2rem;
}

.h4 {
    font-size: 1.5rem;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 800;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 800;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.small {
    font-size: 0.875rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-color);
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-warning {
    color: var(--warning-color);
}

.fw-bold {
    font-weight: 700;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 90, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 90, 140, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #1da851 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}


.bg-light .glass-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Header */
header {
    background: rgba(139, 90, 140, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    position: relative;
    color: var(--white);
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Puppy Cards */
.puppy-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
}

.card-link-wrapper {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.puppy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.puppy-card img {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.puppy-card:hover img {
    transform: scale(1.05);
}

.puppy-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.puppy-card .card-title {
    font-size: 1.25rem;
    color: var(--dark-color);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    background: var(--light-color);
    color: var(--dark-color);
}

/* Tabs */
.nav-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 1rem;
}

.nav-link {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-content .tab-pane {
    display: none;
    padding: 1rem;
}

.tab-content .tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion */
.accordion-item {
    border-radius: var(--border-radius-small);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    width: 100%;
    max-width: 800px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 0;
}

.btn-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Ratio Utility */
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    content: "";
    display: block;
}

.ratio-16x9::before {
    padding-top: 56.25%;
}

.ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 5rem 0 2rem;
}

footer a:hover {
    color: var(--primary-light);
}

footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Scroll Top Button */
#scroll-top {
    position: fixed;
    bottom: 110px;
    right: 35px;
    z-index: 999;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    list-style: none;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    padding: 0 0.5rem;
    color: var(--text-muted);
}

/* Helpers */
.bg-light {
    background-color: var(--light-color);
}

.rounded-circle {
    border-radius: 50%;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow-lg {
    box-shadow: var(--shadow-hover);
}

.opacity-25 {
    opacity: 0.25;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .col-md-6 {
        width: 100%;
    }

    .text-md-end {
        text-align: center;
    }

    .col-md-6.text-md-end {
        margin-top: 1rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .no-mobile {
        display: none;
    }
}