/* ====================================
   CUSTOM STYLES POUR POPAUL77.ORG
   ==================================== */

/* --- Layout responsive et largeur adaptative --- */
.container {
    max-width: 1200px;  /* Plus large sur grands écrans */
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Sur très grands écrans */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}

/* Sur tablettes */
@media (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
}

/* Sur smartphones */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
}

/* --- Typographie et couleurs --- */
h1, h2, h3, p, li {
    color: #333333;
}

h1 {
    color: #0056b3;
    text-align: center;
    font-size: 2.2em;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }
}

.subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .subtitle {
        font-size: 1em;
    }
}

/* --- Sections --- */
.section {
    margin: 30px 0;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .section {
        padding: 20px 15px;
        margin: 20px 0;
    }
}

.section h2 {
    color: #0056b3;
    margin-top: 0;
    font-size: 1.8em;
}

@media (max-width: 768px) {
    .section h2 {
        font-size: 1.5em;
    }
}

.section p, .section ul, .section li {
    color: #333333;
    line-height: 1.6;
}

/* --- Logos Linux --- */
.linux-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.linux-logos img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.linux-logos img:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .linux-logos img {
        width: 50px;
        height: 50px;
    }
}

/* --- Timeline et quote --- */
.timeline {
    font-size: 0.95em;
    color: #444444;
    font-style: italic;
}

.quote {
    border-left: 4px solid #007bff;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #444444;
    background-color: #f0f8ff;
    border-radius: 4px;
}

/* --- Section voiture --- */
.car-section {
    text-align: center;
    margin: 30px 0;
}

.car-description {
    color: #555555;
}

.car-instruction {
    font-size: 0.95em;
    margin-bottom: 15px;
    color: #555555;
}

.voiture {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
}

.voiture:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .voiture {
        max-width: 100%;
    }
}

/* --- Images responsive --- */
.responsive-image {
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .responsive-image {
        max-width: 100%;
    }
}

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

/* --- Bloc Wiki --- */
.wiki-block {
    text-align: center;
    margin: 30px 0;
    padding: 30px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .wiki-block {
        padding: 25px 20px;
    }
}

.wiki-block a {
    font-size: 1.3em;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .wiki-block a {
        font-size: 1.1em;
        flex-direction: column;
    }
}

.wiki-block a:hover {
    text-decoration: underline;
}

.wiki-block p {
    color: #ffffff;
    margin-top: 10px;
    font-size: 1em;
}

@media (max-width: 768px) {
    .wiki-block p {
        font-size: 0.9em;
    }
}

.wiki-icon {
    filter: brightness(0) invert(1);
}

/* --- Highlight link (Windows) --- */
.highlight-link {
    padding: 15px 20px;
    background-color: #e3f2fd;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-weight: bold;
    color: #0056b3;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
    margin: 15px 0;
    max-width: 700px;
}

@media (max-width: 768px) {
    .highlight-link {
        padding: 12px 15px;
        font-size: 0.95em;
        max-width: 100%;
    }
}

.highlight-link:hover {
    background-color: #007bff;
    color: #fff;
}

/* --- Listes --- */
ul {
    line-height: 1.8;
}

ul li {
    margin-bottom: 10px;
}

/* --- Responsive pour le footer --- */
@media (max-width: 768px) {
    footer .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    footer .contact-info a {
        width: 100%;
        justify-content: center;
    }
}
