/* ============================================
   STYLES CSS - styles.css (PARTAGÉ)
   ============================================ */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff6b35;
    --accent-color: #f7931e;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* LOGO */
.logo {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* NAVIGATION */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    margin: 0 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.nav-link:active {
    color: var(--accent-color) !important;
    transform: scale(0.95);
}

/* CARROUSEL */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 400px;
}

.carousel-inner-custom {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}

.carousel-item-custom {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 53, 0.8);
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 28px;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.carousel-control:hover {
    background: var(--secondary-color);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.single-image {
    display: none;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* SECTIONS */
.section {
    padding: 80px 20px;
}

.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: bold;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto 0;
}

/* FORMULAIRE */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-submit, .btn-cancel {
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
}

.btn-submit {
    background: var(--secondary-color);
    color: white;
}

.btn-submit:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.button-group {
    text-align: center;
    margin-top: 30px;
}

/* LISTE DES SUGGESTIONS */
.suggestions-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
}

.suggestions-list {
    list-style: none;
    counter-reset: suggestion-counter;
    padding: 0;
}

.suggestions-list li {
    counter-increment: suggestion-counter;
    padding: 15px 20px 15px 60px;
    background: white;
    margin: 15px 0;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.suggestions-list li::before {
    content: counter(suggestion-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* CONTENU TOGGLE */
.toggle-info {
    background: linear-gradient(135deg, #fff5f0, #ffe8dc);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 5px solid var(--secondary-color);
    display: none;
}

.btn-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, var(--primary-color), #2d2d2d);
    color: white;
    padding: 50px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* CONTENU JAUNE - PAGE 4 */
.yellow-content {
    background: #fff3cd;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
    margin: 30px 0;
}

/* RESPONSIVE */
@media (min-width: 992px) {
    .navbar-collapse {
        justify-content: flex-end !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse {
        justify-content: flex-start !important;
    }
}

@media (max-width: 575px) {
    .carousel-container {
        display: none !important;
    }

    .single-image {
        display: block !important;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .yellow-content {
        order: 10;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .yellow-content {
        order: 10;
    }
}