:root {
    --primary-color: #e291a8;
    --secondary-color: #f9e8ed;
    --accent-color: #d46b85;
    --text-color: #333;
    --light-color: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px; /* Add padding to account for fixed header */
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('img/bg.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--light-color);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

.logo-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    background-color: #ddd;
    border-radius: 50%;
    overflow: hidden;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #c45571;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
}

/* Styles de base pour le contenu */
.content {
    padding: 60px 0;
}

.content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.content p {
    margin-bottom: 15px;
}

/* Global image styles */
img {
    border-radius: 10px;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
}

.hero.hero-with-bg {
    background: linear-gradient(rgba(249, 232, 237, 0.8), rgba(249, 232, 237, 0.8)), url('img/bgacc.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fullscreen sections for index page only */
.hero.hero-fullscreen {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.services.services-fullscreen {
    min-height: 60vh;
    display: block;
    padding: 40px 0;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* About Section */
.about {
    padding: 60px 0;
    /*background-color: var(--secondary-color);*/
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ddd;
    height: 300px;
}

.about-text {
    flex: 1;
}

/* Contact Section */
.contact {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    line-height: 2;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    background-color: #ddd;
    height: 300px;
}

/* Service Details Sections */
.service-detail {
    margin-bottom: 60px;
}

.service-detail h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-detail p {
    margin-bottom: 15px;
}

.service-detail ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/*TEST*/



.services {
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 1;
}

.background-wrapper {
    position: relative;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(249, 232, 237, 0.1) 0%, var(--secondary-color) 100%), url('/img/bgacc.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .service-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .contact-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    nav a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .hero {
        min-height: 90vh;
        padding: 40px 0;
    }
    
    .services {
        min-height: auto;
        padding: 40px 0 60px 0;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-button {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .services {
        padding: 30px 0 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .about,
    .contact {
        padding: 40px 0;
    }
    
    nav ul {
        gap: 8px;
    }
    
    nav a {
        font-size: 12px;
        padding: 6px 8px;
    }
}
