/* ===================================
   BASSIN DÉCO - STYLESHEET
   =================================== */

/* Variables de couleurs inspirées du logo */
:root {
    --color-magenta: #C2185B;
    --color-orange: #FF9800;
    --color-turquoise: #17A2B8;
    --color-navy: #1E3A5F;
    --color-gold: #C5A572;
    --color-white: #FFFFFF;
    --color-light-bg: #F8F9FA;
    --color-dark-bg: #2C3E50;
    --color-text: #333333;
    --color-text-light: #666666;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
}

.nav-link {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-magenta), var(--color-orange));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-magenta);
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-turquoise) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    z-index: 1;
    padding: 40px 20px;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, var(--color-white), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--color-magenta), var(--color-orange));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===================================
   SECTIONS
   =================================== */
.section-light,
.section-dark,
.section-contact {
    padding: 80px 0;
}

.section-light {
    background: var(--color-light-bg);
}

.section-dark {
    background: var(--color-dark-bg);
    color: var(--color-white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-magenta), var(--color-orange), var(--color-turquoise));
    border-radius: 2px;
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text strong {
    color: var(--color-orange);
    font-weight: 600;
    text-transform: uppercase;
}

.content-text em {
    color: var(--color-turquoise);
    font-style: italic;
}

/* ===================================
   CHRISTOPHE SECTION
   =================================== */
.christophe-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.christophe-photo {
    text-align:center;
    
}

.christophe-photo img {
    width: 60%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--color-gold);
    margin: auto;
}

.christophe-text {
    font-size: 1.1rem;  /*  1.05 => 1.1*/
}

.christophe-text p {
    margin-bottom: 15px;
}

.christophe-text .intro {
    font-size: 1.1rem;     /* 1.2 => 1.1 */
    font-weight: 500;
    color: var(--color-gold);
}

.christophe-text .highlight {
    font-size: 1.1rem;			/*1.3 => 1.1*/
    font-weight: 700;
    color: var(--color-orange);
    text-align: center;
    padding: 20px;
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid var(--color-orange);
    margin: 20px 0;
}

.expertise-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 2px solid var(--color-turquoise);
}

.expertise-list {
    list-style: none;
    margin-bottom: 20px;
}

.expertise-list li {
    font-size: 1.1rem;			/* 1.1 => 1.1 */
    margin-bottom: 10px;
    color: var(--color-turquoise);
}

.cta-text {
    font-size: 1.1em;			/*1.3 => 1.1*/
    font-weight: 700;
    text-align: center;
    color: var(--color-gold);
    margin: 0;
}

/* ===================================
   GALLERY / SLIDESHOW
   =================================== */
.gallery-section {
    margin-bottom: 60px;
}

.gallery-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-navy);
}

.gallery-subtitle{
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-orange);
}

.slideshow {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.prev:hover,
.next:hover {
    background: rgba(194, 24, 91, 0.8);
}

.prev {
    left: 10px;
    border-radius: 0 5px 5px 0;
}

.next {
    right: 10px;
    border-radius: 5px 0 0 5px;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.section-contact {
    background: linear-gradient(135deg, var(--color-turquoise) 0%, var(--color-navy) 100%);
    color: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--color-gold);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-orange);
}

.phone,
.email,
.location,
.website {
    padding-left: 10px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--color-magenta), var(--color-orange));
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-dark-bg);
    color: var(--color-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.footer-section p,
.footer-section li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablettes */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .christophe-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .christophe-photo {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide img {
        height: 400px;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo {
        max-width: 280px;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-title {
        font-size: 1.5rem;
    }

    .slide img {
        height: 300px;
    }

    .prev,
    .next {
        padding: 10px 15px;
        font-size: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-light,
    .section-dark,
    .section-contact {
        padding: 50px 0;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .slide img {
        height: 250px;
    }
}
