:root {
    --primary-color: #DDB2A1;
    --secondary-color: #FFF6E1;
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #c99b8a;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: transform 0.3s ease-in-out;
}

header.hide {
    transform: translateY(-100%);
}

header.show {
    transform: translateY(0);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.menu a:hover, .menu a.active {
    color: var(--primary-color);
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.menu a:hover::after, .menu a.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 16px var(--shadow);
    border-radius: 5px;
    z-index: 1001;
    padding: 10px 0;
    margin-top: 5px;
}

.dropdown-content li {
    margin: 0;
    list-style: none;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    border-bottom: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown-content a::after {
    display: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop-specific hero image positioning */
@media (min-width: 769px) {
    .hero-image img {
        object-position: center 20%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-location {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Desktop-only: keep hero text elements on single lines */
@media (min-width: 769px) {
    .hero-subtitle,
    .hero-location,
    .hero-description {
        white-space: nowrap;
    }
}

/* Presentation Section */
.presentation {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-text {
    flex: 2;
}

.profile-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo-container {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.services h2 {
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c99b8a;
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 40px 0 20px;
    color: var(--text-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 0 0 auto;
    margin-right: 30px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    border-radius: 15px;
    object-fit: cover;
}

.footer-info {
    flex: 1;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact, .footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: 10px !important;
    font-size: 0.8rem !important;
    color: #999 !important;
    opacity: 0.7;
}

.footer-credit a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-credit a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(221, 178, 161, 0.3);
}

.footer-credit a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Access Info Styles */
.access-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.access-item {
    flex: 1;
    min-width: 250px;
}

.access-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.access-item h4 i {
    margin-right: 10px;
}

.access-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Service Details Styles */
.service-details {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 8px;
}

.service-details h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.service-details p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Event List Styles */
.event-list {
    margin-top: 20px;
}

.event-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 8px;
}

.event-image {
    flex: 0 0 150px;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.event-details p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Tarifs List Styles */
.tarifs-list {
    margin-top: 20px;
}

.tarifs-list p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
    text-align: left;
}

.tarifs-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-content {
        flex-direction: column;
    }
    
    .profile-text {
        order: 2;
    }
    
    .profile-image {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px var(--shadow);
        padding: 20px 0;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .hero {
        margin-top: 80px;
        height: 300px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .hero-location {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    /* Mobile dropdown styles */
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: var(--secondary-color);
        margin: 10px 0;
        padding: 0;
        border-radius: 0;
        width: 100%;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 8px 20px;
        font-size: 0.85rem;
        border-left: 3px solid var(--primary-color);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-title {
        font-size: 0.85rem;
    }
    
    /* Responsive pour les nouveaux éléments */
    .content-with-image {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-with-image .image-container {
        order: -1;
    }
    
    .content-with-image .text-content {
        order: 1;
    }
    
    .section-image {
        width: 150px;
        height: 150px;
    }
    
    .pricing-item {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }
    
    .pricing-item .pricing-image {
        order: -1;
    }
    
    .pricing-item .pricing-content {
        order: 1;
    }
    
    .pricing-photo {
        width: 120px;
        height: 120px;
    }
    
    .price {
        font-size: 1.1rem;
    }
}

/* Page spécifiques */
/* Graphothérapie */
.page-content {
    margin-top: 120px;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.content-section {
    margin-bottom: 50px;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.content-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Content with image layout */
.content-with-image {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.text-content {
    flex: 2;
}

.image-container {
    flex: 1;
    text-align: center;
}

.section-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 10px;
    font-style: italic;
}

/* Pricing grid */
.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Toutes les images sont maintenant à gauche */

.pricing-content {
    flex: 2;
}

.pricing-image {
    flex: 1;
    text-align: center;
}

.pricing-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
}

.intervention-text {
    text-align: center;
    font-style: italic;
    color: var(--light-text);
    margin-top: 20px;
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
}

.testimonials-toggle {
    text-align: center;
    margin-bottom: 20px;
}

.testimonials-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.testimonials-btn:hover {
    background-color: #c99b8a;
}

.testimonials-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.testimonials-btn.active i {
    transform: rotate(90deg);
}

.testimonials-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.testimonials-content.active {
    max-height: 1000px;
}

.testimonial-card {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}



.testimonial-text {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.event-image-rectangle {
    width: 100%;
    text-align: center;
}

.event-rectangle-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.contact-info {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

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

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Événements & Ateliers */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-details {
    padding: 20px;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-card h3 {
    margin-bottom: 10px;
}

.event-card p {
    margin-bottom: 20px;
}

/* Modal pour agrandir les images */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: -40px;
    right: 10px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ccc;
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Event text size adjustments for desktop */
@media (min-width: 769px) {
    .event-list .event-item {
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .event-list .event-item:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px var(--shadow);
    }
    
    .event-list .event-item.expanded {
        font-size: 1rem;
        transform: scale(1.05);
        z-index: 10;
        position: relative;
    }
    
    .event-list h4 {
        font-size: 1.1rem;
    }
    
    .event-list .expanded h4 {
        font-size: 1.3rem;
    }
}

/* Media queries pour améliorer la responsivité des événements */
@media (max-width: 768px) {
    .event-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-rectangle-image {
        max-width: 100%;
        width: 100%;
    }
    
    .event-image-rectangle {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .event-list {
        gap: 15px;
        margin-top: 15px;
    }
    
    .event-item {
        padding: 15px;
    }
    
    .event-rectangle-image {
        border-radius: 8px;
    }
}
