/* Import de la police Minecraft depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Russo+One&display=swap');

/* Global Styles */
body {
    font-family: 'Russo One', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #181818;
    color: #f2f2f2;
    line-height: 1.6;
    background-image: url('images/pngg.png');
    background-position: center; 
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
}

/* Header */
header {
    background-color: #092e0e;
    color: #76c043;
    padding: 30px;
    text-align: center;
    font-size: 30px;
    font-family: 'Press Start 2P', cursive;
    border-bottom: 4px solid #4caf50;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

header h1 {
    margin: 0;
    font-size: 60px;
    font-family: 'Press Start 2P', cursive;
    color: #cac431;
    text-shadow: 6px 8px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
}

header img {
    height: 255px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* Navigation */
nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 15px;
}

nav ul li {
    display: inline-block;
    margin-right: 45px;
}

nav ul li a, a.btn {
    color: #c9d449;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Press Start 2P', cursive;
    background-image: url('images/images.jpg');
    background-size: cover;
    padding: 10px 20px;
    border-radius: 8px;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover, a.btn:hover {
    color: #f6ff96;
    transform: scale(1.2);
}

/* Main content */
main {
    padding: 50px 23px;
    text-align: center;
    background-color: #0c0c0c;
    border-radius: 10px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    margin: 20px auto;
    max-width: 1200px;
}

/* Titles */
h2 {
    font-size: 32px;
    color: #54b05c;
    margin-bottom: 30px;
    font-family: 'Press Start 2P', cursive;
}

/* Reservation page form styling */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px;
    background-color: #2a2a2a;
    border-radius: 15px;
    border: 3px solid #76c043;
}

input[type="text"], input[type="email"], input[type="date"], select, input[type="password"] {
    background-color: #333;
    border: 2px solid #76c043;
    color: #f2f2f2;
    font-size: 25px;
    padding: 15px;
    width: 400px;
    font-family: 'Press Start 2P', cursive;
    border-radius: 8px;
}

input[type="submit"], button[type="submit"] {
    background-color: #4caf50;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

input[type="submit"]:hover, button[type="submit"]:hover {
    background-color: #76c043;
    transform: scale(1.05);
}

/* Admin page table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 60px;
}

table th, table td {
    padding: 25px;
    text-align: center;
    border: 2px solid #76c043;
    font-size: 21px;
}

table th {
    background-color: #222;
    color: #76c043;
    font-family: 'Press Start 2P', cursive;
    font-size: 30px;
}

table td {
    background-color: #333;
    color: #f2f2f2;
}

table tr:nth-child(even) {
    background-color: #2a2a2a;
}

table tr:hover td {
    background-color: #4caf50;
    color: #000;
    transform: scaleY(1.1);
    transition: transform 0.8s ease, background-color 0.8s ease;
}
form {
    max-width: 460px;  /* Limite la largeur du formulaire */
    margin: 50px auto; /* Centre le formulaire */
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    border: 2px solid #76c043;
}
/* Minecraft grid layout */
.mob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mob-card {
    background-color: #2a2a2a;
    border: 3px solid #4caf50;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mob-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.4);
    z-index: 1;
}

.mob-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: #76c043;
}

.mob-card p {
    font-size: 16px;
    color: #ccc;
}

.mob-card .mob-img {
    width: 190px;
    height: auto;
    margin-bottom: 15px;
    image-rendering: pixelated;
    border-radius: 9px;
    border: 2px solid #76c043;
}

/* Footer */
footer {
    background-color: #092e0e;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 4px solid #4caf50;
}

footer p {
    margin: 0;
    font-size: 18px;
}

footer a {
    color: #0f5b19;
    text-decoration: none;
}

footer a:hover {
    color: #ffcc00;
}

/* Positionnement de l'abeille */
.gif-container {
    position: absolute;
    pointer-events: none;
}

.bee {
    position: fixed;
    width: 130px;
    height: auto;
    transition: transform 0.1s ease;
    z-index: 9999;
}

.gif-container {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 2;
}

/* Déconnexion */
.logout-btn {
    background-color: #ff4c4c;
    color: white;
    font-size: 24px;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.logout-btn:hover {
    background-color: #ff1a1a;
    transform: scale(1.1);
} 
  