/* Banana PS - Styles CSS */

/* Variables CSS pour les couleurs du logo */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --accent-orange: #ea580c;
    --accent-pink: #ec4899;
    --accent-yellow: #facc15;
    --accent-green: #22c55e;
    --light-blue: #3b82f6;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #334155;
    --text-dark: #1e293b;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #ea580c 0%, #ec4899 100%);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-blue) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--accent-yellow) !important;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: var(--light-gray);
    color: var(--primary-blue) !important;
}

.nav-link.active {
    color: #fff !important;
    background-color: #007bff;
    border-radius: 4px;
}

.btn-warning {
    background: var(--accent-yellow) !important;
    border: none !important;
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-warning:hover {
    background: #fbbf24 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
    color: var(--text-dark) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 200px;
    height: 60px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    letter-spacing: 1px;
    width: 350px;
}

/* Hero Section */
.bg-primary {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.display-4 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Sections */
.py-5 {
    padding: 5rem 0;
}

.bg-light {
    background: var(--light-gray) !important;
}

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

.display-5 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.card-body {
    padding: 2rem;
}

.card .fas {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card:nth-child(1) .fas {
    color: var(--secondary-blue);
}

.card:nth-child(2) .fas {
    color: var(--accent-orange);
}

.card:nth-child(3) .fas {
    color: var(--accent-pink);
}

.card .h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-outline-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Banana PS en Action - Vidéos */
.ratio iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Icônes colorées */
.fas.fa-clock {
    color: var(--secondary-blue) !important;
}
.clock.fas.fa-clock {
    color: var(--accent-yellow) !important;
}

.fas.fa-shield-alt {
    color: var(--accent-green) !important;
}

.fas.fa-map-marker-alt {
    color: var(--accent-orange) !important;
}

.fas.fa-certificate {
    color: var(--accent-yellow) !important;
}

.fas.fa-leaf {
    color: var(--accent-green) !important;
}

.fas.fa-handshake {
    color: var(--primary-blue) !important;
}

.text-info {
    color: var(--light-blue) !important;
}

.text-success {
    color: var(--accent-green) !important;
}

.text-warning {
    color: var(--accent-yellow) !important;
}

/* Galerie - Banana PS en Images */
.gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    transition: transform 0.3s ease;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.overlay-content h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive pour la galerie */
@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 1rem;
    }

    .gallery-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }

    .overlay-content {
        transform: translateY(0);
    }
}

/* Pourquoi nous choisir */
.d-flex.align-items-start {
    margin-bottom: 2rem;
}

.flex-shrink-0 {
    margin-right: 1rem;
}

.flex-grow-1 h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Témoignages */
.fas.fa-star {
    color: var(--accent-yellow) !important;
}

.blockquote {
    border: none;
    padding: 0;
}

.blockquote-footer {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.blockquote-footer cite {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Formulaire de contact */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.btn-warning.w-100 {
    padding: 0.75rem;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* Section contact final */
.d-flex.align-items-center {
    margin-bottom: 1.5rem;
}

.d-flex.align-items-center i {
    color: var(--accent-yellow);
    margin-right: 1rem;
}

.d-flex.align-items-center h5 {
    color: var(--white);
    margin-bottom: 0.2rem;
}

.d-flex.align-items-center p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    /* padding: 3rem 0 1rem; */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 200px;
    height: 200px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #444;
    /* padding-top: 2rem; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

    .display-5 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .py-5 {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
  
}


/* Hover effects */
.card-hover:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}
