/* Styles personnalisés pour Julien l'informaticien */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    color: #ffffff;
}

/* Navigation */
.navbar-dark {
    background: #000000 !important;
    border-bottom: 1px solid #333;
}

.navbar-dark .navbar-brand {
    color: #ffffff !important;
    font-size: 1.5rem;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: #ffffff !important;
}

/* Hero Section Orange */
.hero-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.min-vh-60 {
    min-height: 60vh;
}

.hero-content {
    color: #ffffff;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero-devices {
    position: relative;
    height: 300px;
}

.device-laptop,
.device-phone,
.device-tablet {
    position: absolute;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.device-laptop {
    left: 10%;
    top: 20%;
    transform: rotate(-10deg);
}

.device-phone {
    left: 45%;
    top: 10%;
    transform: rotate(5deg);
}

.device-tablet {
    right: 10%;
    top: 30%;
    transform: rotate(10deg);
}

/* Section de sélection d'appareil */
.device-selection-section {
    background: #1a1a1a;
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.device-selector-card {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.device-select {
    background: #1a1a1a;
    border: 2px solid #444;
    color: #ffffff;
    padding: 15px;
}

.device-select:focus {
    background: #1a1a1a;
    border-color: #ff6b35;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.device-select option {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-repair {
    background: #ff6b35;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-repair:hover {
    background: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    color: #ffffff;
}

/* Section options de réparation */
.repair-options-section {
    background: #1a1a1a;
    padding: 60px 0;
}

.repair-option-card {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.repair-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-color: #ff6b35;
}

.repair-option-card .card-body {
    color: #ffffff;
}

.repair-option-card h4 {
    color: #ffffff;
}

.repair-option-card .text-muted {
    color: #aaaaaa !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .device-selector-card {
        padding: 20px;
    }
    
    .device-select {
        margin-bottom: 15px;
    }
    
    .hero-devices {
        height: 200px;
        margin-top: 30px;
    }
    
    .device-laptop,
    .device-phone,
    .device-tablet {
        font-size: 3rem !important;
    }
}

.hero-section h1 {
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-section .lead {
    color: #6c757d;
    font-size: 1.3rem;
    font-weight: 400;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Cards avec effet hover */
.hover-lift {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* Liens sans style par défaut */
.btn-choice-card,
.btn-option-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.btn-choice-card:hover,
.btn-option-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Cards de choix */
.card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.card-body {
    transition: background-color 0.3s ease;
    background: #ffffff;
}

.hover-lift:hover .card-body {
    background-color: #f8f9fa;
}

/* Cards égales */
.card h2 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.card h4 {
    font-size: 1.25rem;
    color: #2c3e50;
}

/* Cards plus grandes avec hauteur égale */
.btn-choice-card .card {
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.btn-choice-card .card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.btn-choice-card .card .card-body > div:last-child {
    margin-top: auto;
    padding-top: 1rem;
}

.btn-choice-card .card .card-body ul {
    flex-grow: 1;
}

/* Assurer que les colonnes ont la même hauteur */
.row.g-4 > [class*="col-"] {
    display: flex;
}

.row.g-4 > [class*="col-"] > * {
    width: 100%;
}

/* Formulaires */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px 0;
}

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

.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Alertes */
.alert {
    border-radius: 10px;
    border: none;
    padding: 20px;
}

/* Badges */
.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
}

.navbar-dark {
    background: #2c3e50 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c3e50 !important;
}

.navbar-dark .navbar-brand {
    color: #ffffff !important;
}

.nav-link {
    color: #6c757d !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .nav-link {
    color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: #ffffff !important;
}

/* Section de contenu */
.content-section {
    padding: 60px 0;
    background: white;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Icônes */
.display-1 {
    font-size: 5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .form-container {
        padding: 25px;
        margin: 20px 0;
    }
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Styles pour les options DIY */
.option-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.option-card:hover {
    border-left-color: var(--success-color);
    background-color: #f8f9fa;
}

/* Styles pour les étapes */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 10px;
    position: relative;
}

.step.active {
    background-color: var(--primary-color);
    color: white;
}

.step.completed {
    background-color: var(--success-color);
    color: white;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 2px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
}

.step:last-child::after {
    display: none;
}

.step.completed::after {
    background-color: var(--success-color);
}

/* Footer */
footer {
    background: #2c3e50 !important;
    border-top: 1px solid #34495e;
}

/* Améliorations générales */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.shadow-lg {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

