/* ==========================================
   STYLES MODERNES INSPIRÉS D'OBAT.FR
   ========================================== */

/* Hero Section Moderne */
.hero-modern {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--pa-accent) 0%, var(--pa-accent-strong) 100%);
    padding: 100px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Barre de recherche double champ */
.search-box-dual {
    background: white;
    border-radius: 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    padding: 10px;
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 30px;
    transition: transform 0.3s;
}

.search-box-dual:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.search-form-modern {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 20px;
}

.search-field label {
    color: var(--pa-accent);
    font-size: 18px;
    margin: 0;
    min-width: 20px;
}

.search-field input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    margin-left: 10px;
    color: #333;
    background: transparent;
}

.search-field input::placeholder {
    color: #999;
}

.search-separator {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

.btn-search-modern {
    background: linear-gradient(135deg, var(--pa-accent) 0%, var(--pa-accent-strong) 100%);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 15px 35px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-search-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.35);
}

.popular-searches {
    color: white;
    font-size: 14px;
    text-align: center;
}

.popular-searches span {
    opacity: 0.8;
    margin-right: 10px;
}

.popular-searches a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
    padding: 5px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-block;
}

.popular-searches a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.stat-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 40px;
    color: var(--pa-accent);
    margin-right: 20px;
}

.stat-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.stat-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* How it works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.step-card {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pa-accent) 0%, var(--pa-accent-strong) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.step-image {
    margin: 50px 0 20px;
    border-radius: 15px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

.step-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px;
    color: #333;
}

.step-card p {
    color: #666;
    font-size: 15px;
}

/* Artisan Card Modern */
.artisan-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.artisan-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.artisan-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.artisan-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.artisan-card-modern:hover .artisan-card-header img {
    transform: scale(1.05);
}

.badge-disponible {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--pa-success);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.artisan-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artisan-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.artisan-card-body h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.artisan-card-body h3 a:hover {
    color: var(--pa-accent);
}

/* Rating Stars */
.stars-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stars-rating i {
    color: var(--pa-accent);
    font-size: 14px;
}

.rating-number {
    font-weight: 600;
    color: #333;
    margin-left: 5px;
}

.artisan-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.review-count {
    color: #666;
    font-size: 14px;
}

/* Badges artisan */
.artisan-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.badge-artisan {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-verified {
    background: rgba(66, 183, 42, 0.15);
    color: var(--pa-success);
}

.badge-zen {
    background: rgba(24, 119, 242, 0.12);
    color: var(--pa-accent-strong);
}

.badge-recognized {
    background: rgba(24, 119, 242, 0.12);
    color: var(--pa-accent-strong);
}

.artisan-info {
    margin-bottom: 15px;
    flex: 1;
}

.artisan-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.artisan-info i {
    color: var(--pa-accent);
}

.btn-view-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--pa-accent) 0%, var(--pa-accent-strong) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    justify-content: center;
}

.btn-view-profile:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(24, 119, 242, 0.3);
    color: white;
}

/* Primary Button Large */
.primary-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--pa-accent) 0%, var(--pa-accent-strong) 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.35);
    color: white;
}

/* Categories Section */
.categories-section {
    background: #f8f9fa;
}

.category-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.category-icon {
    margin-bottom: 15px;
}

.category-icon img {
    width: 60px;
    height: 60px;
}

.category-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}

.category-card p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.close-btn:hover {
    background: #e0e0e0;
}

.popup h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.popup p {
    color: #666;
    margin-bottom: 25px;
}

.inscription-form .form-group {
    margin-bottom: 15px;
}

.inscription-form input,
.inscription-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.inscription-form input:focus,
.inscription-form select:focus {
    outline: none;
    border-color: var(--pa-accent);
}

.primary-btn-full {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--pa-accent) 0%, var(--pa-accent-strong) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .search-form-modern {
        flex-direction: column;
        gap: 0;
    }
    
    .search-separator {
        display: none;
    }
    
    .search-field {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .search-field:last-of-type {
        border-bottom: none;
    }
    
    .btn-search-modern {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }
    
    .btn-text {
        display: inline;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
    
    .search-box-dual {
        border-radius: 20px;
        padding: 15px;
    }
}

@media (min-width: 769px) {
    .btn-search-modern .btn-text {
        display: inline;
    }
}

/* Section Spacing */
.spad {
    padding: 80px 0;
}

.bg-light {
    background: #f8f9fa;
}
