@import url('color.css');

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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--strongText);
    background: linear-gradient(135deg, var(--bgStart) 0%, var(--bgEnd) 100%);
}

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

header {
    background: linear-gradient(135deg, var(--bgStartHard) 0%, var(--bgEndHard) 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-content {
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
}

nav {
    background: rgba(255,255,255,0.1);
    padding: 1rem 0;
    margin-top: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,248,255,0.9) 100%);
    padding: 4rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--bgEndHard);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--lightText);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--bgStartHard) 0%, var(--bgEndHard) 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(196, 149, 114, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(196, 149, 114, 0.4);
}

.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--bgEndHard);
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--bgStartHard) 0%, var(--bgEndHard) 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--bgStartHard);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--bgEndHard);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.tarifs {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tarif-category {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tarif-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--bgStartHard);
}

.tarif-category h3 {
    color: var(--bgEndHard);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.age-range {
    font-size: 0.9rem;
    color: #888;
    font-weight: normal;
}

.tarif-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tarif-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.3s ease;
}

.tarif-item:hover {
    background-color: #faf8f5;
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.tarif-item:last-child {
    border-bottom: none;
}

.service-name {
    flex: 1;
    font-weight: 500;
    color: var(--strongText);
    line-height: 1.4;
}

.service-name small {
    display: block;
    font-size: 0.85rem;
    color: var(--lightText);
    font-weight: normal;
    margin-top: 0.3rem;
}

.price {
    font-weight: bold;
    color: var(--bgEndHard);
    font-size: 1.1rem;
    margin-left: 1rem;
    white-space: nowrap;
}

.about {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
    font-size: 8rem;
    color: var(--bgStartHard);
    opacity: 0.7;
}

.contact {
    background: linear-gradient(135deg, var(--bgStartHard) 0%, var(--bgEndHard) 100%);
    color: white;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    color: white;
}

section#contact h2::after {
    background: linear-gradient(135deg, var(--bgStart) 0%, var(--bgEnd) 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

footer {
    background: var(--strongText);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
    }
    
    .tarif-category {
        padding: 1.5rem;
    }
    
    .tarif-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price {
        margin-left: 0;
        font-size: 1.2rem;
    }
}