/* Emerald Green & Dark Slate Theme for Infra Réseau */

:root {
    --wt-primary-color: #10b981;
    /* Emerald Primary */
    --wt-primary-light: #34d399;
    --wt-primary-dark: #059669;
    --wt-secondary-color: #0f172a;
    /* Deep slate background */
    --wt-accent-color: #047857;
    /* Deep emerald accent */

    --wt-light-gray: #1e293b;
    /* Lighter slate for cards */
    --wt-gray: #94a3b8;
    /* Gray slate for text */
    --wt-dark-gray: #e2e8f0;
    /* Light gray for general text */
    --wt-black: #020617;
    /* Near black slate */
    --wt-white: #ffffff;
    /* Pure white */
}

body {
    background: transparent;
    color: var(--wt-dark-gray);
    font-family: 'Inter', sans-serif;
}

.navbar {
    background: transparent;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.nav-logo span {
    color: var(--wt-primary-color);
}

.nav-link {
    color: var(--wt-dark-gray);
}

.nav-link::after {
    background: var(--wt-primary-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--wt-primary-light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--wt-primary-dark), var(--wt-primary-light));
    color: var(--wt-white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--wt-primary-color);
    border: 2px solid var(--wt-primary-color);
}

.btn-secondary:hover {
    background: var(--wt-primary-color);
    color: var(--wt-white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.hero {
    background: transparent;
}

.hero-name span {
    color: var(--wt-white);
}

.hero-subtitle {
    color: var(--wt-primary-light);
}

.hero-description {
    color: var(--wt-gray);
}

.section-title {
    color: var(--wt-white);
}

.section-title::after {
    background: linear-gradient(90deg, var(--wt-primary-color), var(--wt-accent-color));
}

.infra-why-section {
    background: transparent;
    padding: 3rem 0;
}

.why-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.why-intro .section-subtitle {
    color: var(--wt-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

.why-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
    border: 1px solid var(--glass-border);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    border-color: var(--wt-primary-color);
}

.why-card-icon {
    font-size: 3rem;
    color: var(--wt-primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.why-card-title {
    color: var(--wt-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-card-description {
    color: var(--wt-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.why-card-description a {
    color: var(--wt-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.why-card-description a:hover {
    color: var(--wt-primary-light);
    text-decoration: underline;
}

/* FOOTER */
.main-footer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--wt-gray);
    border-top: 1px solid var(--glass-border);
}

.main-footer::before {
    background: linear-gradient(90deg, var(--wt-primary-dark), var(--wt-primary-color), var(--wt-primary-light));
}

.footer-col h4 {
    color: var(--wt-white);
}

.footer-col h4::after {
    background: var(--wt-primary-color);
}

.footer-links a {
    color: var(--wt-gray);
}

.footer-links a:hover {
    color: var(--wt-primary-light);
}

.footer-links a i {
    color: var(--wt-primary-color);
}

.social-link {
    color: var(--wt-dark-gray);
    background: var(--wt-light-gray);
}

.social-link:hover {
    background: var(--wt-primary-color);
    color: var(--wt-white);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.hamburger .bar {
    background-color: var(--wt-white);
}