﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #b9919c;
/*    background-image: linear-gradient(rgba(185, 145, 156, 0.5), rgba(185, 145, 156, 0.2)), url(../img/Wallpaper2.jpg);
*/    background-repeat: repeat-y;
    background-size: cover;
    color: #333;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* FONTS */

.open-sans-<uniquifier > {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.petit-formal-script-regular {
    font-family: "Petit Formal Script", cursive;
    font-weight: 400;
    font-style: normal;
}

/* TYPO */
h1 {
    font-family: "Petit Formal Script", cursive;
    color: white;
}

h2 {
    font-family: "Open Sans", sans-serif;
    font-weight:bold;
    color: #ffb2c6;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}

h3 {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: white;
}

p{
    color: white;
}

p, li, a, span {
    font-family: "Open Sans", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

p.cursive {
    font-family: "Delius Swash Caps", cursive !important;
    font-weight: 500;
    color: white;
}

p.bottom-text{
    color:white !important;
}

    p.bottom-text a {
        color: #f779ad;
    }
/* HEADER */
header {
    background-color: rgba(27,9,0);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    position: relative;
}

/* BURGER */
.burger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #8a4257;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #662c3c;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    z-index: 1200;
}

.sidebar-open .burger {
    display: none !important;
}

/* SIDEBAR */
#sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background-color: #fff0f4;
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
    transition: left 0.3s ease;
    z-index: 1099;
}

    #sidebar.show {
        left: 0;
    }

    #sidebar ul {
        list-style: none;
        padding: 3rem 0 0 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #sidebar a {
        text-decoration: none;
        color: #c06c84;
        font-size: 1.2rem;
        padding: 0.5rem 0;
        display: block;
    }

        #sidebar a:hover {
            color: #662c3c;
        }

/* NAVIGATION (DESKTOP) */
nav ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #f779ad;
}

    nav a:hover {
        color: #fcb0cf;
    }

/* STRUCTURE */
.section {
    padding: 4rem 1rem;
}

#main-container {
    background-color: rgba(27,9,0,0.5);
    max-width: 1200px;
    padding: 15px 10em 5px 10em;
    flex: 1 0 auto;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 0;
}

/* A PROPOS */

.about-container {
   /* background: rgb(255, 207, 219, 0.7);*/ /*pink*/
    background: rgb(255, 220, 207, 0.8); /*beige*/
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 10px;
}

.about hr{
    margin-bottom: 10px !important;
}
.about-text {
    flex: 1;
}

    .about-text p {
        font-family: "Open Sans", sans-serif;
        color:black;
        padding: 15px 2em 2em 3em;
    }

.about-image {
    flex: 1; 
    padding: 20px;
}

    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
}

/* SERVICES */
.services-section {
    /*    background-color: rgba(255, 178, 122,0.7);*/ /*peach*/
    /*background: rgb(255, 207, 219, 0.7);*/ /*rose*/
    background: rgb(255, 220, 207, 0.8); /*beige*/
    color: black;
    padding: 2rem 1rem;
    border-radius: 25px;
}

    .services-section h3 {
        font-family: "Open Sans", sans-serif;
        color: black !important;
        text-align: left;
        margin-bottom: 2rem;
    }

.category {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .category h3 {
        margin-top: 0;
        color: #ffeef4;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }

    .category ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .category li {
        font-family: "Open Sans", sans-serif;
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
        font-size: 1rem;
    }

        .category li span {
            background: white;
            color: #f489b0;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-weight: bold;
        }



/* CARROUSEL */


.carousel {
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 2rem 2rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 1rem;
    margin: 1rem;
}

    .carousel-track img {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        flex-shrink: 0;
        object-fit: cover;
    }

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

    .carousel-dots button {
        width: 2px;
        height: 2px;
        border-radius: 50%;
        background-color: #ddd;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s;
        padding: 0.5rem;
    }

        .carousel-dots button.active {
            background-color: #ffb2c6;
        }

.carousel-single .carousel {
    display: flex;
    justify-content: center;
}

.carousel-single .carousel-track {
    display: flex;
    justify-content: center;
}

.carousel-single img {
    display: block;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}


/* Informations */

.infos-container {
    background-color: rgb(255, 255, 255, 0.7);
    border-radius: 25px;
    padding: 2rem;
}

/* CONTACT */

.socials {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
}

    .socials img {
        width: 24px;
        height: 24px;
        filter: brightness(0) saturate(100%) invert(31%) sepia(23%) saturate(474%) hue-rotate(292deg) brightness(95%) contrast(87%);
        transition: transform 0.3s, filter 0.3s;
    }

        .socials img:hover {
            transform: scale(1.2);
            filter: brightness(0) saturate(100%) invert(19%) sepia(79%) saturate(1245%) hue-rotate(305deg) brightness(90%) contrast(110%);
        }

/* FORMULAIRE */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-family: "Open Sans", sans-serif;
    color: #ffb2c6;
    font-size: 1.3em;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-family: "Open Sans", sans-serif;
}

button {
    background: #ea7caf;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

    button:hover {
        background: #fca4ce;
    }

.input-photos{
    background-color:white;
}
/* FAQ */
.faq {
    margin: 2rem auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #f7dce4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    border: none;
    text-align: left;
    padding: 1rem;
    cursor: pointer;
    color: black;
    transition: background 0.3s ease;
    background-color: #c06c84;
    color: white;
    font-family: "Open Sans", sans-serif;
    font-weight: bold
}

    .faq-question:hover {
        background: #b05b73;
    }

.faq-answer {
    display: none;
    padding: 1rem;
/*    background: white;
*/    font-size: 1rem;
}

.faq-item.active .faq-answer {
    display: block;
}


/* CALENDAR BASE */
#calendar {
    background: white;
    border-radius: 20px;
    padding: 10px;
    overflow-x: auto;
}

/* Jours plus espacés */
.fc .fc-daygrid-day-frame {
    padding: 8px;
}

/* Numéros des jours */
.fc .fc-daygrid-day-number {
    font-weight: 600;
    font-size: 14px;
}


#day-slots button {
    background: linear-gradient(135deg, #ff9fb2, #ff6f91);
    color: white;
    padding: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

    #day-slots button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

.has-slots {
    background: #ffe4ec !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {

    .fc-daygrid-day {
        min-height: 50px;
    }

    .fc-daygrid-day-number {
        font-size: 12px;
    }

    .fc-toolbar-title {
        font-size: 16px !important;
    }

    #calendar {
        padding: 5px;
    }
}


.fc .fc-col-header-cell-cushion {
    color: #ffb2c6;
    text-decoration:none;
}
/* ADMIN */
.admin-table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
}

    .admin-table th, .admin-table td {
        padding: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }

