/* style.css */
:root {
    /* Couleurs principales */
    --color-olive-main: #7B7F2A;
    --color-olive-light: #9A9E4A;
    --color-orange: #F05A28;
    --color-gray-dark: #4A4A4A;
    --color-white: #FFFFFF;
    --color-bg-light: #F1F3E6;
    --color-bg-alt: #E6EAD6;
    --color-border: #D4D9BE;
    --color-text-secondary: #5F6A44;
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Espacements */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 80px;
    --space-xxl: 120px;
    
    /* Transitions */
    --transition-base: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition-slow: 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.orange-text {
    color: #F05A28
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: -1;
}

@font-face {
  font-family: 'Gunplay';
  src: url('./font/gunplay\ rg.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: 'AmericanTypeWritter';
  src: url('./font/American\ Typewriter\ Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Améliore l'affichage pendant le chargement */
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-gray-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(123, 127, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
}

/* Logo */
.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-base);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--color-orange);
}

/* Bouton de langue */
.language-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lang-btn:hover {
    background: var(--color-white);
    color: var(--color-olive-main);
}

.lang-btn.active {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-white);
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-white);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* Footer */
.main-footer {
    background-color: var(--color-olive-main);
    color: var(--color-white);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--color-white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--color-orange);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--color-bg-light);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--color-orange);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--color-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--color-bg-light);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-orange);
}

/* Sections générales */
.section {
    padding: 120px 0;
    position: relative;
}

.section-secondary {
    padding: 10px 0;
    position: relative;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-olive-main);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Hero section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(123, 127, 42, 0.7), rgba(154, 158, 74, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.hero-title {
    /* font-family: var(--font-secondary); */
    font-family: 'Gunplay', var(--font-secondary);
    font-size: 4rem;
    font-weight: 200;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.military-font {
    /* font-family: var(--font-secondary); */
    font-family: 'Gunplay', var(--font-secondary);
    font-weight: 550;
    /* line-height: 1.2;
    letter-spacing: 2px; */
}

.second-military-font {
    font-family: 'AmericanTypeWritter', var(--font-secondary);
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: 'AmericanTypeWritter', var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background-color: var(--color-orange);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(240, 90, 40, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-olive-main);
}

/* Cartes */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 32px;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    transition: transform var(--transition-base);
}

.card:hover .card-image {
    transform: scale(1.08);
}

.card-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--color-olive-main);
    margin-bottom: 15px;
}

.card-text {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Animations */
.animatable {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-base);
}

.animatable.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1023px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-olive-main);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right var(--transition-base);
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .main-nav a {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}