﻿/* =====================================================
   NEUCH'CHATCHIEN – CSS GLOBAL FINAL UNIFIÉ 2025
   Tout en un seul fichier – Zéro doublon – 100% fonctionnel
   ===================================================== */

/* --------------------------------------------------
   1. IMPORTS & FONTS
   -------------------------------------------------- */
/*@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Petit+Formal+Script&family=Cinzel+Decorative:wght@400;700;900&display=swap');
*/
/* --------------------------------------------------
   2. VARIABLES GLOBALES (centralisées)
   -------------------------------------------------- */
:root {
    /* =========================
       Core Brand Colors
       ========================= */
    --bs-primary: #d89b2c; /* strong gold */
    --bs-secondary: #5a3c00; /* deep brown for readable text */
    --bs-light: #fff4d2; /* pale gold (background only) */
    --bs-dark: #2a1a00; /* deep brown-black */
    --bs-warning: #f4c542; /* premium gold */
    /* Toggle button unchecked states */
    --bs-primary-unchecked: #ffd600;
    --bs-primary-unchecked-hover: #ffcf33;
    --bs-primary-text: #111;
    /* Couleurs principales */
    --gold: #f4bb6b;
    --gold-dark: #e0a951;
    --gold-light: #fff8e0;
    --primary-gold: #d89b2c;
    --primary-dark: #5a3c00;
    --warning-gold: #f4c542;
    --accent-gold: #ffd600;
    --accent-brown: #a48c6e;
    --accent-brown-dark: #8b745b;
    --black: #252525;
    --text-muted: rgba(37,37,37,0.7);
    --bg-light: #f9f9f9;
    --gray-light: #f7f7f7;
    --gray: #f4f4f4;
    /* Ombres & transitions */
    --shadow-sm: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.15);
    --shadow-card: 0 12px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --transition-long: all 0.4s ease;
    --sw-progress-width: 0% !important;     /*BUG*/
}

/* --------------------------------------------------
   3. BASE & TYPO
   -------------------------------------------------- */
html {
   /* scroll-behavior: smooth;*/
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--black);
    background: #fff;
    padding-top: 95px; /* navbar fixe */
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    
    margin-top: 0;
}
h1  {
    color: black;
    text-shadow: 1px 1px 0 #000, 2px 2px 3px rgba(0,0,0,0.5);
}
  h2 {
    color: #e67e22;
   
    text-shadow: 1px 1px 0 #000, 2px 2px 3px rgba(0,0,0,0.5);
}
.modal-body {
    font-family: 'Nunito', sans-serif;
}
    /* Polices décoratives */
    .petit-formal-script-regular {
    font-family: "Petit Formal Script", cursive;
}

.cinzel-decorative-regular {
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
}
 
.cinzel-decorative-bold {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
}

.cinzel-decorative-black {
    font-family: "Cinzel Decorative", serif;
    font-weight: 900;
}

.modal-header .btn-close {
    padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5) !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: auto !important; /* pushes button to right */
}


.bi {
    font-style: normal; /* ensures icons render correctly */
}
/* --------------------------------------------------
   4. BOUTONS GÉNÉRAUX
   -------------------------------------------------- */
.btn-primary {
    --bs-btn-bg: var(--primary-gold);
    --bs-btn-border-color: var(--primary-gold);
    --bs-btn-hover-bg: #c4881f;
    --bs-btn-active-bg: #b27a1c;
}

.btn-warning {
    --bs-btn-bg: var(--warning-gold);
    --bs-btn-color: #111;
    --bs-btn-hover-bg: #e3b735;
}

.btn-check + .btn,
.btn-check + label.btn {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #111;
    transition: var(--transition);
}

.btn-check:checked + .btn {
    background: var(--primary-gold);
    color: #fff;
}

button, .btn, label {
    user-select: none;
}

/* Bouton hero / explore */
.hero-btn, .btn-explore {
    display: inline-block;
    /*    background: #000;*/
    background: #0d2b45;
    color: white;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

    .hero-btn:hover, .btn-explore:hover {
        background: var(--accent-gold);
        color: #000;
    }

/* --------------------------------------------------
   5. HERO PRINCIPAL
   -------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 80px 0;
    background: linear-gradient(to right, #f4bb6b 0%, #f9d29b 50%, #f4bb6b 100%);
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.15);
        pointer-events: none;
    }

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-left, .hero-right {
    flex: 1;
    min-width: 300px;
}

.hero-logo {
    max-width: 350px;
    margin-bottom: 360px;
}

.hero-left h1 {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-dog {
    max-width: 100%;
    position: absolute;
    bottom: -80px;
    animation: fadeInRight 1.2s ease-out;
    aspect-ratio: 1.1928; /* width / height 600/ 503*/
   /* width: 80%;*/
   right:-20px;
    height: auto;
}

