/* Styles pour le cocon sémantique - Salon de massage à Bordeaux */

/* Import de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* Variables CSS */
:root {
    --color-menu-bg: #5F9EB0;
    --color-menu-text: #F5F5F5;
    --color-menu-hover: #FFFFFF;
    --color-footer-bg: #2F4045;
    --color-footer-text: #F5F5F5;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    padding-top: 80px; /* Pour compenser le header fixe */
}

/* Header et Navigation */
.navbar {
    background-color: var(--color-menu-bg) !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: var(--color-menu-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-menu-hover) !important;
}

/* Image header */
.header-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 2rem;
}

/* Typographie */
h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2F4045;
}

h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2F4045;
}

h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2F4045;
}

/* Contenu principal */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
}

/* Images dans le contenu */
.content-image {
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Listes */
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    background-color: var(--color-menu-bg);
    color: var(--color-menu-text);
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f5f5f5;
}

/* Liens */
a {
    color: var(--color-menu-bg);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2F4045;
    text-decoration: underline;
}

/* Section de liens */
.links-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.links-section h3 {
    margin-top: 0;
}

.links-section ul {
    list-style: none;
    margin-left: 0;
}

.links-section li {
    margin-bottom: 0.75rem;
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-footer-text);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-menu-hover);
    text-decoration: underline;
}

.footer-text {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .content-image {
        max-width: 100%;
        height: auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 8px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem !important;
        font-size: 0.9rem;
    }
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

