@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

body {
    font-family:"Playfair Display";
    margin:0;
    padding:0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: #fff;
    border-bottom: 1px solid #e5d5ca;
    box-shadow: 0 2px 10px rgba(229, 213, 202, 0.15);
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 1px;
}

.navbar-logo a {
    text-decoration: none;
    color: #faa0d5;
}

.navbar-menu {
    display: flex;
    list-style: none;
    padding: 0;
}

.navbar-menu li {
    margin-left: 2.5rem;
}

.navbar-menu a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-menu a:hover {
    color: #c0d6da;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #c0d6da;
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 100;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #c0d6da;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        margin-top: 0;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-menu li {
        margin: 1.5rem 0;
    }

    .navbar-menu a {
        font-size: 3rem;
        color:#FFF;
    }

    .navbar-menu a:hover {
        color: #faa0d5;
    }

    .navbar-toggle {
        display: block;
        top: 1rem;
        right: 1rem;
        z-index: 1000;
        cursor: pointer;
    }

    .navbar-toggle .bar {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px auto;
        background-color: #faa0d5;
        transition: all 0.3s ease-in-out;
    }

    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Hero */

.hero {
    background: url("./images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    width: 70%;
    margin: 40px auto 0 auto;
    height: 60vh;
}

.hero2 {
    height:30vh;
}

.hero-content {
    padding-left: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 60%;
    height: 100%;
}

.hero-content h1 {
    color: #f8d3e1;
    font-size: 3.5rem;
    margin: 0;
}

.hero-content p {
    font-size: 2rem;
    margin: 10px 0 0 0;
    color: #7a0047;
}

@media screen and (max-width: 1024px) {
    .hero {
        width: 85%;
    }

    .hero-content {
        width: 70%;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        width: 90%;
        height: 50vh;
    }

    .hero2 {
        height:20vh;
    }

    .hero-content {
        width: 80%;
        padding-left: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        width: 100%;
        margin: 20px auto 0 auto;
        height: 40vh;
    }

    .hero-content {
        width: 90%;
        padding-left: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Socials */

.socials {
    display: flex;
    gap: 20px;
    margin-top:30px;
}

.socials a {
    color: #fff; /* Icônes blanches */
    font-size: 24px;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #f8d3e1; /* Rose pastel au survol */
}

/* Presentation */

.image-overlay-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 80px auto 120px auto;
}

.image-container {
    width: 70%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.overlay-content {
    position: absolute;
    top: 120%;
    right: 0;
    transform: translateY(-50%);
    width: 70%;
    background:#f8d3e1;
    padding: 60px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.overlay-content h2 {
    font-size: 2rem;
    color: #7a0047;
    margin-bottom: 15px;
    text-align: center;
}

.overlay-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height:28px;
}

.cta-button {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 40px;
    background-color: #7a0047;
    color: white;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #a03875;
}

@media screen and (max-width: 768px) {
    .image-container {
        width: 100%;
    }
    
    .overlay-content {
        position: relative;
        width: 100%;
        transform: none;
        top: auto;
        right: auto;
        margin-top: -50px;
    }
    
    .cta-button {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .image-overlay-container {
        max-width: 90%;
    }
    
    .overlay-content {
        padding: 40px;
    }
}

@media screen and (max-width: 992px) {
    .image-container {
        width: 80%;
    }
    
    .overlay-content {
        width: 50%;
        top: 70%;
    }
    
    .overlay-content h2 {
        font-size: 1.8rem;
    }
    
    .overlay-content p {
        font-size: 0.9rem;
        margin-bottom: 40px;
        padding:0 20px;
    }
}

@media screen and (max-width: 768px) {
    .image-overlay-container {
        margin: 60px auto 80px auto;
    }
    
    .image-container {
        width: 100%;
    }
    
    .overlay-content {
        position: relative;
        width: 100%;
        transform: none;
        top: auto;
        right: auto;
        margin-top: -50px;
        padding: 0;
    }
    
    .overlay-content h2 {
        font-size: 1.6rem;
    }
    
    .overlay-content p {
        margin-bottom: 30px;
    }
    
    .cta-button {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        padding: 12px 30px;
    }
}

@media screen and (max-width: 576px) {
    .image-overlay-container {
        margin: 40px auto 60px auto;
    }
    
    .overlay-content {
        padding: 10px 0;
        margin-top: -30px;
    }
    
    .overlay-content h2 {
        font-size: 1.4rem;
        padding:40px 0 20px 0;
    }
    
    .overlay-content p {
        font-size: 0.85rem;
        line-height: 24px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Footer */

.footer {
    background-color: #fff;
    color: #333;
    padding: 40px 0;
    border-top: 1px solid #e8d4d0;
    box-shadow: 0 -2px 10px rgba(232, 212, 208, 0.1);
}

.footer2 {
    margin-top: 30px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.footer-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-nav li {
    margin-right: 30px;
}

.footer-nav a {
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.footer-nav a:hover {
    color: #c0d6da;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #c0d6da;
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.8rem;
    color: #e5d5ca;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        margin-bottom: 20px;
    }

    .footer-nav ul {
        justify-content: center;
    }

    .footer-nav li {
        margin: 0 15px;
    }

    .footer2 {
        margin-top:0;
    }
}

/* Galerie */

.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    color: #333;
    letter-spacing: 0.5px;
}

.gallery-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    position: relative;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(229, 213, 202, 0.15);
}

.gallery-description-line {
    width: 60px;
    height: 1px;
    background-color: #e8d4d0;
    margin: 0 auto 1.5rem;
}

.gallery-description p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(192, 214, 218, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f5f5f5;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(192, 214, 218, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2.5rem;
}

.pagination-info {
    margin-bottom: 1rem;
    text-align: center;
}

.pagination-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#page-info {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(229, 213, 202, 0.15);
}

.page-btn {
    background-color: #e5d5ca;
    border: none;
    color: #333;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(229, 213, 202, 0.2);
}

.page-btn i {
    font-size: 0.8rem;
}

.page-btn:hover {
    background-color: #c0d6da;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 214, 218, 0.3);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-btn i.fa-chevron-left {
    margin-right: 8px;
}

.page-btn i.fa-chevron-right {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 2rem 1.5rem;
    }
    
    .gallery-description {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .gallery-container {
        gap: 1rem;
    }
    
    .page-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-section h2 {
        font-size: 1.8rem;
    }
    
    .gallery-description {
        padding: 1.2rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .pagination {
        margin-top: 2rem;
    }
    
    .pagination-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .page-btn {
        padding: 0.5rem 1rem;
        min-width: 120px;
        justify-content: center;
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: #e5d5ca;
    transform: scale(1.1);
}

/* Ajout d'une animation pour la lightbox */
@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox {
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxImageZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox img {
    animation: lightboxImageZoom 0.4s ease;
}

/* Contact */

.contact-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    letter-spacing: 1px;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 1px;
    background-color: #c0d6da;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-email-container {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(229, 213, 202, 0.15);
    border: 1px solid #f5f5f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-email-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 213, 202, 0.25);
}

.contact-email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #e5d5ca;
    border-radius: 50%;
    margin-right: 1.5rem;
    color: #fff;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.contact-email-container:hover .contact-email-icon {
    background-color: #c0d6da;
}

.contact-email-content {
    flex: 1;
}

.contact-email-content h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-email-link {
    color: #c0d6da;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #e8d4d0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.contact-email-link:hover {
    color: #e5d5ca;
}

.contact-email-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.contact-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(229, 213, 202, 0.2);
    overflow: hidden;
    border: 1px solid #f5f5f5;
}

.contact-form {
    padding: 2.5rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: #333;
    border: none;
    border-bottom: 1px solid #e8d4d0;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
}

.form-group label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease all;
    letter-spacing: 0.5px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 2px solid #c0d6da;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: #c0d6da;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #e5d5ca;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #c0d6da;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 214, 218, 0.3);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-email-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .contact-email-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Biographie */

.bio-container {
    display: flex;
    max-width: 1000px;
    margin: 80px auto 120px auto;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.bio-image-wrapper {
    flex: 0 0 auto;
    width: 35%;
    position: relative;
    margin-right: 40px;
    background-color: white;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: none;
}

.bio-image-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e5d5ca;
    top: 15px;
    left: 15px;
    z-index: -1;
    transform: rotate(-5deg);
}

.bio-portrait {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    position: relative;
    z-index: 1;
}

.bio-content-wrapper {
    flex: 1;
    padding: 0;
    position: relative;
}

.bio-paragraph {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.bio-paragraph.small-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Media Queries pour Bio */
@media screen and (max-width: 992px) {
    .bio-container {
        max-width: 90%;
    }
    
    .bio-image-wrapper {
        margin-right: 30px;
    }
}

@media screen and (max-width: 768px) {
    .bio-container {
        flex-direction: column;
        align-items: center;
        margin: 60px auto 80px auto;
    }
    
    .bio-image-wrapper {
        width: 70%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .bio-image-background {
        top: 10px;
        left: 10px;
    }
    
    .bio-content-wrapper {
        width: 100%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 576px) {
    .bio-container {
        margin: 40px auto 60px auto;
    }
    
    .bio-image-wrapper {
        width: 80%;
    }
    
    .bio-paragraph {
        font-size: 0.9rem;
    }
    
    .bio-paragraph.small-text {
        font-size: 0.7rem;
    }
}

/* New Hero */
.hero-new {
    width: 100%;
    padding: 80px 0 40px 0;
    text-align: center;
    background-color: #fff;
}

.hero-new-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-new-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-new-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.hero-new-line {
    width: 1px;
    height: 60px;
    background-color: #c0d6da;
    margin-top: 10px;
}

/* Styles spécifiques pour le hero de la page contact */
.hero-new.contact .hero-new-subtitle {
    color: #e5d5ca;
    font-weight: 500;
}

.hero-new.contact .hero-new-title {
    font-size: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-new.contact .hero-new-line {
    background: linear-gradient(to bottom, #e5d5ca, #c0d6da);
}

/* Styles spécifiques pour le hero de la page galerie */
.hero-new.galerie .hero-new-subtitle {
    color: #c0d6da;
    font-weight: 500;
}

.hero-new.galerie .hero-new-title {
    font-size: 2.6rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-new.galerie .hero-new-line {
    background: linear-gradient(to bottom, #c0d6da, #e8d4d0);
    height: 70px;
}

@media screen and (max-width: 768px) {
    .hero-new {
        padding: 60px 0 30px 0;
    }
    
    .hero-new-title {
        font-size: 2.2rem;
    }
    
    .hero-new-line {
        height: 40px;
    }
    
    .hero-new.galerie .hero-new-line {
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .hero-new {
        padding: 40px 0 20px 0;
    }
    
    .hero-new-subtitle {
        font-size: 0.7rem;
    }
    
    .hero-new-title {
        font-size: 1.8rem;
    }
    
    .hero-new-line {
        height: 30px;
    }
    
    .hero-new.galerie .hero-new-line {
        height: 40px;
    }
}
  