.decor {
    position: absolute;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.decor-1 {
    left: -16%;
    top: 5%;
    animation-delay: 0.3s;
}

.decor-2 {
    left: -18%;
    top: 80%;
    animation-delay: 0.6s;
}

.decor-3 {
    left: 50%;
    top: 85%;
    animation-delay: 0.9s;
}

/* --------------------------------------------------
   6. SLIDER ALTERNATIF (hero2)
   -------------------------------------------------- */
.slider-section {
    position: relative;
    overflow: hidden;
}

.slider-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.slider-left {
    flex: 1 1 50%;
    padding: 50px;
    min-width: 300px;
}

.slider-right {
    flex: 1 1 50%;
    position: relative;
    min-width: 300px;
}

.slider-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.slider-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
}

.slider-layer {
    position: absolute;
    z-index: 1;
}

.layer1 {
    left: -16%;
    top: 5%;
}

.layer2 {
    left: -18%;
    top: 80%;
}

.layer3 {
    left: 80%;
    top: 65%;
}

/* --------------------------------------------------
   7. SECTIONS GÉNÉRIQUES
   -------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 3.5rem;
    padding: 2rem 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 1rem;
}

 

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* --------------------------------------------------
   8. SERVICES (deux versions fusionnées)
   -------------------------------------------------- */
.hero2-services, .services2-cards {
    padding: 100px 20px;
    background: #fff;
    text-align: center;
}

.services2-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
}

.services-row, .services2-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item, .services2-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-long);
    flex: 1 1 280px;
    max-width: 360px;
}

    .service-item:hover, .services2-card:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: var(--shadow-hover);
    }

    .service-btn, .services2-card a {
        display: inline-block;
        background: var(--accent-gold);
        color: #111;
        padding: 10px 25px;
        border-radius: 8px;
        font-weight: 700;
        text-decoration: none;
        transition: var(--transition);
    }

        .service-btn:hover, .services2-card a:hover {
            background: #e6c200;
            transform: translateY(-2px);
        }

/* --------------------------------------------------
   9. PRICING (cartes + tableau)
   -------------------------------------------------- */

/*
.pricing-card {
    background: #fff;
    border: 2px solid var(--accent-brown);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: visible;
    transition: var(--transition-long);
}

    .pricing-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

    .pricing-card.featured {
        background: var(--accent-brown);
        color: #fff;
        border-color: var(--accent-brown-dark);
        transform: scale(1.05);
        box-shadow: var(--shadow-md);
        z-index: 2;
    }*/

/*.featured-badge {
    position: absolute;
    top: -1.5rem;
    right: -2.5rem;
    background: var(--accent-brown-dark);
    color: #fff;
    padding: 0.5rem 2.2rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    z-index: 10;
}*/




.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.portfolio-item:hover .overlay {
    opacity: 1;
    transform: scale(1.03);
}

/* --------------------------------------------------
   11. FULLCALENDAR
   -------------------------------------------------- */
/*#calendar {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.fc .fc-toolbar button {
    background: var(--gold);
    border-radius: 10px;
}

    .fc .fc-toolbar button:hover {
        background: var(--gold-dark);
    }

.fc-event {
    background: var(--gold) !important;
    color: #111 !important;
    border: none !important;
    border-radius: 10px;
    padding: 6px 10px !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

    .fc-event:hover {
        background: var(--gold-dark) !important;
        transform: translateY(-2px);
    }
*/
/* --------------------------------------------------
   12. FOOTER
   -------------------------------------------------- */
.main-footer {
    position: relative;
    background: var(--gray);
    color: #333;
    margin-top: 80px;
    overflow: hidden;
}

.footer-top {
    position: relative;
    padding: 460px 0 60px;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

    .footer-top::before {
        content: '';
        position: absolute;
        /*        top: 0;*/
        bottom: 25rem;
        left: 0;
        width: 100%;
        height: 445px;
        background: url('../images/animal-image3.webp') center center / contain no-repeat;
    }

.social-style-one a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

    .social-style-one a:hover {
        background: var(--black);
    }

.footer-bottom {
    background: var(--black);
    color: #fff;
    padding: 25px 0;
    text-align: center;
}

/* --------------------------------------------------
   13. ANIMATIONS & UTILITAIRES
   -------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes scissorsPop {
    0% {
        transform: scale(0) rotate(-40deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bubbleFloat {
    0% {
        transform: scale(0.5) translateY(10px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(-15px);
        opacity: 0;
    }
}

.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .animate.fade-in {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gray-bg {
    background: var(--gray-light);
}

.black-bg {
    background: var(--black);
    color: #fff;
}

/* --------------------------------------------------
   14. RESPONSIVE GLOBAL
   -------------------------------------------------- */
@media (max-width: 992px) {
    .hero-left h1, .slider-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    .hero-container, .slider-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-left h1, .slider-title {
        font-size: 48px;
    }

    .decor, .slider-layer {
        display: none;
    }

    .footer-top {
        padding-top: 180px;
    }

        .footer-top::before {
            height: 160px;
            background-size: cover;
        }
}

 

/* Animation */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}


