/* ============================================
   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;
    position: relative;
}

.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: 500px;
}

.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;
    position: relative;
}

.carousel-item-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.carousel-overlay h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.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);
    transform: translateY(-50%) scale(1.1);
}

.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-alt {
    background-color: var(--light-bg);
}

.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;
}

/* CARTES COLLECTIONS */
.collection-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.collection-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-card-content {
    padding: 30px;
}

.collection-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: bold;
}

.collection-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* CARACTÈRES SPÉCIAUX */
.special-char {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 8px;
}

/* LISTES PERSONNALISÉES */
ul.style-list {
    list-style: none;
    padding-left: 0;
}

ul.style-list li {
    padding: 12px 0 12px 40px;
    position: relative;
    border-bottom: 1px dashed #e0e0e0;
}

ul.style-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: bold;
}

ol.numbered-list {
    counter-reset: section;
    list-style: none;
    padding-left: 0;
}

ol.numbered-list li {
    counter-increment: section;
    padding: 15px 0 15px 60px;
    position: relative;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff5f0 0%, white 100%);
    border-radius: 8px;
}

ol.numbered-list li::before {
    content: counter(section);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* ANCRES DE NAVIGATION */
.nav-anchors {
    background: linear-gradient(135deg, var(--primary-color), #2d2d2d);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    text-align: center;
}

.nav-anchors h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.anchor-btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    margin: 8px;
    background: var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
}

.anchor-btn:hover {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.anchor-btn:active {
    transform: scale(0.95);
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* LIENS SPÉCIAUX */
.internal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    border-bottom: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: var(--secondary-color);
    background: #fff5f0;
    padding: 8px 15px;
    border-radius: 5px;
    border-bottom: 2px solid var(--accent-color);
}

.internal-link:active {
    background: var(--secondary-color);
    color: white;
    border-bottom: 2px solid var(--primary-color);
}

.external-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #0066cc;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.external-link:active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* INFO BOX */
.info-box {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 30px;
    border-radius: 12px;
    border-left: 6px solid #1976d2;
    margin: 30px 0;
}

.info-box h4 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* HIGHLIGHT BOX */
.highlight-box {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    margin: 25px 0;
}

/* IMAGES SUPPLÉMENTAIRES */
.feature-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 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-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 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;
    }
    
    .carousel-overlay h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .carousel-container {
        display: none !important;
    }

    .single-image {
        display: block !important;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .collection-card-content {
        padding: 20px;
    }
}