/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #666666;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --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;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: #000000;
    backdrop-filter: blur(10px);
    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: url('../images/mur.jpg');
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-logo {
    display: none;
}

.hero-logo svg {
    width: 100%;
    height: 100%;
    fill: var(--secondary-color);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    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(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: #000000;
    color: #000000;
}

.btn-outline-light:hover {
    background: #000000;
    color: #ffffff;
    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);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20b358 0%, #1da851 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.1em;
}

/* ===== PROFILE SECTION ===== */
.profile-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: 50% 8%;
    transform: scale(0.55);
    border: 8px solid var(--secondary-color);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.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 #f0f0f0;
}

.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: 320px;
        height: 320px;
    }
    
    .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);
}

/* ===== 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.1);
    transition: var(--transition);
}

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

.osteopath-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.osteopath-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.osteopath-logo svg {
    width: 200px;
    height: 200px;
}

/* ===== SERVICES SECTION ===== */
.service-card {
    background: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    background: none;
    border: none;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}



.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    margin-top: 2rem;
}

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

.contact-item.text-center {
    align-items: center;
}

.contact-item div {
    flex: 1;
    word-break: break-word;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.contact-item.text-center i {
    margin-right: 0;
}

.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 improvements */
.map-section h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.map-info {
    background: var(--secondary-color);
    border: 1px solid #e9ecef;
}

.map-info h6 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Appointment sidebar */
.appointment-card {
    border: 1px solid #e9ecef;
}

.appointment-card h4 {
    color: var(--primary-color);
}

.info-card {
    background: var(--primary-color) !important;
}

.info-card h5 {
    color: var(--secondary-color);
}

/* Contact item responsive */
@media (max-width: 768px) {
    .contact-item {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .contact-item i {
        font-size: 2rem;
    }
}

/* ===== GOOGLE BUSINESS CARD ===== */
.google-business-card {
    border: 1px solid #e9ecef;
}

.google-rating {
    background: #f8f9fa !important;
}

.google-stars .fas.fa-star {
    color: #ffc107;
}

.business-info .info-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.business-info .info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.opening-hours {
    font-family: 'Inter', sans-serif;
}

/* ===== BIKE FRIENDLY SECTION ===== */
.bike-friendly-section .weather-widget {
    border: 1px solid #e9ecef;
}

.bike-friendly-section .bike-info {
    background: var(--primary-color) !important;
}

.bike-stations {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
}

/* ===== VÉLIB' STATIONS ===== */
.velib-station-item {
    transition: var(--transition);
}

.velib-station-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.velib-station-item .badge {
    font-size: 0.75rem;
    font-weight: 600;
}

.velib-station-item .badge.bg-success {
    background-color: #28a745 !important;
}

.velib-station-item .badge.bg-primary {
    background-color: #007bff !important;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.weather-condition {
    font-size: 0.9rem;
    color: #666;
    text-transform: capitalize;
}

/* ===== TABS STYLING ===== */
.nav-tabs .nav-link {
    color: var(--text-color);
    border: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 600;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: #e9ecef #e9ecef #dee2e6;
}

/* ===== GOOGLE REVIEWS WIDGET ===== */
.google-reviews {
    background: #f8f9fa !important;
}

.google-widget-container {
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.google-widget-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.google-widget-container iframe {
    border-radius: 8px;
    width: 100%;
}

/* ===== TRANSPORT SECTION ===== */
.transport-section .metro-info,
.transport-section .bus-info {
    border: 1px solid #e9ecef;
}

.line-badge {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-align: center;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.metro-line,
.bus-line {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

.metro-line:last-child,
.bus-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.next-trains,
.bus-line .text-muted {
    font-size: 0.85rem;
}

.loading {
    color: #999;
    font-style: italic;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 992px) {
    .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    .map-container iframe {
        height: 350px !important;
    }
    
    .google-business-card {
        margin-top: 1rem;
    }
    
    .review-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bike-friendly-section .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .nav-tabs .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .transport-section .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .line-badge {
        font-size: 0.8rem;
        padding: 2px 6px !important;
    }
}

/* ===== MAP ===== */
.map-container {
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 2px solid #f0f0f0;
    position: relative;
}

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

.map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.map-overlay .btn {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.map-overlay .btn:hover {
    background: rgba(0, 0, 0, 1);
    transform: translateY(-1px);
}

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

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

.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;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .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-container {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 1rem auto;
        width: 100%;
        max-width: 300px;
    }
    
    @media (max-width: 576px) {
        .hero-buttons-container {
            flex-direction: column;
            align-items: center;
        }
        
        .hero-buttons-container .btn {
            width: 100%;
            max-width: 280px;
            margin: 0.5rem 0;
        }
    }
}

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

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

/* ===== LOADING ANIMATION ===== */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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