/* ===================================
   CSS Personnalisé - Dogsitter Services
   =================================== */

/* Variables de couleur */
:root {
    --primary-color: #ea580c;
    --primary-light: #fb923c;
    --secondary-color: #f97316;
    --accent-color: #ea580c;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --swiss-red: #ff0000;
}

/* Styles généraux */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation personnalisée */
.uk-navbar-container {
    background: #fff !important;
    transition: all 0.3s ease;
}

.uk-logo {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color) !important;
}

.uk-navbar-nav > li > a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li.uk-active > a {
    color: var(--primary-color);
}

/* Hero Section améliorée */
.uk-section-primary {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.uk-heading-medium {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Badge personnalisé */
.uk-badge-success {
    background: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
}

/* Cards personnalisées */
.uk-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.uk-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234,88,12,0.15);
}

.uk-card-header {
    background: linear-gradient(135deg, rgba(234,88,12,0.05) 0%, rgba(251,146,60,0.05) 100%);
    border-bottom: 2px solid var(--primary-color);
}

.uk-card-title {
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uk-card-footer {
    background: var(--bg-light);
}

.uk-card-primary {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%) !important;
}

/* Boutons personnalisés */
.uk-button {
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    padding: 0 30px;
}

.uk-button-primary {
    background: var(--primary-color);
    box-shadow: 0 4px 6px rgba(234,88,12,0.3);
}

.uk-button-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 12px rgba(234,88,12,0.4);
    transform: translateY(-2px);
}

.uk-button-secondary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.uk-button-secondary:hover {
    background: #b8941f;
    color: var(--text-dark);
}

.uk-button-text {
    color: var(--primary-color);
    font-weight: 600;
}

.uk-button-text:hover {
    color: var(--primary-light);
}

/* Listes améliorées */
.uk-list-bullet > li {
    padding-left: 10px;
    position: relative;
}

.uk-list-bullet > li::before {
    content: "✓";
    position: absolute;
    left: -15px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Section Pourquoi nous choisir */
.uk-icon-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Témoignages */
.uk-slider-items .uk-card {
    border-left: 4px solid var(--primary-color);
}

.uk-text-italic {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer */
footer.uk-section-secondary {
    background: #1a1a1a;
    padding-top: 60px;
}

footer h3, footer h4 {
    color: white;
    margin-bottom: 20px;
}

footer .uk-list li {
    margin-bottom: 10px;
}

footer .uk-list li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

footer .uk-list li a:hover {
    color: white;
    text-decoration: none;
}

/* Tables pour tarifs */
.uk-table {
    border-radius: 8px;
    overflow: hidden;
}

.uk-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 15px;
}

.uk-table-striped tbody tr:nth-of-type(odd) {
    background: rgba(234,88,12,0.03);
}

.uk-table-hover tbody tr:hover {
    background: rgba(234,88,12,0.08);
}

.uk-table td {
    padding: 15px;
}

/* Prix et tarifs */
.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1.2rem;
    margin-right: 5px;
}

/* Formulaires */
.uk-input,
.uk-textarea,
.uk-select {
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.uk-input:focus,
.uk-textarea:focus,
.uk-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(234,88,12,0.1);
}

.uk-form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

/* Alertes personnalisées */
.uk-alert-primary {
    background: rgba(234,88,12,0.1);
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
}

.uk-alert-success {
    background: rgba(212,175,55,0.1);
    border-left: 4px solid var(--accent-color);
    color: var(--text-dark);
}

.uk-alert-warning {
    background: rgba(255,193,7,0.1);
    border-left: 4px solid #ffc107;
    color: var(--text-dark);
}

/* Sections spécifiques */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 640px) {
    .uk-heading-medium {
        font-size: 2rem;
    }

    .uk-text-lead {
        font-size: 1.1rem;
    }

    .uk-button-large {
        padding: 0 20px;
        font-size: 0.9rem;
    }

    footer .uk-child-width-1-3 > div {
        margin-bottom: 30px;
    }

    .price-tag {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uk-scrollspy-inview {
    animation: fadeInUp 0.6s ease-out;
}

/* Menu mobile personnalisé */
.uk-offcanvas-bar {
    background: var(--primary-color);
}

.uk-nav-primary > li > a {
    font-size: 1.1rem;
    padding: 10px 0;
    color: white !important;
}

.uk-nav-primary > li.uk-active > a {
    color: var(--accent-color) !important;
}

/* Icônes colorées */
.icon-primary {
    color: var(--primary-color);
}

.icon-secondary {
    color: var(--secondary-color);
}

.icon-accent {
    color: var(--accent-color);
}

/* Contrat et documents */
.contract-section {
    background: white;
    padding: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    margin: 30px 0;
}

.contract-header {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.signature-line {
    border-bottom: 2px solid #333;
    margin: 0 10px;
    display: inline-block;
    width: 200px;
}

/* Badge de vérification */
.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0.2) 100%);
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid var(--accent-color);
}

/* Animations JavaScript */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Validation formulaire */
.uk-form-danger {
    border-color: #f0506e !important;
    background: rgba(240,80,110,0.05);
}

.uk-form-success {
    border-color: #32d296 !important;
    background: rgba(50,210,150,0.05);
}

/* Animation hover sur cartes */
.hover-animate {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Typewriter effect */
.hero-typewriter {
    display: inline-block;
    border-right: 3px solid var(--accent-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        border-color: var(--accent-color);
    }
    51%, 100% {
        border-color: transparent;
    }
}

/* Compteurs animés */
.animate-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Transitions pour navigation sticky */
.uk-navbar-sticky {
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transition: box-shadow 0.3s ease;
}

/* Hero Section Full Width */
.uk-slideshow-items {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.uk-slideshow-items li {
    width: 100%;
}

/* Hero Text Responsive */
@media (min-width: 1200px) {
    .hero-typewriter {
        font-size: 4.5rem !important;
    }
}

@media (min-width: 1600px) {
    .hero-typewriter {
        font-size: 5rem !important;
    }
}