/* Variables */
:root {
    --background: #fefcf6;
    --accent: #8b4be0;
    --additional: #f45c96;
    --text: #1d1c1c;
    --shadow: rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
    --header-height: 80px; /* Nouvelle variable pour la hauteur du header */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--additional);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Section Styling */
section {
    padding: 4rem 0;
}

/* Add padding-top to sections with IDs to prevent header overlap */
section[id] {
    padding-top: calc(var(--header-height) + 2rem);
    margin-top: calc(-1 * var(--header-height));
}

/* Pages other than home */
.policy {
    padding-top: calc(var(--header-height) + 4rem);
}

.thank-you {
    padding-top: var(--header-height);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--additional));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 75, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 75, 224, 0.4);
    color: white;
}

/* Header */
header {
    background-color: rgba(254, 252, 246, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 100%;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.domain-text {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--additional));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    height: 100%;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, var(--accent), var(--additional));
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(254, 252, 246, 0.8), rgba(254, 252, 246, 0.8)), url('./img/LjgQLO.jpg') no-repeat center/cover;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--additional));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--accent);
}

.service-card h3 {
    color: var(--accent);
}

.price {
    font-weight: bold;
    color: var(--additional);
    margin-top: 1rem;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, rgba(139, 75, 224, 0.05), rgba(244, 92, 150, 0.05));
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
    border-radius: var(--radius);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Why Us Section */
.why-us-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.why-us-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.why-us-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.why-us-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.why-us-image:hover img {
    transform: scale(1.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.advantage-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.advantage-card:hover .advantage-image img {
    transform: scale(1.05);
}

.icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f7ff;
    padding: 6rem 0;
}

.testimonial-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 3rem auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.testimonial-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--additional));
}

.quote {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.client {
    font-weight: bold;
    margin-top: 1rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, var(--accent), var(--additional));
    padding: 2.5rem;
    border-radius: var(--radius);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 75, 224, 0.2);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: white;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-form {
    flex: 2;
    min-width: 350px;
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: linear-gradient(135deg, var(--accent), var(--additional));
    border-radius: calc(var(--radius) + 10px);
    z-index: -1;
    opacity: 0.1;
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--accent);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 75, 224, 0.2);
    background-color: white;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

/* Form errors */
.form-errors {
    background-color: #fff8f8;
    border-left: 4px solid #ff3333;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-message {
    color: #cc0000;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--accent), var(--additional));
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    flex: 2;
}

.domain-text-white {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cookie {
    background: linear-gradient(135deg, var(--accent), var(--additional));
    color: white;
    padding: 8px 20px;
}

.cookie-link {
    color: var(--text);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0 50px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .why-us-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-image {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(254, 252, 246, 0.97);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    nav ul.active {
        transform: translateY(0);
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial-image {
        max-width: 100%;
    }
    
    .why-us-images {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-image {
        height: 180px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info, 
    .contact-form {
        min-width: 100%;
    }
} 