@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Quicksand:wght@400;500;600&display=swap');

html {
    scrollbar-gutter: stable;
}

:root {
    --bg-color: #FAF9F6;
    --primary-color: #4A6741; /* Sage Green */
    --accent-color: #E67E22;  /* Orange Chaleureux */
    --secondary-color: #5D4037; /* Brown Terre */
    --alert-color: #FFF3E0;
    --text-color: #2E2E2E;
    --border-radius: 30px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Overrides Bootstrap Primary */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color) !important; 
    border-color: var(--primary-color) !important;
}
.btn-primary:hover {
    background-color: #3a5133 !important;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.hover-opacity-100 {
    transition: var(--transition);
    display: inline-block;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

/* Rounded Buttons */
.btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #55361c;
    border-color: #55361c;
    box-shadow: 0 4px 15px rgba(107, 68, 35, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Cards & Containers */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: white;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Forms */
.form-control {
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(45, 90, 39, 0.1);
}

/* Custom Alerts */
.alert-custom {
    background-color: var(--alert-color);
    border: none;
    border-radius: var(--border-radius);
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative; /* Base pour les pattes */
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* Icons styling */
.icon-pet {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Brand Header & Banner Full */
.brand-header {
    background: transparent;
    padding: 0;
    margin: 0;
    line-height: 0;
    overflow: hidden;
}

.brand-banner-full {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
    padding: 12px 0;
    overflow: visible !important;
    z-index: 1050 !important;
    position: sticky !important;
    top: 0 !important;
}

.navbar-nav .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.logo-shadow {
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
    transition: var(--transition);
}

.logo-shadow:hover {
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12));
}

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

/* Hero Section Premium Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #FAF9F6;
    background-image: radial-gradient(#4a6741 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-attachment: fixed;
    padding: 20px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(250, 249, 246, 0) 0%, rgba(250, 249, 246, 0.8) 100%), 
                linear-gradient(to bottom, rgba(250, 249, 246, 0.5), rgba(250, 249, 246, 1));
    z-index: 0;
}

.hero-img-wrapper {
    position: relative;
    display: inline-block;
}

.hero-floating {
    animation: float 6s ease-in-out infinite;
    max-height: 500px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: slideIn 1s ease-out;
}

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

.min-vh-75 { min-height: 75vh; }
.z-1 { z-index: 1; }

/* Premium Paw Trail */
.paw-trail-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: visible;
}

.paw-print {
    position: absolute;
    font-size: 24px;
    color: var(--secondary-color); /* Marron terre pour des empreintes */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.paw-print.visible {
    opacity: 0.7;
}

.paw-print.fading {
    opacity: 0;
}

/* Trust Bar */
.trust-bar {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-item {
    transition: var(--transition);
}

.trust-item:hover {
    opacity: 0.8;
}

.trust-item i {
    color: var(--accent-color) !important;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-img:hover {
    filter: brightness(1.1);
}

.slick-slide {
    padding: 10px 0;
}

/* Soft Rounded Cards */
.soft-card {
    background: white;
    border-radius: 45px;
    padding: 40px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
}

.soft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04) !important;
}

/* Minimal Service Bubbles */
.service-bubble {
    width: 60px;
    height: 60px;
    background: var(--alert-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.text-primary { color: #4A6741 !important; }
.text-accent { color: #E67E22 !important; }

.badge.bg-light.text-primary {
    background-color: #f8f9fa !important;
    color: #4A6741 !important;
    font-weight: 600;
}

/* Sidebar & Dashboard Navigation */
.sidebar {
    background-color: #ffffff;
    border-right: 1px solid rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 240px !important;
        flex: 0 0 240px !important;
        max-width: 240px !important;
        height: 100vh !important;
        z-index: 1000;
        overflow-y: auto;
    }
    main.col-md-9 {
        margin-left: 240px !important;
        width: calc(100% - 240px) !important;
        flex: 0 0 calc(100% - 240px) !important;
        max-width: calc(100% - 240px) !important;
    }
}

.sidebar .nav-link {
    color: #444 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sidebar .nav-link:hover {
    background-color: rgba(74, 103, 65, 0.05);
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background-color: #FFF3E0 !important; /* Orange clair */
    color: #E67E22 !important; /* Orange accent */
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.2);
    border: 2px solid #E67E22 !important;
    border-radius: 15px;
    font-weight: 700 !important;
}

.sidebar .nav-link.active i {
    color: #E67E22 !important;
}

.sidebar .nav-link i {
    width: 24px;
    text-align: center;
}

.sidebar .nav-link.active i {
    color: white !important;
}

.client-sidebar .nav-link.active i {
    color: #E67E22 !important;
}

.logo-shadow {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
