html {
  font-size: 14px;
  margin-left:5px;
  margin-right:5px;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Responsive : 1 bloc par ligne sur mobile */
/* Pour les écrans petits, empiler verticalement */
@media (max-width: 768px) {
    .testimonial {
        width: 100%;
    }
}


@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hero {
  background-image: url('/images/Bateaux4.webp');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 40px 20px;
  height: 100vh;

  /* Animation de zoom */
  animation: zoomBackground 10s ease-in-out infinite;
}

/* Animation définie */
@keyframes zoomBackground {
  0% {
    background-size: 100%;
  }
  50% {
    background-size: 110%; /* Zoom */
  }
  100% {
    background-size: 100%; /* Retour normal */
  }
}

.navbar {
    background-color: #F5F1EB !important;
}


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

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

    .notfound-svg {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
        animation: rotate 10s linear infinite;
    }

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }


    .legal-page {
    background-color: #f8f9fa;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    color: #2d3e50;
}

.legal-page h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #4B6A88;
    margin-bottom: 20px;
    text-align: center;
}

.legal-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3e50;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.legal-page a {
    color: #AD7C59;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-page a:hover {
    color: #7c593c;
    text-decoration: none;
}

.legal-page ul {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 10px;
}









/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .search-form {
        margin: 20px auto;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

    @media (max-width: 992px) {
        .boat-details-row {
            flex-direction: column;
        }

        .boat-image-section,
        .boat-info-section {
            flex: 0 0 100%;
        }

        .equipements-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }


 /* Responsive */
    @media (max-width: 768px) {
        .sidebar {
            transform: translateX(-100%);
        }

        .main-content {
            margin-left: 0;
        }

        .dashboard-header {
            padding: 20px;
        }

        .content-area {
            padding: 20px;
        }

        .stats-grid {
            grid-template-columns: 1fr;
        }
    }


/* Responsive */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2em;
        }

        .about-section {
            flex-direction: column;
            padding: 40px 20px;
        }

        .search-container form {
            grid-template-columns: 1fr;
        }

        .section-title {
            font-size: 2em;
        }

        .offers {
            grid-template-columns: 1fr;
            padding: 20px;
        }

        .features-grid,
        .testimonials-grid {
            grid-template-columns: 1fr;
        }
    }




       /* Responsive adjustments */
        @media (max-width: 991px) {
            .navbar-nav {
                gap: 0;
                margin-top: 1rem;
            }

            .nav-link {
                padding: 0.6rem 0 !important;
            }

            .navbar-nav.ms-auto {
                margin-top: 1rem;
                padding-top: 1rem;
                border-top: 1px solid #ddd;
            }
        }


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

        .hero-content p {
            font-size: 1rem;
        }

        .about-section {
            flex-direction: column;
            padding: 40px 20px;
        }
    }

      @media (max-width: 991px) {
        .sidebar-filter {
            margin-bottom: 30px;
        }

        .hero-content h1 {
            font-size: 2rem;
        }
    }

     @media (max-width: 768px) {
        .document-footer {
            flex-direction: column;
            align-items: flex-start;
        }

        .document-actions {
            width: 100%;
            flex-direction: column;
        }

        .btn-replace,
        .btn-delete,
        .btn-upload {
            width: 100%;
            justify-content: center;
        }
    }

      @media (max-width: 768px) {
        .document-footer {
            flex-direction: column;
            align-items: flex-start;
        }

        .document-actions {
            width: 100%;
        }

        .btn-replace,
        .btn-delete,
        .btn-upload {
            flex: 1;
        }
    }

     @media (max-width: 768px) {
        .profile-header {
            flex-direction: column;
            align-items: flex-start;
        }

        .profile-details {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .profile-actions {
            flex-direction: column;
        }

        .btn-edit,
        .btn-password {
            width: 100%;
            text-align: center;
        }
    }

     @media (max-width: 768px) {
        .about-hero h1 {
            font-size: 2rem;
        }
        .about-hero p {
            font-size: 1rem;
        }
    }
      @media (max-width: 992px) {
        .search-bar-form {
            flex-wrap: wrap;
        }

        .search-field {
            flex: 1 1 calc(50% - 10px);
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-search-horizontal {
            flex: 1 1 100%;
            border-radius: 8px;
            margin-top: 15px;
        }
    }

    @media (max-width: 576px) {
        .search-field {
            flex: 1 1 100%;
        }
    }
     @media (max-width: 768px) {
        .form-row-custom {
            grid-template-columns: 1fr;
        }

        .tabs-container {
            flex-wrap: wrap;
        }

        .tab-button {
            flex: 1 1 50%;
        }
    }


     @media (max-width: 1200px) {
        .stats-section,
        .action-cards {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .stats-section,
        .action-cards,
        .reservations-grid,
        .financial-cards,
        .bottom-stats-section {
            grid-template-columns: 1fr;
        }
    }

     @media (max-width: 1200px) {
        .stats-section {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .stats-section {
            grid-template-columns: 1fr;
        }

        .filters-section {
            flex-direction: column;
            align-items: stretch;
        }

        .search-input {
            max-width: none;
        }
    }


     @media (max-width: 768px) {
        .messaging-container {
            height: calc(100vh - 60px);
            margin: 10px;
        }

        .conversations-sidebar {
            width: 100%;
            display: none;
        }

        .conversations-sidebar.mobile-show {
            display: flex;
        }

        .chat-area {
            display: none;
        }

        .chat-area.mobile-show {
            display: flex;
        }
    }


     @media (max-width: 768px) {
        .reservations-grid {
            grid-template-columns: 1fr;
        }

        .header-section {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }
    }

     @media (max-width: 968px) {
        .main-content {
            grid-template-columns: 1fr;
        }
        
        .summary-card {
            position: static;
        }

        .date-inputs {
            grid-template-columns: 1fr;
        }
    }