/* Styles de base */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
}

h1 {
    color: #ff69b4;
    text-align: center;
    margin-top: 2rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    padding-top: 80px;
}

/* Filtres */
.filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    padding: 2rem;
}

.filter-group {
    background: transparent;
    padding: 0.8rem;
    border: 2px solid #ff69b4;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    flex: 1 1 100%;
    max-width: 100%;
}

.filter-group select {
    background: transparent;
    color: #ffffff;
    border: none;
    border-bottom: 1px solid #ff69b4;
    padding: 0.5rem;
    margin-left: 1rem;
    cursor: pointer;
    outline: none;
    width: 100%;
}

.filter-group select:hover {
    border-bottom-color: #ff8dc7;
}

.filter-group select:focus {
    border-bottom-width: 2px;
}

/* Grille de la galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cartes de piercing */
.piercing-card {
    background: transparent;
    border: none;
    position: relative;
    transition: all 0.4s ease;
}

.piercing-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #ff69b4;
    z-index: -1;
    transition: all 0.3s ease;
}

.piercing-card:hover::before {
    transform: translate(20px, 20px);
}

label {
    margin-left: 2.5rem;
}

.piercing-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.piercing-info {
    padding: 1.5rem 0;
}

.piercing-info h3 {
    color: #ff69b4;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.piercing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tag {
    background: transparent;
    color: #ff69b4;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%, 0 0);
    border: 1px solid #ff69b4;
}

/* Cartes de tatouage */
.tattoo-card {
    background: transparent;
    border: none;
    position: relative;
    transition: all 0.4s ease;
}

.tattoo-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #ff69b4;
    z-index: -1;
    transition: all 0.3s ease;
}

.tattoo-card:hover::before {
    transform: translate(20px, 20px);
}

.tattoo-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.tattoo-info {
    padding: 1.5rem 0;
}

.tattoo-info h3 {
    color: #ff69b4;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.tattoo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tag {
    background: transparent;
    color: #ff69b4;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%, 0 0);
    border: 1px solid #ff69b4;
}

.filters select {
    width: 100%; /* Prend toute la largeur disponible */
    padding: 0.5rem; /* Espacement interne */
    border: 1px solid #ff69b4; /* Bordure rose */
    border-radius: 5px; /* Coins arrondis */
    background-color: #ffffff; /* Couleur de fond blanche */
    color: #000000; /* Couleur du texte noire */
    transition: background-color 0.3s; /* Transition pour l'effet au survol */
}

.filters select:hover {
    background-color: #ff69b4; /* Changement de couleur de fond au survol */
    color: #ffffff; /* Changement de couleur du texte au survol */
}

.custom-select {
    position: relative;
    width: 100%;
}

.selected {
    padding: 0.5rem;
    border: 1px solid #ff69b4;
    border-radius: 5px;
    background-color: #ffffff;
    cursor: pointer;
}

.filters .options {
    display: none; /* Masquer par défaut */
    position: absolute;
    width: 100%;
    border: 1px solid #ff69b4;
    border-radius: 5px;
    background-color: #ffffff;
    z-index: 1;
}

.filters .options .option {
    padding: 0.5rem;
    cursor: pointer;
}

.filters .options .option:hover {
    background-color: #ff69b4; /* Changement de couleur de fond au survol */
    color: #ffffff; /* Changement de couleur du texte au survol */
}

/* Grille tarifaire des piercings - mobile first */
.tarif-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: #181818;
    border-radius: 10px;
    overflow: hidden;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(255,105,180,0.08);
}

.tarif-table th,
.tarif-table td {
    display: block;
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid #ff69b4;
    text-align: left;
}

.tarif-table th {
    background: #ff69b4;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tarif-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #ff69b4;
    margin-bottom: 0.3rem;
}

.tarif-table tr:last-child td {
    border-bottom: none;
}

.tarif-table tr:hover td {
    background: #2a2a2a;
    color: #ff69b4;
    transition: background 0.2s, color 0.2s;
}

/* Responsive - PC */
@media (min-width: 769px) {
    .filters {
        flex-wrap: nowrap; /* Une seule ligne */
        max-width: 900px;
        margin: 3rem auto;
        padding: 0;
    }

    .filter-group {
        flex: 0 0 auto; /* taille fixe */
        width: auto;
        padding: 0.5rem 1rem;
        clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    }

    .filters select {
        width: auto;
        padding: 0.3rem 0.5rem;
        border-bottom: 1px solid #ff69b4;
        background: transparent;
        color: #fff;
        margin-left: 0;
    }

    .tarif-table {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 2rem auto;
    }
    .tarif-table th,
    .tarif-table td {
        display: table-cell;
        width: auto;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #ff69b4;
    }
    .tarif-table th {
        background: #ff69b4;
        color: #fff;
    }
    .tarif-table td:before {
        display: none;
    }
}
