/* APPLIQUABLE A TOUTES LES PAGES */
html, body {
	min-height: 100vh;
    margin: 0;
}

body {
    background: url('../views/image/Copilot_20250602_093926.png') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
}

.content {

    display: flex;
    align-items: center;
}

.navbar {
    background: transparent;
	color: #000;
}

.nav-link {
    text-shadow: #000 1px 0 10px;
}

.navbar .nav-link {
    color: #ffffff !important;
}

.navbar .nav-link:hover {
	background-color: #0b84bd;
	border: 2px solid #0b84bd;
	border-radius: 10px;
    color: #ffffff !important;
}

footer {
    background: rgba(11, 132, 189, 0.85);
    border-top: 2px solid #ffc107;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #ffc107;
}

footer .text-warning {
    color: #ffc107 !important;
}


/* FORMULAIRES ET CARTES */
.card {
	background: rgba(11, 132, 189, 0.85);
    border: 1px solid #ffc107;
    transition: box-shadow 0.3s ease;
	backdrop-filter: blur(4px);
}

.card:hover {
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.form-control {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #444;
}

.form-control:focus {
    background-color: #ffffff;
    color: #1a1a1a;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: scale(1.05);
}


.card-img-top {
    height: 200px; 
    object-fit: cover;
}

.modal-content {
    background-color: rgba(11, 132, 189, 0.85);
    color: #ffffff;
}

.modal-header {
    border-bottom: 1px solid #ffc107;
}

.modal-title {
    color: #ffffff;
}

.modal-body {

}

.modal-footer {
    border-top: 1px solid #ffc107;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}


/* BOUTIQUE */
.carte-boutique {
    background: rgba(11, 132, 189, 0.85);
	height: 100%;
    border: 2px solid #ffc107;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
	backdrop-filter: blur(4px);
}

.carte-boutique:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.image-boutique {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    background-color: transparent;
    padding: 10px;
}

.carte-boutique .card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.carte-boutique .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffc107;
    margin-top: 0.5rem;
}

.carte-boutique .card-text {
    font-size: 0.95rem;
    color: #dddddd;
}

/* ANIMATION DU PANIER */
#icone-panier {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #444;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #ffc10788;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.panier-hover:hover {
    transform: scale(1.1);
}


@keyframes flyToCart {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(calc(var(--x) * 0.5), calc(var(--y) * 0.5)) scale(0.5) rotate(180deg);
        opacity: 0.7;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0.2) rotate(360deg);
        opacity: 0;
    }
}

.image-clone {
    position: absolute;
    width: 100px;
    height: auto;
    z-index: 9999;
    pointer-events: none;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    animation: flyToCart 1s forwards;
	position: fixed;
}
