/* Couleurs */
:root {
    --dark-purple: rgb(89, 27, 68);
    --light-pink: rgb(252, 239, 239);
    --peach: rgb(249, 169, 143);
    --light-blue: rgb(212, 240, 253);
    --mint-green: rgb(191, 226, 202);
    --black: #000;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

/* Styles généraux */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: var(--light-pink);
    color: var(--dark-purple);
    line-height: 1.6;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Header styles */
.intro {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

header {
    height: 100vh;
    background: url('images/1000019035.jpg') no-repeat center center/cover;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

header h1 {
    color: var(--white);
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1rem;
}

header h2 {
    color: var(--white);
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    padding: 0 1rem;
}

header p {
    color: var(--light-pink);
    font-size: clamp(1rem, 3vw, 1.5rem);
}

/* Buttons */
.btn {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--peach);
    color: var(--black);
    transform: translateY(-2px);
}

/* Section prestations */
.parallax {
    position: relative;
    padding: 80px 1rem 100px 1rem;
    color: var(--black);
    overflow: hidden;
}

.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/mariage/Maquillage/1000016101.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    filter: blur(10px);
    z-index: -1;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service {
    background-color: var(--mint-green);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.service:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service h3 {
    color: var(--dark-purple);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
}

.service p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin: 0;
}

/* Gallery carousel styles */
#gal {
    padding: 60px 1rem;
}

.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
    width: 100%;
}

.gallery-images img {
    width: 100%;
    max-width: 600px;
    height: auto;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    border-radius: 5px;
    object-fit: cover;
}

.gallery-images img.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-images img.inactive {
    opacity: 0.6;
    transform: scale(0.8);
}

