body {
  font-family: 'Segoe UI', sans-serif;
  background: 
         linear-gradient(135deg, 
        #fff8f0 0%,           /* Crème très clair */
        #ffeee0 20%,          /* Pêche douce */
        #f5dcc8 40%,          /* Terre de Sienne claire */
        #e8c4a0 60%,          /* Ocre italien */
        #ddb892 80%,          /* Sable toscan */
        #d4a574 100%          /* Terre cuite douce */
    );
    background-size: 100% 100%, 400px 800px, 300px 600px;
    background-attachment: fixed;
      }
      

      /* Effet de transition prononcé avec le footer */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 30%, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

/* nav */

:root {
            --stone-light: #f7f3ef;
            --stone-medium: #f0e8dc;
            --stone-dark: #e6d7c5;
            --trullo-accent: #d4c4a8;
            --text-dark: #5a4f42;
            --text-medium: #8b7355;
            --shadow-soft: rgba(90, 79, 66, 0.1);
        }



        .main-header {
            background: linear-gradient(180deg, 
                rgba(247, 243, 239, 0.98) 0%, 
                rgba(240, 232, 220, 0.95) 100%);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px var(--shadow-soft);
            position: relative;
        }

        .main-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                var(--trullo-accent) 50%, 
                transparent 100%);
        }

        .main-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                var(--stone-medium) 0%, 
                var(--trullo-accent) 30%, 
                var(--stone-dark) 70%, 
                var(--stone-medium) 100%);
        }

        .navbar {
            background: transparent !important;
            padding: 1rem 0;
        }

        .navbar-brand {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            font-size: 1.8rem;
            color: var(--text-dark) !important;
            text-decoration: none;
            position: relative;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
        }

        .navbar-brand::after {
            content: '';
            font-size: 0.8em;
            margin-left: 8px;
            opacity: 0.7;
        }

        .navbar-brand:hover {
            color: var(--trullo-accent) !important;
            transform: translateY(-1px);
            transition: all 0.3s ease;
        }

        .navbar-nav {
            gap: 0.5rem;
        }

        .nav-link {
            font-family: 'Lato', sans-serif;
            font-weight: 400;
            font-size: 1rem;
            color: var(--text-medium) !important;
            padding: 0.8rem 1.2rem !important;
            border-radius: 25px;
            position: relative;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(212, 196, 168, 0.2);
        }

        .nav-link:hover {
            color: var(--text-dark) !important;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.8) 0%, 
                rgba(240, 232, 220, 0.9) 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px var(--shadow-soft);
            border-color: var(--trullo-accent);
        }

        .nav-link.active {
            background: linear-gradient(135deg, 
                var(--stone-medium) 0%, 
                var(--trullo-accent) 100%);
            color: var(--text-dark) !important;
            box-shadow: inset 0 2px 4px rgba(90, 79, 66, 0.1);
            font-weight: 500;
        }

        .navbar-toggler {
            border: none;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 12px;
            padding: 0.5rem;
            box-shadow: 0 4px 12px var(--shadow-soft);
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.25rem rgba(212, 196, 168, 0.25);
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2890, 115, 85, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* Animation pour l'apparition */
        .navbar-nav .nav-item {
            opacity: 0;
            transform: translateY(-10px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
        .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
        .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
        .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
        .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }
        .navbar-nav .nav-item:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        /* Effet de texture subtile */
        .main-header {
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(212, 196, 168, 0.2) 0%, transparent 50%);
        }

.hero {
  position: relative;
  height: 90vh;
  background: url("../images/bg.JPG") no-repeat center center/cover;
}

.hero .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2rem;
}

.hero .container {
  z-index: 2;
}

.carousel-item {
  min-height: 120px;
}

a:hover .rounded-circle {
  transform: scale(1.05);
  transition: 0.3s ease;
}

.gallery-bubble {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid #e0cfc0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.gallery-bubble:hover {
  transform: scale(1.08);
}

.gallery-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
  color: #4a4a4a;
  text-transform: capitalize;
  font-size: 1.1rem;
}

/* Formulaire */
form {
    font-size: 1rem;
}

form label {
    font-weight: 500;
}

form input, form textarea, form select {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px;
}

form input:focus, form textarea:focus, form select:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0,123,255,0.4);
}

/* Bouton */
form button {
    background-color: #007bff;
    border: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}
form button:hover {
    background-color: #0056b3;
}

/* Calendrier dynamique */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.calendar div {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.calendar div:hover {
    transform: scale(1.05);
    background-color: #007bff;
    color: white;
}

.calendar .reserved {
    background-color: #dc3545 !important;
    color: white;
    cursor: not-allowed;
}

.calendar .available {
    background-color: #28a745 !important;
    color: white;
    cursor: pointer;
}

/* Personnalisation Flatpickr */
.flatpickr-calendar {
  background: linear-gradient(135deg, #f5f1e9, #d9cbbf);
  border: 1px solid #c3b499;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.flatpickr-day {
  border-radius: 8px;
  color: #5a4b3c;
  font-weight: 600;
}

.flatpickr-day.today {
  background-color: #cbb88a;
  color: #fff;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange {
  background: #b9975b;
  color: #fff;
}

.flatpickr-day:hover {
  background: #d4b661;
  color: #fff;
}

.flatpickr-months {
  color: #7a6a53;
  font-weight: 700;
}

.flatpickr-weekdays {
  color: #7a6a53;
  font-weight: 600;
}

.apropos-section {
  background-color: #fef9f4;
  color: #4a4a4a;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 3rem 1rem;
}

.apropos-section h1 {
  font-weight: 700;
  color: #3a3a3a;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.apropos-section h2 {
  color: #7c6b50;
  font-weight: 600;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #d6c8a0;
  padding-bottom: 0.3rem;
}

.apropos-section h3 {
  color: #a88a57;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.apropos-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.apropos-section ul {
  margin-left: 1.2rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
  color: #5a4b2a;
  font-size: 1.1rem;
}

.apropos-section ul li {
  margin-bottom: 0.4rem;
}


.footer a {
  color: #ffcb86;
  text-decoration: none;
  margin: 0 5px;
}

/* Responsive */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: linear-gradient(180deg, 
                    rgba(247, 243, 239, 0.98) 0%, 
                    rgba(240, 232, 220, 0.95) 100%);
                backdrop-filter: blur(15px);
                border-radius: 15px;
                margin-top: 1rem;
                padding: 1rem;
                box-shadow: 0 8px 30px var(--shadow-soft);
                border: 1px solid rgba(212, 196, 168, 0.3);
            }

            .navbar-nav {
                gap: 0.3rem;
            }

            .nav-link {
                text-align: center;
                margin: 0.2rem 0;
            }
        }

@media (max-width: 768px) {
  .apropos-section h1 {
    font-size: 2.2rem;
  }
  .apropos-section h2 {
    font-size: 1.6rem;
  }
  .apropos-section h3 {
    font-size: 1.3rem;
  }
}

