/*
Theme Name: Skitterskoon
Theme URI: https://skitterskoon.com
Author: DevKuvma
Author URI: https://skitterskoon.com
Description: Plateforme WordPress professionnelle pour Skitterskoon, entreprise de nettoyage professionnel. Offre des tableaux de bord personnalisés pour clients, courtiers et employés, un système avancé de réservation, pages localisées par ville/quartier, et support multilingue (FR-CA, EN, ES).
Version: 4.2.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skitterskoon
Tags: cleaning-services, dashboard, custom-post-types, multilingual, acf
 */
html {
    height: 100%; /* Ensure html takes full height */
}
body {
    font-family: 'Poppins', sans-serif; /* Set Poppins as base body font */
    margin: 0; /* Removed !important */
    padding: 0; /* Removed !important */
    padding-bottom: 0; /* Removed !important */
    margin-bottom: 0; /* Removed !important */
    color: var(--body-color, #2d3748); /* Use variable from main.css */
    min-height: 100%; /* Ensure body can contain 100vh elements */
    display: flex; /* Use flex for potential footer sticking */
    flex-direction: column; /* Stack body children vertically */
}
body.home {
     height: 100%; /* Ensure homepage body takes full height */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Set Montserrat for headings */
    color: var(--primary-color, #372E26); /* Use variable from main.css */
    font-weight: 600; /* Example weight, adjust as needed */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
#primary, #content {
    padding-bottom: 0; /* Removed !important */
    margin-bottom: 0; /* Removed !important */
}
.site-main {
    padding: 40px 0 0; /* Removed bottom padding */
}
/* --- Sticky Footer for Employee Dashboard ONLY --- */
/* html height: 100% moved above body rule */

#page { /* Apply to all pages */
    padding-bottom: 0; /* Removed !important */
    margin-bottom: 0; /* Removed !important */
    flex: 1 0 auto; /* Allow page to grow and push footer down */
}
body.employee-dashboard-active {
    height: 100%; /* Ensure body takes full height */
    margin: 0;
}
/* Make sticky footer padding specific to the active body class */
body.employee-dashboard-active #page { 
    min-height: 100%;
    position: relative;
    box-sizing: border-box; /* Include padding in height calculation */
    /* Add padding-bottom equal to or greater than footer height */
    padding-bottom: 200px; /* Adjust this value based on footer height */
}
body.employee-dashboard-active #content {
    /* No specific rules needed here for this method */
}
body.employee-dashboard-active .site-footer {
    height: 200px; /* Match the padding-bottom value */
    margin-top: -200px; /* Negative margin equal to height/padding */
    position: relative; /* Ensure it respects the flow */
}
/* --- End Sticky Footer for Employee Dashboard --- */
/* Styles généraux pour le corps et les conteneurs */
body {
    overflow-x: hidden; /* Empêche le défilement horizontal */
}
/* Styles pour la barre d'administration WordPress */
body.admin-bar .site-header.header-on-hero {
    top: 32px; /* Ajuste la position du header si la barre d'admin est visible */
}
@media screen and (max-width: 782px) {
    body.admin-bar .site-header.header-on-hero {
        top: 46px; /* Ajuste pour la barre d'admin sur mobile */
    }
}
/* Les styles spécifiques à la page d'accueil (comme .hero-section, etc.) 
   doivent être dans assets/css/home-optimized.css ou assets/css/hero-section.css */
