/* Style global */
body {
    font-family: Arial, sans-serif;
    background-color: #f5e1c8; /* Même couleur pour toutes les pages */
    color: #4d0b0b;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

/* Navbar */
.navbar {
    background-color: #f5e1c8; /* Assurer que la navbar est visible sur admin.php */
    padding: 20px;
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
   
}

.navbar-nav {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
    width: 100%;
}

.navbar a {
    color: #8b0000;
    font-size: 25px;
    text-decoration: none;
    padding: 10px 20px;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    color: #4d0b0b;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #8b0000;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.navbar a:hover::after {
    transform: scaleX(1);
}

/* Images */
.hero-image {
    width: 100%;
    max-width: 90%;
    margin-top: -10px;
}

.hero-catalogue {
    width: 100%;
    position: relative;
    left: 20px;
    max-width: 40%;
    margin-top: -10px;
}

.line {
    width: 100%;
    max-width: 85%;
    margin-top: -10px;
}

/* Titres */
h2 {
    font-family: "Great Vibes", cursive;
    position: relative;
    top: -20px;
    font-weight: 400;
    font-size: 60px;
}

h4, h1 {
    font-family: "Great Vibes", cursive;
    position: relative;
    top: -20px;
    font-weight: 400;
    font-size: 70px;
}

/* Bio */
.bio {
    background: radial-gradient(circle, #b92b2957 10%, #f5e1c888 32%);
    padding: 20px 10px;
    font-family: "Balthazar", serif;
    margin: 20px auto;
    font-size: 27px;
    width: 900px;
    position: relative;
}

.bow {
    position: absolute;
    width: 40%;
    max-width: 520px;
    left: -428px;
    top: -80px;
}

.kiss {
    position: absolute;
    width: 50%;
    max-width: 300px;
    left: 980px;
    top: 220px;
}

/* Slider */
.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 10px;
}

.prev, .next {
    background-color: transparent;
    border: none;
    font-size: 40px;
    color: #8b0000;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev {
    left: -40px;
}

.next {
    right: -40px;
}

.prev:hover, .next:hover {
    color: #4d0b0b;
}

/* Footer */
footer {
    background-color: #f5e1c8;
    color: #8b0000;
    padding: 50px 0 20px;
    font-size: 22px;
    margin-top: 20px;
    font-family: "Balthazar", serif;
    position: relative;
    text-align: center;
}

/* Catalogue */
.catalogue-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #8b0000;
}

.catalogue-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.catalogue-item {
    border: 2px solid #8b0000;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

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

.catalogue-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.catalogue-item h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #8b0000;
}

.catalogue-item p {
    font-size: 14px;
    color: black;
    margin: 5px 0;
}

/* Page admin */
.admin-container {
    max-width: 800px;
    margin: 50px auto;
    background: radial-gradient(circle, #b92b2957 10%, #f5e1c888 32%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.admin-container h2 {
    font-size: 50px;
    color: #8b0000;
    margin-bottom: 20px;
}

/* Boutons admin */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.button-container button {
    background-color: #8b0000;
    color: white;
    font-size: 18px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.button-container button:hover {
    background-color: #4d0b0b;
}

/* Formulaires */
form {
    background: #f5e1c8;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #8b0000;
}

form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #8b0000;
    border-radius: 5px;
    font-size: 16px;
}

form input[type="submit"] {
    background-color: #8b0000;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .catalogue-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 400px) {
    .catalogue-container {
        grid-template-columns: 1fr;
    }
}
