/* Military Style CSS - Complements the inline styles */

/* Animations pour le bouton Notre Vision */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(169, 164, 80, 0.8);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(169, 164, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(169, 164, 80, 0);
    }
}

/* Styles pour le contenu principal avec marge pour la navbar fixe */
main {
    padding-top: 130px; /* Hauteur du logo (130px) */
}

/* Styles spécifiques pour la page d'accueil */
body.home {
    overflow: hidden; /* Masquer la barre de défilement sur la page d'accueil */
    height: 100vh;
    margin: 0;
    padding: 0;
}

body.home main {
    padding-top: 0;
    height: 100vh;
    position: relative;
    overflow: hidden; /* Masquer le débordement */
}

/* Styles pour l'image hero en plein écran */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Hero Carousel Styles */
#heroCarousel {
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    z-index: 0;
}

#heroCarousel .carousel-item {
    position: relative;
    height: 100vh;
    width: 100vw;
}

main {
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

#heroCarousel .carousel-item img {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
}

#heroCarousel .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 36, 33, 0.4), rgba(26, 36, 33, 0.7));
    z-index: 1;
}

#heroCarousel .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 2;
    text-align: center;
    width: 100%;
    left: 0;
    right: 0;
    padding: 0 15%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--military-tan);
    margin: 0 5px;
}

#heroCarousel .carousel-indicators button.active {
    background-color: var(--military-tan);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 5%;
    z-index: 3;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: var(--military-dark);
    border-radius: 50%;
    background-size: 50%;
}

#heroCarousel .btn-military {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-width: 3px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    #heroCarousel .carousel-caption {
        padding: 0 10%;
    }
    
    #heroCarousel .carousel-caption h1 {
        font-size: 2rem;
    }
    
    #heroCarousel .carousel-caption p {
        font-size: 1rem;
    }
    
    #heroCarousel .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    #heroCarousel .carousel-item img {
        height: 100vh !important;
        width: 100vw !important;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    #heroCarousel .carousel-caption {
        padding: 0 5%;
    }
    
    #heroCarousel .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    #heroCarousel .carousel-caption p {
        font-size: 0.9rem;
    }
}


/* Custom Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

/* Additional Military Colors */
:root {
    --military-green-light: #6b7b30;
    --military-tan-dark: #8a8642;
    --military-grey-light: #7d7d7d;
    --military-red: #8b0000;
    --military-blue: #1a3263;
}

/* Body Enhancements */
body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    letter-spacing: 0.03em;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Military-style Buttons with Hover Effects */
.btn-military {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-military:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--military-tan);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.btn-military:hover:before {
    left: 0;
}

/* Military Badge Enhancements */
.military-badge {
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--military-green);
    color: white;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Military Border with Shadow */
.military-border {
    border: 2px solid var(--military-tan) !important;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.military-border:hover {
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

/* Section Title with Military Design */
.section-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--military-tan);
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    padding: 120px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 36, 33, 0.7), rgba(26, 36, 33, 0.7));
    z-index: -1;
}

/* Military-style Cards */
.card {
    border-radius: 0;
    transition: all 0.3s ease;
}

.card:hover {
transform: translateY(-5px);
}

/* Military-style Navbar Styles */
.navbar {
    background-color: transparent !important;
    border-bottom: none !important;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: none !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-brand {
    color: #000000 !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--military-tan) !important;
    border-bottom: none;
}

.nav-link {
    position: relative;
    padding: 15px 10px !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--military-tan);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 80%;
}

/* Military-style Footer */
footer {
    border-top: 3px solid var(--military-tan);
}

.footer-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--military-tan);
}

/* Military-style Timeline */
.timeline .card {
    position: relative;
}

.timeline .card:before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--military-green);
    border-radius: 50%;
    z-index: 1;
}

/* Military-style Form Elements */
.form-control, .form-select {
    border-radius: 0;
    border: 1px solid var(--military-grey);
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--military-tan);
}

/* Military-style Accordion */
.accordion-button {
    background-color: var(--military-light);
    color: var(--military-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--military-green);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--military-tan);
}

/* Military-style Progress Bars */
.progress {
    height: 10px;
    border-radius: 0;
    background-color: var(--military-light);
}

.progress-bar {
    background-color: var(--military-green);
}

/* Hero Image Fullscreen Styles */
.hero-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 80%;
    max-width: 1200px;
}

.hero-content h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.hero-content p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#heroImage + * {
    margin-top: 100vh;
}

/* Fixed Vision Button Styles */
/* Styles supprimés car le bouton fixe n'est plus utilisé */

/* Vision Button Styles */
.vision-button-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none; /* Initialement caché, sera modifié par JS */
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    width: 150px; /* Largeur définie */
    height: 150px; /* Hauteur définie */
}

.vision-button {
    font-size: 1.3rem;
    padding: 0;
    border-width: 2px;
    border-color: var(--military-tan);
    box-shadow: 0 0 20px rgba(169, 165, 80, 0.6);
    background-color: rgba(75, 83, 32, 0.6);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 0.8;
    animation: buttonPulse 2s infinite;
}

.notre-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: -8px;
    line-height: 0.9;
}

.vision-text {
    font-size: 1.4rem;
    font-weight: 700;
}

.vision-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(169, 164, 80, 0.7);
}

.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

.pulse {
    animation: buttonPulse 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Animation for Military Elements */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(169, 164, 80, 0.8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(169, 164, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(169, 164, 80, 0);
    }
}

/* Styles pour la bande de valeurs superposée */
.values-band-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--military-dark);
    color: white;
    padding: 30px 0;
    border-top: 3px solid var(--military-tan);
    border-bottom: 3px solid var(--military-tan);
    z-index: 5;
}

.value-item {
    padding: 20px 15px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--military-tan);
    margin-bottom: 15px;
    display: block;
}

.value-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.values-tagline {
    margin-top: 20px;
    font-style: italic;
    font-size: 1.2rem;
}

.military-badge:hover {
    animation: pulse 1.5s infinite;
}

/* Additional Military-style Elements */
.military-divider {
    position: relative;
    height: 3px;
    background-color: var(--military-tan);
    margin: 40px auto;
    max-width: 80%;
}

.military-divider:before, .military-divider:after {
    content: '';
    position: absolute;
    top: -3px;
    width: 9px;
    height: 9px;
    background-color: var(--military-green);
    transform: rotate(45deg);
}

.military-divider:before {
    left: 10px;
}

.military-divider:after {
    right: 10px;
}
