/* ============================================
   STYLES CSS - styles.css
   ============================================ */

: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);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   CARROUSEL
   ============================================ */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 550px;
}

.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.3);
}

.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-overlay p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.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;
}

/* ============================================
   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;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto 0;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-custom {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-custom:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-custom:active {
    transform: translateY(-1px);
}

.toggle-content {
    display: none;
    padding: 30px;
    background: linear-gradient(135deg, #fff5f0, #ffe8dc);
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid var(--secondary-color);
}

/* ============================================
   CARTES
   ============================================ */
.info-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.info-card img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.icon-feature {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--primary-color), #2d2d2d);
    color: white;
    padding: 50px 20px 30px;
}

.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;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.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);
}

/* ============================================
   IMAGE UNIQUE PETITS ÉCRANS
   ============================================ */
.single-image {
    display: none;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ============================================
   RESPONSIVE - LARGE SCREENS (≥992px)
   ============================================ */
@media (min-width: 992px) {
    .navbar-collapse {
        justify-content: flex-end !important;
    }
}

/* ============================================
   RESPONSIVE - MEDIUM SCREENS (768px-991px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse {
        justify-content: flex-start !important;
    }
    
    .carousel-overlay h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   RESPONSIVE - SMALL SCREENS (<576px)
   ============================================ */
@media (max-width: 575px) {
    .carousel-container {
        display: none !important;
    }

    .single-image {
        display: block !important;
    }

    .navbar-toggler {
        margin-left: 0 !important;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .carousel-overlay h2 {
        font-size: 1.8rem;
    }
}