.carousel-link {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    color: var(--dark-purple);
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

button.prev, button.next {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    font-size: clamp(1.5rem, 4vw, 2rem);
    padding: 0.8rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 5px;
    transition: all 0.3s ease;
}

button.prev:hover, button.next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

/* Glass card effects */
.glass-card {
    background: rgba(254, 152, 237, 0.38);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(254, 152, 237, 0.32);
}

/* Section About */
.about-preview {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--light-pink) 0%, rgba(249, 169, 143, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(89, 27, 68, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
    z-index: 1;
}

.about-hero-section {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image-container {
    position: relative;
    perspective: 1000px;
    justify-self: center;
}

.about-main-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(89, 27, 68, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
    transform: translateZ(0);
}

.about-main-image:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 60px rgba(89, 27, 68, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.image-overlay {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(45deg, var(--dark-purple), var(--peach));
    border-radius: 15px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.image-overlay:hover {
    transform: rotate(0deg) scale(1.05);
}

.overlay-text {
    color: white;
    font-weight: bold;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.about-text-content {
    text-align: center;
}

.about-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Jua', sans-serif;
}

.title-accent {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--dark-purple);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.title-name {
    background: linear-gradient(45deg, var(--dark-purple), var(--peach));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: bold;
    display: block;
}

.about-description {
    margin-bottom: 2.5rem;
    text-align: left;
}

.intro-text {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #333;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border-left: 4px solid var(--dark-purple);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.highlight-icon {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--dark-purple), var(--peach));
    color: white;
    box-shadow: 0 5px 15px rgba(89, 27, 68, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(89, 27, 68, 0.4);
}

.cta-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translate(3px, -3px);
}

/* Form styles */
@import url(https://fonts.googleapis.com/css?family=Dancing+Script:400,700);

h1, p {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-family: 'Dancing Script';
}

input, button {
    line-height: 1.5rem;
    border: 0;
    outline: none;
    font-family: inherit;
    appearance: none;
}

textarea, input {
    color: black;
    background-color: transparent;
    border: 1px solid rgba(89, 27, 68, 0.2);
    box-shadow: 0 0 0.5rem rgba(89, 27, 68, 0.8);
    padding: 0.8rem;
    border-radius: 0.25rem;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    height: 8rem;
    resize: vertical;
    min-height: 6rem;
}

button {
    padding: 0.8rem 1.5rem;
    border-radius: 0.25rem;
    background-color: rgba(78, 94, 114, 0.9);
    color: white;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: background-color 0.2s;
    cursor: pointer;
}

button:hover, button:focus {
    outline: none;
    background-color: rgba(78, 94, 114, 1);
}

.form {
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--dark-purple);
    border-radius: 10px;
    box-shadow: 0 0 1rem rgba(199, 89, 162, 0.8);
    padding: 2rem;
    box-sizing: border-box;
}

.form-label {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 0.5rem;
}

.label-bold {
    font-weight: bold;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    border: .15rem solid var(--dark-purple);
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-text input {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 1rem;
}

.form-evenement {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 1rem;
}

.form-evenement > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-submit {
    text-align: center;
}

.form-submit .btn {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    padding: 1rem 2rem;
    background-color: var(--dark-purple);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
    min-width: 200px;
}

.title-text {
    font-size: clamp(2rem, 5vw, 2.7rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.cadre {
    border: .3rem solid rgba(89, 27, 68, 0.8);
    border-radius: .3rem;
    padding: 1rem;
    margin: 1rem 0;
}

.contact-css {
    font-size: clamp(2rem, 5vw, 2.7rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: clamp(0.2rem, 1vw, 0.8rem);
}

.letterspacing {
    letter-spacing: clamp(0.2rem, 1vw, 0.8rem);
}

/* Select box styling */
.box {
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
}

.box select {
    background-color: var(--dark-purple);
    color: white;
    padding: 12px;
    width: 100%;
    max-width: 300px;
    border: none;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    -webkit-appearance: button;
    appearance: button;
    outline: none;
    border-radius: 5px;
}

.box::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    text-align: center;
    font-size: 28px;
    line-height: 45px;
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.box:hover::before {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.2);
}

.box select option {
    padding: 30px;
}

/* Checkbox styles */
input[type="checkbox"] {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
    appearance: none;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid var(--dark-purple);
    border-radius: 3px;
    transition: background-color 0.3s, border-color 0.3s;
    flex-shrink: 0;
}

input[type="checkbox"]:checked {
    accent-color: var(--dark-purple);
    background-color: var(--dark-purple);
}

/* Footer */
footer {
    background-color: var(--dark-purple);
    color: var(--white);
    text-align: center;
    padding: 30px 1rem;
    margin-top: 5%;
    position: relative;
}

footer a {
    color: var(--light-pink);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    color: var(--light-blue);
}

.social a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.social img {
    width: 25px;
    height: 25px;
}

.carte {
    position: relative;
    width: 90%;
    max-width: 300px;
    margin: 20px auto;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carte img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(89, 27, 68, 0.6);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
    text-align: center;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.carte:hover .overlay {
    opacity: 1;
}

.icon {
    width: 25px;
    height: 25px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes (768px et plus) */
@media screen and (min-width: 768px) {
    .about-content-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
    }
    
    .about-text-content {
        text-align: left;
    }
    
    .cta-container {
        justify-content: flex-start;
    }
    
    .form {
        width: 70%;
        padding: 3rem;
    }
    
    .form-text input {
        width: 48%;
    }
    
    .form-evenement {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    
    .gallery-images img {
        max-width: 500px;
    }
    
    .gallery-images img.active {
        transform: scale(1.1);
    }
}

/* Écrans larges (1024px et plus) */
@media screen and (min-width: 1024px) {
    .parallax::before {
        background-attachment: fixed;
    }
    
    .services {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .form {
        width: 50%;
    }
    
    .form-evenement {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-images img {
        max-width: 600px;
    }
    
    .gallery-images img.active {
        transform: scale(1.2);
    }
    
    button.prev, button.next {
        font-size: 2rem;
        padding: 1rem;
    }
}

/* Écrans très larges (1200px et plus) */
@media screen and (min-width: 1200px) {
    .services {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        max-width: 1400px;
    }
    
    .about-preview {
        padding: 5rem 2rem;
    }
}

/* Petits écrans (max 480px) */
@media screen and (max-width: 480px) {
    .intro {
        padding: 0 0.5rem;
    }
    
    .parallax {
        padding: 60px 0.5rem 80px 0.5rem;
    }
    
    .services {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 0.5rem;
    }
    
    .service {
        padding: 15px;
        min-height: 120px;
    }
    
    .form {
        width: 95%;
        padding: 1.5rem;
    }
    
    .form-evenement {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-evenement > div {
        padding: 10px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 5px;
    }
    
    button.prev, button.next {
        font-size: 1.2rem;
        padding: 0.6rem;
    }
    
    button.prev {
        left: 5px;
    }
    
    button.next {
        right: 5px;
    }
    
    .highlights {
        gap: 0.8rem;
    }
    
    .highlight-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .image-overlay {
        bottom: -10px;
        right: -10px;
        padding: 0.8rem 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
}

/* Très petits écrans (max 320px) */
@media screen and (max-width: 320px) {
    .service {
        min-height: 100px;
        padding: 12px;
    }
    
    .form {
        padding: 1rem;
    }
    
    .about-main-image {
        max-width: 280px;
    }
}