/* Style personnalisé pour Prim's Agency */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    padding-top: 56px; /* Hauteur du navbar */
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--warning-color);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

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

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: #000;
}

.btn-warning:hover {
    background-color: #ffb800;
    border-color: #ffb800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* Forms */
.form-control {
    border-radius: 8px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--warning-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.form-label {
    color: #333;
    margin-bottom: 8px;
}

/* Icons */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: color 0.3s ease;
}

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

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--warning-color) !important;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* Page Hero */
.page-hero {
    padding-top: 120px !important;
    padding-bottom: 60px !important;
}

/* Stats */
.stat-box {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
}

/* Expertise Cards */
.expertise-card {
    transition: all 0.3s ease;
}

.expertise-card:hover {
    border-color: var(--warning-color) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }
    
    .display-3,
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5,
    .display-6 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--warning-color);
    color: #000;
}

::-moz-selection {
    background-color: var(--warning-color);
    color: #000;
}

/* Loading Animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Badge */
.badge {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
}

/* Alert */
.alert {
    border-radius: 10px;
    border: none;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: none;
}

.dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--warning-color);
    color: #000;
}

.dropdown-item i {
    margin-right: 8px;
}
