/* Custom CSS pour préserver le design original avec Bootstrap 5 */

/* Variables CSS pour maintenir la cohérence des couleurs */
:root {
    --primary-color: #d4a574;
    --primary-dark: #b8935f;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --border-light: #e9ecef;

}

/* Override Bootstrap primary color */
.btn-primary {
    --bs-btn-active-bg: #d4a574;
    --bs-btn-active-border-color: #d4a574;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

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

.btn-outline-primary {
    --bs-btn-active-bg: #d4a574;
    --bs-btn-active-border-color: #d4a574;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navigation customization */
.custom-navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.2rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 100px;
}

.hero-title {
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
}

.hero-description {
    color: #666;
}

.hero-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-decoration {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50% 20% 50% 20%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section styles */
.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #666;
}

/* Presentation section */
.presentation {
    padding: 80px 0;
}

.value-item {
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

.philosophy-card .card-body {
    padding: 2rem;
}

/* Domaines section */
.domaines {
    padding: 80px 0;
}

.domaine-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.domaine-icon {
    color: var(--primary-color);
}

.service-item {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Honoraires section */
.honoraires {
    padding: 80px 0;
}

.list-group-item {
    border-color: var(--border-light);
    padding: 1rem 1.25rem;
}

.list-group-item:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Témoignages section */
.temoignages {
    padding: 80px 0;
}

.temoignage-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.stars {
    font-size: 1.2rem;
}

/* Contact section */
.contact {
    padding: 80px 0;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

/* Footer */
.footer {
    background-color: #2c3e50 !important;
}

.footer .logo-icon {
    color: var(--primary-color);
}

.hero-content a:hover {
    color: white !important;
}

a:hover {
    color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-decoration {
        width: 200px;
        height: 200px;
    }
    
    .presentation,
    .domaines,
    .honoraires,
    .temoignages,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .values .row > div {
        margin-bottom: 1rem;
    }
}

/* Smooth scrolling and animations */
.card, .value-item, .service-item, .temoignage-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Ensure proper spacing and alignment */
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-5 {
    margin-bottom: 5rem !important;
}

/* Custom button styles to match original design */
.btn-lg {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

/* Ensure consistent card heights */
.card.h-100 {
    height: 100% !important;
}

/* Typography improvements */
.display-4, .display-5 {
    font-weight: 700;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* List improvements */
.list-unstyled li {
    padding: 0.25rem 0;
}

/* Contact form improvements */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #6c757d;
}

/* Navigation mobile improvements */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
}
