/*
Theme Name: ORK COMPANY
Theme URI: https://www.orkcompany.com
Author: ORK COMPANY
Description: Thème professionnel pour ORK COMPANY
Version: 2.0.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #0F172A;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

h1, h2, h3, .logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #002B5C;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: #002B5C;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: #002B5C;
    border-radius: 2px;
}

h2.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center {
    text-align: center;
    display: block;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid #eef2f5;
}

.bg-light {
    background-color: #f8fafc;
}

.bg-dark {
    background-color: #002B5C;
    color: white;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-animated {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #002B5C, #1A4A8B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGlow 2s infinite ease-in-out;
}

.logo-animated span {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 43, 92, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(0, 43, 92, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 43, 92, 0); }
}

.logo-text {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: #002B5C;
}

.logo-text span {
    color: #D4AF37;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eef2f5;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    list-style: none;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1a2a3a;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links li.current-page a {
    color: #002B5C;
}

/* BOUTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #002B5C;
    color: white;
    border: 2px solid #002B5C;
}

.btn-primary:hover {
    background-color: #001B3D;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 43, 92, 0.3);
}

.btn-outline {
    border: 2px solid #002B5C;
    color: #002B5C;
    background: transparent;
}

.btn-outline:hover {
    background-color: #002B5C;
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-white:hover {
    background-color: white;
    color: #002B5C;
    transform: translateY(-2px);
}

/* COMPTEURS */
.counters-band {
    background: linear-gradient(135deg, #002B5C 0%, #1A4A8B 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.counter-item {
    color: white;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: #D4AF37;
    line-height: 1.2;
}

/* GRILLES */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; margin-top: 48px; }

/* CARDS */
.service-card, .value-card {
    background: white;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
}

.service-card:hover, .value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3, .value-card h4 { font-size: 1.4rem; margin-bottom: 12px; font-family: 'Playfair Display', serif; color: #002B5C; }
.value-card h4 { color: #002B5C; }

/* STATS */
.stats-hero {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    background: #002B5C;
    color: white;
    padding: 48px 40px;
    border-radius: 32px;
    margin: 40px 0;
}

.stats-hero-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: #D4AF37;
}

/* BADGES */
.badge {
    background: #002B5C;
    color: white;
    padding: 5px 14px;
    border-radius: 40px;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* FORMULAIRES */
.form-group { margin-bottom: 24px; }
input, textarea, select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #002B5C;
}

/* FOOTER */
footer {
    background: #001B3D;
    color: #ccdde5;
    padding: 48px 32px 24px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccdde5;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: #D4AF37;
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #1A4A8B;
    font-size: 0.85rem;
}

/* PROJET CARDS */
.projet-card {
    background: white;
    border-radius: 24px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.projet-icon {
    background: #e8f0fe;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.projet-content { padding: 32px; flex: 1; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 48px 0; }
.info-card { background: #f8fafc; padding: 32px; border-radius: 28px; margin-bottom: 24px; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 16px; color: #002B5C; }

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section { padding: 50px 0; }
    nav { flex-direction: column; gap: 16px; }
    .nav-links { justify-content: center; gap: 20px; }
    .container { padding: 0 20px; }
    .grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-hero { flex-direction: column; gap: 24px; }
}

/* === SLIDER / CARROUSEL === */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slides-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    padding: 0 32px;
}

.slide-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 32px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Boutons sur fond sombre */
.slide-content .btn-primary {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: #002B5C;
}

.slide-content .btn-primary:hover {
    background-color: #bf9b2c;
    transform: translateY(-2px);
}

.slide-content .btn-outline {
    border-color: white;
    color: white;
}

.slide-content .btn-outline:hover {
    background-color: white;
    color: #002B5C;
}

/* Flèches de navigation */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-prev:hover,
.slider-next:hover {
    background: #D4AF37;
    color: #002B5C;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Indicateurs (dots) */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #D4AF37;
    width: 30px;
    border-radius: 20px;
}

/* Responsive slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}