/* ===== VARIABLES CSS - NOIR ET BLANC ===== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #666666;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ===== NAVIGATION ===== */
.navbar {
    background: #000000;
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0;
}

.brand-subtitle {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 300;
    display: block;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #cccccc !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    background-image: url('../images/cabinet-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

.hero-title {
    font-size: 4rem;
    color: #000000;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero-description {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    z-index: 2;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.doctolib-btn {
    background: rgb(0, 47, 167);
    border-color: rgb(0, 47, 167);
    color: var(--secondary-color);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.doctolib-btn:hover {
    background: rgb(0, 35, 125);
    border-color: rgb(0, 35, 125);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== PROFILE SECTION ===== */
.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: 50% 20%;
    border: 8px solid var(--primary-color);
    transition: var(--transition);
}

.profile-image-container {
    text-align: center;
}

.cv-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cv-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cv-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cv-year {
    min-width: 100px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.cv-content {
    flex: 1;
    padding-left: 1.5rem;
}

.cv-content strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .cv-item {
        flex-direction: column;
    }
    
    .cv-year {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .cv-content {
        padding-left: 0;
    }
}

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

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

/* ===== APPOINTMENT SECTION ===== */
#appointment {
    position: relative;
}

#appointment .section-title {
    color: var(--primary-color);
}

#appointment .lead {
    color: var(--text-color);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    padding-right: 2rem;
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 500;
}

.about-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    width: 100%;
    border: 2px solid var(--primary-color);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* ===== THERAPEUTIC APPROACH ===== */
.therapeutic-approach {
    padding: 3rem 2rem;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
}

.therapeutic-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.therapeutic-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.therapeutic-content p {
    margin-bottom: 1.5rem;
}

.therapeutic-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .therapeutic-approach {
        padding: 2rem 1.5rem;
    }
    
    .therapeutic-title {
        font-size: 1.75rem;
    }
    
    .therapeutic-content {
        font-size: 1rem;
    }
}

/* ===== CABINET GALLERY ===== */
.cabinet-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.cabinet-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cabinet-gallery-item {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.cabinet-gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.cabinet-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cabinet-gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cabinet-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cabinet-gallery-item img {
        height: 250px;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    flex-direction: column;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 0;
    margin-bottom: 1rem;
}

.contact-item h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* ===== MAP SECTION ===== */
.map-section h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.map-container {
    height: 400px;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid var(--primary-color);
    position: relative;
}

.map-container:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: var(--secondary-color);
}

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

.footer a:hover {
    color: var(--accent-color) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 1rem auto;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar-brand h2 {
        font-size: 1.2rem;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
    }
    
    .map-container {
        height: 300px;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ===== BACKGROUND COLORS ===== */
.bg-light {
    background-color: var(--light-gray) !important;
}

