:root {
    --primary-color: #4a6fa5;
    --secondary-color: #e67e22;
    --accent-color: #27ae60;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --header-bg: #2c3e50;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Gruppo', cursive;
    color: var(--primary-color);
}

.navbar {
    background-color: var(--header-bg) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand, .nav-link {
    font-family: 'Gruppo', cursive;
    color: white !important;
    transition: color 0.3s ease;
}

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

.hero-section {
    background-image: url('https://placehold.co/1920x600/4a6fa5/ffffff?text=Famille+Baumann');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 2rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    background-color: var(--card-bg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a5a80;
    border-color: #3a5a80;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #d35400;
    border-color: #d35400;
}

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

.btn-accent:hover {
    background-color: #219653;
    border-color: #219653;
}

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

footer {
    background-color: var(--header-bg);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
}

.carousel-item img {
    object-fit: cover;
    height: 400px;
    width: 100%;
}

.recipe-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.search-container {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.alert {
    border-radius: 8px;
}

/* Styles spécifiques aux modules */
.recipe-detail-img, .trip-detail-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}