/* ================================== */
/* JP-Informatique - Styles Complets */
/* ================================== */

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    scroll-behavior: smooth;
}

/* ==================== HEADER ==================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);    
    top: 0;
    z-index: 1000;
}

.header-center {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.header-center h1 {
    margin: 0;
    font-size: 2.2em;
    color: #333;
    font-weight: 600;
}

.header-center p {
    margin: 5px 0 0 0;
    font-size: 1.1em;
    color: #666;
    font-style: italic;
}

.logo-link {
    display: block;
}

.header-logo {
    max-height: 120px; 
    border: solid #e0b854 3px;
    border-radius: 15px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.logo-link:hover .header-logo {
    transform: scale(1.05) rotate(2deg);
    border-color: #d9a73b;
}

.header-info {
    text-align: right;
    color: #333333;
}

.header-info p {
    margin: 0;
    font-size: 1.1em;
    color: #666;
    font-weight: 500;
}

.header-info .header-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background: linear-gradient(135deg, #f4cc70 0%, #e0b854 100%);
    color: #333333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(224, 184, 84, 0.3);
}

.header-info .header-btn:hover {
    background: linear-gradient(135deg, #d9a73b 0%, #c09020 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 184, 84, 0.4);
    color: #333333;
}

/* ==================== NAVIGATION ==================== */
nav {
    display: flex;
    background: linear-gradient(135deg, #333333 0%, #2c2c2c 100%);
    padding: 15px;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav a {
    color: #f4f4f4;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1em;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

nav a:hover {
    color: #f4cc70;
    background: rgba(244, 204, 112, 0.1);
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, #333333 0%, #2c2c2c 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f4cc70;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #f4cc70 0%, #e0b854 100%);
    color: #333333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(244, 204, 112, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 204, 112, 0.4);
    color: #333333;
}

/* ==================== CONTAINERS ==================== */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0b854;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    color: #333333;
    backdrop-filter: blur(10px);
}

/* ==================== SERVICES ==================== */
.service-header {    
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333333;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 50px;
}

.service-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 2rem;
    border: 2px solid #e0b854;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 204, 112, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(224, 184, 84, 0.3);
    border-color: #d9a73b;
    text-decoration: none;
    color: inherit;
}

.service-item h3 {
    color: #333333;
    margin: 1rem 0 0.5rem;
    font-size: 1.4em;
    font-weight: 600;
}

.service-item p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
}

.service-icon {
    color: #e0b854;
    font-size: 3em;
    display: block;
    margin: 0 auto 1rem auto;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    color: #d9a73b;
}

.service-location {
    font-size: 1.3em;
    color: #666;
    text-align: center;
    margin: 30px 0;
    font-weight: 500;
    padding: 15px;
    background: rgba(244, 204, 112, 0.1);
    border-radius: 10px;
    border-left: 4px solid #e0b854;
}

/* ==================== SERVICE DETAILS (Pages spécifiques) ==================== */
.service-details {
    margin-top: 40px;
}

.service-details h3 {
    color: #333;
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 15px;
    border-left: 4px solid #e0b854;
    background: rgba(244, 204, 112, 0.05);
    border-radius: 5px;
}

.service-details p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.back-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #f4cc70 0%, #e0b854 100%);
    color: #333333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(244, 204, 112, 0.3);
    transition: all 0.3s ease;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.back-btn:hover {
    background: linear-gradient(135deg, #d9a73b 0%, #c09020 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 184, 84, 0.4);
    color: #333333;
}

/* ==================== FORMULAIRES ==================== */
.form-label {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #ddd;
    padding: 12px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.form-control:focus {
    border-color: #e0b854;
    box-shadow: 0 0 10px rgba(224, 184, 84, 0.3);
    transform: translateY(-2px);
    outline: none;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* ==================== BOUTONS ==================== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #f4cc70 0%, #e0b854 100%);
    color: #333333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(244, 204, 112, 0.3);
    transition: all 0.3s ease;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #d9a73b 0%, #c09020 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 184, 84, 0.4);
    color: #333333;
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, #333333 0%, #2c2c2c 100%);
    color: #f4f4f4;
    text-align: center;
    padding: 30px;
    border-top: 3px solid #f4cc70;
    font-size: 1em;
    letter-spacing: 0.5px;
    margin-top: 50px;
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f4cc70 0%, #e0b854 100%);
    color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    box-shadow: 0 4px 15px rgba(224, 184, 84, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(224, 184, 84, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

/* Effet smooth scroll */
html {
  scroll-behavior: smooth;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item, .container {
    animation: fadeInUp 0.6s ease forwards;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .container {
        max-width: 90%;
        padding: 30px;
        margin: 20px auto;
    }

    nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    nav a {
        margin: 5px 0;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-header {
        font-size: 2rem;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }
    
    .header-info {
        text-align: center;
    }

    .header-center h1 {
        font-size: 1.8em;
    }

    .header-center p {
        font-size: 1em;
    }
}

/* ==================== UTILITIES ==================== */
ul.no-bullets {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.no-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;

}