.input-text, .input-number, .input-select {
    padding: 6px 8px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    width: 100%;
}

.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

    .btn.small {
        padding: 4px 8px;
        font-size: 0.9em;
    }

    .btn.primary {
        background-color: #c06c84;
        color: white;
    }

        .btn.primary:hover {
            background-color: #b05b73;
        }

    .btn.danger {
        background-color: #ff4d4d;
        color: white;
    }

        .btn.danger:hover {
            background-color: #e33;
        }

    .btn.save {
        background-color: #2ecc71;
        color: white;
    }

        .btn.save:hover {
            background-color: #27ae60;
        }

.section {
    padding: 40px 0;
}

.container {
    width: 90%;
    margin: auto;
}

hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 15px 0;
}

/* RDV */
.fc {
    background: transparent !important;
}

.fc-toolbar-title {
    color: #ffb6c1; /* rose pastel du thème Amber Nails */
    font-weight: 600;
    text-transform: capitalize;
}

.fc-button {
    background-color: #c06c84 !important;
    border: none !important;
    color: white !important;
    border-radius: 10px !important;
    transition: all 0.2s ease-in-out;
}

    .fc-button:hover {
        background-color: #a6576b !important;
    }

.fc-daygrid-day-number {
    color: #333;
    font-weight: 500;
}

.fc-daygrid-day-frame {
    background: white;
    border-radius: 6px;
    transition: transform 0.1s ease;
}

    .fc-daygrid-day-frame:hover {
        transform: scale(1.02);
        background-color: #fff3f6;
    }


/* FOOTER */
footer {
    text-align: center;
    padding: 1rem;
    background: rgb(255, 220, 207);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: auto;
}
    footer p {
        color: black;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .services-section h2 {
        text-align: center;
    }

    .category li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

        .category li span {
            align-self: flex-end;
        }

    #main-container {
        background-color: rgb(248, 240, 242, 0.6);
        padding: 0 2em 0 2em;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    #nav {
        display: none;
    }

    /* COLLAPSIBLES (mobile) */
    .collapsible {
        cursor: pointer;
        position: relative;
        padding-right: 20px;
    }

        .collapsible::after {
            content: "▼";
            position: absolute;
            right: 0;
            font-size: 0.8em;
            transition: transform 0.3s ease;
        }

        .collapsible.active::after {
            transform: rotate(-180deg);
        }

    .collapsed-content {
        display: none;
        padding-left: 1rem;
    }

        .collapsed-content.show {
            display: block;
        }
}

@media (min-width: 768px) {
    .carousel-track img {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 767px) {
    .carousel-track img {
        width: 100%;
    }
}

.admin-table{
    background-color:white;
    color: black;
}

.admin-table .input-text, .input-number, .input-select{
    color:black !important;
}

.inline-form .input-select{
    color: white !important;
}

.admin-label {
    color: white;
    text-align: left;
    width: 100%;
    padding-left: 5px;
}

.admin-form-title {
    color: #ffb2c6;
    text-align: left;
    width: 100%;
    padding-left: 5px;
    font-weight:bold;
    margin: 10px 0 5px 0;
}

input[type="checkbox"]:checked {
    accent-color: #f779ad !important;
}

/*TABS*/

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background: #c06c84;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

    .tab-btn.active {
        background: #c74a6d;
        color: white;
    }
    .tab-btn:hover {
        background-color: #b05b73;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

    #day-details h3{
        color:black;
    }


/* TABS MOBILE */
@media (max-width: 768px) {

    .tabs-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

#admin-day-details h3 {
    color: black;
}