/* Variables */
:root {
    --primary-color: #0C4E66;
    --primary-light: #1a7699;
    --primary-dark: #083545;
    --secondary-color: #D4A373;
    --accent-color: #E9DAC4;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --dark-bg: #051F2E;
    --spacing: 2rem;
    --transition: all 0.3s ease;
    --container-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: white;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.2;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 1rem var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(12, 78, 102, 0.2);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 400px;
    background: linear-gradient(rgba(12, 78, 102, 0.8), rgba(12, 78, 102, 0.8)), url('img/toulouse1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: var(--container-width);
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: white;
}

.hero h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-description p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Presentation Section */
.presentation-wrapper {
    display: flex;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
    gap: 4rem;
    align-items: center;
}

.presentation-image {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 3px solid var(--accent-color);
}

.contact-details {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: inherit;
    font-size: 1.1rem;
}

.presentation-content {
    flex: 1;
    font-size: 1.25rem;
    line-height: 1.8;
}

.presentation-content p {
    margin-bottom: 1.5rem;
    color: inherit;
}

/* Section Styles */
.section-wrapper {
    width: 100%;
    padding: 6rem 0;
}

.section-wrapper:nth-child(odd) {
    background-color: white;
}

.section-wrapper:nth-child(even) {
    background-color: var(--primary-color);
}

.section-wrapper:nth-child(even) h2,
.section-wrapper:nth-child(even) h3,
.section-wrapper:nth-child(even) p,
.section-wrapper:nth-child(even) li,
.section-wrapper:nth-child(even) .price,
.section-wrapper:nth-child(even) .contact-info a {
    color: white;
}

.section-wrapper:nth-child(even) .contact-info i {
    color: var(--accent-color);
}

.section-wrapper:nth-child(even) h2::after {
    background-color: var(--accent-color);
}

.section-wrapper:nth-child(even) .competence-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-wrapper:nth-child(even) .competence-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-wrapper:nth-child(even) .contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-wrapper:nth-child(even) .contact-info:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-wrapper:nth-child(even) .contact-method {
    background: rgba(255, 255, 255, 0.1);
}

.section-wrapper:nth-child(even) .contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
}

.section-wrapper:nth-child(even) footer {
    color: white;
}

.section-wrapper:nth-child(even) .footer-content {
    color: white;
}

.section-wrapper:nth-child(even) footer a {
    color: var(--accent-color);
}

.section-wrapper:nth-child(even) footer a:hover {
    color: white;
}

.section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Compétences Section */
.competences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
}

.competence-card {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
}

.section-wrapper:nth-child(even) .competence-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.competence-card h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.section-wrapper:nth-child(even) .competence-card h3 {
    color: var(--accent-color);
}

.competence-card ul {
    list-style: none;
    padding: 0;
}

.competence-card li {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.competence-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.section-wrapper:nth-child(even) .competence-card li:before {
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .competences-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .competence-card {
        padding: 2rem;
    }
    
    .competence-card h3 {
        font-size: 1.4rem;
    }
    
    .competence-card li {
        font-size: 1.1rem;
    }
}

/* Cabinet Section */
.cabinet-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.cabinet-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Honoraires Section */
.honoraires-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.honoraires-details {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 4px;
}

.honoraire-item {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 300;
    margin: 1rem 0;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(12, 78, 102, 0.05);
    border: 1px solid rgba(12, 78, 102, 0.1);
}

.contact-info:hover {
    box-shadow: 0 15px 40px rgba(12, 78, 102, 0.1);
    border-color: var(--primary-light);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: var(--secondary-color);
}

#map {
    width: 100%;
    height: 400px;
    margin-top: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

#map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    transition: var(--transition);
    background-color: var(--light-bg);
}

.contact-method:hover {
    background-color: var(--accent-color);
    transform: translateX(5px);
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Footer */
footer {
    width: 100%;
    color: var(--primary-color);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Style spécifique pour le footer dans les sections colorées */
.section-wrapper:nth-child(even) footer,
.section-wrapper:nth-child(even) .footer-content,
.section-wrapper:nth-child(even) footer a {
    color: white;
}

.section-wrapper:nth-child(even) footer a:hover {
    color: var(--accent-color);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .section {
        padding: 4rem 1rem;
    }

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

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 0.8s ease-out;
}
