

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fffaf9; 
    color:#1b4332;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 5%;
    box-shadow: 0 2px 20px rgba(229, 179, 155, 0.15); 
    border-bottom: 2px solid #e5b39b;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a3b33;
}

.logo span {
    color: #e5b39b; 
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #4a3b33;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: 0.3s;
}

/* Animation de la ligne sous les liens  */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #e5b39b;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover, .active {
    color: #e5b39b !important;
}
/*photo+text */
.myfavorites {
    display: flex;     
    align-items: center; 
    justify-content: center; 
    gap: 40px;            
    margin-bottom: 50px;   
}

.box {
    width: 400px;
    flex: 0 0 400px;   /* Empêche l'image de rétrécir */
    border: 5px solid white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(229, 179, 155, 0.2);
}

.box img {
    width: 100%;
    display: block;
}

.text {
    background: white;
    padding: 40px;
    border-radius: 25px;
    border-left: 8px solid #e5b39b;
    flex: 0 1 600px; /* largeur équilibrée au texte */
    text-align: left;      
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.text p {
    font-size: 1.2rem;     
    line-height: 1.8;      
    font-weight: 400;      
    color: #333;           
    text-align: justify;   
}
.text h3 {
    font-size: 1.8rem; 
    color: #e5b39b;
    margin-bottom: 25px;
}
