/*
Theme Name: Lova Ecology
Theme URI: https://lovaecology.org
Author: Lova Ecology
Author URI: https://lovaecology.org
Description: Thème WordPress pour Lova Ecology — solutions écologiques innovantes.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lova-ecology
Tags: green, ecology, environment, responsive
*/

/* ===== VARIABLES ===== */
:root {
    --eco-green: #22c55e;
    --eco-green-dark: #16a34a;
}

/* ===== BASE ===== */
body {
    font-family: 'Inter', sans-serif;
    background: white;
    margin: 0;
    padding: 0;
}

/* ===== NAVBAR ===== */
.logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain;
}

/* Fix WordPress custom logo wrapper */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo-link img {
    height: 60px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain;
}

.nav-link {
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--eco-green) !important;
}

/* ===== BUTTONS ===== */
.btn-success {
    background: var(--eco-green);
    border-color: var(--eco-green);
}

.btn-success:hover {
    background: var(--eco-green-dark);
    border-color: var(--eco-green-dark);
}

/* ===== HERO ===== */
.hero-section {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-carousel .carousel-item {
    background-size: cover;
    background-position: center;
    min-height: 90vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 46px;
    font-weight: 700;
}

/* ===== CARDS ===== */
.eco-card {
    transition: 0.3s;
    border-radius: 12px;
}

.eco-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.25);
}

/* ===== ACTUALITES ===== */
.card img {
    height: 220px;
    object-fit: cover;
}

/* ===== PARTENAIRES ===== */
.partner-logo {
    max-height: 80px;
    opacity: 0.8;
    transition: 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== STATISTIQUES ===== */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--eco-green);
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: white;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 28px;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--eco-green);
}

.footer p {
    color: #cbd5e1;
}

.social-icons i {
    font-size: 22px;
    margin-right: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.social-icons i:hover {
    color: var(--eco-green);
    transform: scale(1.2);
}

/* ===== PAGE CONTACT ===== */
.hero-contact {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
                url('https://images.unsplash.com/photo-1423946996279-2aa8f4e4fa83') center/cover;
    color: white;
    padding: 160px 0 100px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--eco-green);
}

.contact-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eco-green);
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
}

.contact-social-btn:hover {
    background: var(--eco-green);
    color: white;
    transform: translateY(-3px);
}

.contact-form-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.contact-input {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    transition: 0.3s;
}

.contact-input:focus {
    border-color: var(--eco-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* ===== PAGE ACTUALITÉS / ÉVÉNEMENTS ===== */
.hero-events {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
                url('https://images.unsplash.com/photo-1523580846011-d3a5bc25702b') center/cover;
    color: #fff;
    padding: 160px 0 100px;
    text-align: center;
}

.event-card {
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    transition: .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: var(--eco-green);
    box-shadow: 0 15px 35px rgba(0,0,0,.1);
}

.event-type {
    color: var(--eco-green);
    font-weight: 600;
}

/* ===== PAGE NOS ACTIONS ===== */
.page-header-actions {
    padding-top: 120px;
}

/* ===== PAGE À PROPOS ===== */
.hero-about {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
                url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee') center/cover;
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.eco-icon {
    font-size: 42px;
    color: var(--eco-green);
}

.value-card {
    border-radius: 16px;
    transition: .3s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== NAVBAR FIXED PADDING ===== */
.page-content {
    padding-top: 100px;
}
