/* Importation de la police Baloo Bhai 2 */
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400;700&display=swap');

/* Styles globaux */
body {
    font-family: 'Baloo Bhai 2', cursive;
    margin: 0;
    padding: 0;
    background-color: #faf3e0; /* Fond beige clair */
    color: #333;
}

/* Header */
header {
    background: linear-gradient(45deg, #ff7f50, #ffb347);
    padding: 15px 20px;
    text-align: center; /* Centrer le titre */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

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

.logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

header h1 {
    font-size: 24px;
    margin: 0;
    white-space: nowrap;
}

/* Section présentation */
.presentation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #faf3e0; /* Fond général */
}

.profile-block {
    background-color: #f5e3c3; /* Couleur beige pour le bloc */
    border: 1px solid #e0d5b5; /* Bordure subtile */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre douce */
    padding: 20px;
    text-align: center;
    max-width: 400px; /* Largeur maximale du bloc */
    width: 100%; /* S'adapte au mobile */
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile-block h2 {
    font-size: 20px;
    color: #d2691e; /* Orange doux pour le titre */
    margin: 10px 0;
}

@keyframes border-color-change {
    0% {
        border-color: #ff7f50; /* Couleur du dégradé du header */
    }
    50% {
        border-color: #ffb347; /* Couleur du dégradé du header */
    }
    100% {
        border-color: #ff7f50; /* Couleur du dégradé du header */
    }
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%; /* Assure que l'image est parfaitement ronde */
    object-fit: contain; /* L'image s'ajuste à l'intérieur du conteneur */
    object-position: center; /* L'image est centrée dans le conteneur */
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre subtile */
    border: 5px solid #ff7f50; /* Ajoute une bordure avec la première couleur du dégradé */
    animation: border-color-change 3s infinite; /* Animation de la couleur de la bordure */
}


/* Conteneur des cocktails */
.cocktail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

/* Cartes des cocktails */
.cocktail-card {
    background-color: #f5e3c3;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 95%;
    max-width: 350px;
    padding: 15px;
    border: 1px solid #e0d5b5;
}

.cocktail-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
}

.cocktail-card h2 {
    font-size: 25px;
    color: #d2691e;
    margin: 10px 0;
}

.cocktail-card p {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.6;
}

.cocktail-card ul {
    text-align: left;
    font-size: 15px;
    margin: 0;
    padding-left: 20px;
    color: #333;
}

.cocktail-card ul li {
    margin-bottom: 5px;
}

/* Section contact */
.contact {
    text-align: center;
    padding: 20px;
    background-color: #f5e3c3;
    border-top: 1px solid #ddd;
}

.contact h2 {
    font-size: 20px;
    color: #d2691e;
    margin-bottom: 10px;
}

.contact p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.contact a {
    color: #d44713;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background: #333;
    color: white;
    font-size: 14px;
}

.highlight {
    background-color: #ffefd5; /* Couleur de fond pêche pâle */
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffdab9; /* Bordure pêche pâle */
    position: relative;
    max-width: 325px; /* Largeur maximale du bloc */
    width: 90%; /* S'adapte au mobile */
    margin-left: auto;
    margin-right: auto;
    overflow: hidden; /* Assure que les éléments ne débordent pas */
}

.highlight::before, .highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 223, 173, 0.5);
    animation: glow 2s infinite alternate;
}

.highlight::before {
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ff7f50, #ffb347, #ffefd5, #ffdab9);
    border-image-slice: 1;
    animation: border-glow 5s linear infinite;
}

.highlight h2 {
    font-size: 2em;
    color: #ff4500; /* Couleur orange vif */
    margin-bottom: 10px;
}

.highlight p {
    font-size: 1.2em;
    color: #8b4513; /* Couleur marron foncé */
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(255, 223, 173, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 223, 173, 1);
    }
}

@keyframes border-glow {
    0% {
        border-image-source: linear-gradient(45deg, #ff7f50, #ffb347, #ffefd5, #ffdab9);
    }
    100% {
        border-image-source: linear-gradient(45deg, #ffdab9, #ffefd5, #ffb347, #ff7f50);
    }
}