/*
Theme Name: Culture Presta
Description: Professional Business Services Platform - Prestataire de Services Professionnels
Version: 5.2.0
Author: Culture Presta Development Team
Text Domain: culture-presta
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   CULTURE PRESTA V5 - PROFESSIONAL DESIGN SYSTEM
   Logo-Driven | No Framework | Clean & Fast
   ========================================================================== */

/* 
 * V5 Design System Architecture:
 * - v5/tokens.css    (Design tokens, logo colors, spacing)
 * - v5/reset.css     (Modern CSS reset)
 * - v5/base.css      (Typography, HTML elements)
 * - v5/components.css (Buttons, cards, forms - NO EMOJIS)
 * - v5/layouts.css   (Professional page layouts)
 * - style.css        (This file - WordPress overrides only)
 */

/* WordPress Specific Overrides */
.wp-block-button__link {
    background: var(--cp-primary-500);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--duration-200) var(--ease-out);
}

.wp-block-button__link:hover {
    background: var(--cp-primary-600);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.wp-block-search__input {
    border: 2px solid var(--cp-gray-300);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
}

.wp-block-search__button {
    background: var(--cp-primary-500);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
}

/* WordPress Alignment Classes */
.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.alignwide {
    width: 100%;
    max-width: 1200px;
}

.alignleft {
    float: left;
    margin: 0 var(--space-6) var(--space-4) 0;
}

.alignright {
    float: right;
    margin: 0 0 var(--space-4) var(--space-6);
}

.aligncenter {
    display: block;
    margin: 0 auto var(--space-4);
    text-align: center;
}

/* WordPress Caption */
.wp-caption {
    max-width: 100%;
    background: var(--cp-gray-50);
    border: 1px solid var(--cp-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
}

.wp-caption-text {
    font-size: var(--text-sm);
    color: var(--cp-gray-600);
    text-align: center;
    margin-top: var(--space-2);
    font-style: italic;
}

/* WordPress Gallery */
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.wp-block-gallery .wp-block-image {
    margin: 0;
}

.wp-block-gallery .wp-block-image img {
    border-radius: var(--radius-lg);
    transition: transform var(--duration-200) var(--ease-out);
}

.wp-block-gallery .wp-block-image img:hover {
    transform: scale(1.02);
}

/* WordPress Comments */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    background: var(--cp-gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
}

.comment-author {
    font-weight: 600;
    color: var(--cp-gray-900);
    margin-bottom: var(--space-2);
}

.comment-meta {
    font-size: var(--text-sm);
    color: var(--cp-gray-600);
    margin-bottom: var(--space-3);
}

.comment-content {
    line-height: 1.6;
    color: var(--cp-gray-700);
}

/* WordPress Widgets */
.widget {
    background: white;
    border: 1px solid var(--cp-gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--cp-gray-900);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--cp-primary-500);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--cp-gray-200);
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: var(--cp-gray-700);
    text-decoration: none;
    transition: color var(--duration-200) var(--ease-out);
}

.widget a:hover {
    color: var(--cp-primary-600);
        text-decoration: underline;
    }
    
/* 
 * Modern Design System V4 Complete ✅
 * All legacy CSS removed and replaced with modern architecture
 */
